Package Details: alpm_octopi_utils 1.0.2-3

Git Clone URL: https://aur.archlinux.org/alpm_octopi_utils.git (read-only, click to copy)
Package Base: alpm_octopi_utils
Description: Alpm utils for Octopi
Upstream URL: https://tintaescura.com/projects/octopi/
Licenses: GPL3
Submitter: ImNtReal
Maintainer: matmoul
Last Packager: matmoul
Votes: 720
Popularity: 21.66
First Submitted: 2016-10-21 15:33 (UTC)
Last Updated: 2021-06-03 20:27 (UTC)

Latest Comments

class101 commented on 2021-06-01 17:13 (UTC)

Patch is submitted upstream

If you want to patch on your end, here is the updated PKGBUILD

https://gist.github.com/class101/fa8e56b084f184ac653901aa7a646964

666 commented on 2021-06-01 16:27 (UTC)

Broken for me as well as of newest pacman upgrade. Downgrading pacman would probably fix it for now.

jns0l3nt commented on 2021-06-01 14:08 (UTC)

Also broken for me as of the latest pacman update.

class101 commented on 2021-06-01 09:12 (UTC) (edited on 2021-06-01 13:23 (UTC) by class101)

Edit: After investigation, I remove the out of date flag here as it seems to be the upstream sources that needs to be patched indeed to support pacman 6.x. Lets try to contribute to a patch if we can, and if the source are patched and this package is not, there will be a good reason to flag it out of date. Got it.


After Pacman update to 6.0.0. All the octopi packages linked to this seem to fail to build, an api update seem required in the code, e.g, alpm_db_search() changed from 2 to 3 arguments

alpm_octopi_utils.c: In function ‘alpm_utils_search_all_dbs’:
alpm_octopi_utils.c:270:18: error: too few arguments to function ‘alpm_db_search’
  270 |         _tmp8_ = alpm_db_search (_tmp6_, _tmp7_);
      |                  ^~~~~~~~~~~~~~
In file included from alpm_octopi_utils.c:24:
/usr/include/alpm.h:1413:5: note: declared here
 1413 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
alpm_octopi_utils.c:298:35: error: too few arguments to function ‘alpm_db_search’
  298 |                         _tmp18_ = alpm_db_search (_tmp16_, _tmp17_);
      |                                   ^~~~~~~~~~~~~~
In file included from alpm_octopi_utils.c:24:
/usr/include/alpm.h:1413:5: note: declared here
 1413 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
alpm_octopi_utils.c:307:35: error: too few arguments to function ‘alpm_db_search’
  307 |                         _tmp21_ = alpm_db_search (_tmp19_, _tmp20_);
      |                                   ^~~~~~~~~~~~~~
In file included from alpm_octopi_utils.c:24:
/usr/include/alpm.h:1413:5: note: declared here
 1413 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [Makefile:18: libalpm_octopi_utils.so] Error 1
make[1]: Leaving directory '/home/arno/.cache/paru/clone/alpm_octopi_utils/src/alpm_octopi_utils-2bb9349507f8155155c9b5f12b1f30e60e157d30/src'
make: *** [Makefile:11: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
error: failed to build 'alpm_octopi_utils-1.0.2-2'

matmoul commented on 2020-12-26 23:25 (UTC) (edited on 2020-12-26 23:47 (UTC) by matmoul)

@gardotd426 : Thanks for your feedback, perhaps an issue with pacman 6...

I hope this will fixed before the release but now, I'll take a eye on it...

gardotd426 commented on 2020-12-26 23:06 (UTC)

I've figured out the problem (which you might want to look into).

Your package doesn't build with makepkg/pacman 6.0, which will be releasing soon.

I switched back to 5.2.2-1 and it works. But I've been using 6.0 for the parallel downloads. Once they release it, this package will stop building.

gardotd426 commented on 2020-12-26 23:03 (UTC)

It's saying too few arguments to function:

This error occurs when numbers of actual and formal arguments are different in the program.

gardotd426 commented on 2020-12-26 23:02 (UTC)

Target how? It fails literally immediately, and I have all dependencies installed. I don't know how exactly you expect me to target anything. The errors are code-related

matmoul commented on 2020-12-26 22:39 (UTC)

@gardotd426 : Just tested with success on a clean install... I've lost 20 min of my life to test it! Try to target your issue...

gardotd426 commented on 2020-12-26 22:04 (UTC)

Neither this nor the package linked in the top comment work. Both fail to build.


make[1]: Entering directory '/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/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
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c: In function ‘alpm_utils_search_all_dbs’:
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:270:11: error: too few arguments to function ‘alpm_db_search’
  270 |  _tmp8_ = alpm_db_search (_tmp6_, _tmp7_);
      |           ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:298:14: error: too few arguments to function ‘alpm_db_search’
  298 |    _tmp18_ = alpm_db_search (_tmp16_, _tmp17_);
      |              ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:307:14: error: too few arguments to function ‘alpm_db_search’
  307 |    _tmp21_ = alpm_db_search (_tmp19_, _tmp20_);
      |              ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [Makefile:18: libalpm_octopi_utils.so] Error 1
make[1]: Leaving directory '/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils/src'
make: *** [Makefile:11: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

That's for the linked one. This package here fails with:


/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c: In function ‘alpm_utils_search_all_dbs’:
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:270:11: error: too few arguments to function ‘alpm_db_search’
  270 |  _tmp8_ = alpm_db_search (_tmp6_, _tmp7_);
      |           ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:298:14: error: too few arguments to function ‘alpm_db_search’
  298 |    _tmp18_ = alpm_db_search (_tmp16_, _tmp17_);
      |              ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:307:14: error: too few arguments to function ‘alpm_db_search’
  307 |    _tmp21_ = alpm_db_search (_tmp19_, _tmp20_);
      |              ^~~~~~~~~~~~~~
In file included from /home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src/alpm_octopi_utils.c:24:
/usr/include/alpm.h:1385:5: note: declared here
 1385 | int alpm_db_search(alpm_db_t *db, const alpm_list_t *needles,
      |     ^~~~~~~~~~~~~~
error: cc exited with status 256
Compilation failed: 1 error(s), 0 warning(s)
make[1]: *** [Makefile:18: libalpm_octopi_utils.so] Error 1
make[1]: Leaving directory '/home/matt/tmp/makepkg/alpm_octopi_utils/src/alpm_octopi_utils-bd9fcd5fc5de8e8e800fbdf553249c95f1300356/src'
make: *** [Makefile:11: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

matmoul commented on 2020-12-01 19:30 (UTC)

@flipflop97 that has flagged out this package, the last version is 1.0.2 : https://github.com/aarnt/alpm_octopi_utils/blob/master/PKGBUILD

j1simon commented on 2020-04-26 07:39 (UTC)

The current URL of the project is: https://tintaescura.com/projects/octopi/

matmoul commented on 2019-03-27 00:13 (UTC) (edited on 2019-03-27 00:14 (UTC) by matmoul)

Yeah, you can star the project : https://github.com/aarnt/alpm_octopi_utils Changes are made by the dev...

ozmartian commented on 2019-03-26 22:37 (UTC)

@matmoul many thanks.. appreciated!

matmoul commented on 2019-03-26 22:11 (UTC)

@ozmartian Thank for your feedback, I'll try to find the issue... I need to wait the week-end to read all the code before providing a best solution...

ozmartian commented on 2019-03-26 22:03 (UTC)

@matmoul hi there, thanks for adopting this... ever since the 26/03 update to alpm_octopi_utils the update notifications ignore packages in IgnorePkg in pacman.conf.. it doesn't allow me to install ignored packages but it is always listing them as available to update in the GUI... it does skip them when attempting updates but the status icon stays red, listing ignored packages... this only started happening since 1.0.0-3.. i will try downgrading to 1.0.0-2 to see if its fixed...thanks in advance!

Murri commented on 2019-03-26 21:02 (UTC)

Thanks @matmoul. It works! I could install octopi again ^^

matmoul commented on 2019-03-26 01:59 (UTC)

Hi, @everyone : I've just adopted the package and you can now build it again ;)

monterral commented on 2019-03-22 20:44 (UTC)

well im happy even though its gtk i got pamac to build so deff not using discover and if i knew enough i would help out with alpm_octopi_utils and octopi maint...but no idea what needs to be done or how to go about it

monterral commented on 2019-03-22 20:27 (UTC)

ok, thank you for the comments dont mind using pacman and git clone yaourt etc. just like having handy list of pkgs with info etc. displayed using gui "octopi" not a deal breaker discover might work out ill check it out again but my kde mem usage normally with out my vpn on is .31 gib in ksysguard when idle just system & user running proccesses bunch masked services and some targets i like keeping it lean gnome-shell mem hog and not as customizable even with 8gb ram kde works better than gnome-shell for me on hdd and evan used just window manager for awhile but after adding stuff i get about same mem usage so arch-kde all the way for me :-)

egrupled commented on 2019-03-21 18:44 (UTC) (edited on 2019-03-21 18:44 (UTC) by egrupled)

@buzo just for the record: this library is mandatory dependency of octopi (https://github.com/aarnt/octopi) which is actively maintained by the same author. I'm pretty sure it's not dead and if someone care report those issues upstream they will be solved.

buzo commented on 2019-03-21 17:32 (UTC)

Disowned this package because of lack of time for it and upstream seams dead: Last commit in September 2016.

Murri commented on 2019-03-21 05:55 (UTC)

I tried to install it and I had the same error that monterral.

monterral commented on 2019-03-17 07:57 (UTC)

tried rebuild this pkg becouse octopi no longer has aur support after some updates today and i update daily...no problems ever but it happens so thought id try building them again to fix and got error :::

make[1]: Entering directory '/home/monterral/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>' toAlpm.List<weak string?>' handle.cachedirs = cachedirs; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ alpm_config.vala:157.3-157.36: error: Assignment: Cannot convert from Alpm.List<string>' toAlpm.List<weak string?>' handle.ignoregroups = ignoregroups; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ alpm_config.vala:158.3-158.32: error: Assignment: Cannot convert from Alpm.List<string>' toAlpm.List<weak string?>' handle.ignorepkgs = ignorepkgs; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ alpm_config.vala:159.3-159.32: error: Assignment: Cannot convert from Alpm.List<string>' toAlpm.List<weak string?>' handle.noextracts = noextracts; ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ alpm_config.vala:160.3-160.32: error: Assignment: Cannot convert from Alpm.List<string>' toAlpm.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>?' tounowned 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>?' tounowned 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>?' tounowned 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 ofAlpmUtils.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 ofAlpmUtils.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?>' tounowned 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?>' tounowned 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 ofAlpmUtils.get_updates' if (pkg != null) { ^^^ alpm_octopi_utils.vala:210.40-210.42: error: The name pkg' does not exist in the context ofAlpmUtils.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 ofAlpmUtils.get_updates' if (candidate != null) { ^^^^^^^^^ alpm_octopi_utils.vala:212.23-212.31: error: The name candidate' does not exist in the context ofAlpmUtils.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?>' tounowned 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 ofAlpmUtils.get_updates' if (candidate != null) { ^^^^^^^^^ alpm_octopi_utils.vala:227.24-227.32: error: The name candidate' does not exist in the context ofAlpmUtils.get_updates' results.append (candidate); ^^^^^^^^^ Compilation failed: 19 error(s), 0 warning(s) make[1]: [Makefile:18: libalpm_octopi_utils.so] Error 1 make[1]: Leaving directory '/home/monterral/alpm_octopi_utils/src/alpm_octopi_utils-7f3a6c7e0e46bf9acb54af472f4fe45ab632d58c/src' make: [Makefile:11: all] Error 2 ####just a notice and was wondering if anyone else has had the issue today????? thanks,monty