* Package: sci-misc/ncview-2.1.7 * Repository: gentoo * Maintainer: sci@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox @@@@@ PLEASE PAY ATTENTION HERE!!! @@@@@ This information may help you to understand if this is a duplicate or if this bug exists after you pushed a fix; This ebuild was merged at the following commit: https://github.com/gentoo-mirror/gentoo/commit/c25c68f3bf18b0dfc08f0a21973d6fa674c450e4 (Fri Sep 11 05:35:29 UTC 2020) @@@@@ END @@@@@ emerge --info: Portage 3.0.6 (python 3.8.5-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.32-r1, 5.4.0-1021-aws x86_64) ================================================================= System uname: Linux-5.4.0-1021-aws-x86_64-Intel-R-_Xeon-R-_Platinum_8175M_CPU_@_2.50GHz-with-glibc2.2.5 KiB Mem: 64359960 total, 30637680 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Fri, 11 Sep 2020 05:35:28 +0000 sh bash 5.0_p18 ld GNU ld (Gentoo 2.34 p6) 2.34.0 app-shells/bash: 5.0_p18::gentoo dev-lang/perl: 5.30.3-r1::gentoo dev-lang/python: 2.7.18-r2::gentoo, 3.6.12::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo dev-util/cmake: 3.18.2::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0-r1::gentoo sys-devel/gcc-config: 2.3.2::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers) sys-libs/glibc: 2.32-r1::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: yes sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* GPL-2" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-clang" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-clang++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/var/tmp/portage/sci-misc/ncview-2.1.7/distdir" EMERGE_DEFAULT_OPTS="--with-bdeps=y -1 -b -k" ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fuse-ld=lld" MAKEOPTS="-j16 V=1" PKGDIR="/root/.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 amd64 berkdb bzip2 cli crypt dri elogind fortran gdbm iconv ipv6 jumbo-build libglvnd libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd test unicode xattr zlib" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS >>> Unpacking source... >>> Unpacking ncview-2.1.7.tar.gz to /var/tmp/portage/sci-misc/ncview-2.1.7/work >>> Source unpacked in /var/tmp/portage/sci-misc/ncview-2.1.7/work >>> Preparing source in /var/tmp/portage/sci-misc/ncview-2.1.7/work/ncview-2.1.7 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sci-misc/ncview-2.1.7/work/ncview-2.1.7 ... ./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 --disable-dependency-tracking --docdir=/usr/share/doc/ncview-2.1.7 --htmldir=/usr/share/doc/ncview-2.1.7/html --libdir=/usr/lib64 checking for nc-config... yes Netcdf library version: netCDF 4.6.1 Netcdf library has version 4 interface present: yes Netcdf library was compiled with C compiler: x86_64-pc-linux-gnu-gcc checking for x86_64-pc-linux-gnu-x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-clang 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... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-clang accepts -g... yes checking for x86_64-pc-linux-gnu-clang option to accept ISO C89... none needed checking for library containing strerror... none required checking how to run the C preprocessor... x86_64-pc-linux-gnu-clang -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for a BSD-compatible install... /usr/lib/portage/python3.8/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-clang... none checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for the Athena widgets... checking for XtWindow in -lXt... yes checking for XawScrollbarSetThumb in -lXaw... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking X11/Intrinsic.h usability... yes checking X11/Intrinsic.h presence... yes checking for X11/Intrinsic.h... yes checking X11/Xaw/Simple.h usability... yes checking X11/Xaw/Simple.h presence... yes checking for X11/Xaw/Simple.h... yes X Athena widget (Xaw) libraries: -lXaw -lXt checking for X11 library... checking for XPutImage in -lX11... yes X11 libraries: -lX11 checking udunits2.h usability... yes checking udunits2.h presence... yes checking for udunits2.h... yes checking for ut_read_xml in -ludunits2... yes checking for expat library (required by udunits2)... checking for XML_GetBase in -lexpat... yes Expat libraries (needed by udunits2): -lexpat -L. -ludunits2 **************************************************************************** Udunits library version 2 support enabled. udunits2 dirs: include: . library: . libname: udunits2 **************************************************************************** checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_write_png in -lpng... yes ====================================================================== Configuration error: You specified that the "x86_64-pc-linux-gnu-clang" C compiler should be used to build ncview, but the netcdf library was compiled with the "x86_64-pc-linux-gnu-gcc" compiler. Here is the path where I found the netcdf library: -L/usr/lib64 -lnetcdf You must use the same compiler for ncview as was used to build the netcdf library! There are two possible ways to fix this. 1) Download the netcdf library and compile it with the x86_64-pc-linux-gnu-clang compiler, install it, and try again to build ncview. NOTE that if you do this, you might have more than one version of the netcdf library on your system, built with differnt compilers, which can get confusing. If you do this, you will have to specify the path to the (new) version of nc-config that was compiled using the x86_64-pc-linux-gnu-clang compiler by configuring ncview in a way similar to this: ./configure --with-nc-config=/path/to/newly/compiled/nc-config 2) Configure ncview to use the x86_64-pc-linux-gnu-gcc compiler. To do this, set environmental variable CC to x86_64-pc-linux-gnu-gcc and run ./configure again =================================================================== !!! Please attach the following file when seeking support: !!! /var/tmp/portage/sci-misc/ncview-2.1.7/work/ncview-2.1.7/config.log * ERROR: sci-misc/ncview-2.1.7::gentoo failed (configure phase): * econf failed * * Call stack: * ebuild.sh, line 125: Called src_configure * environment, line 2025: Called default * phase-functions.sh, line 855: Called default_src_configure * phase-functions.sh, line 890: Called __eapi2_src_configure * phase-helpers.sh, line 798: Called econf * phase-helpers.sh, line 681: Called __helpers_die 'econf failed' * isolated-functions.sh, line 112: Called die * The specific snippet of code: * die "$@" * * If you need support, post the output of `emerge --info '=sci-misc/ncview-2.1.7::gentoo'`, * the complete build log and the output of `emerge -pqv '=sci-misc/ncview-2.1.7::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/sci-misc/ncview-2.1.7:20200911-060205.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sci-misc/ncview-2.1.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sci-misc/ncview-2.1.7/temp/environment'. * Working directory: '/var/tmp/portage/sci-misc/ncview-2.1.7/work/ncview-2.1.7' * S: '/var/tmp/portage/sci-misc/ncview-2.1.7/work/ncview-2.1.7'