* Package: dev-haskell/glut-2.7.0.15 * Repository: gentoo * Maintainer: haskell@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/ec99a203b14bac31fea3b3fed0d4780436549ef3 @@@@@ END @@@@@ >>> Unpacking source... >>> Unpacking GLUT-2.7.0.15.tar.gz to /var/tmp/portage/dev-haskell/glut-2.7.0.15/work >>> Source unpacked in /var/tmp/portage/dev-haskell/glut-2.7.0.15/work >>> Preparing source in /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15 ... * Using cabal-3.0.1.0. * Prepending /usr/lib64/ghc-8.8.4 to LD_LIBRARY_PATH /usr/bin/ghc -package Cabal-3.0.1.0 --make /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15/Setup.hs -j2 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup [1 of 1] Compiling Main ( /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15/Setup.hs, /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15/Setup.o ) Linking setup ... ./setup configure --ghc --prefix=/usr --with-compiler=/usr/bin/ghc --with-hc-pkg=/usr/bin/ghc-pkg --prefix=/usr --libdir=/usr/lib64 --libsubdir=glut-2.7.0.15/ghc-8.8.4 --datadir=/usr/share/ --datasubdir=glut-2.7.0.15/ghc-8.8.4 --ghc-options=-j2 +RTS -A256M -qb0 -RTS --with-ar=llvm-ar --ghc-option=-optc-O2 --ghc-option=-optc-pipe --ghc-option=-optc-march=native --ghc-option=-optc-frecord-gcc-switches --ghc-option=-optc-fno-diagnostics-color --ghc-option=-optl-Wl,-O1 --ghc-option=-optl-Wl,--as-needed --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --ghc-option=-optl-fuse-ld=lld --ghc-option=-optl-Wl,--defsym=__gentoo_check_ldflags__=0 --disable-executable-stripping --docdir=/usr/share/doc/glut-2.7.0.15 --verbose --enable-shared --enable-executable-dynamic --sysconfdir=/etc --disable-library-stripping --flags=-buildexamples --flag=-usenativewindowslibraries Using Parsec parser Configuring GLUT-2.7.0.15... Flags chosen: buildexamples=False, usenativewindowslibraries=False Dependency OpenGL >=2.12 && <3.1: using OpenGL-3.0.3.0 Dependency StateVar >=1.1 && <1.3: using StateVar-1.1.1.1 Dependency array >=0.3 && <0.6: using array-0.5.4.0 Dependency base >=3 && <5: using base-4.13.0.0 Dependency containers >=0.3 && <0.7: using containers-0.6.2.1 Dependency transformers >=0.2 && <0.6: using transformers-0.5.6.2 Source component graph: component lib Configured component graph: component GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH include OpenGL-3.0.3.0-4H5uxNyhm0k3ZwpCW6iCmD include StateVar-1.1.1.1-L09KIp33uUYEpD2XQSjrks include array-0.5.4.0 include base-4.13.0.0 include containers-0.6.2.1 include transformers-0.5.6.2 Linked component graph: unit GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH include OpenGL-3.0.3.0-4H5uxNyhm0k3ZwpCW6iCmD include StateVar-1.1.1.1-L09KIp33uUYEpD2XQSjrks include array-0.5.4.0 include base-4.13.0.0 include containers-0.6.2.1 include transformers-0.5.6.2 Graphics.UI.GLUT=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT,Graphics.UI.GLUT.Begin=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Begin,Graphics.UI.GLUT.Callbacks=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Callbacks,Graphics.UI.GLUT.Callbacks.Global=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Callbacks.Global,Graphics.UI.GLUT.Callbacks.Window=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Callbacks.Window,Graphics.UI.GLUT.Colormap=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Colormap,Graphics.UI.GLUT.Debugging=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Debugging,Graphics.UI.GLUT.DeviceControl=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.DeviceControl,Graphics.UI.GLUT.Fonts=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Fonts,Graphics.UI.GLUT.GameMode=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.GameMode,Graphics.UI.GLUT.Initialization=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Initialization,Graphics.UI.GLUT.Menu=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Menu,Graphics.UI.GLUT.Objects=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Objects,Graphics.UI.GLUT.Overlay=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Overlay,Graphics.UI.GLUT.State=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.State,Graphics.UI.GLUT.Window=GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH:Graphics.UI.GLUT.Window Ready component graph: definite GLUT-2.7.0.15-3FNFE4bdmw32ElJaTmCTmH depends OpenGL-3.0.3.0-4H5uxNyhm0k3ZwpCW6iCmD depends StateVar-1.1.1.1-L09KIp33uUYEpD2XQSjrks depends array-0.5.4.0 depends base-4.13.0.0 depends containers-0.6.2.1 depends transformers-0.5.6.2 Using Cabal-3.0.1.0 compiled by ghc-8.8 Using compiler: ghc-8.8.4 Using install prefix: /usr Executables installed in: /usr/bin Libraries installed in: /usr/lib64/glut-2.7.0.15/ghc-8.8.4 Dynamic Libraries installed in: /usr/lib64/x86_64-linux-ghc-8.8.4 Private executables installed in: /usr/libexec/x86_64-linux-ghc-8.8.4/GLUT-2.7.0.15 Data files installed in: /usr/share/glut-2.7.0.15/ghc-8.8.4 Documentation installed in: /usr/share/doc/glut-2.7.0.15 Configuration files installed in: /etc No alex found Using ar given by user at: /usr/lib/llvm/10/bin/llvm-ar No c2hs found No cpphs found No doctest found Using gcc version 10.2.0 found on system at: /usr/bin/x86_64-pc-linux-gnu-gcc Using ghc version 8.8.4 given by user at: /usr/bin/ghc Using ghc-pkg version 8.8.4 given by user at: /usr/bin/ghc-pkg No ghcjs found No ghcjs-pkg found No greencard found Using haddock version 2.23.0 found on system at: /usr/bin/haddock-ghc-8.8.4 No happy found Using haskell-suite found on system at: haskell-suite-dummy-location Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location No hmake found Using hpc version 0.67 found on system at: /usr/bin/hpc Using hsc2hs version 0.68.7 found on system at: /usr/bin/hsc2hs No hscolour found No jhc found Using ld found on system at: /usr/bin/x86_64-pc-linux-gnu-ld Using pkg-config version 1.7.3 found on system at: /usr/bin/pkg-config Using runghc version 8.8.4 found on system at: /usr/bin/runghc Using strip version 2.34 found on system at: /usr/bin/strip Using tar found on system at: /bin/tar No uhc found >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15 ... ./setup build Preprocessing library for GLUT-2.7.0.15.. Building library for GLUT-2.7.0.15.. [ 1 of 24] Compiling Graphics.UI.GLUT.Debugging ( src/Graphics/UI/GLUT/Debugging.hs, dist/build/Graphics/UI/GLUT/Debugging.o ) [ 2 of 24] Compiling Graphics.UI.GLUT.Raw.Callbacks ( src/Graphics/UI/GLUT/Raw/Callbacks.hs, dist/build/Graphics/UI/GLUT/Raw/Callbacks.o ) ld.lld: error: unknown argument '-no-relax' collect2: error: ld returned 1 exit status : error: `x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) [ 3 of 24] Compiling Graphics.UI.GLUT.Raw.Fonts ( src/Graphics/UI/GLUT/Raw/Fonts.hs, dist/build/Graphics/UI/GLUT/Raw/Fonts.o ) [ 5 of 24] Compiling Graphics.UI.GLUT.Raw.Tokens ( src/Graphics/UI/GLUT/Raw/Tokens.hs, dist/build/Graphics/UI/GLUT/Raw/Tokens.o ) * ERROR: dev-haskell/glut-2.7.0.15::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 125: Called src_compile * environment, line 1945: Called haskell-cabal_src_compile * environment, line 1553: Called cabal_src_compile * environment, line 715: Called cabal-build * environment, line 473: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * * If you need support, post the output of `emerge --info '=dev-haskell/glut-2.7.0.15::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-haskell/glut-2.7.0.15::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/dev-haskell/glut-2.7.0.15:20200804-171836.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-haskell/glut-2.7.0.15/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-haskell/glut-2.7.0.15/temp/environment'. * Working directory: '/var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15' * S: '/var/tmp/portage/dev-haskell/glut-2.7.0.15/work/GLUT-2.7.0.15' emerge --info: Portage 3.0.1 (python 3.7.8-final-0, default/linux/amd64/17.1, gcc-10.2.0, glibc-2.31-r6, 5.4.0-1018-aws x86_64) ================================================================= System uname: Linux-5.4.0-1018-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 7895552 total, 2987856 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Wed, 05 Aug 2020 05:35:31 +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-r1::gentoo, 3.7.8-r2::gentoo, 3.8.5::gentoo, 3.9.0_beta5::gentoo dev-util/cmake: 3.18.1::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.20::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r2::gentoo sys-devel/gcc: 10.2.0::gentoo sys-devel/gcc-config: 2.3.1::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.31-r6::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" 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/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="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 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" MAKEOPTS="-j2 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 fortran gdbm iconv ipv6 libtirpc multilib native-symlinks ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" 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 sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" 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-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby25" 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, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS