Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 671334 - =net-fs/samba-4.9.2-r1 econf fails: Failed endian determination. The PDP-11 is back?
Summary: =net-fs/samba-4.9.2-r1 econf fails: Failed endian determination. The PDP-11 i...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo's SAMBA Team
Depends on:
Reported: 2018-11-17 12:00 UTC by Robin Bankhead
Modified: 2018-11-17 12:33 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Robin Bankhead 2018-11-17 12:00:32 UTC
econf fails with following output.

>>> Emerging (5 of 8) net-fs/samba-4.9.2-r1::gentoo
 * samba-4.9.2.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                [ ok ]
>>> Unpacking source...
>>> Unpacking samba-4.9.2.tar.gz to /tmp/portage/net-fs/samba-4.9.2-r1/work
>>> Source unpacked in /tmp/portage/net-fs/samba-4.9.2-r1/work
>>> Preparing source in /tmp/portage/net-fs/samba-4.9.2-r1/work/samba-4.9.2 ...
 * Applying samba-4.4.0-pam.patch ...                                                                                                                                                                            [ ok ]
 * Applying samba-4.5.1-compile_et_fix.patch ...                                                                                                                                                                 [ ok ]
 * Applying samba-4.9.2-timespec.patch ...                                                                                                                                                                       [ ok ]
 * Will copy sources from /tmp/portage/net-fs/samba-4.9.2-r1/work/samba-4.9.2
 * abi_x86_64.amd64: copying to /tmp/portage/net-fs/samba-4.9.2-r1/work/samba-4.9.2-abi_x86_64.amd64
>>> Source prepared.
>>> Configuring source in /tmp/portage/net-fs/samba-4.9.2-r1/work/samba-4.9.2 ...
 * abi_x86_64.amd64: running multilib-minimal_abi_src_configure
CCFLAGS="-O2 -pipe -fomit-frame-pointer -march=btver1 -msahf -mpopcnt -mlzcnt -mno-xsave -mno-xsaveopt -mno-xsavec -mno-xsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=btver1" LINKFLAGS="-O2 -pipe -fomit-frame-pointer -march=btver1 -msahf -mpopcnt -mlzcnt -mno-xsave -mno-xsaveopt -mno-xsavec -mno-xsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=btver1 -Wl,-O1 -Wl,--as-needed" "/tmp/portage/net-fs/samba-4.9.2-r1/work/samba-4.9.2/buildtools/bin/waf" --prefix=/usr --libdir=/usr/lib64 --enable-fhs --sysconfdir=/etc --localstatedir=/var --with-modulesdir=/usr/lib64/samba --with-piddir=/run/samba --bundled-libraries=NONE --builtin-libraries=NONE --disable-rpath --disable-rpath-install --nopyc --nopyo --with-acl-support --without-ad-dc --without-dnsupdate --without-ads --disable-cephfs --without-cluster-support --enable-cups --without-dmapi --with-fam --without-gpgme --without-json-audit --disable-iprint --with-pam --with-pammodulesdir=/lib64/security --without-quotas --with-syslog --without-systemd --without-winbind --disable-python --disable-avahi --with-system-mitkrb5 --enable-gnutls --without-lttng --with-ldap --with-shared-modules= configure
Checking for program gcc or cc           : x86_64-pc-linux-gnu-gcc 
Checking for program ar                  : x86_64-pc-linux-gnu-ar 
Checking for program ranlib              : x86_64-pc-linux-gnu-ranlib 
Checking for gcc                         : ok  
Checking for program git                 : /usr/bin/git 
Check for -MD                            : yes 
Checking for program gdb                 : not found 
Checking for header sys/utsname.h        : yes 
Checking uname sysname type              : Linux 
Checking uname machine type              : x86_64 
Checking uname release type              : 4.19.0-gentoo 
Checking uname version type              : #3 SMP Fri Nov 16 01:13:59 GMT 2018 
Checking for header stdio.h              : yes 
Checking simple C program                : ok 
Checking compiler accepts ['-Werror']    : yes 
Checking linker accepts ['-Wl,-rpath,.'] : yes 
Checking for rpath library support       : ok  
Checking for -Wl,--version-script support  : ok  
Checking compiler accepts ['-fvisibility=hidden', '-Werror'] : yes 
Checking for HAVE_VISIBILITY_ATTR                            : ok 
Checking for library constructor support                     : ok 
Checking for library destructor support                      : ok 
Checking for __attribute__                                   : ok 
Checking compiler accepts ['-fPIC']                          : yes 
Checking for inline                                          : inline 
Checking for program pkg-config                              : /usr/bin/pkg-config 
Checking for pkg-config version >= 0.0.0                     : yes 
Checking compiler accepts ['']                               : yes 
Checking for header sys/types.h                              : yes 
Checking for header sys/stat.h                               : yes 
Checking for header stdlib.h                                 : yes 
Checking for header stddef.h                                 : yes 
Checking for header memory.h                                 : yes 
Checking for header string.h                                 : yes 
Checking for header strings.h                                : yes 
Checking for header inttypes.h                               : yes 
Checking for header stdint.h                                 : yes 
Checking for header unistd.h                                 : yes 
Checking for header minix/config.h                           : yes 
Checking for header ctype.h                                  : yes 
Checking for header standards.h                              : yes 
Checking for header stdbool.h                                : yes 
Checking for header stdarg.h                                 : yes 
Checking for header vararg.h                                 : yes 
Checking for header limits.h                                 : yes 
Checking for header assert.h                                 : yes 
Checking getconf LFS_CFLAGS                                  : not found 
Checking getconf large file support flags work               : ok 
Checking for large file support without additional flags     : ok 
Checking for header sys/time.h                               : yes 
Checking for header time.h                                   : yes 
Checking for header endian.h                                 : yes 
Checking for header sys/endian.h                             : yes 
Checking for HAVE_LITTLE_ENDIAN                              : ok 
Checking for HAVE_BIG_ENDIAN                                 : ok 
Failed endian determination.  The PDP-11 is back?
 * ERROR: net-fs/samba-4.9.2-r1::gentoo failed (configure phase):
 *   configure failed
 * Call stack:
 *, line  124:  Called src_configure
 *   environment, line 3429:  Called multilib-minimal_src_configure
 *   environment, line 1987:  Called multilib_foreach_abi 'multilib-minimal_abi_src_configure'
 *   environment, line 2202:  Called multibuild_foreach_variant '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1917:  Called _multibuild_run '_multilib_multibuild_wrapper' 'multilib-minimal_abi_src_configure'
 *   environment, line 1915:  Called _multilib_multibuild_wrapper 'multilib-minimal_abi_src_configure'
 *   environment, line  458:  Called multilib-minimal_abi_src_configure
 *   environment, line 1981:  Called multilib_src_configure
 *   environment, line 2424:  Called waf-utils_src_configure '--enable-fhs' '--sysconfdir=/etc' '--localstatedir=/var' '--with-modulesdir=/usr/lib64/samba' '--with-piddir=/run/samba' '--bundled-libraries=NONE' '--builtin-libraries=NONE' '--disable-rpath' '--disable-rpath-install' '--nopyc' '--nopyo' '--with-acl-support' '--without-ad-dc' '--without-dnsupdate' '--without-ads' '--disable-cephfs' '--without-cluster-support' '--enable-cups' '--without-dmapi' '--with-fam' '--without-gpgme' '--without-json-audit' '--disable-iprint' '--with-pam' '--with-pammodulesdir=/lib64/security' '--without-quotas' '--with-syslog' '--without-systemd' '--without-winbind' '--disable-python' '--disable-avahi' '--with-system-mitkrb5' '--enable-gnutls' '--without-lttng' '--with-ldap' '--with-shared-modules='
 *   environment, line 4382:  Called die
 * The specific snippet of code:
 *       CCFLAGS="${CFLAGS}" LINKFLAGS="${CFLAGS} ${LDFLAGS}" "${WAF_BINARY}" "--prefix=${EPREFIX}/usr" "${libdir[@]}" "${@}" configure || die "configure failed"

emerge --info =net-fs/samba-4.9.2-r1

Portage 2.3.51 (python 3.6.6-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-7.3.0, glibc-2.27-r6, 4.19.0-gentoo x86_64)
                         System Settings
System uname: Linux-4.19.0-gentoo-x86_64-AMD_E2-1800_APU_with_Radeon-tm-_HD_Graphics-with-gentoo-2.6
KiB Mem:     3614016 total,    658808 free
KiB Swap:    9047036 total,   8993788 free
Timestamp of repository gentoo: Fri, 16 Nov 2018 20:30:01 +0000
Head commit of repository gentoo: d29900e8af55c9e60bdb1422af607d8a2e013c69
sh bash 4.4_p23
ld GNU gold (Gentoo 2.31.1 p3 2.31.1) 1.16
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.5 [enabled]
app-shells/bash:          4.4_p23::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.26.2::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.6::gentoo
dev-util/ccache:          3.5-r1::gentoo
dev-util/cmake:           3.12.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.39.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r1::gentoo
sys-devel/gcc:            7.3.0-r6::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r5::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.27-r6::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://hazel/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: no

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

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-O2 -pipe -fomit-frame-pointer -march=btver1 -msahf -mpopcnt -mlzcnt -mno-xsave -mno-xsaveopt -mno-xsavec -mno-xsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=btver1"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.2/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.2/ext-active/ /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="-O2 -pipe -fomit-frame-pointer -march=btver1 -msahf -mpopcnt -mlzcnt -mno-xsave -mno-xsaveopt -mno-xsavec -mno-xsaves --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=btver1"
EMERGE_DEFAULT_OPTS="--nospinner --verbose-conflicts --quiet-build=n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache distcc distcc-pump distlocks ebuild-locks fail-clean fixlafiles merge-sync multilib-strict news preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j10 -l2"
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"
USE="X a52 aac acl acpi activities alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cddb cdr cli crypt css cups cxx dbus declarative dga djvu dri dri3 dts dvd dvdr egl elogind emboss encode exif fam fbcon ffmpeg flac fortran ftp gd gdbm geoip gif gimp glamor gles gles2 gmp gnutls gphoto2 gpm graphviz gtk hddtemp iconv imagemagick imap inotify java javascript jit jpeg kde kipi kwallet lame latex lcms ldap libkms libnotify libtirpc lm_sensors lzma lzo mad maildir matroska mbox mmap mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz mysql ncurses nls nptl nsplugin ocamlopt offensive ofx ogg opengl openmp pam pango pcre pda pdf perl phonon php plasma png policykit posix postscript ppds qml qt5 quicktime radius raw readline rss rtc samba scanner sdl seccomp session sharedmem smp snmp sockets socks5 sound spell sqlite sqlite3 ssl startup-notification subversion svg syslog tcpd theora threads tidy tiff tk tokenizer touchpad truetype udev udisks ukit unicode upnp upnp-av upower usb v4l vaapi vcd vdpau vhosts vnc vorbis wayland widgets wifi wmf wps wxwidgets x264 xa xattr xcb xcomposite xft xine xml xpm xscreensaver xv xvid xvmc zlib" ABI_X86="64" 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="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4a ssse3" ELIBC="glibc" ENLIGHTENMENT_MODULES="backlight battery clock comp conf-applications conf-dialogs conf-display conf-edgebindings conf-interaction conf-intl conf-keybindings conf-menus conf-paths conf-performance conf-randr conf-shelves conf-theme conf-window-manipulation conf-window-remembers connman cpufreq dropshadow everything fileman fileman-opinfo gadman ibar ibox mixer msgbus notification pager quickaccess shot start syscon systray tasks temperature tiling winlist wizard xkbswitch" 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="efi-64 multiboot" INPUT_DEVICES="keyboard mouse evdev synaptics" KERNEL="linux" L10N="en-GB" 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-1" POSTGRES_TARGETS="postgres9_5 postgres10" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby23" SANE_BACKENDS="hp net" USERLAND="GNU" VIDEO_CARDS="radeon r600" 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"