Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 780033 - dev-libs/openct-0.6.20-r4 - x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option --module
Summary: dev-libs/openct-0.6.20-r4 - x86_64-pc-linux-gnu-gcc: error: unrecognized comm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: PATCH, UPSTREAM
: 782508 (view as bug list)
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2021-04-04 18:47 UTC by Toralf Förster
Modified: 2021-05-05 19:29 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.26 KB, text/plain)
2021-04-04 18:47 UTC, Toralf Förster
Details
dev-libs:openct-0.6.20-r4:20210404-184220.log (dev-libs:openct-0.6.20-r4:20210404-184220.log,159.61 KB, text/plain)
2021-04-04 18:47 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,140.75 KB, text/plain)
2021-04-04 18:48 UTC, Toralf Förster
Details
environment (environment,88.47 KB, text/plain)
2021-04-04 18:48 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,12.99 KB, application/x-bzip)
2021-04-04 18:48 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.10 KB, application/x-bzip)
2021-04-04 18:48 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.96 KB, application/x-bzip)
2021-04-04 18:48 UTC, Toralf Förster
Details
https://github.com/OpenSC/openct/commit/f329c2663bde748d4a8fc462a1ea7bbc4ab47b36 (openat-module.patch,1.32 KB, patch)
2021-04-07 16:41 UTC, orbea
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2021-04-04 18:47:56 UTC
rdlibtool: link: ln -s /dev/null .libs/libopenctapi.a.disabled
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/libopenctapi_la-ctapi.o -I../../src/include -I../../src/include -O2 -pipe -march=native -fno-diagnostics-color --module -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -L../../src/ct/.libs -lopenct -shared -fPIC -Wl,--no-undefined -o .libs/libopenctapi.so
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option ‘--module’
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1446: (see child process error messages).
rdlibtool: < returned to > slbt_exec_link(), line 1868.
make[3]: *** [Makefile:321: libopenctapi.la] Error 2

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib_hardened-20210401-181817

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 11.1.0
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/11/bin
/usr/lib/llvm/11
11.1.0
Python 3.8.9
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.51.0
  [2]   rust-1.51.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.282_p08 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Apr  4 18:05:56 UTC 2021

emerge -qpvO dev-libs/openct
[ebuild  N    ] dev-libs/openct-0.6.20-r4  USE="-debug -doc -pcsc-lite -usb"
Comment 1 Toralf Förster gentoo-dev 2021-04-04 18:47:57 UTC
Created attachment 697263 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-04-04 18:47:59 UTC
Created attachment 697266 [details]
dev-libs:openct-0.6.20-r4:20210404-184220.log
Comment 3 Toralf Förster gentoo-dev 2021-04-04 18:48:01 UTC
Created attachment 697269 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2021-04-04 18:48:02 UTC
Created attachment 697272 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2021-04-04 18:48:03 UTC
Created attachment 697275 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-04-04 18:48:04 UTC
Created attachment 697278 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2021-04-04 18:48:06 UTC
Created attachment 697281 [details]
temp.tar.bz2
Comment 9 orbea 2021-04-12 14:00:41 UTC
*** Bug 782508 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2021-05-05 18:51:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=922639c43726d0ffd0c11371e554d6b817ceee60

commit 922639c43726d0ffd0c11371e554d6b817ceee60
Author:     Lars Wendler <polynomial-c@gentoo.org>
AuthorDate: 2021-05-05 13:52:06 +0000
Commit:     Lars Wendler <polynomial-c@gentoo.org>
CommitDate: 2021-05-05 18:51:47 +0000

    dev-libs/openct: Fix for slibtool
    
    Thanks-to: orbea <orbea@riseup.net>
    Upstream: https://github.com/OpenSC/openct/commit/86abf3c
    Upstream: https://github.com/OpenSC/openct/commit/f329c26
    Closes: https://bugs.gentoo.org/780033
    Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>

 dev-libs/openct/files/openct-0.6.20-automake.patch | 24 +++++++++++++++
 dev-libs/openct/files/openct-0.6.20-slibtool.patch | 34 ++++++++++++++++++++++
 dev-libs/openct/openct-0.6.20-r4.ebuild            | 12 +++++++-
 dev-libs/openct/openct-0.6.20-r5.ebuild            | 12 +++++++-
 4 files changed, 80 insertions(+), 2 deletions(-)
Comment 11 orbea 2021-05-05 19:29:49 UTC
There is still one remaining issue with slibtool:

  * QA Notice: The following shared libraries lack a SONAME
  * /usr/lib64/libopenctapi.so

However it is already fixed in slibtool-9999 and a new release should be made in the near future.