Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67687 - synaptics: emerge does not work
Summary: synaptics: emerge does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo X packagers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-15 11:01 UTC by Stefan Janke
Modified: 2004-10-23 21:27 UTC (History)
1 user (show)

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 Stefan Janke 2004-10-15 11:01:50 UTC
emerge  synaptics 
Calculating dependencies ...done!
>>> emerge (1 of 1) x11-misc/synaptics-0.13.5 to /
>>> md5 src_uri ;-) synaptics-0.13.5.tar.bz2
>>> Unpacking source...
>>> Unpacking synaptics-0.13.5.tar.bz2 to /var/tmp/portage/synaptics-0.13.5/work
>>> Source unpacked.
rm -f synaptics.o
c -Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -I. -IXincludes/usr/X11R6/include/X11 -IXincludes/usr/X11R6/include/X11/extensions -IXincludes/usr/X11R6/lib/Server/include -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.13.5\""  synaptics.c
/bin/sh: c: command not found
make: [synaptics.o] Error 127 (ignored)
rm -f ps2comm.o
c -Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -I. -IXincludes/usr/X11R6/include/X11 -IXincludes/usr/X11R6/include/X11/extensions -IXincludes/usr/X11R6/lib/Server/include -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.13.5\""  ps2comm.c
/bin/sh: c: command not found
make: [ps2comm.o] Error 127 (ignored)
rm -f eventcomm.o
c -Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -I. -IXincludes/usr/X11R6/include/X11 -IXincludes/usr/X11R6/include/X11/extensions -IXincludes/usr/X11R6/lib/Server/include -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.13.5\""  eventcomm.c
/bin/sh: c: command not found
make: [eventcomm.o] Error 127 (ignored)
rm -f psmcomm.o
c -Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -I. -IXincludes/usr/X11R6/include/X11 -IXincludes/usr/X11R6/include/X11/extensions -IXincludes/usr/X11R6/lib/Server/include -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.13.5\""  psmcomm.c
/bin/sh: c: command not found
make: [psmcomm.o] Error 127 (ignored)
rm -f alpscomm.oOs -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -DVERSION="\"0.13.5\"" -IXincludes/usr/X11R6/include -c -o synclient.o synclient.c
/bin/sh: Os: command not found
c -Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -I. -IXincludes/usr/X11R6/include/X11 -IXincludes/usr/X11R6/include/X11/extensions -IXincludes/usr/X11R6/lib/Server/include -Dlinux -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE  -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DTOGCUP   -DDPMSExtension  -DPIXPRIV -DPANORAMIX  -DRENDER -DGCCUSESGAS -DAVOID_GLYPHBLT -DPIXPRIV -DSINGLEDEPTH -DXFreeXDGA -DXvExtension -DXFree86LOADER  -DXFree86Server -DXF86VIDMODE  -DSMART_SCHEDULE -DBUILDDEBUG -DX_BYTE_ORDER=X_LITTLE_ENDIAN -DNDEBUG -D__i386__ -DFUNCPROTO=15 -DNARROWPROTO -DIN_MODULE -DXFree86Module -DVERSION="\"0.13.5\""  alpscomm.c
/bin/sh: c: command not found
make: [synclient.o] Error 127 (ignored)
make: [alpscomm.o] Error 127 (ignored)
Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops -pedantic -Wall -Wpointer-arith -fno-merge-constants -fno-pic -DVERSION="\"0.13.5\"" -IXincludes/usr/X11R6/include -c -o syndaemon.o syndaemon.c
/bin/sh: Os: command not found
make: [syndaemon.o] Error 127 (ignored)
rm -f synaptics_drv.o
ld -r  synaptics.o ps2comm.o eventcomm.o psmcomm.o alpscomm.o -o synaptics_drv.o
ld: synaptics.o: No such file: No such file or directory
make: *** [synaptics_drv.o] Error 1

!!! ERROR: x11-misc/synaptics-0.13.5 failed.
!!! Function src_compile, Line 33, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.



Reproducible: Always
Steps to Reproduce:
1.emerge  synaptics
2.
3.
Comment 1 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-15 11:26:46 UTC
Stefan, you forgot to paste the output of emerge --info.  Please reopen the bug when you do.
Comment 2 Stefan Janke 2004-10-15 23:34:00 UTC
here are the additional information:
--->cut<---
emerge --info
Portage 2.0.51_rc9 (default-x86-2004.2, gcc-3.3.4, glibc-2.3.4.20041006-r0, 2.6.8-gentoo-r7 i686)
=================================================================
System uname: 2.6.8-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.6.2
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/linux-headers-2.4.22
Libtools: sys-devel/libtool-1.5.2-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops"
CHOST="i686-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/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-Os -march=pentium3 -pipe -mfpmath=sse,387 -fforce-addr -ffast-math -ftracer -fomit-frame-pointer -mno-align-stringops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
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 apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dvd dvdr encode esd f77 foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg kde libg++ libwww mad mikmod motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd tetex truetype udev usb x86 xine xinerama xml2 xmms xprint xv xvidinfo zlib"
Comment 3 Seemant Kulleen (RETIRED) gentoo-dev 2004-10-16 01:17:27 UTC
next thing is for you to take out some of the more ridiculous compiler options from your CFLAGS in make.conf and re-try this.

-mfpmath=sse,387 -fforce-addr -ffast-math -mno-align-stringops

are good candidates for _complete_ removal.  It's been our experience that most people who use these flags found them from some 1337 dude on some online forum who had absolutely NO clue what he was doing.  And so the blind lead the blind.  If you're going to use such flags, please read the gcc man pages (at the very least!) to see what they actually do.   You'll find that the combination above on your architecture is actually detrimenal.

Anyway, enough of the soapbox, please try to emerge this with sane CFLAGS and report back here.
Comment 4 Stefan Janke 2004-10-16 01:28:20 UTC
Hallo,

I tried it with:
CFLAGS="-Os -march=pentium3 -pipe"
and I get the same bad result.

The problem seems to me, that the emerge-system can't find the right name for the compiler. I don't have a programm "c" on my computer as it tries to use. 

ciao stefan
Comment 5 Stefan Janke 2004-10-16 01:32:51 UTC
another additional information: I didn't have any build problem with any other ebuild, therefor I don't understnd, why i have with synaptics  such a problem.


ciao stefan
Comment 6 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-16 17:48:32 UTC
This line in the ebuild isn't valid with new gcc-config. 
s/${CC}/$(gcc-getCC)/
    sed -i -e "s:CC = gcc:CC = ${CC}:g" ${S}/Makefile
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-10-16 17:48:46 UTC
Need to inherit gcc too.
Comment 8 Bryan Stine (RETIRED) gentoo-dev 2004-10-23 21:27:32 UTC
Okie, this logic was changed in all existing ebuilds. Thanks a lot Donnie. Sorry it took so long.