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: 1053
Popularity: 24.52
First Submitted: 2016-10-21 15:33 (UTC)
Last Updated: 2023-01-14 20:54 (UTC)

Latest Comments

1 2 3 Next › Last »

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