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: 585
Popularity: 28.96
First Submitted: 2016-10-21 15:33
Last Updated: 2021-06-03 20:27

Latest Comments

1 2 3 Next › Last »

class101 commented on 2021-06-01 17:13

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

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

Also broken for me as of the latest pacman update.

class101 commented on 2021-06-01 09:12

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

@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

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

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

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

@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

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...