Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 374575 - sys-auth/libfprint fails on removing 64-bit file on 32-bit host
Summary: sys-auth/libfprint fails on removing 64-bit file on 32-bit host
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-09 17:46 UTC by Alexander Adam
Modified: 2011-11-13 23:52 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Adam 2011-07-09 17:46:18 UTC
Hello,

in the libfprint-ebuilds there is a step in the install-routine:

if ! use static-libs ; then$
    rm -v "${D}"/usr/lib64/libfprint.la || die$
fi

this step is done regardless of the architecture the package is build on.
My machine s a 32 bit intel machine and the reffered directory is not created during the build. So building is done and then the install fails.

Could you "just" add a test, if the directory even exists or if the architecture is 64 bit? Currently I solved the problem by setting "static-libs" use flag, so the command is not executed, I think that is not the way it is meant to be.

Reproducible: Always

Steps to Reproduce:
1. build libfprint
Actual Results:  
Build fails

Expected Results:  
Build succeeds.

app-shells/bash:          4.2_p10
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2, 3.2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1
sys-devel/gcc:            4.5.2
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.38 (virtual/os-headers)
sys-libs/glibc:           2.13-r3
Repositories: gentoo
Installed sets: 
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -@EULA dlj-1.1 googleearth google-talkplugin AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=pentium-m -mfpmath=sse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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="-Os -pipe -march=pentium-m -mfpmath=sse -fomit-frame-pointer -fvisibility-inlines-hidden"
DISTDIR="/gentoo/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.osuosl.org/               http://ftp.uni-erlangen.de/pub/mirrors/gentoo/          http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/   http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/             http://pandemonium.tiscali.de/pub/gentoo/               ftp://ftp.tu-clausthal.de/pub/linux/gentoo/     ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo/           ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/distfiles/               http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en de"
PKGDIR="/gentoo/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/gentoo/tmp"
PORTDIR="/gentoo/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="7zip X aac acl alsa amr bash-completion berkdb bluetooth bzip2 cli consolekit cracklib crypt css cups cxx dbus dri dvb dvd emf encode ffmpeg flac fortran gdbm gif gpm iconv ipv6 jpeg kde lua lzma mikmod mmx mng modules mp3 mudflap ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pcre pdf perl plasma png policykit pppd python quicktime readline samba semantic-desktop session sndfile sse sse2 ssl subversion svg sysfs tcpd theora threads tiff timidity unicode usb v4l2 vcd vim-syntax vorbis wma wmf x264 x86 xattr xcomposite xinerama xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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="braindump flow karbon kexi kpresenter krita tables words" 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 ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en de" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="canon_pp" USERLAND="GNU" VIDEO_CARDS="fbdev vesa radeon" 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, INSTALL_MASK, LANG, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Roman Sergeev 2011-08-23 11:38:41 UTC
workaround - add use flag "static-libs"
Comment 2 Michael Weber (RETIRED) gentoo-dev 2011-11-13 23:52:31 UTC
+  13 Nov 2011; Michael Weber <xmw@gentoo.org> -libfprint-0.3.0-r1.ebuild,
+  libfprint-0.4.0.ebuild:
+  fix .la file removal (thanks Alexander Adam, bug 374575), remove old version
+