Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 830812 - dev-java/jna-5.10.0 fails to compile: [exec] jawt_md.h:31:10: fatal error: Intrinsic.h: No such file or directory
Summary: dev-java/jna-5.10.0 fails to compile: [exec] jawt_md.h:31:10: fatal error: In...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Java team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-01-08 21:21 UTC by Agostino Sarubbo
Modified: 2022-06-16 01:52 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,53.66 KB, text/plain)
2022-01-08 21:21 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 2022-01-08 21:21:36 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-java/jna-5.10.0 fails to compile.
Discovered on: amd64 (internal ref: ci)

NOTE:
If you think this is a GCC-11 related issue, please block bug 732706.
Comment 1 Agostino Sarubbo gentoo-dev 2022-01-08 21:21:38 UTC
CC'ing also the author of the commit (9eb362c301c9ca8a1968867436506860ac11a759)
Comment 2 Agostino Sarubbo gentoo-dev 2022-01-08 21:21:39 UTC
Created attachment 761652 [details]
build.log

build log and emerge --info
Comment 3 Agostino Sarubbo gentoo-dev 2022-01-08 21:21:40 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


     [exec] /opt/openjdk-bin-8.312_p07/jre/../include/linux/jawt_md.h:31:10: fatal error: X11/Intrinsic.h: No such file or directory
     [exec] /opt/openjdk-bin-8.312_p07/jre/../include/linux/jawt_md.h:31:10: fatal error: X11/Intrinsic.h: No such file or directory
Comment 4 Larry the Git Cow gentoo-dev 2022-01-09 09:07:23 UTC
The bug has been closed via the following commit(s):

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

commit 1a0f8afba88fd7f3a7813c280e9d87074f5f459a
Author:     Yuan Liao <liaoyuan@gmail.com>
AuthorDate: 2022-01-08 22:30:57 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2022-01-09 09:07:17 +0000

    dev-java/jna: DEPEND on x11-libs/libXt for 5.10.0
    
    The 'awt' USE flag has not been added to 5.10.0, which is effectively
    like this USE flag is enabled by default (dev-java/jna[awt(+)]).  Bug
    830812 shows that x11-libs/libXt is still required for 5.10.0.  Another
    long-existing bug 762940 suggests that if the ebuild had the 'awt' USE
    flag and it was disabled then libXt might be redundant, but that is not
    applicable to this case.
    
    As of the commit time, based on experiments in containers created from
    the gentoo/stage3 Docker image, declaration of x11-libs/libXt as a
    dependency would only cause 3 additional packages to be installed in a
    new copy of stage3, none of which would take a very long time to merge,
    so the benefit of making the dependency optional via the 'awt' USE flag
    might not be very significant.
    
    Bug: https://bugs.gentoo.org/762940
    Closes: https://bugs.gentoo.org/830812
    Signed-off-by: Yuan Liao <liaoyuan@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/23708
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jna/jna-5.10.0.ebuild | 1 +
 1 file changed, 1 insertion(+)
Comment 5 Dennis Nezic 2022-06-16 01:52:32 UTC
I'm being asked to install a lot more than 3 totally unecessary packages here in my headless installation:

x11-libs/xtrans
x11-base/xcb-proto
x11-base/xorg-proto
x11-libs/libICE
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libxcb
x11-libs/libSM
x11-misc/compose-tables
x11-libs/libX11
x11-libs/libXt