Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 907680 - dev-java/openjdk-11.0.18_p10 fails to compile (MUSL-SYSTEM): os_linux.inline.hpp:73:20: error: ::lseek64 has not been declared
Summary: dev-java/openjdk-11.0.18_p10 fails to compile (MUSL-SYSTEM): os_linux.inline....
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 906987
Blocks: musl-1.2.4
  Show dependency tree
 
Reported: 2023-06-02 06:02 UTC by Agostino Sarubbo
Modified: 2024-05-17 09:28 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,899.31 KB, text/plain)
2023-06-02 06:02 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-06-02 06:02:01 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/openjdk-11.0.18_p10 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-06-02 06:02:05 UTC
Created attachment 863024 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-06-02 06:02:06 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


checking for dtrace tool... not found, cannot build dtrace
checking for jtreg test harness... no, not found
/var/tmp/portage/dev-java/openjdk-11.0.18_p10/work/jdk11u-jdk-11.0.18-ga/src/hotspot/os/linux/os_linux.inline.hpp:73:20: error: '::lseek64' has not been declared; did you mean 'lseek'?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-20 09:53:52 UTC
bug 906987 needs to be fixed first (fix just landed upstream) then needs backporting
Comment 4 Andreas K. Hüttel archtester gentoo-dev 2024-03-03 18:30:26 UTC
Workaround applied
Comment 5 Larry the Git Cow gentoo-dev 2024-05-17 09:28:24 UTC
The bug has been referenced in the following commit(s):

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

commit d57754cd3fe53161d876a8043ec720ed7f0f1d3d
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2024-05-15 21:13:52 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2024-05-17 09:28:04 +0000

    dev-java/openjdk: drop 11.0.22_p7
    
    Bug: https://bugs.gentoo.org/925020
    Bug: https://bugs.gentoo.org/916211
    Bug: https://bugs.gentoo.org/898978
    Bug: https://bugs.gentoo.org/833096
    Bug: https://bugs.gentoo.org/907680
    Bug: https://bugs.gentoo.org/677876
    Bug: https://bugs.gentoo.org/927028
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Closes: https://github.com/gentoo/gentoo/pull/36690
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/openjdk/Manifest                  |   1 -
 dev-java/openjdk/openjdk-11.0.22_p7.ebuild | 312 -----------------------------
 2 files changed, 313 deletions(-)