Package Details: createrepo_c 1.1.4-1

Git Clone URL: https://aur.archlinux.org/createrepo_c.git (read-only, click to copy)
Package Base: createrepo_c
Description: A C implementation of createrepo, a tool to create yum repositories
Upstream URL: https://github.com/rpm-software-management/createrepo_c
Licenses: GPL-2.0-or-later
Submitter: pnorcks
Maintainer: larchunix
Last Packager: larchunix
Votes: 1
Popularity: 0.000000
First Submitted: 2015-01-15 01:17 (UTC)
Last Updated: 2024-08-16 20:15 (UTC)

Latest Comments

direc85 commented on 2024-02-25 16:58 (UTC)

Okay, it ended up being drpm still requiring librpm*.so.9 files. Rebuilding that (without tests that now fail) fixed the docs issues, kinda.

direc85 commented on 2024-02-25 16:21 (UTC)

I'm having a weird issue with building the package, or building its docs to be more precise:

$ cmake --build build --target doc
[ 50%] Building Python API documentation with Sphinx
Running Sphinx v7.2.6

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.11/site-packages/sphinx/config.py", line 358, in eval_config_file
    exec(code, namespace)  # NoQA: S102
    ^^^^^^^^^^^^^^^^^^^^^
  File "/home/matti/.cache/yay/cr/doc/python/conf.py", line 15, in <module>
    import createrepo_c
  File "/home/matti/.cache/yay/cr/build/src/python/createrepo_c/__init__.py", line 8, in <module>
    from . import _createrepo_c
ImportError: librpm.so.9: cannot open shared object file: No such file or directory

make[3]: *** [doc/python/CMakeFiles/doc-python.dir/build.make:71: doc/python/CMakeFiles/doc-python] Error 2
make[2]: *** [CMakeFiles/Makefile2:484: doc/python/CMakeFiles/doc-python.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:465: doc/CMakeFiles/doc.dir/rule] Error 2
make: *** [Makefile:283: doc] Error 2

The weirdest part is that when I downgrade to rpm-tools 4.18.2 which provides the .so.9 files, it wants .so.10 files instead:

ImportError: librpm.so.10: cannot open shared object file: No such file or directory

Sure enough, build/src/python/createrepo_c/_createrepo_c.so links to both librpm.so.9 and librpm.so.10 files, one of which exists normally. If I provide both files manually, the next error is defining some symbols twice (which is expcted).

Any ideas?

Felixoid commented on 2022-11-30 10:21 (UTC)

Unfortunately, it doesn't build. See the issue in the upstream https://github.com/rpm-software-management/createrepo_c/issues/331

tbx commented on 2019-03-18 13:08 (UTC)

I confirm, the package builds now. Thank you, that was quick !

larchunix commented on 2019-03-18 11:03 (UTC)

@tbx: should be fixed now

tbx commented on 2019-03-18 09:53 (UTC)

Doesn't build :(

==> Making package: createrepo_c 0.12.2-1 (Mon Mar 18 10:51:21 2019)
==> Retrieving sources...
  -> Downloading createrepo_c-0.12.2.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   144    0   144    0     0    291      0 --:--:-- --:--:-- --:--:--   290
100  360k    0  360k    0     0   263k      0 --:--:--  0:00:01 --:--:-- 1380k
==> Validating source files with md5sums...
    createrepo_c-0.12.2.tar.gz ... FAILED
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Could not download sources.

pnorcks commented on 2018-02-09 03:07 (UTC)

Can 'drpm' be made an optional dependency for this package? It's listed as an experimental feature in the createrepo_c README, and I also cannot build drpm anymore due to the upstream source tarball link not resolving.