Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
net-dns/bind compile faliure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
kelvin22
n00b
n00b


Joined: 19 Apr 2018
Posts: 2

PostPosted: Thu Apr 19, 2018 6:00 pm    Post subject: net-dns/bind compile faliure Reply with quote

Cannot install bind. Please point me in the right direction.

Re-emerged GCC... no effect


Code:
mail ~ # uname -a
Linux 4.9.76-gentoo-r1 #3 SMP Sat Feb 10 19:08:09 UTC 2018 x86_64 Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz GenuineIntel GNU/Linux
mail ~ # uname -r
4.9.76-gentoo-r1

mail ~ # cat /var/tmp/portage/net-dns/bind-9.11.2_p1/temp/build.log
 * Package:    net-dns/bind-9.11.2_p1
 * Repository: gentoo
 * Maintainer: idl0r@gentoo.org
 * USE:        abi_x86_64 amd64 berkdb caps dlz elibc_glibc ipv6 kernel_linux mysql python_targets_python2_7 python_targets_python3_5 ssl userland_GNU zlib
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
 * Creating named group and user ...                                                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking bind-9.11.2_p1.tar.gz to /var/tmp/portage/net-dns/bind-9.11.2_p1/work
>>> Source unpacked in /var/tmp/portage/net-dns/bind-9.11.2_p1/work
>>> Preparing source in /var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1 ...
 * Running eautoreconf in '/var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1' ...
 * Running libtoolize --install --copy --force ...                                                                                                                     [ ok ]
 * Running aclocal ...                                                                                                                                                 [ ok ]
 * This package has a configure.in file which has long been deprecated.  Please
 * update it to use configure.ac instead as newer versions of autotools will die
 * when it finds this file.  See https://bugs.gentoo.org/426262 for details.
 * Running autoconf --force ...                                                                                                                                        [ ok ]
 * Running autoheader ...                                                                                                                                              [ ok ]
 * Running elibtoolize in: bind-9.11.2-P1/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
 * Running elibtoolize in: bind-9.11.2-P1/contrib/dnsperf-2.1.0.0-1/
 * Running elibtoolize in: bind-9.11.2-P1/contrib/idn/idnkit-1.0-src/
 *   Applying install-sh/1.5 patch ...
 *   Applying portage/1.3.3 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying tmp/1.3.5 patch ...
 *   Applying uclibc-ltconf/1.3.0 patch ...
 * Running elibtoolize in: bind-9.11.2-P1/contrib/nslint-3.0a2/
 * Running elibtoolize in: bind-9.11.2-P1/contrib/perftcpdns/
 * Running elibtoolize in: bind-9.11.2-P1/contrib/query-loc-0.4.0/
 * Running elibtoolize in: bind-9.11.2-P1/contrib/queryperf/
 * Running elibtoolize in: bind-9.11.2-P1/contrib/zkt-1.1.3/
 * Running elibtoolize in: bind-9.11.2-P1/unit/atf-src/
 *   Applying target-nm/2.4.2 patch ...
 *   Applying ppc64le/2.4.2 patch ...
 * Running elibtoolize in: bind-9.11.2-P1/unit/atf-src/admin/
 *   Applying portage/2.2 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.2.6 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1 ...
 * please use append-cppflags for preprocessor flags
 * econf: updating bind-9.11.2-P1/contrib/nslint-3.0a2/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bind-9.11.2-P1/contrib/nslint-3.0a2/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating bind-9.11.2-P1/contrib/idn/idnkit-1.0-src/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bind-9.11.2-P1/contrib/idn/idnkit-1.0-src/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating bind-9.11.2-P1/contrib/dnsperf-2.1.0.0-1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bind-9.11.2-P1/contrib/dnsperf-2.1.0.0-1/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating bind-9.11.2-P1/unit/atf-src/admin/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bind-9.11.2-P1/unit/atf-src/admin/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating bind-9.11.2-P1/config.sub with /usr/share/gnuconfig/config.sub
 * econf: updating bind-9.11.2-P1/config.guess with /usr/share/gnuconfig/config.guess
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool --enable-full-report --without-readline --enable-linux-caps --disable-filter-aaaa --disable-fixed-rrset --enable-ipv6 --disable-rpz-nsdname --disable-rpz-nsip --disable-seccomp --disable-threads --with-dlz-bdb --with-dlopen --with-dlz-filesystem --with-dlz-stub --without-gost --without-gssapi --without-idn --without-libjson --without-dlz-ldap --with-dlz-mysql --without-dlz-odbc --without-dlz-postgres --without-lmdb --without-python --with-ecdsa --with-openssl=/usr --without-libxml2 --with-zlib --with-randomdev=/dev/random
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking whether make sets $(MAKE)... yes
checking how to print strings... printf
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... configure: error: in `/var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

* ERROR: net-dns/bind-9.11.2_p1::gentoo failed (configure phase):
 *   econf failed
 *
 * Call stack:
 *               ebuild.sh, line  124:  Called src_configure
 *             environment, line 4456:  Called econf '--sysconfdir=/etc/bind' '--localstatedir=/var' '--with-libtool' '--enable-full-report' '--without-readline' '--enable-linux-caps' '--disable-filter-aaaa' '--disable-fixed-rrset' '--enable-ipv6' '--disable-rpz-nsdname' '--disable-rpz-nsip' '--disable-seccomp' '--disable-threads' '--with-dlz-bdb' '--with-dlopen' '--with-dlz-filesystem' '--with-dlz-stub' '--without-gost' '--without-gssapi' '--without-idn' '--without-libjson' '--without-dlz-ldap' '--with-dlz-mysql' '--without-dlz-odbc' '--without-dlz-postgres' '--without-lmdb' '--without-python' '--with-ecdsa' '--with-openssl=/usr' '--without-libxml2' '--with-zlib' '--with-randomdev=/dev/random'
 *        phase-helpers.sh, line  666:  Called __helpers_die 'econf failed'
 *   isolated-functions.sh, line  117:  Called die
 * The specific snippet of code:
 *              die "$@"

mail ~ # emerge --info '=net-dns/bind-9.11.2_p1::gentoo'
Portage 2.3.24 (python 3.5.5-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r11, 4.9.76-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.76-gentoo-r1-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630L_0_@_2.00GHz-with-gentoo-2.4.1
KiB Mem:    99037412 total,  98401396 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 18 Apr 2018 22:30:01 +0000
Head commit of repository gentoo: 1d9be25fcf25469cb732e95d2e071e62890cb661
sh bash 4.4_p12
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.4_p12::gentoo
dev-lang/perl:            5.24.3-r1::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.5::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.69-r4::gentoo
sys-devel/automake:       1.15.1-r2::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r11::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts:
    sync-rsync-verify-metamanifest: no

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-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/php/apache2-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
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://mirrors.xservers.ro/gentoo/"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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="acl acpi amd64 apache2 bcmath bindist bzip2 cli crypt curl curlwrappers cxx dri fortran gzip iconv imagemagick internal-glib ipv6 jpeg lzma lzo mcrypt mmx modules multilib mysql mysqli ncurses nptl pam pcre pdo png readline seccomp smp soap sockets sse sse2 ssl tcpd threads unicode xattr 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 access_compat authn_core authz_core authz_host dir unixd mime socache_shmcb rewrite filter deflate gzip alias mod_negotiation cgid" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon plan sheets stage words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2" 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="libinput keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

mail ~ # emerge -pqv '=net-dns/bind-9.11.2_p1::gentoo'

 * IMPORTANT: config file '/etc/portage/package.use/all' needs updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.
[ebuild  N    ] net-dns/bind-9.11.2_p1  USE="berkdb caps dlz ipv6 mysql ssl zlib -dnstap -doc -filter-aaaa -fixed-rrset -geoip -gost -gssapi -idn -json -ldap -libressl -lmdb -nslint -odbc -postgres -python -rpz (-seccomp) (-selinux) -static-libs -threads -urandom -xml" PYTHON_TARGETS="python2_7 python3_5 -python3_4 -python3_6"

 * IMPORTANT: 3 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5950
Location: Room 101

PostPosted: Thu Apr 19, 2018 6:13 pm    Post subject: Reply with quote

kelvin22 ... nothing obvious in the above ... try with:

Code:
# LANG="C" emerge =net-dns/bind-9.11.2_p1

If that works the add the following to make.conf

/etc/portage/make.conf:
LANG=C
LC_CTYPE="$LANG"
LC_COLLATE="$LANG"
LC_MESSAGES="$LANG"

If it doesn't then post config.log

HTH & best ... khay
Back to top
View user's profile Send private message
kelvin22
n00b
n00b


Joined: 19 Apr 2018
Posts: 2

PostPosted: Thu Apr 19, 2018 6:18 pm    Post subject: Reply with quote

khayyam wrote:
kelvin22 ... nothing obvious in the above ... try with:

Code:
# LANG="C" emerge =net-dns/bind-9.11.2_p1

If that works the add the following to make.conf

/etc/portage/make.conf:
LANG=C
LC_CTYPE="$LANG"
LC_COLLATE="$LANG"
LC_MESSAGES="$LANG"

If it doesn't then post config.log

HTH & best ... khay


I'm sorry, but it didn't help
here is config.log[/code]

Code:
mail ~ # cat /var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1/config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by BIND configure 9.11, which was
generated by GNU Autoconf 2.69.  Invocation command line was

  $ ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --libdir=/usr/lib64 --sysconfdir=/etc/bind --localstatedir=/var --with-libtool --enable-full-report --without-readline --enable-linux-caps --disable-filter-aaaa --disable-fixed-rrset --enable-ipv6 --disable-rpz-nsdname --disable-rpz-nsip --disable-seccomp --disable-threads --with-dlz-bdb --with-dlopen --with-dlz-filesystem --with-dlz-stub --without-gost --without-gssapi --without-idn --without-libjson --without-dlz-ldap --with-dlz-mysql --without-dlz-odbc --without-dlz-postgres --without-lmdb --without-python --with-ecdsa --with-openssl=/usr --without-libxml2 --with-zlib --with-randomdev=/dev/random

## --------- ##
## Platform. ##
## --------- ##

hostname = mail.1admin.net
uname -m = x86_64
uname -r = 4.9.76-gentoo-r1
uname -s = Linux
uname -v = #3 SMP Sat Feb 10 19:08:09 UTC 2018

/usr/bin/uname -p = Intel(R) Xeon(R) CPU E5-2630L 0 @ 2.00GHz
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/lib/portage/python3.5/ebuild-helpers/xattr
PATH: /usr/lib/portage/python3.5/ebuild-helpers
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0
PATH: /usr/lib/llvm/5/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin
PATH: /opt/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2863: checking build system type
configure:2877: result: x86_64-pc-linux-gnu
configure:2897: checking host system type
configure:2910: result: x86_64-pc-linux-gnu
configure:2931: checking whether make sets $(MAKE)
configure:2953: result: yes
configure:3021: checking how to print strings
configure:3048: result: printf
configure:3077: checking for x86_64-pc-linux-gnu-gcc
configure:3093: found /usr/bin/x86_64-pc-linux-gnu-gcc
configure:3104: result: x86_64-pc-linux-gnu-gcc
configure:3373: checking for C compiler version
configure:3382: x86_64-pc-linux-gnu-gcc --version >&5
x86_64-pc-linux-gnu-gcc (Gentoo 6.4.0-r1 p1.3) 6.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:3393: $? = 0
configure:3382: x86_64-pc-linux-gnu-gcc -v >&5
Using built-in specs.
COLLECT_GCC=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0/x86_64-pc-linux-gnu-gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-pc-linux-gnu/6.4.0/lto-wrapper
Target: x86_64-pc-linux-gnu
Configured with: /var/tmp/portage/sys-devel/gcc-6.4.0-r1/work/gcc-6.4.0/configure --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/6.4.0/include/g++-v6 --with-python-dir=/share/gcc-data/x86_64-pc-linux-gnu/6.4.0/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --enable-checking=release --with-bugurl=https://bugs.gentoo.org/ --with-pkgversion='Gentoo 6.4.0-r1 p1.3' --disable-esp --enable-libstdcxx-time --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-multilib --with-multilib-list=m32,m64 --disable-altivec --disable-fixed-point --enable-targets=all --disable-libgcj --disable-libgomp --disable-libmudflap --disable-libssp --disable-libcilkrts --disable-libmpx --enable-vtable-verify --enable-libvtv --enable-lto --without-isl --enable-libsanitizer --enable-default-pie --enable-default-ssp
Thread model: posix
gcc version 6.4.0 (Gentoo 6.4.0-r1 p1.3)
configure:3393: $? = 0
configure:3382: x86_64-pc-linux-gnu-gcc -V >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-V'
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3393: $? = 1
configure:3382: x86_64-pc-linux-gnu-gcc -qversion >&5
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'?
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3393: $? = 1
configure:3413: checking whether the C compiler works
configure:3435: x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -I  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3439: $? = 0
configure:3487: result: yes
configure:3490: checking for C compiler default output file name
configure:3492: result: a.out
configure:3498: checking for suffix of executables
configure:3505: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -I  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3509: $? = 0
configure:3531: result:
configure:3553: checking whether we are cross compiling
configure:3561: x86_64-pc-linux-gnu-gcc -o conftest -march=native -O2 -pipe -I  -Wl,-O1 -Wl,--as-needed conftest.c  >&5
configure:3565: $? = 0
configure:3572: ./conftest
configure:3576: $? = 0
configure:3591: result: no
configure:3596: checking for suffix of object files
configure:3618: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -I  conftest.c >&5
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated.
configure:3622: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "BIND"
| #define PACKAGE_TARNAME "bind"
| #define PACKAGE_VERSION "9.11"
| #define PACKAGE_STRING "BIND 9.11"
| #define PACKAGE_BUGREPORT "bind9-bugs@isc.org"
| #define PACKAGE_URL "https://www.isc.org/downloads/BIND/"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3636: error: in `/var/tmp/portage/net-dns/bind-9.11.2_p1/work/bind-9.11.2-P1':
configure:3638: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=x86_64-pc-linux-gnu
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-march=native -O2 -pipe -I'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value='-Wl,-O1 -Wl,--as-needed'
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_value=
ac_cv_env_LT_SYS_LIBRARY_PATH_set=
ac_cv_env_LT_SYS_LIBRARY_PATH_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=x86_64-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=x86_64-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=x86_64-pc-linux-gnu
ac_cv_prog_CC=x86_64-pc-linux-gnu-gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

A='bind-9.11.2_p1.tar.gz'
ALWAYS_DEFINES=''
ALWAYS_MAKE_SYMTABLE=''
AR=''
ARFLAGS=''
ATFBIN=''
ATFBUILD=''
ATFLIBS=''
AWK=''
BACKTRACECFLAGS=''
BIND9_BIND9_BUILDINCLUDE=''
BIND9_CONFIGARGS=''
BIND9_CO_RULE=''
BIND9_DESCRIPTION=''
BIND9_DNS_BUILDINCLUDE=''
BIND9_IRS_BUILDINCLUDE=''
BIND9_ISCCC_BUILDINCLUDE=''
BIND9_ISCCFG_BUILDINCLUDE=''
BIND9_ISC_BUILDINCLUDE=''
BIND9_LWRES_BUILDINCLUDE=''
BIND9_MAJOR=''
BIND9_PRODUCT=''
BIND9_SRCID=''
BIND9_TOP_BUILDDIR=''
BIND9_VERSION=''
BIND9_VERSIONSHORT=''
BIND9_VERSIONSTRING=''
BUILD_CC='x86_64-pc-linux-gnu-gcc'
BUILD_CFLAGS=''
BUILD_CPPFLAGS=''
BUILD_LDFLAGS=''
BUILD_LIBS=''
CC='x86_64-pc-linux-gnu-gcc'
CCNOOPT=''
CCOPT=''
CFLAGS='-march=native -O2 -pipe -I'
CHECKDS=''
CHECK_DSA=''
CONTRIB_DLZ=''
COVERAGE=''
CPP=''
CPPFLAGS=''
CRYPTO=''
CURL=''
DBLATEX=''
DEFS=''
DLLTOOL=''
DLZ_DRIVER_INCLUDES=''
DLZ_DRIVER_LIBS=''
DLZ_DRIVER_OBJS=''
DLZ_DRIVER_SRCS=''
DLZ_SYSTEM_TEST=''
DNSTAP=''
DNSTAPOBJS=''
DNSTAPSRCS=''
DNSTAPTARGETS=''
DNSTAP_PB_C_H=''
DNS_CRYPTO_LIBS=''
DNS_GSSAPI_LIBS=''
DOXYGEN=''
DST_EXTRA_OBJS=''
DST_EXTRA_SRCS=''
DST_GSSAPI_INC=''
DST_OPENSSL_INC=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ETAGS=''
EXEEXT=''
FGREP=''
FSTRM_CAPTURE=''
GENRANDOMLIB=''
GEOIPLINKOBJS=''
GEOIPLINKSRCS=''
GREP=''
IDNLIBS=''
INSTALL_DATA=''
INSTALL_LIBRARY=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
IRIX_DNSSEC_WARNINGS_HACK=''
IRS_PLATFORM_USEDECLSPEC=''
ISC_ARCH_DIR=''
ISC_EXTRA_OBJS=''
ISC_EXTRA_SRCS=''
ISC_IPV6_C=''
ISC_IPV6_H=''
ISC_IPV6_O=''
ISC_IRS_GETNAMEINFOSOCKLEN=''
ISC_IRS_NEEDADDRINFO=''
ISC_ISCIPV6_O=''
ISC_ISCPK11_API_C=''
ISC_ISCPK11_API_O=''
ISC_LWRES_ENDHOSTENTINT=''
ISC_LWRES_ENDNETENTINT=''
ISC_LWRES_GETADDRINFOPROTO=''
ISC_LWRES_GETHOSTBYADDRVOID=''
ISC_LWRES_GETIPNODEPROTO=''
ISC_LWRES_GETNAMEINFOPROTO=''
ISC_LWRES_GETNETBYADDRINADDR=''
ISC_LWRES_NEEDADDRINFO=''
ISC_LWRES_NEEDHERRNO=''
ISC_LWRES_NEEDRRSETINFO=''
ISC_LWRES_SETHOSTENTINT=''
ISC_LWRES_SETNETENTINT=''
ISC_OPENSSL_INC=''
ISC_OPENSSL_LIBS=''
ISC_PK11_API_C=''
ISC_PK11_API_O=''
ISC_PK11_C=''
ISC_PK11_O=''
ISC_PK11_RESULT_C=''
ISC_PK11_RESULT_O=''
ISC_PLATFORM_BRACEPTHREADONCEINIT=''
ISC_PLATFORM_BUSYWAITNOP=''
ISC_PLATFORM_FIXIN6ISADDR=''
ISC_PLATFORM_GSSAPIHEADER=''
ISC_PLATFORM_GSSAPI_KRB5_HEADER=''
ISC_PLATFORM_HAVEATOMICSTORE=''
ISC_PLATFORM_HAVEATOMICSTOREQ=''
ISC_PLATFORM_HAVECMPXCHG=''
ISC_PLATFORM_HAVEDEVPOLL=''
ISC_PLATFORM_HAVEEPOLL=''
ISC_PLATFORM_HAVEGSSAPI=''
ISC_PLATFORM_HAVEIFNAMETOINDEX=''
ISC_PLATFORM_HAVEIF_LADDRCONF=''
ISC_PLATFORM_HAVEIF_LADDRREQ=''
ISC_PLATFORM_HAVEIN6PKTINFO=''
ISC_PLATFORM_HAVEINADDR6=''
ISC_PLATFORM_HAVEIPV6=''
ISC_PLATFORM_HAVEKQUEUE=''
ISC_PLATFORM_HAVELIFCONF=''
ISC_PLATFORM_HAVELONGLONG=''
ISC_PLATFORM_HAVESALEN=''
ISC_PLATFORM_HAVESCOPEID=''
ISC_PLATFORM_HAVESOCKADDRSTORAGE=''
ISC_PLATFORM_HAVESTATNSEC=''
ISC_PLATFORM_HAVESTRINGSH=''
ISC_PLATFORM_HAVESYSUNH=''
ISC_PLATFORM_HAVETFO=''
ISC_PLATFORM_HAVEXADD=''
ISC_PLATFORM_HAVEXADDQ=''
ISC_PLATFORM_KRB5HEADER=''
ISC_PLATFORM_MSGHDRFLAVOR=''
ISC_PLATFORM_NEEDFPRINTF=''
ISC_PLATFORM_NEEDIN6ADDRANY=''
ISC_PLATFORM_NEEDIN6ADDRLOOPBACK=''
ISC_PLATFORM_NEEDMEMMOVE=''
ISC_PLATFORM_NEEDNETINET6IN6H=''
ISC_PLATFORM_NEEDNETINETIN6H=''
ISC_PLATFORM_NEEDNTOP=''
ISC_PLATFORM_NEEDPORTT=''
ISC_PLATFORM_NEEDPRINTF=''
ISC_PLATFORM_NEEDPTON=''
ISC_PLATFORM_NEEDSPRINTF=''
ISC_PLATFORM_NEEDSTRCASESTR=''
ISC_PLATFORM_NEEDSTRLCAT=''
ISC_PLATFORM_NEEDSTRLCPY=''
ISC_PLATFORM_NEEDSTRSEP=''
ISC_PLATFORM_NEEDSTRTOUL=''
ISC_PLATFORM_NEEDSYSSELECTH=''
ISC_PLATFORM_NEEDVSNPRINTF=''
ISC_PLATFORM_NORETURN_POST=''
ISC_PLATFORM_NORETURN_PRE=''
ISC_PLATFORM_OPENSSLHASH=''
ISC_PLATFORM_QUADFORMAT=''
ISC_PLATFORM_RLIMITTYPE=''
ISC_PLATFORM_USEBACKTRACE=''
ISC_PLATFORM_USEDECLSPEC=''
ISC_PLATFORM_USEGCCASM=''
ISC_PLATFORM_USEMACASM=''
ISC_PLATFORM_USEOSFASM=''
ISC_PLATFORM_USESTDASM=''
ISC_PLATFORM_USETHREADS=''
ISC_PLATFORM_WANTAES=''
ISC_SOCKADDR_LEN_T=''
ISC_THREAD_DIR=''
JSONSTATS=''
KEYMGR=''
KRB5_CONFIG=''
LATEX=''
LD=''
LDFLAGS='-Wl,-O1 -Wl,--as-needed'
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIBTOOL_ALLOW_UNDEFINED=''
LIBTOOL_IN_MAIN=''
LIBTOOL_MKDEP_SED=''
LIBTOOL_MODE_COMPILE=''
LIBTOOL_MODE_INSTALL=''
LIBTOOL_MODE_LINK=''
LIBTOOL_MODE_UNINSTALL=''
LIPO=''
LN=''
LN_S=''
LTLIBOBJS=''
LT_SYS_LIBRARY_PATH=''
LWRES_HAVE_SIN6_SCOPE_ID=''
LWRES_PLATFORM_HAVEINADDR6=''
LWRES_PLATFORM_HAVEIPV6=''
LWRES_PLATFORM_HAVESALEN=''
LWRES_PLATFORM_NEEDIN6ADDRANY=''
LWRES_PLATFORM_NEEDIN6ADDRLOOPBACK=''
LWRES_PLATFORM_NEEDNETINET6IN6H=''
LWRES_PLATFORM_NEEDNETINETIN6H=''
LWRES_PLATFORM_NEEDSPRINTF=''
LWRES_PLATFORM_NEEDSTRLCPY=''
LWRES_PLATFORM_NEEDSTRTOUL=''
LWRES_PLATFORM_NEEDSYSSELECTH=''
LWRES_PLATFORM_NEEDVSNPRINTF=''
LWRES_PLATFORM_QUADFORMAT=''
LWRES_PLATFORM_USEDECLSPEC=''
MANIFEST_TOOL=''
MKDEPCC=''
MKDEPCFLAGS=''
MKDEPPROG=''
MKSYMTBL_PROGRAM=''
NM=''
NMEDIT=''
NZDSRCS=''
NZDTARGETS=''
NZD_TOOLS=''
O=''
OBJDUMP=''
OBJEXT=''
OPENSSLGOSTLINKOBJS=''
OPENSSLGOSTLINKSRCS=''
OPENSSLLINKOBJS=''
OPENSSLLINKSRCS=''
OPENSSL_ECDSA=''
OPENSSL_GOST=''
OTOOL64=''
OTOOL=''
PACKAGE_BUGREPORT='bind9-bugs@isc.org'
PACKAGE_NAME='BIND'
PACKAGE_STRING='BIND 9.11'
PACKAGE_TARNAME='bind'
PACKAGE_URL='https://www.isc.org/downloads/BIND/'
PACKAGE_VERSION='9.11'
PANDOC=''
PATH_SEPARATOR=':'
PDFLATEX=''
PERL=''
PG_CONFIG=''
PKCS11LINKOBJS=''
PKCS11LINKSRCS=''
PKCS11_ECDSA=''
PKCS11_ENGINE=''
PKCS11_GOST=''
PKCS11_PROVIDER=''
PKCS11_TEST=''
PKCS11_TOOLS=''
PROTOC_C=''
PURIFY=''
PYTHON=''
PYTHON_TOOLS=''
RANLIB=''
READLINE_LIB=''
SA=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SO=''
SO_CFLAGS=''
SO_LD=''
SO_LDFLAGS=''
SO_STRIP=''
SO_TARGETS=''
STD_CDEFINES=''
STD_CINCLUDES=''
STD_CWARNINGS=''
STRIP=''
THREADOPTOBJS=''
THREADOPTSRCS=''
UNITTESTS=''
USE_GSSAPI=''
USE_ISC_SPNEGO=''
USE_PKCS11=''
W3M=''
XMLLINT=''
XMLSTATS=''
XSLTPROC=''
XSLT_DBLATEX_FASTBOOK=''
XSLT_DBLATEX_STYLE=''
XSLT_DOCBOOK_CHUNKTOC_HTML=''
XSLT_DOCBOOK_CHUNKTOC_XHTML=''
XSLT_DOCBOOK_CHUNK_HTML=''
XSLT_DOCBOOK_CHUNK_XHTML=''
XSLT_DOCBOOK_MAKETOC_HTML=''
XSLT_DOCBOOK_MAKETOC_XHTML=''
XSLT_DOCBOOK_STYLE_HTML=''
XSLT_DOCBOOK_STYLE_MAN=''
XSLT_DOCBOOK_STYLE_XHTML=''
XTARGETS=''
ZLIB=''
ac_ct_AR=''
ac_ct_CC=''
ac_ct_DUMPBIN=''
bindir='${exec_prefix}/bin'
build='x86_64-pc-linux-gnu'
build_alias='x86_64-pc-linux-gnu'
build_cpu='x86_64'
build_os='linux-gnu'
build_vendor='pc'
datadir='/usr/share'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
expanded_sysconfdir=''
host='x86_64-pc-linux-gnu'
host_alias='x86_64-pc-linux-gnu'
host_cpu='x86_64'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='/usr/share/info'
libdir='/usr/lib64'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/var'
mandir='/usr/share/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/usr'
program_transform_name='s,x,x,'
psdir='${docdir}'
purify_path=''
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='/etc/bind'
target_alias=''

## ------------------- ##
## File substitutions. ##
## ------------------- ##

BIND9_MAKE_INCLUDES=''
BIND9_MAKE_RULES=''
DLZ_DRIVER_RULES=''
LIBBIND9_API=''
LIBDNS_API=''
LIBDNS_MAPAPI=''
LIBIRS_API=''
LIBISCCC_API=''
LIBISCCFG_API=''
LIBISC_API=''
LIBLWRES_API=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

/* confdefs.h */
#define PACKAGE_NAME "BIND"
#define PACKAGE_TARNAME "bind"
#define PACKAGE_VERSION "9.11"
#define PACKAGE_STRING "BIND 9.11"
#define PACKAGE_BUGREPORT "bind9-bugs@isc.org"
#define PACKAGE_URL "https://www.isc.org/downloads/BIND/"

configure: exit 1


[Moderator edit: added missing [/code] tag to preserve output layout. -Hu]
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 5950
Location: Room 101

PostPosted: Thu Apr 19, 2018 11:15 pm    Post subject: Reply with quote

kelvin22 wrote:
Code:
configure:3618: x86_64-pc-linux-gnu-gcc -c -march=native -O2 -pipe -I  conftest.c >&5
x86_64-pc-linux-gnu-gcc: fatal error: no input files
compilation terminated

kelvin22 ... so, what seems to be happening is that no argument is given for '-I' (include path) and so it takes the argument to be 'conftest.c', but as that is the "input file" gcc nolonger sees it as there ... and so "fatal error: no input files".

I'm not sure what to suggest as I can't really say what would cause this. I looked to see if the bug had been reported but I don't see anything similar. Perhaps someone else will chime in ...

best ... khay
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12619

PostPosted: Fri Apr 20, 2018 1:21 am    Post subject: Reply with quote

Chiming in, as requested.

emerge --info looks clean, but config.log shows the bad flag hiding in CFLAGS. OP: did you set $CFLAGS? If yes, why is it set to a value that breaks everything? It shouldn't be set at all, but if you want to set it, it should at least be valid. Try unsetting CFLAGS, then rerun emerge.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum