pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: /lang/openjdk install (for amd64)



mlh%goathill.org@localhost (MLH) writes:

> MLH wrote:
>> Tobias Nygren wrote:
>> > On Sat, 20 Jan 2024 18:28:50 -0500 (EST)
>> > > openjdk11 doesn't install again.
>> > 
>> > There seems to be some bug related to /libexec/ld.elf_so still.
>> > Building ld.elf_so with different compiler flags / optimization settings
>> > works around the problem. I'm not sure exactly why yet. I've uploaded
>> > my copy of ld.elf_so. Please test if using it makes any difference for
>> > you: https://ftp.netbsd.org/pub/NetBSD/misc/tnn/ld.elf_so
>> > 
>> > -Tobias
>> 
>> This is broken on amd64 again, but maybe differently. The build
>> completes but it can't install or create a package.
>
> This still is broken using pkg_comp1 chroot:
>
> ===> Installing for openjdk11-1.11.0.25.9
> => Generating pre-install file lists
> => Creating installation directories
> /usr/bin/install -d -o root -g wheel -m 755
> /pkg_comp/obj/pkgsrc/lang/openjdk11/default/.destdir/usr/pkgnew/java/openjdk11
> cd /pkg_comp/obj/pkgsrc/lang/openjdk11/default/jdk11u-jdk-11.0.25-9-1/build/bsd-x86_64-normal-server-release/images/jdk
> && pax -rwpp .
> /pkg_comp/obj/pkgsrc/lang/openjdk11/default/.destdir/usr/pkgnew/java/openjdk11/.
> cd: can't cd to /pkg_comp/obj/pkgsrc/lang/openjdk11/default/jdk11u-jdk-11.0.25-9-1/build/bsd-x86_64-normal-server-release/images/jdk

Coincidentally I just ran into this on NetBSD 9 stable amd64, running in
a xen PV domU.  I see the above lossage with 11/17/21.

Is the suggestion that I build ld.so without optimization?


Home | Main Index | Thread Index | Old Index