Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893336 - dev-lang/julia-1.8.3-r2 fails to compile (HARDENED-SYSTEM): System library symlink failure: Unable to locate libpcre2-8.so on your system!
Summary: dev-lang/julia-1.8.3-r2 fails to compile (HARDENED-SYSTEM): System library sy...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthias Maier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-06 07:46 UTC by Agostino Sarubbo
Modified: 2024-08-26 04:51 UTC (History)
3 users (show)

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


Attachments
build.log.xz (build.log.xz,146.86 KB, application/x-xz)
2023-02-06 07:46 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2023-02-06 07:46:32 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-lang/julia-1.8.3-r2 fails to compile (HARDENED-SYSTEM).
Discovered on: amd64 (internal ref: hardened_tinderbox)

NOTE:
(HARDENED-SYSTEM) in the summary means that the bug was found on a machine that runs an hardened profile with -D_FORTIFY_SOURCE=3 and -D_GLIBCXX_ASSERTIONS (https://www.gentoo.org/support/news-items/2023-01-01-hardening-fortify-assertions.html) but this bug MAY or MAY NOT BE related to the changes related to hardened.
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-06 07:46:35 UTC
Created attachment 849946 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-06 07:46:36 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find OCaml (missing: OCAMLFIND OCAML_VERSION OCAML_STDLIB_PATH) 
-- Could NOT find Python module pygments
-- Could NOT find Python module pygments.lexers.c_cpp
-- Could NOT find Python module yaml
rm: cannot remove '/var/tmp/portage/dev-lang/julia-1.8.3-r2/work/julia-1.8.3/usr/manifest/SHA': No such file or directory
rm: cannot remove '/var/tmp/portage/dev-lang/julia-1.8.3-r2/work/julia-1.8.3/usr/manifest/SparseArrays': No such file or directory
rm: cannot remove '/var/tmp/portage/dev-lang/julia-1.8.3-r2/work/julia-1.8.3/usr/manifest/SuiteSparse': No such file or directory
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-13 05:25:35 UTC
System library symlink failure: Unable to locate libpcre2-8.so on your system!
make[1]: *** [Makefile:224: /var/tmp/portage/dev-lang/julia-1.8.3-r2/work/julia-1.8.3/usr/lib/julia/libpcre2-8.so] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-lang/julia-1.8.3-r2/work/julia-1.8.3/base'
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-02-13 05:45:58 UTC
This might be to do with libpcre2[split-usr] recently starting to move libpcre2-8.so.
Comment 5 tepidjuice 2023-02-13 06:31:37 UTC
As suggested on gentoo IRC compiling without libpcre seems to work.

MAKEOPTS="USE_SYSTEM_PCRE=0 -j8" emerge -v1 julia
Comment 6 Larry the Git Cow gentoo-dev 2023-02-13 14:46:50 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a765b80ea66ff0ac1d24c07be466cd754749c3e

commit 6a765b80ea66ff0ac1d24c07be466cd754749c3e
Author:     Maciej Barć <xgqt@gentoo.org>
AuthorDate: 2023-02-13 14:43:52 +0000
Commit:     Maciej Barć <xgqt@gentoo.org>
CommitDate: 2023-02-13 14:46:12 +0000

    dev-lang/julia: build libpcre
    
    Closes: https://bugs.gentoo.org/893336
    Signed-off-by: Maciej Barć <xgqt@gentoo.org>

 dev-lang/julia/{julia-1.8.3-r2.ebuild => julia-1.8.3-r3.ebuild} | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Comment 7 Eli Schwartz gentoo-dev 2024-08-26 04:51:51 UTC
commit f3a9792fdf7bcdf559adc43f563cc4886c208cee
Author:     Eli Schwartz <eschwartz93@gmail.com>
AuthorDate: Tue Feb 6 00:38:03 2024
Commit:     Sam James <sam@gentoo.org>
CommitDate: Tue Feb 6 17:49:29 2024

    dev-libs/libpcre2: remove usr-ldscript support
    
    Per news item 2024-01-05-usr-initramfs, we no longer support this use
    case. It is fragile and hacky and leads to bizarre forms of load errors.
    
    The functionality is, despite being called "split-usr", not really about
    split-usr at all.
    
    Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libpcre2/{libpcre2-10.43_rc1.ebuild => libpcre2-10.42-r2.ebuild} | 17 ++++++++++-------
 dev-libs/libpcre2/libpcre2-10.43_rc1.ebuild                               |  3 +--
 2 files changed, 11 insertions(+), 9 deletions(-)
 copy dev-libs/libpcre2/{libpcre2-10.43_rc1.ebuild => libpcre2-10.42-r2.ebuild} (75%)




This should probably be revisited and reverted?