Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 906987 - dev-java/openjdk-17.0.8.1_p1 fails to compile (MUSL-SYSTEM): attachListener_linux.cpp:448:17: error: aggregate AttachListener::vm_start()::stat64 st has incomplete type and cannot be defined
Summary: dev-java/openjdk-17.0.8.1_p1 fails to compile (MUSL-SYSTEM): attachListener_l...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: musl-1.2.4 907680
  Show dependency tree
 
Reported: 2023-05-23 11:44 UTC by Agostino Sarubbo
Modified: 2024-03-03 16:46 UTC (History)
4 users (show)

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


Attachments
build.log.xz (build.log.xz,66.86 KB, application/x-xz)
2023-05-23 11:44 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-05-23 11:44:29 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/openjdk-17.0.6_p10-r1 fails to compile (MUSL-SYSTEM).
Discovered on: amd64 (internal ref: tinderbox_musl)

NOTE:
(MUSL-SYSTEM) in the summary means that bug was found on a machine that runs MUSL libc but this bug MAY or MAY NOT BE related to musl.
Comment 1 Agostino Sarubbo gentoo-dev 2023-05-23 11:44:32 UTC
Created attachment 862262 [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-05-23 11:44:33 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking for jtreg test harness... no, not found
configure: Could not find //usr/lib/x86_64-linux-gnu/libfreetype.so. Ignoring location.
configure: Could not find //usr/lib64/libfreetype.so. Ignoring location.
/var/tmp/portage/dev-java/openjdk-17.0.6_p10-r1/work/jdk17u-jdk-17.0.6-ga/src/hotspot/os/linux/attachListener_linux.cpp:448:17: error: aggregate 'AttachListener::vm_start()::stat64 st' has incomplete type and cannot be defined
Comment 3 Agostino Sarubbo gentoo-dev 2024-02-06 09:12:58 UTC
tinderbox_musl has reproduced this issue with version 17.0.8.1_p1 - Updating summary.
Comment 4 Larry the Git Cow gentoo-dev 2024-03-03 16:46:08 UTC
The bug has been referenced in the following commit(s):

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

commit d8422ed33a957db3439be1e36bee4ed455c6f50f
Author:     Andreas K. Hüttel <dilfridge@gentoo.org>
AuthorDate: 2024-03-03 16:45:22 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2024-03-03 16:45:57 +0000

    dev-java/openjdk: Apply musl-1.2.4 largefile workaround
    
    Bug: https://bugs.gentoo.org/906987
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 dev-java/openjdk/openjdk-11.0.20.1_p1.ebuild | 3 +++
 dev-java/openjdk/openjdk-17.0.8.1_p1.ebuild  | 3 +++
 dev-java/openjdk/openjdk-21.0.1_p12.ebuild   | 3 +++
 3 files changed, 9 insertions(+)