Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662274 - dev-haskell/gnutls-0.2 : collect2: error: ld returned 1 exit status
Summary: dev-haskell/gnutls-0.2 : collect2: error: ld returned 1 exit status
Status: CONFIRMED
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:
: 662284 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-07-27 17:18 UTC by Toralf Förster
Modified: 2018-07-27 22:17 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.20 KB, text/plain)
2018-07-27 17:18 UTC, Toralf Förster
Details
dev-haskell:gnutls-0.2:20180727-073417.log (dev-haskell:gnutls-0.2:20180727-073417.log,10.12 KB, text/plain)
2018-07-27 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,95.26 KB, text/plain)
2018-07-27 17:18 UTC, Toralf Förster
Details
environment (environment,101.83 KB, text/plain)
2018-07-27 17:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,27.06 KB, application/x-bzip)
2018-07-27 17:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,24.83 KB, application/x-bzip)
2018-07-27 17:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-07-27 17:18:07 UTC
    Tab character
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
 * ERROR: dev-haskell/gnutls-0.2::gentoo failed (compile phase):
 *   setup build failed
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-gnome_20180724-200238

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python3.6 (fallback)
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.8.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv dev-haskell/gnutls
[ebuild  N    ] dev-haskell/gnutls-0.2  USE="-doc -hscolour -profile"
Comment 1 Toralf Förster gentoo-dev 2018-07-27 17:18:10 UTC
Created attachment 541254 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-07-27 17:18:13 UTC
Created attachment 541256 [details]
dev-haskell:gnutls-0.2:20180727-073417.log
Comment 3 Toralf Förster gentoo-dev 2018-07-27 17:18:15 UTC
Created attachment 541258 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-07-27 17:18:19 UTC
Created attachment 541260 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-07-27 17:18:22 UTC
Created attachment 541262 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-07-27 17:18:25 UTC
Created attachment 541264 [details]
temp.tbz2
Comment 7 Sergei Trofimovich gentoo-dev 2018-07-27 21:47:35 UTC
ghc-7.10 was built without -pie:

/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: -r and -pie may not be used together
collect2: error: ld returned 1 exit status
Comment 8 Toralf Förster gentoo-dev 2018-07-27 22:17:12 UTC
(In reply to Sergei Trofimovich from comment #7)
Hhm, I do wonder if this is expectedwant/works as designed, so that the tinderbox should be relaxed or do we have here a missing check in the ebuild as the culprit?
Comment 9 Toralf Förster gentoo-dev 2018-07-27 22:17:37 UTC
*** Bug 662284 has been marked as a duplicate of this bug. ***