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

Bug 128141

Summary: siefs fails to emerge
Product: Gentoo Linux Reporter: Jens Pranaitis <jens>
Component: Current packagesAssignee: Stefan Schweizer (RETIRED) <genstef>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Jens Pranaitis 2006-03-30 10:22:51 UTC
charset.c: In function 'init_charset':
charset.c:1189: warning: incompatible implicit declaration of built-in function 'malloc'
i686-pc-linux-gnu-gcc  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22  -L/lib -o siefs  siefs.o obex.o transport.o comm.o crcmodel.o charset.o /usr/lib/libfuse.a -lpthread
i686-pc-linux-gnu-gcc  -I/usr/include -DFUSEINST="\"/usr\"" -D_FILE_OFFSET_BITS=64 -DFUSE_USE_VERSION=22  -L/lib -o slink  slink.o obex.o transport.o comm.o crcmodel.o /usr/lib/libfuse.a -lpthread
/usr/lib/libfuse.a(fuse.o): In function `curr_time':
: undefined reference to `clock_gettime'
/usr/lib/libfuse.a(fuse.o): In function `curr_time':
: undefined reference to `clock_gettime'
collect2: ld returned 1 exit status
make[2]: *** [siefs] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/siefs-0.5/work/siefs-0.5/siefs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/siefs-0.5/work/siefs-0.5'
make: *** [all] Error 2

I'm using fuse from the gentoo-sources. I have the fuse userland tools installed. Here's my emerge --info:

Portage 2.1_pre7-r2 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.4-r1, 2.6.16-gentoo i686)
=================================================================
System uname: 2.6.16-gentoo i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.0_pre16
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-Os -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nodoc noinfo sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/bmg-main /usr/local/gentoo.de /usr/local/overlays/manuell"
SYNC="rsync://192.168.0.2/gentoo-portage"
USE="x86 7zip X a52 aac acpi alsa apm arts asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cddb cdparanoia cdr cdrom cgi cli crypt css cups curl dba dbus dri dvd dvdr dvdread encode escreen ethereal exif fam fastcgi ffmpeg firefox flac flatfile fortran ftp gcj gd gdbm gif glibc-omitfp gpm gzip hal idn ieee1394 imagemagick imlib jabber java javascript jikes john joystick jpeg kde kqemu lame lcms libwww lighttpd logrotate mad mikmod mmx mmxext motif mp3 mpeg mpeg2 mplayer msn musepack musicbrainz ncurses nfs nls nptl nptlonly nsplugin offensive ogg oggvorbis opengl pcre pdflib perl php pic png python qt rar rdesktop readline real rss ruby samba sdl spell sql sse sse2 ssl staticsocket subtitles tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev usb userlocales vcd vim vorbis wifi win32codecs wxgtk1 wxwindows xcomposite xine xml2 xosd xv xvid zlib elibc_glibc input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_de userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 1 Stefan Schweizer (RETIRED) gentoo-dev 2006-04-01 02:03:41 UTC
it is simple to fix, I added a sed-line to workaround this in the ebuild. SHoudl be available through rsync in one hour.