Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644908 - app-office/gnucash-2.6.19 fail to compile with =dev-libs/boehm-gc-7.6.2
Summary: app-office/gnucash-2.6.19 fail to compile with =dev-libs/boehm-gc-7.6.2
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-18 05:17 UTC by Drunkard Zhang
Modified: 2018-01-21 13:18 UTC (History)
2 users (show)

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


Attachments
build log (build.log,65.96 KB, text/x-log)
2018-01-18 05:34 UTC, Drunkard Zhang
Details
build.log (build.log.tar.gz,101.36 KB, application/gzip)
2018-01-18 14:04 UTC, Denis Descheneaux
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Drunkard Zhang 2018-01-18 05:17:24 UTC
app-office/gnucash-2.6.19 fail to compile with =dev-libs/boehm-gc-7.6.2, with dev-libs/boehm-gc-7.6.0 builds works.

Also, app-office/gnucash-2.6.19 should depend on dev-libs/boehm-gc, libgc.so.1 from boehm-gc is needed at runtime by gnucash-2.6.19, here's error log:

Jan 18 12:39:49 msi gnucash.desktop[2161]: gnucash: error while loading shared libraries: libgc.so.1: cannot open shared object file: No such file or directory

Reproducible: Always
Comment 1 Drunkard Zhang 2018-01-18 05:34:38 UTC
Created attachment 515214 [details]
build log
Comment 2 Denis Descheneaux 2018-01-18 14:04:09 UTC
Created attachment 515236 [details]
build.log
Comment 3 Denis Descheneaux 2018-01-18 14:06:13 UTC
Builds fine here

#  eix dev-libs/boehm
[I] dev-libs/boehm-gc
     Available versions:  6.8 7.1-r1 7.2d 7.2d-r1 7.2e (~)7.4.0 7.4.2 (~)7.6.0{xpak} (~)7.6.2(0/2.1){xpak:2} {cxx static-libs threads ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
     Installed versions:  7.6.2(0/2.1){xpak:2}(15:00:07 17/01/2018)(cxx threads -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 64 -x32")
     Homepage:            http://www.hboehm.info/gc/
     Description:         The Boehm-Demers-Weiser conservative garbage collector

[gentoo-ssd] /home/denis
[14:55] [root] [exit:0] # ei
Portage 2.3.19 (python 2.7.14-final-0, default/linux/amd64/17.0/desktop/gnome/systemd, gcc-7.2.0, glibc-2.26-r5, 4.14.14-gentoo x86_64)
=================================================================
System uname: Linux-4.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-2630QM_CPU_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:    24628344 total,  12865608 free
Timestamp of repository gentoo: Thu, 18 Jan 2018 06:45:01 +0000
Head commit of repository gentoo: f0fabf890886dab370d14e091e97de28db01c200

sh bash 4.4_p12
ld GNU gold (Gentoo 2.29.1 p3 2.29.1) 1.14
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.26.1-r1::gentoo
dev-lang/python:          2.7.14-r1::maolang, 3.5.4-r1::maolang, 3.6.4::maolang
dev-util/cmake:           3.10.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/sandbox:         2.12::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo, 7.2.0-r1::gentoo
sys-devel/gcc-config:     1.9.1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.14::gentoo (virtual/os-headers)
sys-libs/glibc:           2.26-r5::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.fr.gentoo.org/gentoo-portage/
    priority: -1000
    sync-rsync-extra-opts: 

maolang
    location: /etc/portage/local
    masters: gentoo
    priority: 100

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeAIRSDK AdobeFlash-11.x dotnet-eula FraunhoferFDK genymotion google-chrome icaclient MEGA-Code-Review MSjdbcEULA40 NVIDIA-CUDA OPERA-2014 Oracle-BCLA-JavaSE PUEL RAR TeamViewer Vivaldi"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-parallelize-loops=4 -fopenmp -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/grs/systems.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/chromium/policies/managed/chrome-gnome-shell.json /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/opt/chrome/policies/managed/chrome-gnome-shell.json /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-parallelize-loops=4 -fopenmp -pipe"
DISTDIR="/usr/portage/distfiles/dist~"
EMERGE_DEFAULT_OPTS="  --alert=y --ask-enter-invalid --color=y --keep-going --verbose --verbose-conflicts"
FCFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-parallelize-loops=4 -fopenmp -pipe"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg candy clean-logs config-protect-if-modified distlocks downgrade-backup ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch parallel-install preserve-libs protect-owned sandbox selinux sesandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=sandybridge -O2 -ftree-vectorize -floop-interchange -floop-strip-mine -floop-block -fgraphite-identity -ftree-parallelize-loops=4 -fopenmp -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.utf8"
LC_ALL="fr_FR.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -fuse-ld=gold"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/distfiles/bin~"
PORTAGE_COMPRESS="xz"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X Xaw3d a52 aac acl acpi alsa amd64 apparmor asyncns avahi bash-completion berkdb bluetooth boost branding byte-compile bzip2 cairo caps cdda cdr clang cleartype_hinting cli colord compiler-rt cracklib crypt cups custom-cflags custom-optimization cxx dbus default-compiler-rt default-libcxx dri dts dvd dvdr eds emboss encode evo exif fam firefox flac fontconfig fortran gdbm gif glamor glib gmp gnome gnome-keyring gnome-online-accounts gold gpm graphite gstreamer gtk gtkstyle harfbuzz hscolour hwloc iconv icu initramfs introspection ipv6 jack jit jpeg kmod lcms ldap libcxx libcxxabi libinput libnotify libsamplerate libsecret lirc mad math mng modules mp3 mp4 mpeg mtp multilib multiuser nautilus ncurses nethack nls nptl ocamlopt offensive ogg ompt open_perms opengl openmp oss pam pango pcre pdf peer_perms pic pie png policykit postgres ppds pulseaudio qt5 readline realtime scanner sdl seccomp selinux smp spell ssl ssp startup-notification static stemmer svg symlink systemd tcpd threads tiff tinfo toolbar tracker truetype ubac udev udisks unconfined unicode upower usb v4l vorbis wxwidgets x264 xattr xcb xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_EXPERIMENTAL_FEATURES="braindump stage" CALLIGRA_FEATURES="author braindump flow gemini karbon kexi krita plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory network rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" ELIBC="glibc" ENLIGHTENMENT_MODULES="appmenu backlight battery bluez4 clock conf conf-applications conf-bindings conf-dialogs conf-display conf-interaction conf-intl conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq everything fileman fileman-opinfo gadman geolocation ibar ibox lokker mixer msgbus music-control notification packagekit pager pager-plain policy-mobile quickaccess shot start syscon systray tasks teamwork temperature tiling time winlist wireless wizard wl-desktop-shell wl-drm wl-text-input wl-weekeyboard wl-wl wl-x11 xkbswitch xwayland" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="emu efi-64 pc" INPUT_DEVICES="elographics evdev libinput lirc synaptics wacom" KERNEL="linux" L10N="de en fr ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5 python3_6" PYTHON_TARGETS="python3_6" QEMU_SOFTMMU_TARGETS="x86_64 aarch64 arm i386 ppc ppc64 ppcemb" QEMU_USER_TARGETS="x86_64 aarch64 arm i386 ppc ppc64 ppc64abi32 ppc64le" RUBY_TARGETS="ruby23 ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu dummy i915 i965 intel modesetting nvidia qxl radeon radeonsi vmware" XFCE_PLUGINS="brightness clock multiload-nandhp power trash" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Aaron W. Swenson gentoo-dev 2018-01-18 14:09:16 UTC
(In reply to Denis Descheneaux from comment #3)
> Builds fine here
> 
> #  eix dev-libs/boehm
> [I] dev-libs/boehm-gc
>      Available versions:  6.8 7.1-r1 7.2d 7.2d-r1 7.2e (~)7.4.0 7.4.2
> (~)7.6.0{xpak} (~)7.6.2(0/2.1){xpak:2} {cxx static-libs threads
> ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
>      Installed versions:  7.6.2(0/2.1){xpak:2}(15:00:07 17/01/2018)(cxx
> threads -static-libs ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64"
> ABI_S390="-32 -64" ABI_X86="32 64 -x32")
>      Homepage:            http://www.hboehm.info/gc/
>      Description:         The Boehm-Demers-Weiser conservative garbage
> collector

Which version of GnuCash do you have?
Comment 5 Aaron W. Swenson gentoo-dev 2018-01-18 15:11:56 UTC
(In reply to Drunkard Zhang from comment #0)
> Also, app-office/gnucash-2.6.19 should depend on dev-libs/boehm-gc,
> libgc.so.1 from boehm-gc is needed at runtime by gnucash-2.6.19....

GnuCash doesn't need boehm-gc. GnuCash does need dev-scheme/guile, though, which >=dev-scheme/guile-2.0 needs >=dev-libs/boehm-gc-7.0. GnuCash RDEPENDs on dev-scheme/guile which in turn RDEPENDs on dev-libs/boehm-gc, so there's nothing to fix in this aspect.

I think what's being exposed here is a problem in dev-scheme/guile or dev-libs/boehm-gc, as there error is from /usr/bin/guile and not GnuCash.

Try reemerging dev-scheme/guile, then emerge gnucash.
Comment 6 Drunkard Zhang 2018-01-21 10:27:13 UTC
(In reply to Aaron W. Swenson from comment #5)
> (In reply to Drunkard Zhang from comment #0)
> > Also, app-office/gnucash-2.6.19 should depend on dev-libs/boehm-gc,
> > libgc.so.1 from boehm-gc is needed at runtime by gnucash-2.6.19....
> 
> GnuCash doesn't need boehm-gc. GnuCash does need dev-scheme/guile, though,
> which >=dev-scheme/guile-2.0 needs >=dev-libs/boehm-gc-7.0. GnuCash RDEPENDs
> on dev-scheme/guile which in turn RDEPENDs on dev-libs/boehm-gc, so there's
> nothing to fix in this aspect.
> 
> I think what's being exposed here is a problem in dev-scheme/guile or
> dev-libs/boehm-gc, as there error is from /usr/bin/guile and not GnuCash.
> 
> Try reemerging dev-scheme/guile, then emerge gnucash.

Right, rebuilt in your way successfully. Thank you guys a lot.
Comment 7 Aaron W. Swenson gentoo-dev 2018-01-21 12:00:56 UTC
(In reply to Drunkard Zhang from comment #6)
> (In reply to Aaron W. Swenson from comment #5)
> > I think what's being exposed here is a problem in dev-scheme/guile or
> > dev-libs/boehm-gc, as there error is from /usr/bin/guile and not GnuCash.
> > 
> > Try reemerging dev-scheme/guile, then emerge gnucash.
> 
> Right, rebuilt in your way successfully. Thank you guys a lot.

The dev-libs/boehm-gc ebuilds are starting to use subslots, and dev-scheme/guile is properly implementing the sub-slot dependency. Any further upgrades of dev-libs/boehm-gc should trigger a rebuild of dev-scheme/guile.

@toolchain: To really fix this, I think subslots need to be added to <dev-libs/boehm-gc-7.6.2.
Comment 8 Mart Raudsepp gentoo-dev 2018-01-21 12:24:39 UTC
(In reply to Aaron W. Swenson from comment #7)
> @toolchain: To really fix this, I think subslots need to be added to
> <dev-libs/boehm-gc-7.6.2.

I'm not @toolchain, but
No, the old versions already have implicit subslot 0 for the purpose of rebuilds. The problem is that if a subslot dependency is added to e.g guile, then it still won't be observed until it reaches an installed version, so the first rebuild won't be catching it in the first revision it's added. In other words, portage looks at subslot operator := deps from VDB, not PORTDIR ebuilds.
Comment 9 Aaron W. Swenson gentoo-dev 2018-01-21 13:18:24 UTC
(In reply to Mart Raudsepp from comment #8)
> (In reply to Aaron W. Swenson from comment #7)
> > @toolchain: To really fix this, I think subslots need to be added to
> > <dev-libs/boehm-gc-7.6.2.
> 
> I'm not @toolchain, but
> No, the old versions already have implicit subslot 0 for the purpose of
> rebuilds. The problem is that if a subslot dependency is added to e.g guile,
> then it still won't be observed until it reaches an installed version, so
> the first rebuild won't be catching it in the first revision it's added. In
> other words, portage looks at subslot operator := deps from VDB, not PORTDIR
> ebuilds.

Well then, in that case...