Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 65868 - Problems compiling sane-backends
Summary: Problems compiling sane-backends
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Patrick Kursawe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-29 19:08 UTC by Jan Rychter
Modified: 2004-10-28 06:55 UTC (History)
0 users

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


Attachments
autoconf log for sane-backends-1.0.14-r6 (config.log,351.26 KB, text/plain)
2004-10-22 18:55 UTC, Brian Hall
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Rychter 2004-09-29 19:08:37 UTC
gcc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -DPATH_SANE_CONFIG_DIR=/etc/sane.d          -DPATH_SANE_DATA_DIR=/usr/share         -DV_MAJOR=1 -DV_MINOR=0 -I/usr/include/gphoto2 -I/usr/include -march=pentium4 -Os -pipe -fomit-frame-pointer -W -Wall getenv.c
getenv.c:13:4: #error "Missing getenv() on this platform.  Please implement."
getenv.c: In function `getenv':
getenv.c:6: warning: unused parameter `name'
make[1]: *** [getenv.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/sane-backends-1.0.14-r6/work/sane-backends-1.0.14/lib'
make: *** [all-recursive] Error 1



Reproducible: Always
Steps to Reproduce:
1. emerge sane-backends
2.
3.

Actual Results:  
The error above.



Reading specs from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure
--prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.3
--includedir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include
--datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3
--mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/man
--infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.3/info --enable-shared
--host=i686-pc-linux-gnu --target=i686-pc-linux-gnu --with-system-zlib
--enable-languages=c,c++,f77 --enable-threads=posix --enable-long-long
--disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio
--enable-version-specific-runtime-libs
--with-gxx-include-dir=/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.4/include/g++-v3
--with-local-prefix=/usr/local --enable-shared --enable-nls
--without-included-gettext --disable-multilib --enable-__cxa_atexit
--enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)


Portage 2.0.51_rc6 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r0,
2.6.9-rc2 i686)
=================================================================
System uname: 2.6.9-rc2 i686 Intel(R) Pentium(R) 4 CPU 2.66GHz
Gentoo Base System version 1.5.3
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/share/config:/usr/kde/3.3/env:/usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium4 -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.binarycompass.org http://gentoo.ccccom.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm avi berkdb bitmap-fonts cdr crypt cups dga divx4linux dvd emacs
encode f77 faac ffmpeg foomaticdb gdbm gif gimp gnome gphoto2 gtk gtk2 guile icc
icc-pgo imlib java jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mule
mysql ncurses network nls oggvorbis opengl oss pam pdflib perl pic png postgres
python qt quicktime readline scanner sdl slang speex spell sse sse2 ssl tcpd
truetype unicode usb v4l v4l2 x86 xml2 xmms xprint xv xvid zlib"
Comment 1 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-20 23:05:54 UTC
Looks like something goes wrong during configure. Could you perhaps attach (not paste) your config.log from /var/tmp/portage/sane-backends-1.0.14-r6/work/sane-backends-1.0.14 ?
Comment 2 Brian Hall 2004-10-22 18:55:04 UTC
Created attachment 42441 [details]
autoconf log for sane-backends-1.0.14-r6

I get the same problem when emerging this package on ~amd64.

My emerge info:
Portage 2.0.51-r2 (gcc34-amd64-2004.1, gcc-3.4.2,
glibc-2.3.4.20040918-r0,glibc-2.3.4.20041006-r0, 2.6.9-ac3 x86_64)
=================================================================
System uname: 2.6.9-ac3 x86_64 AMD Opteron(tm) Processor 244
Gentoo Base System version 1.5.3
distcc 2.18 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb
-frename-registers -funit-at-a-time -ftracer -mtune=opteron
-fprefetch-loop-arrays -ffast-math -fpie -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb
-frename-registers -funit-at-a-time -ftracer -mtune=opteron
-fprefetch-loop-arrays -ffast-math -fpie -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache digest distlocks"
GENTOO_MIRRORS="http://gentoo.mirrors.pair.com/
ftp://ftp.gtlib.cc.gatech.edu/pub/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa amd64 apm avi berkdb bitmap-fonts bzlib cdparanoia cdr chroot crypt
cups curl dedicated dga dillo dio divx4linux dnd dvd dvdr encode f77 faac faad
ffmpeg flac foomaticdb freetype gb gd gdbm gif gimp gimpprint ginac glut
gphoto2 gpm gs gtk gtk2 gtkhtml imagemagick imlib imlib2 javajikes joystick
jpeg kde lcd lesstif libdsk libg++ libwww lzw lzw-tiff mad maildir matrox mbox
mcal md5sum mikmod mmap mng motif mozilla moznocompose moznoirc moznomail
mozp3p mozsvg mozxmlterm mpeg mplayer multilib music native ncurses net network
nptl nptlonly offensive ofx oggvorbis ooo-kdeopenal opengl oss pam parse-clocks
pdf pdflib perl physfs pic pie png ppds python qt quicktime readline scanner
sdl slang sox spell ssl svg tcpd theora threads tiff transcode truetype type1
usb v4l v4l2 videos wifi wmf wxwindows xface xft xml xml2 xmms xosd xprint
xrandr xscreensaver xv xvid xvmc yv12 zlib"
Comment 3 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-25 02:24:45 UTC
Please try again after emerging libexif.
Comment 4 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-27 01:13:46 UTC
Anybody there?
Comment 5 Jan Rychter 2004-10-27 14:28:11 UTC
In my case, the problem doesn't occur anymore.
Comment 6 Patrick Kursawe (RETIRED) gentoo-dev 2004-10-28 06:55:57 UTC
So, closing as WORKSFORME