Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 489880

Summary: =dev-java/icedtea-6.1.12.6: should DEPEND on x11-libs/libXt
Product: Gentoo Linux Reporter: cyberbat <cyberbat83>
Component: [OLD] JavaAssignee: Andrew John Hughes <gnu_andrew>
Status: RESOLVED FIXED    
Severity: normal CC: bertrand, caster, java, proxy-maint, tesoro302
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log
emerge --info
config.log

Description cyberbat 2013-10-30 14:09:05 UTC
When installing 
dev-java/icedtea-6.1.12.6 USE="jbootstrap pax_kernel"

I got
configure:12643: checking for XT
configure:12650: $PKG_CONFIG --exists --print-errors "xt"
Package xt was not found in the pkg-config search path.
Perhaps you should add the directory containing `xt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xt' found
configure:12653: $? = 1
configure:12667: $PKG_CONFIG --exists --print-errors "xt"
Package xt was not found in the pkg-config search path.
Perhaps you should add the directory containing `xt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'xt' found
configure:12670: $? = 1
configure:12684: result: no
No package 'xt' found
configure:12714: error: Could not find Xt -   Try installing libXt-devel.
Comment 1 Bertrand Jacquin 2014-02-01 14:19:14 UTC
Created attachment 369248 [details]
build.log
Comment 2 Bertrand Jacquin 2014-02-01 14:19:54 UTC
Created attachment 369250 [details]
emerge --info
Comment 3 forrestfunk81 2014-02-15 12:42:26 UTC
Created attachment 370476 [details]
config.log
Comment 4 forrestfunk81 2014-02-15 12:45:12 UTC
Same for dev-java/icedtea-6.1.13.1

But it compiles after emerging x11-libs/libXt
Comment 5 Sergey Popov gentoo-dev 2014-02-22 06:04:38 UTC
*** Bug 497450 has been marked as a duplicate of this bug. ***
Comment 6 Jakub Jirutka 2014-03-11 09:40:51 UTC
Same for dev-java/icedtea-7.2.4.5.
Comment 7 Guido Winkelmann 2014-08-11 20:08:59 UTC
I have a similar problem with dev-java/icedtea-7.2.4.7

The build stops with error message

checking for XT... no
configure: error: Could not find Xt -   Try installing libXt-devel.
Comment 8 Andrew John Hughes 2014-08-12 17:32:41 UTC
I've fixed this in the java overlay:

git://git.overlays.gentoo.org/proj/java.git

for 6.9999, 7.9999, 6.1.13.4, 7.2.4.8 and 7.2.5.1. The dependency is gone in 3.x / OpenJDK 8, thanks to 6996921.

The versions mentioned in this bug are very dated and prone to security issues. For 6, you should be using 1.13.4. For 7, either 2.4.8 or 2.5.1 (preferably the latter).

1.12.x is no longer supported at all, and 1.13.1 & 2.4.7 has known security issues.
Comment 9 James Le Cuirot gentoo-dev 2015-09-01 22:58:07 UTC
This fix went into the tree ages ago.