Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713858 - dev-libs/satyr-0.30 : rpm.c: error: comparison_fn_t undeclared (first use in this function)
Summary: dev-libs/satyr-0.30 : rpm.c: error: comparison_fn_t undeclared (first use in ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 21:35 UTC by Toralf Förster
Modified: 2021-08-08 12:49 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.06 KB, text/plain)
2020-03-21 21:35 UTC, Toralf Förster
Details
dev-libs:satyr-0.30:20200321-212324.log (dev-libs:satyr-0.30:20200321-212324.log,30.79 KB, text/plain)
2020-03-21 21:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,244.92 KB, text/plain)
2020-03-21 21:35 UTC, Toralf Förster
Details
environment (environment,106.97 KB, text/plain)
2020-03-21 21:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.52 KB, application/x-bzip)
2020-03-21 21:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,7.57 KB, application/x-bzip)
2020-03-21 21:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.78 KB, application/x-bzip)
2020-03-21 21:35 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 2020-03-21 21:35:13 UTC
libtool: compile:  x86_64-gentoo-linux-musl-gcc -DHAVE_CONFIG_H -I. -Wall -Wformat=2 -std=gnu99 -D_GNU_SOURCE -I../include -I/usr/include/json-c -O2 -pipe -march=native -fno-common -falign-functions=32:25:16 -c rpm.c  -fPIC -DPIC -o .libs/libsatyr_conv_la-rpm.o
rpm.c: In function sr_rpm_package_sort:
rpm.c:191:58: error: comparison_fn_t undeclared (first use in this function)
  191 |     qsort(array, count, sizeof(struct sr_rpm_package*), (comparison_fn_t)cmp_nevra_qsort_wrapper);
      |                                                          ^~~~~~~~~~~~~~~
rpm.c:191:58: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sat Mar 21 20:42:22 UTC 2020
/var/db/repos/musl	Sat Mar 21 19:55:55 UTC 2020

emerge -qpvO dev-libs/satyr
[ebuild  N    ] dev-libs/satyr-0.30  USE="-python" PYTHON_TARGETS="python3_6 -python3_7 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-03-21 21:35:16 UTC
Created attachment 624058 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-21 21:35:19 UTC
Created attachment 624060 [details]
dev-libs:satyr-0.30:20200321-212324.log
Comment 3 Toralf Förster gentoo-dev 2020-03-21 21:35:21 UTC
Created attachment 624062 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-03-21 21:35:24 UTC
Created attachment 624064 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-03-21 21:35:27 UTC
Created attachment 624066 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-03-21 21:35:29 UTC
Created attachment 624068 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-03-21 21:35:32 UTC
Created attachment 624070 [details]
temp.tbz2