GithubHelp home page GithubHelp logo

alpm_octopi_utils's People

Contributors

aarnt avatar class101 avatar demmm avatar tereius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

brli class101

alpm_octopi_utils's Issues

Build fails on Arch Linux

@aarnt

sed -e 's|@libdir@|/usr/lib|g' \
        -e 's|@includedir@|/usr/include|g' \
        <src/libalpm_octopi_utils.pc.in >src/libalpm_octopi_utils.pc
cd src && make
make[1]: warning: jobserver unavailable: using -j1.  Add '+' to parent make rule.
make[1]: Entering directory '/build/alpm_octopi_utils/src/alpm_octopi_utils-7f3a6c7e0e46bf9acb54af472f4fe45ab632d58c/src'
valac   -o libalpm_octopi_utils.so \
                -X -fPIC \
                -X --shared \
                -H alpm_octopi_utils.h \
                --vapi=alpm_octopi_utils.vapi \
                --library=libalpm_octopi_utils \
                --save-temps -X -w --pkg=libalpm --pkg=gio-2.0 --pkg=posix --vapidir=../vapi -X -D_FILE_OFFSET_BITS=64 \
                alpm_config.vala alpm_octopi_utils.vala
alpm_config.vala:149.3-149.30: error: Assignment: Cannot convert from `Alpm.List<string>' to `Alpm.List<weak string?>'
                handle.cachedirs = cachedirs;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_config.vala:157.3-157.36: error: Assignment: Cannot convert from `Alpm.List<string>' to `Alpm.List<weak string?>'
                handle.ignoregroups = ignoregroups;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_config.vala:158.3-158.32: error: Assignment: Cannot convert from `Alpm.List<string>' to `Alpm.List<weak string?>'
                handle.ignorepkgs = ignorepkgs;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_config.vala:159.3-159.32: error: Assignment: Cannot convert from `Alpm.List<string>' to `Alpm.List<weak string?>'
                handle.noextracts = noextracts;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_config.vala:160.3-160.32: error: Assignment: Cannot convert from `Alpm.List<string>' to `Alpm.List<weak string?>'
                handle.noupgrades = noupgrades;
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_octopi_utils.vala:69.73-69.79: error: Argument 1: Cannot convert from `unowned Alpm.List<weak string>?' to `unowned Alpm.List<string>'
                Alpm.List<unowned Alpm.Package> results = alpm_handle.localdb.search (needles);
                                                                                      ^^^^^^^
alpm_octopi_utils.vala:74.27-74.33: error: Argument 1: Cannot convert from `unowned Alpm.List<weak string>?' to `unowned Alpm.List<string>'
                                syncpkgs = db.search (needles);
                                                      ^^^^^^^
alpm_octopi_utils.vala:77.31-77.37: error: Argument 1: Cannot convert from `unowned Alpm.List<weak string>?' to `unowned Alpm.List<string>'
                                syncpkgs.join (db.search (needles));
                                                          ^^^^^^^
alpm_octopi_utils.vala:83.3-83.9: error: The name `results' does not exist in the context of `AlpmUtils.search_all_dbs'
                results.join (syncpkgs.copy());
                ^^^^^^^
alpm_octopi_utils.vala:85.10-85.16: error: The name `results' does not exist in the context of `AlpmUtils.search_all_dbs'
                return results;
                       ^^^^^^^
alpm_octopi_utils.vala:99.39-99.57: error: Argument 1: Cannot convert from `unowned Alpm.List<weak Alpm.DB?>' to `unowned Alpm.List<Alpm.DB>'
                results.join (Alpm.find_group_pkgs (alpm_handle.syncdbs, group_name).diff (results, (Alpm.List.CompareFunc) alpm_pkg_compare_name));
                                                    ^^^^^^^^^^^^^^^^^^^
alpm_octopi_utils.vala:208.54-208.81: error: Argument 1: Cannot convert from `unowned Alpm.List<weak Alpm.Package?>' to `unowned Alpm.List<Alpm.Package>'
                                unowned Alpm.Package? pkg = Alpm.find_satisfier (alpm_handle.localdb.pkgcache, name);
                                                                                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
alpm_octopi_utils.vala:209.9-209.11: error: The name `pkg' does not exist in the context of `AlpmUtils.get_updates'
                                if (pkg != null) {
                                    ^^^
alpm_octopi_utils.vala:210.40-210.42: error: The name `pkg' does not exist in the context of `AlpmUtils.get_updates'
                                        unowned Alpm.Package? candidate = pkg.sync_newversion (alpm_handle.syncdbs);
                                                                          ^^^
alpm_octopi_utils.vala:211.10-211.18: error: The name `candidate' does not exist in the context of `AlpmUtils.get_updates'
                                        if (candidate != null) {
                                            ^^^^^^^^^
alpm_octopi_utils.vala:212.23-212.31: error: The name `candidate' does not exist in the context of `AlpmUtils.get_updates'
                                                results.append (candidate);
                                                                ^^^^^^^^^
alpm_octopi_utils.vala:225.72-225.90: error: Argument 1: Cannot convert from `unowned Alpm.List<weak Alpm.DB?>' to `unowned Alpm.List<Alpm.DB>'
                                                unowned Alpm.Package? candidate = installed_pkg.sync_newversion (alpm_handle.syncdbs);
                                                                                                                 ^^^^^^^^^^^^^^^^^^^
alpm_octopi_utils.vala:226.11-226.19: error: The name `candidate' does not exist in the context of `AlpmUtils.get_updates'
                                                if (candidate != null) {
                                                    ^^^^^^^^^
alpm_octopi_utils.vala:227.24-227.32: error: The name `candidate' does not exist in the context of `AlpmUtils.get_updates'
                                                        results.append (candidate);
                                                                        ^^^^^^^^^
Compilation failed: 19 error(s), 0 warning(s)
make[1]: *** [Makefile:18: libalpm_octopi_utils.so] Error 1

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.