Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559832 - net-misc/dhcp-4.3.3[ldap,-ipv6]: fails to build: dhcpd-ldap.o: In function `find_client_in_ldap': ldap.c:(.text+0x4774): undefined reference to `get_client_id'
Summary: net-misc/dhcp-4.3.3[ldap,-ipv6]: fails to build: dhcpd-ldap.o: In function `f...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-07 06:52 UTC by Nikolaos Chatzidakis
Modified: 2015-09-16 15:50 UTC (History)
1 user (show)

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


Attachments
dhcp-4.3.3 build log (dhcp_build.log,181.26 KB, text/x-log)
2015-09-07 06:52 UTC, Nikolaos Chatzidakis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolaos Chatzidakis 2015-09-07 06:52:20 UTC
Created attachment 411232 [details]
dhcp-4.3.3 build log

Hello,

With my system fully updated, the updated version of dhcp fails to emerge:

=============================================================
dhcpd-ldap.o: In function `find_client_in_ldap':
ldap.c:(.text+0x4774): undefined reference to `get_client_id'
=============================================================

Here is my emerge-info:

Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.3, glibc-2.21-r1, 4.2.0-gentoo-r1 x86_64)
=================================================================
System uname: Linux-4.2.0-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.2
KiB Mem:    16351712 total,  11604456 free
KiB Swap:    4194300 total,   4194300 free
Timestamp of repository gentoo: Mon, 07 Sep 2015 06:15:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
ccache version 3.2.3 [enabled]
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gr.gentoo.org/gentoo-portage
    priority: -1000

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7-avx -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7-avx -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs=10 --quiet-build=y --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://ftp.ntua.gr/pub/linux/gentoo/"
LANG="el_GR.UTF-8"
LC_ALL="el_GR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fontconfig fortran gdbm gif glamor gpm gtk iconv jack jpeg kde kipi lcms ldap libnotify mad mmx mmxext mng modules mp3 mp4 mpeg msn multilib ncurses nls nptl nsplugin ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline sdl seccomp session spell sse sse2 sse3 sse4_1 sse4_2 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb v4l vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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 ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="el en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_4" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="2.7"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

I also attach the build log.
Comment 1 Nikolaos Chatzidakis 2015-09-07 18:12:05 UTC
Emerging dhcp with "-ldap" USE flag, builds just fine though. Just tested it.
Comment 2 Karol Krizka 2015-09-14 11:28:54 UTC
I am seeing the same error on my system.

Portage 2.2.20.1 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop/plasma/systemd, gcc-4.9.3, glibc-2.21-r1, 4.1.6-gentoo x86_64)
=================================================================
System uname: Linux-4.1.6-gentoo-x86_64-AMD_FX-tm-8120_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16414508 total,  15840384 free
KiB Swap:    2008120 total,   2008120 free
Timestamp of repository gentoo: Mon, 14 Sep 2015 09:30:01 +0000
sh bash 4.3_p42
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.0::gentoo
dev-lang/python:          2.7.10::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.3.1-r1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.17::gentoo
sys-apps/sandbox:         2.7::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.10.3::gentoo, 1.11.6-r1::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            4.9.3::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.2::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

local
    location: /usr/local/portage
    masters: gentoo
    priority: 0

gamerlay
    location: /var/lib/layman/gamerlay
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/gamerlay.git
    masters: gentoo
    priority: 50

kde
    location: /var/lib/layman/kde
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/kde.git
    masters: gentoo
    priority: 50

Installed sets: @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA Livestation-EULA dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1 AdobeFlash-10 PUEL Oracle-BCLA-JavaSE AdobeFlash-10.3 skype-4.0.0.7-copyright google-talkplugini Google-TOS AdobeFlash-11.x google-chrome NVIDIA-CUDA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.2/conf"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -fomit-frame-pointer -march=bdver1 -mtune=bdver1 -mcx16 -msahf -maes -mpclmul -mpopcnt -mabm -mlwp -mavx"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_CA.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
USE="3dnow 3ds X a52 aac accessibility acpi addbookmarks additions addressbook adns afs akonadi alisp allegro alsa amd64 amrnb amrwb ao apng applet archive artworkextra ass assistant autoipd automount autopid avahi avi bash-completion berkdb bineditor bittorrent bonjour bonusscripts branding bullet bzip2 cairo cal3d calendar caps captury cdaudio cdda cdio cdr cegui cg chm city clang cleartype cli clock-screen clucene cmake collada colord compat compiz contactnotes contrib corefonts coverart cracklib crypt css ctype cuda cups curl custom-optimization cvs cxx cycles daap dbus debugger deciberl declarative demos designer designer-plugin desktopglobe devil dfs dia disk-partition divx djvu dv dvd dvdnav dvdr dvdread dynamic ebook editor eigen emacs emacs23icons emboss emovix enblend encode evolution exif exiv2 expoblending extensions extra extras faac faad facebook fam farstream fastrack fasttrack fbcondecor fbsplash ffmpeg fftw filter fits flac fmod fontconfig foomaticdb fortran frei0r fts3 fuse g3dvl galago gallium gbm gcj gconf gd gdbm geolocation gflags gif git glamor glib glitz gltf gmm gnutella google gphoto2 gpm gpssync gpu graphite gs gsf gsm gstreamer gtk guile hepmc highlight history hpcups hwdb hyperestraier iconv icu id3tag ieee1394 ilbc infinality inkjar inotify inquisitio introspection iphone ithreads jadetex java java6 javascript jit jpeg jpeg2k jpg json kate kde kdenlive kdeprefix kdm kdu kerberos key-screen keyring kickoff kipi kpathsea lame lapack largefile latex lcdfilter lcms ldap legacy-systray libburn libmpeg2 libnotify lm_sensors logitech-mouse lto lua lzma lzo mad magic maps marble matplotlib mdnsresponder-compat melt messenger metis midi minizip mjpeg mmx mmxext mng modern-top modules moonlight mousewarp mp3 mp3rtp mp4 mpeg msn mta mtp multilib musepack musicbrainz mysqli ncurses nemsi network network_manager networking networkmanager nls nsplugin ntfsprogs oauth ocamlopt octave ode ofa offensive ogg ogre ois openal openexr openft opengl openmp opus otr pam pango panorama pch pcntl pcre pcre16 pdf perl phonon php plasma player plotutils plugins png policykit poppler postscript ppds preview-latex profiler ps pulseaudio python qalculate qmake qml qt qt-copy qt3support qt4 qt5 qthelp quicktime qwt rar rdp readline real realmedia redeyes redland regex reports romio rss rt73usb rtc rtmp sasl science script sdk sdl search-screen seccomp secure-delete semantic-desktop session sftp sift simplexml skype slp snmp social-desktop solver soprano sox sparse speex spell spl sql sqlite sse sse2 sse3 sse41 sse42 ssl ssse3 stars startup-notification subversion suid svg swat swig symlink sync-plugin-portage system-sqlite system-v8 systemd taglib tcl tcpd templates testprograms tetex themes theora threads thumbnail tiff timidity tinfo tiny tinyxml tk tools totem transparency tremor truetype type1 udev udisks unicode unlock-notify unsupported upcall upnp usb uvm v4l v4l2 vaapi vala vcd vdpau video vim vim-syntax visibility vivox vnc vorbis vpx wavpack webgl webkit widgets windeco wlm wmf wpd wv2 wxwidgets x264 xattr xcb xcomposite xerces-c xetex xinerama xml xmlreader xmlwriter xoran xrootd xulrunner xv xvid xvmc yahoo zip zlib" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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 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 asis auth_digest authn_dbd cern_meta charset_lite dbd dumpio ident imagemap log_forensic version authn_core authz_core unixd socache_shmcb" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="sony_dscf55 canon" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx fma4 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 xop" 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 ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_CA" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4 python2_7" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="nvidia" 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"
USE_PYTHON="3.4"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Robert Crawford 2015-09-14 15:50:41 UTC
I'm hitting this too, and worse yet, it's preventing me from completing an emerge kde-plasma/plasma-meta (or even just a plasma-desktop):


gentoo-amd64 wrc # emerge kde-plasma/plasma-meta -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] net-misc/dhcp-4.3.3::gentoo  USE="client ldap server ssl -ipv6 (-selinux) -vim-syntax" 0 KiB
[ebuild  N     ] net-misc/networkmanager-1.0.4-r1::gentoo  USE="bluetooth consolekit dhclient introspection modemmanager ncurses nss ppp wext wifi -connection-sharing -dhcpcd -gnutls -resolvconf (-selinux) -systemd -teamd {-test} -vala -zeroconf" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild  N     ] kde-frameworks/networkmanager-qt-5.14.0:5/5.14::gentoo  USE="-debug -doc -teamd {-test}" 0 KiB
[ebuild  N     ] kde-plasma/plasma-workspace-5.4.1:5::gentoo  USE="dbus drkonqi handbook systemmonitor -debug -gps (-prison) -qalculate {-test}" 0 KiB
[ebuild  N     ] kde-plasma/khotkeys-5.4.1:5::gentoo  USE="handbook -debug" 0 KiB
[ebuild  N     ] kde-plasma/plasma-desktop-5.4.1:5::gentoo  USE="evdev fontconfig handbook qt4 -debug -gtk2 -gtk3 -legacy-systray -pulseaudio {-test} -touchpad" 0 KiB
[ebuild  N     ] kde-plasma/powerdevil-5.4.1:5::gentoo  USE="handbook -debug -systemd" 0 KiB
[ebuild  N     ] kde-plasma/kmenuedit-5.4.1:5::gentoo  USE="handbook hotkeys -debug" 0 KiB
[ebuild  N     ] kde-plasma/plasma-meta-5.4.1:5::gentoo  USE="bluetooth display-manager gtk sddm wallpapers -mediacenter -networkmanager -pulseaudio -sdk" 0 KiB

Total: 9 packages (9 new), Size of downloads: 0 KiB

Guess I'll try it with USE="-ldap"
Comment 4 Robert Crawford 2015-09-14 16:35:27 UTC
OK- changing to USE= -ldap worked for dhcp, and I was then able to finish up the kf5 stuff emerge. Hope no problems occur on reboot. I resynced, and dhcp wanted to add back the ldap flag, so I put -ldap in portage. However, I have doubts as to whether -ldap is going to be OK in the long run...
Comment 5 stream009 2015-09-16 06:51:30 UTC
Same error happend to me too.
Quick look on source code suggests it doesn't support LDAP without IPv6.
Comment 6 SpanKY gentoo-dev 2015-09-16 15:50:59 UTC
(In reply to stream009 from comment #5)

nice observation.  should be fixed by:
http://gitweb.gentoo.org/repo/gentoo.git/commit/?id=31aa8f44b17b5139a6aad2cb874dd886308a4958