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

Bug 494494

Summary: sys-fs/ntfs3g-2013.1.13::gentoo fails with 'emerge @preserved-rebuild' with update of dev-libs/libgcrypt-1.6.0
Product: Gentoo Linux Reporter: piruthiviraj natarajan <piruthiviraj>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal CC: adaptee, piruthiviraj
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
eclass-debug.log
environment
build.log
eclass-debug.log
environment

Description piruthiviraj natarajan 2013-12-17 06:03:44 UTC
I am running ~amd64 and today's update of the system asked me to do a emerge @preserved-rebuild. When I did that system wanted to rebuild ntfs3g and not able to compile this ntfs3g package anymore.

Reproducible: Always

Steps to Reproduce:
emerge @preserved-rebuild doesn't compile the package anymore.
Actual Results:  
 * ERROR: sys-fs/ntfs3g-2013.1.13::gentoo failed (compile phase):
 *   emake failed


Expected Results:  
It should have compiled and installed.
Comment 1 piruthiviraj natarajan 2013-12-17 06:06:59 UTC
Created attachment 365498 [details]
build.log
Comment 2 piruthiviraj natarajan 2013-12-17 06:07:25 UTC
Created attachment 365500 [details]
eclass-debug.log
Comment 3 piruthiviraj natarajan 2013-12-17 06:07:51 UTC
Created attachment 365502 [details]
environment
Comment 4 piruthiviraj natarajan 2013-12-17 06:08:49 UTC
emerge -pqv '=sys-fs/ntfs3g-2013.1.13::gentoo'
[ebuild   R   ] sys-fs/ntfs3g-2013.1.13  USE="acl crypt external-fuse ntfsprogs -debug -static-libs -suid -xattr"
Comment 5 piruthiviraj natarajan 2013-12-17 06:09:28 UTC
 # emerge --info '=sys-fs/ntfs3g-2013.1.13::gentoo'
Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.8.2, glibc-2.17, 3.12.5 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.5-x86_64-Intel-R-_Core-TM-_i7-3630QM_CPU_@_2.40GHz-with-gentoo-2.2
KiB Mem:     8066956 total,   5037460 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 17 Dec 2013 04:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.6, 3.3.3
dev-util/cmake:           2.8.12.1-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.12.6, 1.14
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.8.2
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           4.0-r1
sys-kernel/linux-headers: 3.12 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo mate-overlay
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -mtune=generic -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=generic -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.mcs.anl.gov/pub/gentoo/ rsync://mirror.mcs.anl.gov/gentoo/ ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://lug.mtu.edu/gentoo/ http://lug.mtu.edu/gentoo/ http://gentoo.osuosl.org/ ftp://mirrors.rit.edu/gentoo/ rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ rsync://gentoo.cs.uni.edu/gentoo-distfiles http://gentoo.cs.uni.edu/ http://mirror.usu.edu/mirrors/gentoo/"
LANG="en_US.iso88591"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude=metadata/cache/*"
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"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/mate"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 berkdb bluray branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif gnome gpm gtk gtkstyle iconv infinality ipv6 jpeg lcms ldap libass libnotify lock mad matroska mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf png policykit ppds qt3support qt4 readline sdl session spell sse sse2 ssl svg tcpd thunar tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xscreensaver 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_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" 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" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

sys-fs/ntfs3g-2013.1.13 was built with the following:
USE="acl crypt external-fuse ntfsprogs -debug -static-libs -suid -xattr
Comment 6 piruthiviraj natarajan 2013-12-17 06:13:43 UTC
Created attachment 365504 [details]
build.log
Comment 7 piruthiviraj natarajan 2013-12-17 06:14:32 UTC
Created attachment 365508 [details]
eclass-debug.log
Comment 8 piruthiviraj natarajan 2013-12-17 06:14:59 UTC
Created attachment 365510 [details]
environment
Comment 9 piruthiviraj natarajan 2013-12-17 06:24:30 UTC
I think today's update had dev-libs/libgcrypt-1.6.0 which broke this.

 * ERROR: sys-fs/ntfs3g-2013.1.13::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=sys-fs/ntfs3g-2013.1.13::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/ntfs3g-2013.1.13::gentoo'`.
 * The complete build log is located at '/tmp/portage/sys-fs/ntfs3g-2013.1.13/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-fs/ntfs3g-2013.1.13/temp/environment'.
 * Working directory: '/tmp/portage/sys-fs/ntfs3g-2013.1.13/work/ntfs-3g_ntfsprogs-2013.1.13'
 * S: '/tmp/portage/sys-fs/ntfs3g-2013.1.13/work/ntfs-3g_ntfsprogs-2013.1.13'

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/libgcrypt-1.6.0
 *  - /usr/lib64/libgcrypt.so.11
 *  - /usr/lib64/libgcrypt.so.11.8.2
 *      used by /opt/google/chrome/chrome (www-client/google-chrome-31.0.1650.63_p1)
 *      used by /usr/bin/ntfsdecrypt (sys-fs/ntfs3g-2013.1.13)
Use emerge @preserved-rebuild to rebuild packages using these libraries
Comment 10 piruthiviraj natarajan 2013-12-17 09:56:34 UTC
I guess its something to do with .so name bump.
This is how arch has dealt with it.
https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/libgcrypt&id=af9af2442c6a084f2dd32b3d4ce7a404da22ab33
Comment 11 Marien Zwart (RETIRED) gentoo-dev 2013-12-17 10:22:56 UTC
Marking duplicate of slightly older bug. This is indeed libgcrypt-1.6.0-related.

I'm not sure I understand the arch comment that was linked to. They say "cp /usr/lib/libgcrypt.so.11 /var/lib/archbuild/staging-x86_64/root/usr/lib/", but libgcrypt.so.11 is older libgcrypt's soname, not newer libgcrypt's. I suspect that's something along the lines of our preserve-libs (or rather preserve_old_lib in eutils), not a fix to ntfs3g. If it's an actual fix (not preservation of the old library), please explain what they're doing.

*** This bug has been marked as a duplicate of bug 494488 ***