Bug 1541705
Summary: | bdw-gc package missing pkg-config | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeffrey Walton <noloader> |
Component: | gc | Assignee: | Rex Dieter <rdieter> |
Status: | CLOSED WORKSFORME | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | unspecified | ||
Version: | 27 | CC: | noloader, paulo.cesar.pereira.de.andrade, praiskup, rdieter, tomm.momi |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-04 15:02:30 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jeffrey Walton
2018-02-04 08:44:05 UTC
My bad.. I meant to add this from Guile's configure script at https://git.savannah.gnu.org/gitweb/?p=guile.git;a=blob_plain;f=configure.ac;hb=refs/heads/master : #-------------------------------------------------------------------- # # Boehm's GC library # #-------------------------------------------------------------------- AC_MSG_CHECKING(for which bdw-gc pkg-config file to use) AC_ARG_WITH(bdw_gc, [ --with-bdw-gc=PKG name of BDW-GC pkg-config file], [bdw_gc="$withval"], [bdw_gc=bdw-gc]) AC_MSG_RESULT($bdw_gc) PKG_CHECK_MODULES([BDW_GC], [$bdw_gc >= 7.2]) save_LIBS="$LIBS" LIBS="$BDW_GC_LIBS $LIBS" CFLAGS="$BDW_GC_CFLAGS $CFLAGS" # Functions that might not be defined, depending on configuration. AC_CHECK_FUNCS([GC_pthread_exit GC_pthread_cancel GC_pthread_sigmask]) # Functions from GC 7.3. AC_CHECK_FUNCS([GC_move_disappearing_link GC_is_heap_ptr]) LIBS="$save_LIBS" gcc already includes pkgconfig support. $ rpm -q gc-devel gc-7.6.0-7.fc27.x86_64 $ rpm -ql gc-devel | grep pkg /usr/lib64/pkgconfig/bdw-gc.pc $ pkg-config --modversion bdw-gc 7.6.0 I can't explain how/why that file is missing for you. Thanks. This is weird. I did a reinstall of gc and gc-devel and the *.pc file was present. I then ran a build script (configure, make, make install) and the *.pc file disappeared again. Let me see what is wrong with the script. Thanks again Rex. I think I tracked it down to Ncurses. My recipes downloads and builds Ncurses, Termacp and Readline from sources. For Ncurses I perform a 'make unistall' followed by a 'make install'. The Ncurses 'make uninstall' appears to delete all the *.pc files in /usr/lib64 even though I am installing into /usr/local/lib{64}. Weird behavior... (In reply to Jeffrey Walton from comment #4) > Thanks again Rex. > > I think I tracked it down to Ncurses. My recipes downloads and builds > Ncurses, Termacp and Readline from sources. Yes, confirmed it is Ncurses. Very weird behavior from 'make unisntall' (In reply to Jeffrey Walton from comment #5) > (In reply to Jeffrey Walton from comment #4) > > Thanks again Rex. > > > > I think I tracked it down to Ncurses. My recipes downloads and builds > > Ncurses, Termacp and Readline from sources. > > Yes, confirmed it is Ncurses. Very weird behavior from 'make unisntall' Here is the Ncurses bug report for future visitors: https://lists.gnu.org/archive/html/bug-ncurses/2018-02/msg00002.html It looks like Ncurses is deleting all *.pc files from the distro's $libdir, and not the --libdir it was configured with. |