Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 934977 - dev-libs/libpcre2-10.44 does not build shared libs on mips
Summary: dev-libs/libpcre2-10.44 does not build shared libs on mips
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: MIPS Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL: https://lore.kernel.org/distributions...
Whiteboard:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2024-06-26 23:12 UTC by matoro
Modified: 2024-06-27 06:35 UTC (History)
2 users (show)

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


Attachments
build.log and emerge --info (file_934977.txt,162.63 KB, text/plain)
2024-06-26 23:12 UTC, matoro
Details

Note You need to log in before you can comment on or make changes to this bug.
Description matoro archtester 2024-06-26 23:12:05 UTC
Created attachment 896459 [details]
build.log and emerge --info

This *is* a regression from 10.43.  This autoconf test fails:

checking whether the mips64-unknown-linux-gnuabi64-gcc linker (/usr/mips64-unknown-linux-gnuabi64/bin/ld -m elf) supports shared libraries... /usr/mips64-unknown-linux-gnuabi64/bin/ld: unrecognised emulation mode: elf
Supported emulations: elf64btsmip elf64ltsmip elf32btsmipn32 elf32ltsmipn32 elf32btsmip elf32ltsmip
no

...which then results in the following configuration summary:

    Build shared libs .................. : no
    Build static libs .................. : yes

and further breaks all reverse depends.  Reverting to 10.43 fixes.
Comment 1 matoro archtester 2024-06-27 00:06:33 UTC
Apparently due to tarball being generated using Arch libtool, which is a 2.5.0 snapshot.  Fixed in https://github.com/autotools-mirror/libtool/commit/9a4a02615c9e7cbcfd690ed31874822a7d6aaea2
Comment 2 Larry the Git Cow gentoo-dev 2024-06-27 06:35:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37d02084f569fa71329bf0db592ea18da4604fcd

commit 37d02084f569fa71329bf0db592ea18da4604fcd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-06-27 06:35:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-06-27 06:35:34 +0000

    dev-libs/libpcre2: fix shared library build on mips (libtool-2.5.0 bug)
    
    Closes: https://bugs.gentoo.org/934977
    Signed-off-by: Sam James <sam@gentoo.org>

 .../{libpcre2-10.44.ebuild => libpcre2-10.44-r1.ebuild}     | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)