Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 875698 - app-arch/createrepo_c-0.16.2 - /.../xml_file.c: error: implicit declaration of function rasprintf
Summary: app-arch/createrepo_c-0.16.2 - /.../xml_file.c: error: implicit declaration o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Jaco Kroon
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-10-06 20:12 UTC by Toralf Förster
Modified: 2022-10-19 02:35 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,19.85 KB, text/plain)
2022-10-06 20:12 UTC, Toralf Förster
Details
app-arch:createrepo_c-0.16.2:20221006-032101.log (app-arch:createrepo_c-0.16.2:20221006-032101.log,28.18 KB, text/plain)
2022-10-06 20:12 UTC, Toralf Förster
Details
emerge-history.txt.bz2 (emerge-history.txt.bz2,75.39 KB, application/x-bzip)
2022-10-06 20:13 UTC, Toralf Förster
Details
environment (environment,101.25 KB, text/plain)
2022-10-06 20:13 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,27.33 KB, application/x-bzip)
2022-10-06 20:13 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,4.05 KB, application/x-bzip)
2022-10-06 20:13 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.24 KB, application/x-bzip)
2022-10-06 20:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-10-06 20:12:56 UTC
too long lines were shrinked:

[28/44] /usr/bin/x86_64-pc-linux-gnu-gcc -DENABLE_LEGACY_WEAKDEPS=1 -DG_LOG_DOMAIN=\"C_CREATEREPOLIB\" -Dlibcreaterepo_c_EXPORTS -I/var/tmp/portage/app-arch/createrepo_c-0.16.2/work/createrepo_c-0.16.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2  -pipe -march=native 
FAILED: src/CMakeFiles/libcreaterepo_c.dir/xml_file.c.o 
/usr/bin/x86_64-pc-linux-gnu-gcc -DENABLE_LEGACY_WEAKDEPS=1 -DG_LOG_DOMAIN=\"C_CREATEREPOLIB\" -Dlibcreaterepo_c_EXPORTS -I/var/tmp/portage/app-arch/createrepo_c-0.16.2/work/createrepo_c-0.16.2 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2  -pipe -march=native -fno-dia
/var/tmp/portage/app-arch/createrepo_c-0.16.2/work/createrepo_c-0.16.2/src/xml_file.c: In function write_modified_header:
/var/tmp/portage/app-arch/createrepo_c-0.16.2/work/createrepo_c-0.16.2/src/xml_file.c:338:36: error: implicit declaration of function rasprintf; did you mean g_sprintf? [-Werror=implicit-function-declaration]
  338 |     int package_count_string_len = rasprintf(&package_count_string, "packages=\"%i\"", package_count);
      |                                    ^~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-j4-20221002-192609

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.2
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.2
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
2)	OpenJDK 11.0.16.1_p1 [openjdk-11]
3)	OpenJDK 17.0.5_p5 [openjdk-17]
4)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
6)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-11 
  [3]   openjdk-17 
  [4]   openjdk-bin-8 
  [5]   openjdk-bin-11 
  [6]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit 9efc15e71ade8dcd5c22a78804b6ae268465693f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Oct 6 02:33:58 2022 +0000

    2022-10-06 02:33:58 UTC

emerge -qpvO app-arch/createrepo_c
[ebuild  N    ] app-arch/createrepo_c-0.16.2
Comment 1 Toralf Förster gentoo-dev 2022-10-06 20:12:57 UTC
Created attachment 822145 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-06 20:12:59 UTC
Created attachment 822148 [details]
app-arch:createrepo_c-0.16.2:20221006-032101.log
Comment 3 Toralf Förster gentoo-dev 2022-10-06 20:13:00 UTC
Created attachment 822151 [details]
emerge-history.txt.bz2
Comment 4 Toralf Förster gentoo-dev 2022-10-06 20:13:02 UTC
Created attachment 822154 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-06 20:13:03 UTC
Created attachment 822157 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-06 20:13:04 UTC
Created attachment 822160 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-10-06 20:13:05 UTC
Created attachment 822163 [details]
temp.tar.bz2
Comment 8 Larry the Git Cow gentoo-dev 2022-10-19 02:35:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0065c8d2fb3b3838fd8940725cd84fb15506ac43

commit 0065c8d2fb3b3838fd8940725cd84fb15506ac43
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-10-19 02:11:46 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-10-19 02:11:46 +0000

    app-arch/createrepo_c: add 0.20.1
    
    Closes: https://bugs.gentoo.org/875698
    Signed-off-by: Sam James <sam@gentoo.org>

 app-arch/createrepo_c/Manifest                     |  1 +
 app-arch/createrepo_c/createrepo_c-0.20.1.ebuild   | 42 ++++++++++++++++++++++
 ...0.1-Include-rpm-rpmstring.h-for-rasprintf.patch | 20 +++++++++++
 3 files changed, 63 insertions(+)