Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 914237 - www-apache/mod_jk-1.2.49 - [slibtool] /.../ld: cannot find ^jk_module$: No such file or directory
Summary: www-apache/mod_jk-1.2.49 - [slibtool] /.../ld: cannot find ^jk_module$: No su...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL: https://github.com/apache/tomcat-conn...
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks: slibtool
  Show dependency tree
 
Reported: 2023-09-15 15:38 UTC by Toralf Förster
Modified: 2024-03-16 20:26 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.67 KB, text/plain)
2023-09-15 15:38 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,52.91 KB, application/x-xz)
2023-09-15 15:38 UTC, Toralf Förster
Details
environment (environment,88.55 KB, text/plain)
2023-09-15 15:38 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,784 bytes, application/x-xz)
2023-09-15 15:38 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.29 KB, application/x-xz)
2023-09-15 15:38 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,9.73 KB, application/x-xz)
2023-09-15 15:38 UTC, Toralf Förster
Details
www-apache:mod_jk-1.2.49:20230914-224027.log (www-apache:mod_jk-1.2.49:20230914-224027.log,52.25 KB, text/plain)
2023-09-15 15:38 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 2023-09-15 15:38:13 UTC
too long lines were shrinked:

rdlibtool: lconf: found "/var/tmp/portage/www-apache/mod_jk-1.2.49/work/tomcat-connectors-1.2.49-src/native/libtool".
rdlibtool: link: ln -s mod_jk.so.def .libs/mod_jk.so.def.linux
rdlibtool: link: ln -s mod_jk.so.def.linux .libs/mod_jk.so.def.host
rdlibtool: link: ln -s /dev/null .libs/mod_jk.a.disabled
rdlibtool: link: ln -s /usr/lib64/apache2/modules .libs/mod_jk.so.slibtool.rpath
rdlibtool: link: x86_64-pc-linux-gnu-gcc .libs/mod_jk.o ../common/.libs/jk_ajp12_worker.o ../common/.libs/jk_connect.o ../common/.libs/jk_msg_buff.o ../common/.libs/jk_util.o ../common/.libs/jk_ajp13.o ../common/.libs/jk_pool.o ../common/.libs/jk_worker.o ../common/.libs/jk_ajp13_worker.o ../common/
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find ^jk_module$: No such file or directory
collect2: error: ld returned 1 exit status
rdlibtool: exec error upon slbt_exec_link_create_library(), line 1572: (see child process error messages).

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230910-154003

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.5
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.72.0
  [2]   rust-1.72.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.1 linux/amd64

  HEAD of ::gentoo
commit a2eff98cc09f0919a9af36c48433899c19e51762
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Sep 14 21:53:41 2023 +0000

    2023-09-14 21:53:37 UTC

emerge -qpvO www-apache/mod_jk
[ebuild  N    ] www-apache/mod_jk-1.2.49  USE="verify-sig"
Comment 1 Toralf Förster gentoo-dev 2023-09-15 15:38:14 UTC
Created attachment 870605 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-09-15 15:38:15 UTC
Created attachment 870606 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-09-15 15:38:16 UTC
Created attachment 870607 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-09-15 15:38:17 UTC
Created attachment 870608 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-09-15 15:38:18 UTC
Created attachment 870609 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-09-15 15:38:19 UTC
Created attachment 870610 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-09-15 15:38:20 UTC
Created attachment 870611 [details]
www-apache:mod_jk-1.2.49:20230914-224027.log
Comment 8 orbea 2024-03-06 00:14:56 UTC
They have a typo, it should be `-export-symbols-regex`, not `-export-symbols-regexp'.
Comment 9 orbea 2024-03-06 02:23:52 UTC
Already fixed upstream.
Comment 10 Larry the Git Cow gentoo-dev 2024-03-16 20:26:18 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=330b772dc0b59671cb55ed36856d876868bc94b7

commit 330b772dc0b59671cb55ed36856d876868bc94b7
Author:     orbea <orbea@riseup.net>
AuthorDate: 2024-03-16 15:32:32 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2024-03-16 20:25:40 +0000

    www-apache/mod_jk: fix global symbols
    
    The libtool -export-symbols-regex flag controls which symbols are
    exported globally in the library, but GNU libtool silently drops many
    unknown flags...
    
    Closes: https://bugs.gentoo.org/914237
    Upstream-Commit: https://github.com/apache/tomcat-connectors/commit/ecd005d0792441c4510dc4c2d9348979ab71ddcc
    Signed-off-by: orbea <orbea@riseup.net>
    Closes: https://github.com/gentoo/gentoo/pull/35781
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 .../files/mod_jk-1.2.49-export-symbols-regex.patch | 40 ++++++++++++++++++++++
 ...od_jk-1.2.49.ebuild => mod_jk-1.2.49-r1.ebuild} |  5 ++-
 2 files changed, 44 insertions(+), 1 deletion(-)