Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 547864 - net-fs/samba-4.1.17 - ERROR: System library heimbase of version 0.0.0 not found, and bundling disabled
Summary: net-fs/samba-4.1.17 - ERROR: System library heimbase of version 0.0.0 not fou...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
URL:
Whiteboard:
Keywords:
: 549648 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-04-27 05:33 UTC by Kobboi
Modified: 2015-06-26 07:26 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,55.98 KB, text/plain)
2015-04-27 05:34 UTC, Kobboi
Details
environment (environment,156.51 KB, text/plain)
2015-04-27 05:35 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2015-04-27 05:33:26 UTC
(...)
Checking for dn_expand                                                                          : ok 
Checking for variable _res                                                                      : ok 
Checking for declaration of _res                                                                : ok 
Checking for openpty                                                                            : not found 
Checking for library util                                                                       : yes 
Checking for openpty                                                                            : ok 
Checking for dirfd                                                                              : ok 
Checking for declaration of dirfd                                                               : ok 
Checking for member dd_fd in DIR                                                                : not found 
Using in-tree heimdal kerberos defines
Checking for program krb5-config.heimdal                                                        : not found 
Checking for program krb5-config                                                                : /usr/bin/krb5-config 
Checking for system com_err                                                                     : yes 
Checking for library com_err                                                                    : yes 
Checking for com_right_r                                                                        : ok 
Checking for system roken                                                                       : not found 
Checking for header roken.h                                                                     : yes 
Checking for library roken                                                                      : yes 
Checking for rk_socket_set_reuseaddr                                                            : ok 
Checking for system wind                                                                        : not found 
Checking for header wind.h                                                                      : yes 
Checking for library wind                                                                       : yes 
Checking for wind_stringprep                                                                    : ok 
Checking for system hx509                                                                       : not found 
Checking for header hx509.h                                                                     : yes 
Checking for library hx509                                                                      : yes 
Checking for hx509_bitstring_print                                                              : ok 
Checking for system asn1                                                                        : not found 
Checking for header asn1_err.h                                                                  : yes 
Checking for library asn1                                                                       : yes 
Checking for initialize_asn1_error_table                                                        : ok 
Checking for system heimbase                                                                    : not found 
Checking for header heimbase.h                                                                  : yes 
Checking for library heimbase                                                                   : yes 
Checking for heim_cmp                                                                           : not found 
ERROR: System library heimbase of version 0.0.0 not found, and bundling disabled
 * ERROR: net-fs/samba-4.1.17::gentoo failed (configure phase):
 *   configure failed
 * 
 * Call stack:
 *     ebuild.sh, line   93:  Called src_configure
 *   environment, line 3870:  Called waf-utils_src_configure '--enable-fhs' '--sysconfdir=/etc' '--localstatedir=/var' '--with-modulesdir=/usr/lib64/samba' '--with-pammodulesdir=/lib64/security' '--with-piddir=/var/run/samba' '--disable-rpath' '--disable-rpath-install' '--nopyc' '--nopyo' '--bundled-libraries=NONE' '--builtin-libraries=NONE' '--without-dnsupdate' '--with-acl-support' '--without-ads' '--without-aio-support' '--disable-avahi' '--without-cluster-support' '--enable-cups' '--without-dmapi' '--with-fam' '--disable-gnutls' '--disable-iprint' '--with-ldap' '--with-pam' '--with-pam_smbpass' '--without-quotas' '--without-syslog' '--with-systemd' '--with-winbind'
 *   environment, line 4826:  Called die
 * The specific snippet of code:
 *           CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir}" "$@" configure || die "configure failed";
 * 
 * If you need support, post the output of `emerge --info '=net-fs/samba-4.1.17::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-fs/samba-4.1.17::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-fs/samba-4.1.17/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-fs/samba-4.1.17/temp/environment'.
 * Working directory: '/var/tmp/portage/net-fs/samba-4.1.17/work/samba-4.1.17'
 * S: '/var/tmp/portage/net-fs/samba-4.1.17/work/samba-4.1.17'


Reproducible: Always
Comment 1 Kobboi 2015-04-27 05:34:40 UTC
Created attachment 402090 [details]
build.log
Comment 2 Kobboi 2015-04-27 05:35:07 UTC
Created attachment 402092 [details]
environment
Comment 4 Kenton Groombridge 2015-05-04 01:13:09 UTC
I also have this problem.  At first I thought it was related to one of my systems which I am experimenting with gcc-5.1, but it also fails on my system with gcc-4.9.2

emerge --info
Portage 2.2.18 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.9.2, glibc-2.21, 4.0.1-gentoo x86_64)
=================================================================
System uname: Linux-4.0.1-gentoo-x86_64-AMD_FX-tm-9590_Eight-Core_Processor-with-gentoo-2.2
KiB Mem:    16391520 total,   7663308 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Mon, 04 May 2015 00:30:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.1) 2.25
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.3.5-r1::gentoo, 3.4.3::gentoo
dev-util/cmake:           3.2.1::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.15::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.9.2::x-portage
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.0::gentoo (virtual/os-headers)
sys-libs/glibc:           2.21::x-portage
Repositories:

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

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

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 AdobeFlash-11.x Oracle-BCLA-JavaSE skype-4.0.0.7-copyright NVIDIA-CUDA Nessus-EULA google-chrome"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native"
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"
CXXFLAGS="-O2 -pipe -march=native -mtune=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://192.168.1.108/ ftp://mirror.datapipe.net/gentoo rsync://mirrors.rit.edu/gentoo/ http://mirrors.rit.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.mirrors.tds.net/gentoo"
LANG="en_US"
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 aacplus acpi aes afpacket aften alsa amd64 avx bbswitch berkdb binary-drivers branding bzip2 cairo cdda cdr cli client consolekit cracklib crypt cups cxx dbus declarative dri dts dvb dvd dvdr efi efiemu emboss encode exif external-fuse fam ff-card ffmpeg firefox flac fma3 fma4 fortran gdbm gif glamor gpm gstreamer gtk hpcups iconv icu ipv6 java javascript jit jpeg kde kipi lcms ldap libav libnotify mad mjpeg mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nsplugin ntfsprogs ntp ogg openal opencl opengl openmp openssl pam pango pcre pdf phonon png policykit popcnt ppds projectm pulseaudio python qemu qt3support qt4 rar readline samba sdl semantic-desktop session sna soprano spell sqlite sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 startup-notification svg tcpd theora threads tiff truetype udev udisks unicode upower usb uxa v4l v4l2 vdpau vorbis widevine wxwidgets x264 xcb xcomposite xine xinerama xml xnest xop xorg xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="snd_oxygen" 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 fma3 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" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="keyboard evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 5 nvinson234 2015-05-10 14:26:46 UTC
I saw someone having this exact issue in the #gentoo channel, so I looked into it.  This bug is appears to be a duplicate of bug #546874.  While that bug provides one workaround, another is to disable threading in heimdal.  I checked Kobbol's USE flags and 'threads' is set, so it's very likely Kobbol's heimdal install is also threaded.

I have also verified the issue by building samba with heimdal[-threads] and heimdal[threads].  The former built successfully, while the latter failed with the error message seen in this issue.
Comment 6 Kobboi 2015-05-14 14:53:28 UTC
Samething now for 4.1.18
Comment 7 email200202 2015-06-11 03:41:23 UTC
I have the same problem with samba-4.1.18 and heimdal-1.5.3-r2 on ~amd64.

Samba compiles successfully if I disable threading in heimdal.
Comment 8 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-06-26 07:26:46 UTC
*** Bug 549648 has been marked as a duplicate of this bug. ***