Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379903 - net-misc/dhcp-3.1.3_p1 fails with linux-3.x
Summary: net-misc/dhcp-3.1.3_p1 fails with linux-3.x
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 380189 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-19 21:34 UTC by Jim Faulkner
Modified: 2012-08-18 04:41 UTC (History)
2 users (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 Jim Faulkner 2011-08-19 21:34:38 UTC
net-misc/dhcp-3.1.3_p1 fails to build on alpha:

>>> Unpacking source...
>>> Unpacking dhcp-3.1-ESV.tar.gz to /var/tmp/portage/net-misc/dhcp-3.1.3_p1/work
 * Applying dhcp-3.0-paranoia.patch ...                                                 [ ok ]
 * Applying dhcp-3.0-fix-perms.patch ...                                                [ ok ]
 * Applying dhcp-3.0.3-dhclient-ntp.patch ...                                           [ ok ]
 * Applying dhcp-3.1.0a1-dhclient-resolvconf.patch ...                                  [ ok ]
 * Applying dhcp-3.1.3-dhclient-no-down.patch ...                                       [ ok ]
 * Applying dhcp-3.0.3-no_isc_blurb.patch ...                                           [ ok ]
 * Applying dhcp-3.0.4-dhclient-stdin-conf.patch ...                                    [ ok ]
 * Applying dhcp-3.0.5-bpf-nofallback.patch ...                                         [ ok ]
 * Applying dhcp-3.0.3-libdst.patch ...                                                 [ ok ]
 * Applying dhcp-3.0.2-gmake.patch ...                                                  [ ok ]
 * Applying dhcp-3.0.3-dhclient-dbus.patch ...                                          [ ok ]
>>> Source unpacked in /var/tmp/portage/net-misc/dhcp-3.1.3_p1/work
>>> Compiling source in /var/tmp/portage/net-misc/dhcp-3.1.3_p1/work/dhcp-3.1-ESV ...
UNIX name: Linux    machine: alpha

Unknown system.   If this is an SCO system running ODT 3.0 or
higher, type ``./configure sco''.   Otherwise, this is a
configuration that isn't supported or hasn't been tested.

Supported configurations are:
   aix          AIX 4.1.5.0
   ultrix       ULTRIX 4.2A or higher
   bsdos        BSDI BSD/OS 2.1
   alphaosf     DEC Alpha OSF/1
   linux        Linux
   sunos4       Sunos 4.1.4 (earlier releases may work)
   sunos5-cc    Solaris 2.4 or higher with Sun cc
   sunos5-gcc   Solaris 2.4 or higher with gcc
   netbsd       NetBSD 1.1 or higher
   freebsd      FreeBSD
   openbsd      OpenBSD (i386/alpha)
   hpux         HP-UX
   qnx          QNX 4.2 or higher
   NEXTSTEP     NeXTSTEP
   sco  SCO Open Server
 * ERROR: net-misc/dhcp-3.1.3_p1 failed (compile phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2858:  Called die
 * The specific snippet of code:
 *       ./configure --copts "-DPARANOIA -DEARLY_CHROOT ${CFLAGS}" || die "configure failed";
 * 
 * If you need support, post the output of 'emerge --info =net-misc/dhcp-3.1.3_p1',
 * the complete build log and the output of 'emerge -pqv =net-misc/dhcp-3.1.3_p1'.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/temp/environment'.
 * S: '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/work/dhcp-3.1-ESV'

>>> Failed to emerge net-misc/dhcp-3.1.3_p1, Log file:

>>>  '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/temp/build.log'

 * Messages for package net-misc/dhcp-3.1.3_p1:

 * ERROR: net-misc/dhcp-3.1.3_p1 failed (compile phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line  56:  Called src_compile
 *   environment, line 2858:  Called die
 * The specific snippet of code:
 *       ./configure --copts "-DPARANOIA -DEARLY_CHROOT ${CFLAGS}" || die "configure failed";
 * 
 * If you need support, post the output of 'emerge --info =net-misc/dhcp-3.1.3_p1',
 * the complete build log and the output of 'emerge -pqv =net-misc/dhcp-3.1.3_p1'.
 * The complete build log is located at '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/temp/environment'.
 * S: '/var/tmp/portage/net-misc/dhcp-3.1.3_p1/work/dhcp-3.1-ESV'

Reproducible: Always




nonplus tftpboot # emerge --info =net-misc/dhcp-3.1.3_p1
Portage 2.1.10.3 (default/linux/alpha/10.0/desktop, gcc-4.4.5, glibc-2.11.3-r0, 3.0.0-gentoo alpha)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.0.0-gentoo-alpha-EV6-with-gentoo-2.0.3
Timestamp of tree: Fri, 19 Aug 2011 19:15:01 +0000
app-shells/bash:          4.1_p9
dev-lang/python:          2.7.1-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.11.3
Repositories: gentoo x-portage-overlay
ACCEPT_KEYWORDS="alpha"
ACCEPT_LICENSE="* -@EULA"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mcpu=ev6 -mieee -O2 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-mcpu=ev6 -mieee -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_US"
MAKEOPTS="-j2 -l 2.0"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage-overlay"
SYNC="rsync://jove.eng.yale.edu/gentoo-portage"
USE="X a52 aac alpha alsa berkdb branding bzip2 cairo cdda cdr cleartype cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr encode exif fam firefox flac fortran gdbm gdu gif gpm gtk iconv inotify ipv6 jpeg kerberos lcms ldap libnotify lzma mad mbox mmap mng modules mp3 mp4 mpeg mudflap ncurses nptl nptlonly ogg opengl pam pango pcre pdf perl png policykit ppds pppd python qt3support readline sdl session sharedmem spell ssl startup-notification svg sysfs tcpd tiff truetype udev unicode vim-syntax vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="braindump flow karbon kexi kpresenter krita tables words" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="mga vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 SpanKY gentoo-dev 2011-08-21 16:30:22 UTC
does dhcp-4.2.1_p1 work ?
Comment 2 Jim Faulkner 2011-08-22 01:05:00 UTC
Yes net-misc/dhcp-4.2.1_p1 installs fine.
Comment 3 Ian Kumlien 2011-08-27 00:40:43 UTC
Linux 3.x kernel? It's a broken configure script:


--- configure.orig      2005-03-17 21:14:55.000000000 +0100
+++ configure   2011-08-27 02:31:52.543383492 +0200
@@ -104,6 +104,9 @@
             2) sysname=linux-2.2 ;;
             *) sysname=linux-2.2 ;;
           esac;;
+       3) case $minor in
+            0) sysname=linux-2.2 ;;
+          esac;;
       esac;;
     SunOS)
       release=`uname -r`
----
Comment 4 SpanKY gentoo-dev 2011-08-28 19:06:08 UTC
*** Bug 380189 has been marked as a duplicate of this bug. ***
Comment 5 SpanKY gentoo-dev 2011-08-28 19:06:37 UTC
fixed in dhcp-4.2.2+
Comment 6 Ian Kumlien 2011-08-28 21:09:28 UTC
4.2.2 is masked - any user doing a new install would run in to problems.

Also - if i remember correctly it doesn't work with chrooting.
Comment 7 SpanKY gentoo-dev 2011-08-28 22:33:03 UTC
both of which are being addressed elsewhere.  please refrain from unrelated bugs.
Comment 8 Ian Kumlien 2011-08-29 20:43:06 UTC
As long as they aren't fixed - that version is not a viable solution thus there is no harm in applying this patch to the 3.x series.
Comment 9 SpanKY gentoo-dev 2011-08-29 21:58:14 UTC
this bug is about linux-3.x support, and that is fixed in dhcp-4.x.  anything else is irrelevant.  please stay on topic.

i'm not supporting dhcp-3.x, so i'll leave it up to Robin to see what he wants to do with it.
Comment 10 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2011-08-29 22:03:50 UTC
Users should move to stable DHCP4 I think, but this patch isn't exactly hazardous.

Spanky: do you know of any other reasons where DHCP3 would fail w/ linux 3.x?
Comment 11 SpanKY gentoo-dev 2011-08-29 22:39:43 UTC
no idea.  ive never looked at dhcp3.  but i imagine it wouldnt make the situation any worse than it already is :).
Comment 12 SpanKY gentoo-dev 2012-08-18 04:41:06 UTC
dhcp-4.x is stable now