Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 606096 - dev-lang/polyml-5.6 : libpolyml/.../libpolyml.so: undefined reference to `sem_unlink'
Summary: dev-lang/polyml-5.6 : libpolyml/.../libpolyml.so: undefined reference to `sem...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Deadline: 2019-05-03
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2017-01-17 14:54 UTC by Toralf Förster
Modified: 2019-04-05 08:39 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,5.60 KB, text/plain)
2017-01-17 14:54 UTC, Toralf Förster
Details
config.log (config.log,401.46 KB, text/plain)
2017-01-17 14:54 UTC, Toralf Förster
Details
dev-lang:polyml-5.6:20170117-144157.log (dev-lang:polyml-5.6:20170117-144157.log,62.68 KB, text/plain)
2017-01-17 14:54 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,192.79 KB, text/plain)
2017-01-17 14:54 UTC, Toralf Förster
Details
environment (environment,71.11 KB, text/plain)
2017-01-17 14:54 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,17.13 KB, application/x-bzip)
2017-01-17 14:54 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 2017-01-17 14:54:17 UTC
/bin/sh ./libtool  --tag=CC   --mode=link x86_64-pc-linux-gnu-gcc   -Wall -fno-strict-aliasing -I/usr/lib64/libffi-3.2.1/include -O2 -pipe -march=native -Wall   -Wl,-O1 -Wl,--as-needed -o polyimport polyimport.o  libpolyml/libpolyml.la -L/usr/lib64/../lib64 -lffi -lgmp -lm -ldl -lstdc++ -lgcc_s -lgcc 
libtool: link: x86_64-pc-linux-gnu-gcc -Wall -fno-strict-aliasing -I/usr/lib64/libffi-3.2.1/include -O2 -pipe -march=native -Wall -Wl,-O1 -o .libs/polyimport polyimport.o  -Wl,--as-needed libpolyml/.libs/libpolyml.so -L/usr/lib64/../lib64 -lffi -lgmp -lm -ldl -lstdc++ -lgcc_s -lgcc
libpolyml/.libs/libpolyml.so: undefined reference to `sem_unlink'

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

  This is an unstable amd64 chroot image (named hardened-no-multilib-unstable_20170113-223934) at a hardened host acting as a tinderbox.

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
 [2] x86_64-pc-linux-gnu-5.4.0-hardenednopie
 [3] x86_64-pc-linux-gnu-5.4.0-hardenednopiessp
 [4] x86_64-pc-linux-gnu-5.4.0-hardenednossp
 [5] x86_64-pc-linux-gnu-5.4.0-vanilla
llvm-config --version:
3.9.1

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:

  -----------------------------------------------------------------
Comment 1 Toralf Förster gentoo-dev 2017-01-17 14:54:20 UTC
Created attachment 460454 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-01-17 14:54:23 UTC
Created attachment 460456 [details]
config.log
Comment 3 Toralf Förster gentoo-dev 2017-01-17 14:54:26 UTC
Created attachment 460458 [details]
dev-lang:polyml-5.6:20170117-144157.log
Comment 4 Toralf Förster gentoo-dev 2017-01-17 14:54:29 UTC
Created attachment 460460 [details]
emerge-history.txt
Comment 5 Toralf Förster gentoo-dev 2017-01-17 14:54:32 UTC
Created attachment 460462 [details]
environment
Comment 6 Toralf Förster gentoo-dev 2017-01-17 14:54:35 UTC
Created attachment 460464 [details]
etc.portage.tbz2
Comment 7 Tupone Alfredo gentoo-dev 2019-04-05 06:51:45 UTC
It builds with X in USE.
Comment 8 Larry the Git Cow gentoo-dev 2019-04-05 08:39:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22d77000f2e9736a0b19437b626f4f89d9c697f5

commit 22d77000f2e9736a0b19437b626f4f89d9c697f5
Author:     Tupone Alfredo <tupone@gentoo.org>
AuthorDate: 2019-04-05 08:38:19 +0000
Commit:     Tupone Alfredo <tupone@gentoo.org>
CommitDate: 2019-04-05 08:38:52 +0000

    dev-lang/polyml: Fix build, sem_wait found on libpthread
    
    Closes: https://bugs.gentoo.org/606096
    Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
    Package-Manager: Portage-2.3.62, Repoman-2.3.11

 dev-lang/polyml/files/polyml-5.6-configure.patch | 11 +++++++++++
 dev-lang/polyml/polyml-5.6.ebuild                |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)