Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715838 - dev-lang/mercury-extras-20.01.1 : mopenssl.c:(.text+<snip>): undefined reference to <function net:tcp.socket_fd/1 mode 0>
Summary: dev-lang/mercury-extras-20.01.1 : mopenssl.c:(.text+<snip>): undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Keri Harris
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-04-02 07:17 UTC by Toralf Förster
Modified: 2020-04-02 09:40 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.19 KB, text/plain)
2020-04-02 07:17 UTC, Toralf Förster
Details
dev-lang:mercury-extras-20.01.1:20200401-224452.log (dev-lang:mercury-extras-20.01.1:20200401-224452.log,66.43 KB, text/plain)
2020-04-02 07:17 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,131.87 KB, text/plain)
2020-04-02 07:17 UTC, Toralf Förster
Details
environment (environment,63.67 KB, text/plain)
2020-04-02 07:17 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.67 KB, application/x-bzip)
2020-04-02 07:17 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 2020-04-02 07:17:11 UTC
	  -lssl -lcrypto  -L/var/tmp/portage/dev-lang/mercury-extras-20.01.1/image/usr/lib64/mercury/extras/lib/asm_fast.gc -L../net -lnet  
/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: mopenssl.pic_o: in function <predicate mopenssl.ssl/5 mode 0>:
mopenssl.c:(.text+0xb39): undefined reference to <function net:tcp.socket_fd/1 mode 0>
collect2: error: ld returned 1 exit status
gmake: *** [/var/tmp/portage/dev-lang/mercury-extras-20.01.1/temp/mmake.1WXyZH:1031: libmopenssl.so] Error 1
 * ERROR: dev-lang/mercury-extras-20.01.1::gentoo failed (compile phase):

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-libressl-20200329-091857

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
clang version 10.0.0 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

timestamp of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 01 Apr 2020 09:37:38 PM UTC
/var/db/repos/libressl	Thu 19 Mar 2020 04:37:24 PM UTC

emerge -qpvO dev-lang/mercury-extras
[ebuild  N    ] dev-lang/mercury-extras-20.01.1  USE="X cairo ncurses opengl ssl xml -examples -glut -gmp -iodbc -odbc -tk -tommath"
Comment 1 Toralf Förster gentoo-dev 2020-04-02 07:17:15 UTC
Created attachment 628664 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 07:17:19 UTC
Created attachment 628666 [details]
dev-lang:mercury-extras-20.01.1:20200401-224452.log
Comment 3 Toralf Förster gentoo-dev 2020-04-02 07:17:23 UTC
Created attachment 628668 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-02 07:17:26 UTC
Created attachment 628670 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-02 07:17:30 UTC
Created attachment 628672 [details]
etc.portage.tbz2
Comment 6 Keri Harris gentoo-dev 2020-04-02 09:40:08 UTC
This is now fixed in git. The mercury linker was pulling in the wrong libnet shared library. Thanks for reporting this bug.