Created attachment 518556 [details] build.log Worked on one machine, but not on another Checking for header rpc/rpc.h : no Checking for header rpc/nettype.h : no Checking for libtirpc headers : not found Checking for libntirpc headers : not found ERROR: No rpc/rpc.h header found, tirpc or libntirpc missing?
Please post emerge --info from both machines and make clear which is the machine samba fails/succeeds on.
emerge --info (working) Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r5, 4.15.1-gentoo x86_64) ================================================================= System uname: Linux-4.15.1-gentoo-x86_64-Intel-R-_Core-TM-_i5-6300U_CPU_@_2.40GHz-with-gentoo-2.4.1 KiB Mem: 8169904 total, 4482824 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: d466b7d98bbbca824dfb8f0f95b0f414f05fdcf9 Timestamp of repository FireBurn: Fri, 02 Feb 2018 00:34:19 +0000 Head commit of repository FireBurn: 266a4258482b0548b2c49afa6e871c03a4d19030 Timestamp of repository kde: Thu, 08 Feb 2018 12:46:21 +0000 Head commit of repository kde: 4a723de78f22265cd7abdd007fb3aca3b97dafb6 Timestamp of repository qt: Wed, 07 Feb 2018 10:50:36 +0000 Head commit of repository qt: 7f2a4721c2b67b714f34f7de666524ca36d305d0 sh bash 4.4_p18 ld GNU gold (Gentoo 2.30 p1 2.30.0) 1.15 app-shells/bash: 4.4_p18::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.4::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 7.3.0::FireBurn sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo/gentoo priority: -1000 FireBurn location: /var/db/repos/FireBurn sync-type: git sync-uri: https://github.com/gentoo-mirror/FireBurn.git masters: gentoo kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /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 -march=native -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write --with-bdeps y --complete-graph y --keep-going" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict 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_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="en-GB en" MAKEOPTS="-j3" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities adobe-cff alsa amd64 berkdb branding bzip2 cairo cdr cleartype_hinting cli connection-sharing crypt cups custom-cflags cxx dbus declarative dri dts dvdr egl emboss encode evdev exif fam ffmpeg flac fontconfig fortran gbm gdbm gif git glamor gnutls gpm gstreamer gtk http2 iconv icu ipv6 ithreads javafx jce jpeg kipi lcms ldap libinput libkms libnotify lm_sensors lzma lzo mad minizip mng modules mp3 mp4 mpeg mpx mtp multilib ncurses network networkmanager nls nptl nsplugin ogg opengl openmp opus pam pango pcre pcre16 pdf phonon plasma png policykit ppds proprietary-codecs pulseaudio qml qrcode qt3support qt5 readline realtime samba sdl seccomp secure-delete source spell ssl startup-notification svg sync-plugin-portage syslog system-cairo system-ffmpeg system-harfbuzz system-icu system-jpeg system-libvpx system-sqlite systemd sysv-utils tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb user-session vmware_guest_linux vorbis wayland webdav widevine widgets wifi winbind x264 xa xattr xcb xcomposite xinerama xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="access_compat actions alias asis auth_basic auth_digest authn_alias authn_anon authn_core authn_dbd authn_dbm authn_default authn_file authz_core authz_dbd authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cache_disk cache_socache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers http2 ident imagemap include info lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat log_config log_forensic logio macro mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_html proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout rewrite setenvif slotmem_shm socache_shmcb speling status substitute unique_id unixd userdir usertrack version vhost_alias xml2enc" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev synaptics" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="vmware" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
emerge --info (samba fails to build) Portage 2.3.24 (python 3.6.4-final-0, default/linux/amd64/17.1/desktop/plasma/systemd, gcc-7.3.0, glibc-2.26-r5, 4.15.0-tip+ x86_64) ================================================================= System uname: Linux-4.15.0-tip+-x86_64-Intel-R-_Core-TM-_i7-6820HK_CPU_@_2.70GHz-with-gentoo-2.4.1 KiB Mem: 32622352 total, 20294076 free KiB Swap: 0 total, 0 free Head commit of repository gentoo: d466b7d98bbbca824dfb8f0f95b0f414f05fdcf9 Head commit of repository FireBurn: 1565d930d3d63903652474cad245d06a7969e4bc Timestamp of repository gamerlay: Sun, 04 Feb 2018 06:45:39 +0000 Head commit of repository gamerlay: 9c24252c5b176df023988b5008ede4124d29002c Head commit of repository kde: 9f786a1627db11a8cf78ad4266f345a29cd8ac9c Timestamp of repository qt: Wed, 07 Feb 2018 10:50:36 +0000 Head commit of repository qt: 7f2a4721c2b67b714f34f7de666524ca36d305d0 Timestamp of repository steam-overlay: Thu, 01 Feb 2018 00:31:14 +0000 Head commit of repository steam-overlay: 84234b6f9cf78b7bff34616105e46fca3767e442 Timestamp of repository x11: Thu, 08 Feb 2018 03:47:41 +0000 Head commit of repository x11: d95ef8cc51b6310bd441ba0c25da4022812bffa8 sh bash 4.4_p18 ld GNU gold (Gentoo 2.30 p1 2.30.0) 1.15 app-shells/bash: 4.4_p18::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl: 5.26.1-r1::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.6.4::gentoo dev-util/cmake: 3.10.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.15.1-r1::gentoo sys-devel/binutils: 2.30::gentoo sys-devel/gcc: 7.3.0::FireBurn sys-devel/gcc-config: 1.9.1::gentoo sys-devel/libtool: 2.4.6-r4::gentoo sys-devel/make: 4.2.1-r1::gentoo sys-kernel/linux-headers: 4.15::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r5::gentoo Repositories: gentoo location: /usr/portage sync-type: git sync-uri: https://github.com/gentoo/gentoo priority: -1000 FireBurn location: /home/fireburn/Overlay sync-type: git sync-uri: https://github.com/FireBurn/Overlay sync-user: fireburn:users masters: gentoo gamerlay location: /var/db/repos/gamerlay sync-type: git sync-uri: https://github.com/gentoo-mirror/gamerlay.git masters: gentoo kde location: /var/db/repos/kde sync-type: git sync-uri: https://github.com/gentoo-mirror/kde.git masters: gentoo qt location: /var/db/repos/qt sync-type: git sync-uri: https://github.com/gentoo-mirror/qt.git masters: gentoo steam-overlay location: /var/db/repos/steam-overlay sync-type: git sync-uri: https://github.com/gentoo-mirror/steam-overlay.git masters: gentoo x11 location: /var/db/repos/x11 sync-type: git sync-uri: https://github.com/gentoo-mirror/x11.git masters: gentoo ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=native -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" 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 -march=native -pipe -mindirect-branch=thunk -mfunction-return=thunk -mindirect-branch-register -fpermissive" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask-write --with-bdeps y --complete-graph y --keep-going" 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_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed" LINGUAS="en_GB en" MAKEOPTS="-j8" 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 --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities adobe-cff aio alsa amd64 amr aom apng berkdb bidi bluetooth branding brightness-control bzip2 cairo cdr chm classic cleartype_hinting cli connection-sharing crypt cups custom-cflags custom-optimization cxx d3d9 dbus declarative dri dri3 drm dts dvdr ebook egl emboss encode evdev exif fam ffmpeg flac flash fortran gbm gdbm gif glamor gles gles1 gnutls gold googledrive gpm graphite gstreamer gtk gtkstyle harfbuzz hidpi hotwording http2 hwaccel iconv icu inotify ipv6 ithreads jpeg kde kipi kwallet lcms ldap libass libinput libkms libnotify llvm lm_sensors lto lzma lzo mad mng modules mp3 mp4 mpeg mpris mpx mtp multilib ncurses networkmanager nls nptl nsplugin ogg openal opengl openmax openmp openssl opus pam pango pcre pcre16 pdf pdfimport phonon plasma png policykit postproc ppds proprietary-codecs pulseaudio qml qrcode qt3support qt5 readline s3tc samba seccomp secure-delete shenandoah sndfile spell ssl staging startup-notification steamfonts steamruntime streaming svg sync-plugin-portage system-cairo system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite systemd sysv-utils tcpd theora threads thumbnail tiff touchpad trayicon truetype udev udisks unicode upower usb user-session v4l vaapi vdpau video vorbis vpx vulkan wayland wayland-compositor webp widevine widgets wifi winbind x264 x265 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="hda-intel" 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 access_compat" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics libinput" KERNEL="linux" L10N="en-GB en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LLVM_TARGETS="AMDGPU" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python3_6 python2_7" RUBY_TARGETS="ruby23" USERLAND="GNU" VIDEO_CARDS="intel i965 radeon radeonsi amdgpu" 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: CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
On the machine that worked I have this package installed: net-libs/libtirpc-1.0.2-r1 which is pulled in because I have nfs-utils installed
(In reply to Mike Lothian from comment #4) > On the machine that worked I have this package installed: > > net-libs/libtirpc-1.0.2-r1 which is pulled in because I have nfs-utils > installed Do you have net-libs/rpcsvc-proto installed on the working/failing systems?
It's not installed on either
(In reply to Mike Lothian from comment #6) > It's not installed on either Can you please install it on the failing one and re-build samba-4.7.5?
Still fails: Checking for header rpc/rpc.h : no Checking for header rpc/nettype.h : no Checking for libtirpc headers : not found Checking for libntirpc headers : not found ERROR: No rpc/rpc.h header found, tirpc or libntirpc missing?
Okay, thanks for testing.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea46544c30b2f76bf00e9244dd65ccc09cdfa3fb commit ea46544c30b2f76bf00e9244dd65ccc09cdfa3fb Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-02-09 11:31:27 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-02-09 11:31:47 +0000 net-fs/samba: Added net-libs/libtirpc to DEPEND. Closes: https://bugs.gentoo.org/647002 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/samba/samba-4.7.4.ebuild | 5 +++++ net-fs/samba/samba-4.7.5.ebuild | 5 +++++ net-fs/samba/samba-4.8.0_rc2.ebuild | 1 + 3 files changed, 11 insertions(+)
(In reply to Larry the Git Cow from comment #10) > The bug has been closed via the following commit(s): > > https://gitweb.gentoo.org/repo/gentoo.git/commit/ > ?id=ea46544c30b2f76bf00e9244dd65ccc09cdfa3fb > > commit ea46544c30b2f76bf00e9244dd65ccc09cdfa3fb > Author: Lars Wendler <polynomial-c@gentoo.org> > AuthorDate: 2018-02-09 11:31:27 +0000 > Commit: Lars Wendler <polynomial-c@gentoo.org> > CommitDate: 2018-02-09 11:31:47 +0000 > > net-fs/samba: Added net-libs/libtirpc to DEPEND. > > Closes: https://bugs.gentoo.org/647002 > Package-Manager: Portage-2.3.24, Repoman-2.3.6 > > net-fs/samba/samba-4.7.4.ebuild | 5 +++++ > net-fs/samba/samba-4.7.5.ebuild | 5 +++++ > net-fs/samba/samba-4.8.0_rc2.ebuild | 1 + > 3 files changed, 11 insertions(+) Is this some kind of joke? It still fails to build even with net-libs/libtirpc installed.
Same effect on my systems. Even after glibc an libtirpc rebuilding (gcc upgrade to 7.3 since earlier build of both).
(In reply to Jan Psota from comment #12) > Same effect on my systems. Even after glibc an libtirpc rebuilding (gcc > upgrade to 7.3 since earlier build of both). Does it fail with the same error message? If not please attach a new one...
Same issue here.
AFAIUC, libtirpc needs MULTILIB_USEDEP. On my amd64 system, the abi_x86_32 configure failed. Recompiled libtirpc with ABI_X86="32" and samba compiled afterwards.
@Lars Would you mind to have a look at bug 639676. Somewhat related, missing dependency.
(In reply to Hanno Meyer-Thurow (geki) from comment #15) > On my amd64 system, the abi_x86_32 configure failed. Recompiled libtirpc > with ABI_X86="32" and samba compiled afterwards. You are great! :-) net-libs/libtirpc abi_x86_32 and samba compiles :-)
*** Bug 647342 has been marked as a duplicate of this bug. ***
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3da5bef19ae0173fac4f6ea5d3ad82aadbc8699 commit d3da5bef19ae0173fac4f6ea5d3ad82aadbc8699 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2018-02-11 22:29:50 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2018-02-11 22:30:06 +0000 net-fs/samba: Added multilib usedep to libtirpc. Closes: https://bugs.gentoo.org/647002 Package-Manager: Portage-2.3.24, Repoman-2.3.6 net-fs/samba/samba-4.7.4.ebuild | 2 +- net-fs/samba/samba-4.7.5.ebuild | 2 +- net-fs/samba/samba-4.8.0_rc2.ebuild | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)