Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685826 - dev-java/openjdk USE=headless-awt fails to build due to missing build-time dependencies
Summary: dev-java/openjdk USE=headless-awt fails to build due to missing build-time de...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Georgy Yakovlev
URL:
Whiteboard:
Keywords:
: 685894 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-05-13 13:00 UTC by Timo Rothenpieler
Modified: 2019-05-14 01:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Rothenpieler 2019-05-13 13:00:11 UTC
During configure of openjdk:8 with headless-awt enabled:

checking for which giflib to use... system
checking gif_lib.h usability... no
checking gif_lib.h presence... no
checking for gif_lib.h... no
configure: error: --with-giflib=system specified, but gif_lib.h not found!
configure exiting with result code 1

It only depends on giflib when headless-awt is not set, but it seems like it always needs giflib.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-05-13 18:47:40 UTC
thanks, kinda hard to catch this one with cups unconditionally required at build time which pulls all the stuff.
Comment 2 Larry the Git Cow gentoo-dev 2019-05-13 18:48:23 UTC
The bug has been closed via the following commit(s):

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

commit 65768fc431cf713397be54802f7103225ea8409c
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-13 18:45:36 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-13 18:48:06 +0000

    dev-java/openjdk: drop old :11
    
    Closes: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk/openjdk-11.0.3_p7.ebuild | 217 ------------------------------
 1 file changed, 217 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 686742972bbd09964ec138d4dd2ff752b78a8c18
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-13 18:41:30 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-13 18:48:06 +0000

    dev-java/openjdk: use system giflib for :11
    
    Bug: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../{openjdk-11.0.3_p7-r1.ebuild => openjdk-11.0.3_p7-r2.ebuild}        | 2 ++
 1 file changed, 2 insertions(+)

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

commit 8577e3540e8512f9ff98dde64cb887cbdc0398c6
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-13 18:37:42 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-13 18:48:05 +0000

    dev-java/openjdk: drop old :8
    
    Bug: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 dev-java/openjdk/openjdk-8.212_p03.ebuild | 248 ------------------------------
 1 file changed, 248 deletions(-)

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

commit 6f192409133f1a0397d7b1260bcfef11efa3da8d
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-13 18:36:48 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-13 18:48:04 +0000

    dev-java/openjdk: revbump:8, giflib always needed
    
    Bug: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../{openjdk-8.212_p03-r1.ebuild => openjdk-8.212_p03-r2.ebuild}        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Comment 3 Georgy Yakovlev archtester gentoo-dev 2019-05-13 20:16:17 UTC
you know, I went and found out X11 stuff is also needed at build time even with headless-awt.
good part is that it can be removed after build.

I'll push more fixes referencing this bug
Comment 4 Georgy Yakovlev archtester gentoo-dev 2019-05-13 23:09:56 UTC
*** Bug 685894 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2019-05-14 01:34:44 UTC
The bug has been closed via the following commit(s):

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

commit dfbf93b9445ecef61866005daa05280c55e02717
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-14 00:55:30 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-14 01:34:30 +0000

    dev-java/openjdk: rebvbump :8, fix dep issues
    
    Closes: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 ...2_p03-r2.ebuild => openjdk-8.212_p03-r3.ebuild} | 53 +++++++++++++---------
 1 file changed, 31 insertions(+), 22 deletions(-)

Additionally, it has been referenced in the following commit(s):

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

commit 53efa96b99f33de5453fcee9d75257a63f67b55d
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-14 00:40:29 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-14 01:34:30 +0000

    dev-java/openjdk: rebvbump :11, fix dep issues
    
    Rework deps, X11 is always required, even for building headless
    Unbundle more libs, namely giflib, libpng, lcms and libjpeg
    Move stuff around.
    
    Bug: https://bugs.gentoo.org/685826
    Bug: https://bugs.gentoo.org/685894
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 ....3_p7-r2.ebuild => openjdk-11.0.3_p7-r3.ebuild} | 43 ++++++++++++++--------
 1 file changed, 28 insertions(+), 15 deletions(-)

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

commit 8adf685bfbe0e138f8645af4c5995630346502ca
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-05-14 00:33:55 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-05-14 01:34:24 +0000

    dev-java/openjdk-bin: really remove libs for headless-awt
    
    Bug: https://bugs.gentoo.org/685826
    Package-Manager: Portage-2.3.66, Repoman-2.3.12
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 .../{openjdk-bin-8.191_p12.ebuild => openjdk-bin-8.191_p12-r1.ebuild}   | 2 +-
 ...{openjdk-bin-8.212_p03-r2.ebuild => openjdk-bin-8.212_p03-r3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)