=avogadrolibs-0.9.0 fails to build at configure stage: CMake Error at cmake/GenerateExportHeader.cmake:176 (if): if given arguments: "i686-pc-linux-gnu-gcc (Gentoo 7.2.0-r1 p1.1) 7.2.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." "VERSION_LESS" "4.2" Unknown arguments specified Call Stack (most recent call first): cmake/GenerateExportHeader.cmake:346 (_test_compiler_hidden_visibility) avogadro/CMakeLists.txt:12 (generate_export_header) avogadro/core/CMakeLists.txt:75 (avogadro_add_library) -- Configuring incomplete, errors occurred!
emerge --info Portage 2.3.20 (python 3.6.4-final-0, default/linux/x86/17.0/desktop/plasma, gcc-7.2.0, glibc-2.26-r5, 4.9.77-gentoo i686) ================================================================= System uname: Linux-4.9.77-gentoo-i686-Intel-R-_Core-TM-_Duo_CPU_T2350_@_1.86GHz-with-gentoo-2.4.1 KiB Mem: 3094032 total, 271716 free KiB Swap: 2104508 total, 1960168 free Head commit of repository gentoo: 427400b35fe4f1d1cafbad62458e2f5faae8b7e0 Timestamp of repository flying: Thu, 04 Aug 2016 02:09:25 +0000 Timestamp of repository oschtan: Tue, 17 Oct 2017 14:56:45 +0000 Head commit of repository kde: 5e1933568cf92565c6df3620c0b8f323dafcb9dc Head commit of repository mozilla: b5f82677c013117097c55961c6deb38f95ff3121 Head commit of repository rion: f33d59b6448a8c6e3ffde75451595ccd805a5ebf Head commit of repository science: 1c723baf788de9babc310c1988d63347f4429f43 Head commit of repository stuff: 562255bd7d46c7895093b22936822c959f0250e2 sh bash 4.4_p12-r1 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 ccache version 3.3.4 [enabled] app-shells/bash: 4.4_p12-r1::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/ccache: 3.3.4-r1::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/openrc: 0.34.11::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.29.1-r1::gentoo sys-devel/gcc: 7.2.0-r1::gentoo 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.9::gentoo (virtual/os-headers) sys-libs/glibc: 2.26-r5::gentoo Repositories: gentoo location: /mnt/slag/gentoo-tree sync-type: git sync-uri: git://anongit.gentoo.org/repo/gentoo.git priority: -1000 flying location: /mnt/slag/layman/flying masters: gentoo oschtan location: /mnt/slag/layman/oschtan sync-type: rsync sync-uri: rsync://oschtan.pw/oschtan/ masters: gentoo sync-rsync-extra-opts: kde location: /mnt/slag/layman/kde sync-type: git sync-uri: git://anongit.gentoo.org/proj/kde.git masters: gentoo priority: 50 mozilla location: /mnt/slag/layman/mozilla sync-type: git sync-uri: git://anongit.gentoo.org/proj/mozilla.git masters: gentoo priority: 50 rion location: /mnt/slag/layman/rion sync-type: git sync-uri: https://github.com/rion-overlay/rion-overlay.git masters: gentoo priority: 50 science location: /mnt/slag/layman/science sync-type: git sync-uri: git://github.com/gentoo-science/sci.git masters: gentoo priority: 50 stuff location: /mnt/slag/layman/stuff sync-type: git sync-uri: https://github.com/istitov/stuff.git masters: gentoo priority: 50 Installed sets: @toolchain ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA PUEL intel-ucode" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib/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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CPPFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" CXXFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" DISTDIR="/mnt/slag/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n --quiet-build --with-bdeps=y" FCFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" FEATURES="assume-digests binpkg-logs buildpkg ccache collision-protect distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms split-elog split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -mtune=native -fomit-frame-pointer" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://trumpetti.atm.tut.fi/gentoo/ http://distfiles.gentoo.org" LANG="ru_RU.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="ru ru_RU" MAKEOPTS="-j3" PKGDIR="/mnt/slag/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="/mnt/slag" USE="X a52 aac acl acpi activities alsa amr apng archive aspell bluetooth branding bzip2 cairo caps cdda cddb cdparanoia cdr cli consolekit curl cxx dbus declarative djvu dri dts dvd dvdnav dvdr emboss emf enca encode exceptions exif expat faac faad fam fbcondecor ffmpeg firefox flac fontconfig fortran ftp fuse gallium gif git glib gmp gnutls gpm harfbuzz http iconv icu idn imagemagick jbig jemalloc jpeg jpeg2k kde kwallet lame latex lcms libass libnotify libsamplerate lm_sensors lz4 lzma lzo mad man mime mng modules mp3 mp4 mpeg musepack natspec ncurses networkmanager nls nptl ogg opengl openmp orc osmesa pam pango pcre pdf phonon plasma png policykit postscript ppds pulseaudio qml qt5 rar readline rtc sdl seccomp sndfile spell sqlite ssl startup-notification svg tcpd threads tiff truetype twolame udev udisks unicode upower usb utils vorbis wavpack webengine webp widgets wifi wmf wxwidgets x264 x86 xattr xcb xcomposite xml xmp xorg xv xvid zip zlib" ABI_X86="32" 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" 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="mmx mmxext sse sse2 sse3" CURL_SSL="gnutls" 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="ru" 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="python2_7" PYTHON_TARGETS="python3_6 python2_7" RUBY_TARGETS="ruby25" USERLAND="GNU" VIDEO_CARDS="intel i915" 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, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 515650 [details] build.log
Created attachment 515652 [details] portage/sci-libs/avogadrolibs-0.9.0/work/avogadrolibs-0.9.0_build/CMakeFiles/CMakeOutput.log
While there is a fix for that, the package would only later fail to build at jsoncpp.
Starting from this commit avogadrolibs doesn't use local copy GenerateExportHeader.cmake: https://github.com/OpenChemistry/avogadrolibs/commit/787e0aaffed7be29da19f368c5ffc7a947bfc097 Maybe using avogadrolibs snapshot helps to fix this bug and https://bugs.gentoo.org/645832
*** Bug 645832 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=9a80747f1a93efa92be9944ba77feafd4650c7ea commit 9a80747f1a93efa92be9944ba77feafd4650c7ea Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-04-07 19:01:22 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-04-08 09:53:52 +0000 sci-libs/avogadrolibs: Add 1.91.0_p20180406 snapshot Closes: https://bugs.gentoo.org/645248 Closes: https://bugs.gentoo.org/649862 Closes: https://bugs.gentoo.org/588706 Closes: https://bugs.gentoo.org/577214 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sci-libs/avogadrolibs/Manifest | 1 + .../avogadrolibs-1.91.0_pre20180406.ebuild | 71 ++++++++++++++++++++++ ...gadrolibs-1.91.0_pre20180406-underlinking.patch | 18 ++++++ sci-libs/avogadrolibs/metadata.xml | 3 +- 4 files changed, 92 insertions(+), 1 deletion(-) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d38044ae854dae2c28301beeb32066b2c75089ba commit d38044ae854dae2c28301beeb32066b2c75089ba Author: Andreas Sturmlechner <asturm@gentoo.org> AuthorDate: 2018-04-07 21:31:38 +0000 Commit: Andreas Sturmlechner <asturm@gentoo.org> CommitDate: 2018-04-08 09:53:53 +0000 sci-libs/avogadrolibs: Drop 0.9.0, fails to build Bug: https://bugs.gentoo.org/645248 Package-Manager: Portage-2.3.28, Repoman-2.3.9 sci-libs/avogadrolibs/Manifest | 1 - sci-libs/avogadrolibs/avogadrolibs-0.9.0.ebuild | 66 ---------------------- .../files/avogadrolibs-0.8.0-underlinking.patch | 34 ----------- 3 files changed, 101 deletions(-)}