Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 176334 - net-misc/mDNSResponder-107.6 fails to build with JAVA_PKG_STRICT enabled
Summary: net-misc/mDNSResponder-107.6 fails to build with JAVA_PKG_STRICT enabled
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-28 10:18 UTC by Marat Radchenko
Modified: 2007-04-28 15:12 UTC (History)
3 users (show)

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


Attachments
mDNSResponder-107.6-r3.ebuild.patch (mDNSResponder-107.6-r3.ebuild.patch,1.95 KB, patch)
2007-04-28 13:35 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff
files/mDNSResponder-107.6-java.patch (mDNSResponder-107.6-java.patch,1.75 KB, patch)
2007-04-28 13:36 UTC, Krzysztof Pawlik (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Marat Radchenko 2007-04-28 10:18:13 UTC
to reproduce:
echo "JAVA_PKG_STRICT=1" >> /etc/make.conf && emerge =net-misc/mDNSResponder-107.6.

error message:
 * Incorrect bytecode version found
 * in file: /var/tmp/portage/net-misc/mDNSResponder-107.6/work/mDNSResponder-107.6/mDNSPosix/build/prod/dns_sd.jar

reason:
java doesn't receive -source and -target parameters.

to fix:
java must receive $(java-pkg_javac-args) arguments.
Comment 1 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-28 10:34:14 UTC
Java team, I have not so much energie to sort out this jdk compat crap, would you, please!? :)
Comment 2 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-28 13:35:35 UTC
Created attachment 117483 [details, diff]
mDNSResponder-107.6-r3.ebuild.patch

patch for ebuild
Comment 3 Krzysztof Pawlik (RETIRED) gentoo-dev 2007-04-28 13:36:05 UTC
Created attachment 117484 [details, diff]
files/mDNSResponder-107.6-java.patch

patch for mDNSResponder make files
Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2007-04-28 15:12:12 UTC
Merci Krzysiek!