Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 644004 - app-admin/haskell-updater-1.2.10 - x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-nopie’; did you mean ‘-no-pie’?
Summary: app-admin/haskell-updater-1.2.10 - x86_64-pc-linux-gnu-gcc: error: unrecogniz...
Status: RESOLVED DUPLICATE of bug 644170
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-09 13:30 UTC by Tobias Weber
Modified: 2018-02-18 21:04 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Weber 2018-01-09 13:30:03 UTC
emerge haskell-updater failes with the following error:


x86_64-pc-linux-gnu-gcc: error: unrecognized command line option '-nopie'; did you mean '-no-pie'?
`x86_64-pc-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
Comment 1 Tobias Weber 2018-01-09 13:30:55 UTC
 * Using cabal-1.24.2.0.
 * Prepending /usr/lib64/ghc-8.0.2 to LD_LIBRARY_PATH
/usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -dynamic -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.hs, /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.o )
Linking setup ...
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-nopie’; did you mean ‘-no-pie’?
`x86_64-pc-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
/usr/bin/ghc -package Cabal-1.24.2.0 --make /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.hs -j4 +RTS -A256M -qb0 -RTS -threaded -o setup
[1 of 1] Compiling Main             ( /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.hs, /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.o )
Linking setup ...
x86_64-pc-linux-gnu-gcc: error: unrecognized command line option ‘-nopie’; did you mean ‘-no-pie’?
`x86_64-pc-linux-gnu-gcc' failed in phase `C Compiler'. (Exit code: 1)
 * ERROR: app-admin/haskell-updater-1.2.10::gentoo failed (configure phase):
 *   compiling /var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10/Setup.hs failed
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_configure
 *   environment, line 2671:  Called cabal_src_configure '--bindir=/usr/sbin' '--constraint=Cabal == 1.24.2.0'
 *   environment, line  698:  Called haskell-cabal_src_configure '--bindir=/usr/sbin' '--constraint=Cabal == 1.24.2.0'
 *   environment, line 1881:  Called cabal-bootstrap
 *   environment, line  422:  Called die
 * The specific snippet of code:
 *           } || make_setup "$@" || die "compiling ${setupmodule} failed";
 *
 * If you need support, post the output of `emerge --info '=app-admin/haskell-updater-1.2.10::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-admin/haskell-updater-1.2.10::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-admin/haskell-updater-1.2.10/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-admin/haskell-updater-1.2.10/temp/environment'.
 * Working directory: '/var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10'
 * S: '/var/tmp/portage/app-admin/haskell-updater-1.2.10/work/haskell-updater-1.2.10'
Comment 2 Tobias Weber 2018-01-11 11:04:10 UTC
emerge --info '=dev-haskell/gtk-0.14.6::gentoo'
--- Invalid atom in /etc/portage/package.use/libxcb: xkb
--- Invalid atom in /etc/portage/package.use/octave: curl
Portage 2.3.13 (python 2.7.14-final-0, hardened/linux/amd64, gcc-6.4.0, glibc-2.25-r9, 4.9.34-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.9.34-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E31220L_@_2.20GHz-with-gentoo-2.4.1
KiB Mem:     8117156 total,   1310708 free
KiB Swap:    8388604 total,   8388604 free
Timestamp of repository gentoo: Wed, 10 Jan 2018 10:00:01 +0000
Head commit of repository gentoo: 6a514c6f017bfbf921745cfe87e54dd2b15b236b
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::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::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.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.12.6-r1::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::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-r9::gentoo
Repositories:

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

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=sandybridge -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=sandybridge -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="ftp://mirror.netcologne.de/gentoo/"
LANG="de_DE.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
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="X acl amd64 apache2 asm berkdb bzip2 cgi cli crypt cxx dri encode gdbm gpl gtk hardcoded-tables hardened iconv ipv6 jpeg ldap modules multilib mysql mysqli ncurses network nls nptl openssl pam pcre php pic pie png policykit portaudio postproc readline sctp seccomp snfile ssl ssp tcpd threads unicode urandom v4l xattr xtpax 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="cgi php alias mime authz_core authz_host socache_shmcb authn_core" 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 sse sse2 sse3 ssse3 mmxext" 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" 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="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby22" 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, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-haskell/gtk-0.14.6::gentoo was built with the following:
USE="deprecated fmode-binary gio -doc -hscolour (-profile)" ABI_X86="(64)"
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-16 17:28:46 UTC
Please attach the complete build log to this bug report.
Comment 4 Jeroen Roovers (RETIRED) gentoo-dev 2018-01-16 17:36:30 UTC
*** Bug 644170 has been marked as a duplicate of this bug. ***
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2018-02-18 21:04:37 UTC

*** This bug has been marked as a duplicate of bug 644170 ***