Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 217126 - media-libs/libfprint fails to compile.
Summary: media-libs/libfprint fails to compile.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal with 1 vote (vote)
Assignee: Wolfram Schlich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-10 12:24 UTC by Oisin O Malley
Modified: 2009-05-04 17:17 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,11.55 KB, text/plain)
2008-04-10 12:27 UTC, Oisin O Malley
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oisin O Malley 2008-04-10 12:24:28 UTC
Ebuild media-libs/libfprint-0.0.6 from the wschlich-testing overlay, will not compile as it requires the -fgnu89-inline gcc flag. To my knowledge this is only avalable in gcc 4.1.3 but current stable version is 4.1.2.
 

Reproducible: Always
Comment 1 Oisin O Malley 2008-04-10 12:27:21 UTC
Created attachment 149288 [details]
build.log
Comment 2 Oisin O Malley 2008-04-10 12:29:37 UTC
Portage 2.1.4.4 (default-linux/amd64/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.24-gentoo-r4 x86_64 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Thu, 10 Apr 2008 10:45:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LINGUAS="en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/wschlich-testing /usr/portage/local/custom"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="4965 X a52 aac acl acpi alsa amd64 avahi bash-completion berkdb bluetooth cairo cdr cli cracklib crypt css cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam ffmpeg firefox flac fortran gdbm gif glitz gnome gpm gstreamer gtk hal iconv ieee1394 isdnlog jpeg kerberos ldap libnotify lm_sensors mad matroska midi mikmod mmx mmxext mp3 mpeg mplayer mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd pulseaudio python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 sse3 ssl svg symlink tcpd threads tiff truetype unicode usb v4l v4l2 vcd vorbis wifi x264 xine xml xorg xscreensaver xv xvid xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter 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 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" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en_GB" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

Comment 3 Ludovic Favre 2008-07-01 20:08:43 UTC
Did you managed to get it working ?
I have exactly the same problem....
Comment 4 Oisin O Malley 2008-07-01 23:41:42 UTC
The simplest fix would be to upgrade gcc to >=4.1.3, but these are all still unstable. I have not tested this though as using a unstable gcc could lead to a lot of problems.

Alternatively if a check could be added to the configure for whether -fgnu89-inline option is available would be ideal.  
Comment 5 Markus Luisser 2008-07-27 12:03:59 UTC
Slightly offtopic: While the sources from sourceforge are fine, those portage downloaded from http://mirror.pacific.net.au were corrupt (filesize mismatch).

I get the same issue (-fgnu89-inline) here on amd64 with gcc-4.1.2.
Comment 6 Oisin O Malley 2008-12-18 13:33:00 UTC
I have upgraded to gcc-4.3.1-r1 for other reasons and this does indeed build fine.
Comment 7 Pacho Ramos gentoo-dev 2009-01-29 08:30:36 UTC
Seems that it's forced by configure:
configure:AM_CFLAGS="-std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
configure.ac:AM_CFLAGS="-std=gnu99 -fgnu89-inline -Wall -Wundef -Wunused -Wstrict-prototypes -Werror-implicit-function-declaration -Wno-pointer-sign -Wshadow"
Comment 8 Pacho Ramos gentoo-dev 2009-02-19 08:02:34 UTC
gcc-4.3 will go to stable "soon", then, this will be hopefully fixed. Only one question, I mailed to thinkfinger upstream and he told me that libfprint should replace thinkfinger then, why is libfprint still in a separate overlay and not in "official" tree? Thanks :-)
Comment 9 Oisin O Malley 2009-05-04 17:17:45 UTC
Since gcc-4.3 has been out for a while now, I'm marking this as fixed.