Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 202401 - sys-fs/udev-115-r1 build error - make: i686-pc-linux-gnu-gcc: Command not found
Summary: sys-fs/udev-115-r1 build error - make: i686-pc-linux-gnu-gcc: Command not found
Status: VERIFIED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-12-15 17:10 UTC by Kövedi Krisztián
Modified: 2009-01-06 13:34 UTC (History)
1 user (show)

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


Attachments
package.use (package.use,2.78 KB, text/plain)
2009-01-06 13:32 UTC, Michael Postmann
Details
emerge --info (emerge.info,3.01 KB, text/plain)
2009-01-06 13:33 UTC, Michael Postmann
Details
make.conf (make.conf,22.75 KB, text/plain)
2009-01-06 13:34 UTC, Michael Postmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kövedi Krisztián 2007-12-15 17:10:18 UTC
I have a newly installed system. When I finalize the installation,
emerge -vuD --newuse world
the udev compile make always this error.

build.log:

cat /var/tmp/portage/sys-fs/udev-115-r1/temp/build.log
>>> Unpacking source...
>>> Unpacking udev-115.tar.bz2 to /var/tmp/portage/sys-fs/udev-115-r1/work
>>> Unpacking udev-115-update-20079804.diff.bz2 to /var/tmp/portage/sys-fs/udev-115-r1/work
 * Applying udev-115-update-20079804.diff ...                                                                           [ ok ]
 * Applying udev-114-root-link-2.diff ...                                                                               [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-fs/udev-115-r1/work/udev-115 ...
/usr/bin/i686-pc-linux-gnu-ar
  GENHDR   udev_version.h
  CC       udev_device.o
make: i686-pc-linux-gnu-gcc: Command not found
make: *** [udev_device.o] Error 127
make: *** Waiting for unfinished jobs....
  CC       udev_config.o
make: i686-pc-linux-gnu-gcc: Command not found
make: *** [udev_config.o] Error 127
 *
 * ERROR: sys-fs/udev-115-r1 failed.
 * Call stack:
 *            ebuild.sh, line 1701:  Called dyn_compile
 *            ebuild.sh, line 1039:  Called qa_call 'src_compile'
 *            ebuild.sh, line   44:  Called src_compile
 *   udev-115-r1.ebuild, line  126:  Called die
 * The specific snippet of code:
 *      emake \
 *              EXTRAS="${extras}" \
 *              libudevdir=${udev_helper_dir} \
 *              CROSS_COMPILE=${mycross} \
 *              OPTFLAGS="" \
 *              ${myconf} || die
 *  The die message:
 *   (no error message)
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-fs/udev-115-r1/temp/build.log'.
 *

my cflags:

CHOST="i686-pc-linux-gnu"
CFLAGS="-march=pentium3 -O2 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

cpuinfo:

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 8
model name      : Pentium III (Coppermine)
stepping        : 3
cpu MHz         : 701.611
cache size      : 256 KB
fdiv_bug        : no
hlt_bug         : no
f00f_bug        : no
coma_bug        : no
fpu             : yes
fpu_exception   : yes
cpuid level     : 2
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 mmx fxsr sse
bogomips        : 1404.98
clflush size    : 32



Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-12-15 17:15:17 UTC
> make: i686-pc-linux-gnu-gcc: Command not found

Run gcc-config and set your compiler.
Comment 2 Kövedi Krisztián 2007-12-16 09:49:59 UTC
I run the /usr/portage/scripts/bootstrap.sh and after this progress the udev compile ended without errors.

thanks

Comment 3 Michael Postmann 2009-01-06 13:29:35 UTC
(In reply to comment #1)
> > make: i686-pc-linux-gnu-gcc: Command not found
> 
> Run gcc-config and set your compiler.
> 

I had the same problem.

gcc-config -L said that no gcc-profile was selected.
I selected i486-pc-linux-gnu as it was the only one available.
I left the gentoo environment (I'm currently installing in a chrooted dir on a fuly installed ubuntu box) and chrooted to it again (with "env-update && source /etc/profile") but that didn't help.

Then I re-emerged gcc and now it works.

I wouldn't mark this bug as closed, as the problem seems to be reproduceable, and re-emerging removes the symptom but not the cause

The only thing I did so far, was:
Unpack stage3 and portage snapshot. Configure some stuff in "make.conf" update portage. And run "emerge -u world" (incl. creating a package.use file to fit my needs)

I will attach both files and try to reproduce the problem as soon as I got another machine free.

nomike aka Michael Postmann

(In reply to comment #1)
> > make: i686-pc-linux-gnu-gcc: Command not found
> 
> Run gcc-config and set your compiler.
> 

Comment 4 Michael Postmann 2009-01-06 13:32:37 UTC
Created attachment 177569 [details]
package.use
Comment 5 Michael Postmann 2009-01-06 13:33:48 UTC
Created attachment 177570 [details]
emerge --info
Comment 6 Michael Postmann 2009-01-06 13:34:54 UTC
Created attachment 177571 [details]
make.conf