Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180238 - net-misc/udhcp does not compile on certain chosts
Summary: net-misc/udhcp does not compile on certain chosts
Status: RESOLVED INVALID
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-05-29 16:25 UTC by Ryan M Ong
Modified: 2007-05-29 19:17 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 Ryan M Ong 2007-05-29 16:25:03 UTC
net-misc/udhcp does not compile on
CHOST="i686-pc-linux-gnu"
CHOST="i586-pc-linux-gnu"
CHOST="i386-pc-linux-gnu"

Only compiles on
CHOST="i486-pc-linux-gnu"

Reproducible: Always

Steps to Reproduce:
1.set CHOST to "i686-pc-linux-gnu"
2.emerge udhcp
3.
Comment 1 Dawid Węgliński (RETIRED) gentoo-dev 2007-05-29 16:51:43 UTC
It works for me on CHOST="i686-pc-linux-gnu". You didn't give udhcp version that doesn't for you, and emerge --info.

Cleaning stale versions after installing net-misc/udhcp-0.9.9_pre20041216-r4::gentoo

* No cleaning required

Updating world file

* adding net-misc/udhcp

sapphire cla # emerge --info          
Portage 2.1.2.7 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.5-r2, 2.6.17-beyond4 i686)
=================================================================
System uname: 2.6.17-beyond4 i686 Intel(R) Celeron(R) M processor         1.50GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 28 May 2007 06:50:02 +0000
dev-java/java-config: 1.3.7, 2.0.32
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="digest distlocks metadata-transfer parallel-fetch sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://src.gentoo.pl http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl http://ds.thn.htu.se/linux/gentoo http://mirror.switch.ch/ftp/mirror/gentoo/ "
LANG="pl_PL.UTF-8"
LC_ALL="pl_PL.UTF-8"
LINGUAS="pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage/xeffects/trunk /usr/local/portage/xeffects/experimental /usr/local/portage/paludis-extras"
SYNC="rsync://rsync.ca.gentoo.org/gentoo-portage"
USE="X acl acpi aiglx alsa arts berkdb bitmap-fonts cairo cdr cli cracklib crypt dbus dri dvd dvdr dvdread eds emboss encode esd evo fam fortran gdbm gif gpm gstreamer hal iconv ipv6 isdnlog jpeg kde kdehiddenvisibility kerberos ldap libg++ mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="mouse synaptics keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ryan M Ong 2007-05-29 18:09:06 UTC
Portage 2.1.2.7 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.20-gentoo-r8 i686)
=================================================================
System uname: 2.6.20-gentoo-r8 i686 Celeron (Coppermine)
Gentoo Base System release 1.12.9
Timestamp of tree: Mon, 28 May 2007 02:50:01 +0000
ccache version 2.4 [disabled]
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r7
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://gentoo.mirrors.pair.com/ "
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X acl acpi aim alsa apm berkdb bitmap-fonts bzip2 cgi cli cracklib crypt cups curl directfb dri exif fastcgi fbcon ftp gd gdbm gif gpm gtk iconv imagemagick isdnlog javascript jpeg libg++ memcache midi mmx mplayer mudflap mysql ncurses nethack nls nptl nptlonly openmp pam pcre perl php png pppd python readline reflection ruby samba session sockets spell spl sqlite ssl svga tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb x86 xml xorg xpm zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Ryan M Ong 2007-05-29 18:10:24 UTC
[32;01m*[0m Adding group 'dhcp' to your system ...
 [32;01m*[0m  - Groupid: next available
 [32;01m*[0m Adding user 'dhcp' to your system ...
 [32;01m*[0m  - Userid: 103
 [32;01m*[0m  - Shell: /sbin/nologin
 [32;01m*[0m  - Home: /var/lib/dhcp
 [32;01m*[0m  - Groups: dhcp
 [32;01m*[0m  - Creating /var/lib/dhcp in /
>>> Unpacking source...
>>> Unpacking udhcp-0.9.9_pre20041216.tar.bz2 to /var/tmp/portage/net-misc/udhcp-0.9.9_pre20041216-r4/work
 [32;01m*[0m Applying udhcp-0.9.9_pre20041216-env.patch ...
[A[72C  [34;01m[ [32;01mok[34;01m ][0m
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/net-misc/udhcp-0.9.9_pre20041216-r4/work/udhcp ...
i686-pc-linux-gnu-gcc -c -O2 -march=pentium2 -pipe -DCOMBINED_BINARY
-DUDHCP_SYSLOG -W -Wall -Wstrict-prototypes -D_GNU_SOURCE -Os
-fomit-frame-pointer dhcpd.c
make: i686-pc-linux-gnu-gcc: Command not found
make: *** [dhcpd.o] Error 127

!!! ERROR: net-misc/udhcp-0.9.9_pre20041216-r4 failed.
Call stack:
  ebuild.sh, line 1615:   Called dyn_compile
  ebuild.sh, line 972:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  udhcp-0.9.9_pre20041216-r4.ebuild, line 41:   Called die

!!! (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/net-misc/udhcp-0.9.9_pre20041216-r4/temp/build.log'.
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2007-05-29 19:17:42 UTC
You can't just switch CHOST on-the-fly.

http://www.gentoo.org/doc/en/change-chost.xml