Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 604320

Summary: sys-process/bcron should RDEPEND on dev-libs/bglibs
Product: Gentoo Linux Reporter: Samuel Holland <samuel>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: cron-bugs+disabled
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Samuel Holland 2017-01-01 21:26:22 UTC
Currently, dev-libs/bglibs is only DEPEND, not RDEPEND, so when sys-process/bcron is provided as a binary package, none of the installed programs function, because they use shared libraries from bglibs:

# lddtree `which bcron-start`
bcron-start => /usr/bin/bcron-start (interpreter => /lib/ld-musl-x86_64.so.1)
    libbg.so.1 => /usr/lib/bglibs/libbg.so.1
    libbg-sysdeps.so.1 => /usr/lib/bglibs/libbg-sysdeps.so.1
    libc.so => /usr/lib/libc.so
# lddtree `which bcron-sched`
bcron-sched => /usr/bin/bcron-sched (interpreter => /lib/ld-musl-x86_64.so.1)
    libbg.so.1 => /usr/lib/bglibs/libbg.so.1
    libbg-sysdeps.so.1 => /usr/lib/bglibs/libbg-sysdeps.so.1
    libc.so => /usr/lib/libc.so



Portage 2.3.1 (python 3.4.5-final-0, hardened/linux/musl/amd64, gcc-5.4.0, musl-1.1.15-r2, 4.7.10-hardened x86_64)
=================================================================
System uname: Linux-4.7.10-hardened-x86_64-Intel-R-_Xeon-R-_CPU_X5675_@_3.07GHz-with-gentoo-2.3
KiB Mem:    49515984 total,  21244124 free
KiB Swap:   28819452 total,  28819452 free
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.3_rc4::gentoo
dev-lang/python:          2.7.12::gentoo, 3.4.5::gentoo
dev-util/cmake:           3.6.3::gentoo
sys-apps/baselayout:      2.3::gentoo
sys-apps/sandbox:         2.10-r1::musl
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.12.6::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.4.0-r2::musl
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r2::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.4::musl (virtual/os-headers)
sys-libs/musl:            1.1.15-r2::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/repo/gentoo.git
    priority: -1000
    eclass-overrides: smaeul

musl
    location: /usr/portage/local/musl
    sync-type: git
    sync-uri: https://anongit.gentoo.org/git/proj/musl.git
    masters: gentoo
    eclass-overrides: smaeul

rust
    location: /usr/portage/local/rust
    sync-type: git
    sync-uri: https://github.com/gentoo/gentoo-rust.git
    masters: gentoo
    eclass-overrides: smaeul

smaeul
    location: /usr/portage/local/smaeul
    sync-type: git
    sync-uri: https://github.com/smaeul/portage-overlay.git
    masters: gentoo
    eclass-overrides: smaeul

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-gentoo-linux-musl"
CFLAGS="-fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -fno-common -fomit-frame-pointer -march=westmere -mno-aes -O2 -pipe -Wa,--noexecstack -fno-exceptions -fno-unwind-tables"
CHOST="x86_64-gentoo-linux-musl"
CONFIG_PROTECT="/etc/dhcpcd.conf /etc/dnsmasq.conf /etc/env.d/00basic /etc/env.d/70less /etc/fstab /etc/hosts /etc/inputrc /etc/issue /etc/mail/aliases /etc/nginx/nginx.conf /etc/ntpd.conf /etc/nut/ups.conf /etc/nut/upsd.users /etc/nut/upsmon.conf /etc/opensmtpd/smtpd.conf /etc/profile /etc/shells /etc/smartd.conf /etc/ssh/sshd_config /etc/ssl/openssl.cnf /etc/sudoers /etc/sysctl.conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-fdata-sections -ffunction-sections -fno-asynchronous-unwind-tables -fno-common -fomit-frame-pointer -march=westmere -mno-aes -O2 -pipe -Wa,--noexecstack"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-keep-masks --binpkg-changed-deps=y --binpkg-respect-use=y --quiet-build --quiet-fail"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news noinfo parallel-fetch preserve-libs protect-owned sandbox sfperms strict stricter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirrors.lug.mtu.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/"
INSTALL_MASK="/etc/conf.d /etc/init.d /etc/issue.logo /etc/mailcap /etc/rmt /etc/xinetd.d /usr/lib/systemd /usr/share/bash-completion charset.alias"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--gc-sections -Wl,--hash-style=both -Wl,--sort-common -Wl,--sort-section,alignment -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzip"
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="/tmp"
USE="aac acl amd64 bzip2 cairo caps cli crypt cups curl dri exif ffmpeg flac fontconfig gif git gmp hardened icu idn imagemagick inotify ipv6 jpeg lcms libressl lzma modplug modules mp3 ncurses nptl ogg opengl openmp opus pax_kernel pic pie png pulseaudio seccomp session sndfile sox sqlite ssl startup-notification svg threads truetype udev unicode usb vaapi vim-syntax vorbis webp xattr xft xinerama zlib" ABI_X86="64" 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_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="libressl" ELIBC="musl" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en en_US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" LLVM_TARGETS="AArch64 ARM BPF X86" NETBEANS_MODULES="cnd java javafx" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python3_4" QEMU_SOFTMMU_TARGETS="i386 x86_64" RUBY_TARGETS="ruby21" USERLAND="GNU" VIDEO_CARDS="i965 intel" 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, LC_ALL, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Larry the Git Cow gentoo-dev 2019-05-17 13:07:41 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=529919d354b79547dac782390b988475630707e1

commit 529919d354b79547dac782390b988475630707e1
Author:     Stefan Strogin <steils@gentoo.org>
AuthorDate: 2019-05-17 13:05:08 +0000
Commit:     Stefan Strogin <steils@gentoo.org>
CommitDate: 2019-05-17 13:06:12 +0000

    sys-process/bcron: move dev-libs/bglibs to RDEPEND
    
    Bug: https://bugs.gentoo.org/604320
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Stefan Strogin <steils@gentoo.org>

 sys-process/bcron/bcron-0.11.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
Comment 2 Conrad Kostecki gentoo-dev 2021-01-21 20:51:00 UTC
Seems be fixed, so closing.