I am using the 0.2.5 script from here on an Ubuntu 10.04 (2.6.32-38 x86_64) machine to build the java6 package and I'm running into an error while building:
: # check for jars with the same content
set -e; \
for j in jre/lib/ext/dnsns.jar jre/lib/ext/localedata.jar jre/lib/im/indicim.jar jre/lib/im/thaiim.jar jre/lib/charsets.jar jre/lib/management-agent.jar jre/lib/plugin.jar jre/lib/resources.jar jre/lib/javaws.jar jre/lib/deploy.jar jre/lib/alt-rt.jar jre/lib/alt-string.jar ; do \
echo " Comparing $j ..."; \
d=${j%*.jar}; \
set -- i586 x64; a1=$1; shift; \
mkdir -p tmp-$a1/$d; \
unzip -q -d tmp-$a1/$d $a1-jdk/$j; \
for a2; do \
mkdir -p tmp-$a2/$d; \
unzip -q -d tmp-$a2/$d $a2-jdk/$j; \
if diff -ur tmp-$a1/$d tmp-$a2/$d; then \
echo " OK"; \
else \
echo " differ"; \
badjars="$badjars $j ($a1, $a2)"; \
fi; \
done; \
done; \
if [ -n "$badjars" ]; then \
echo "Differing jar files: $badjars"; \
exit 1; \
fi
Comparing jre/lib/ext/dnsns.jar ...
replace tmp-i586/jre/lib/ext/dnsns/META-INF/MANIFEST.MF? [y]es, [n]o, [A]ll, [N]one, [r]ename: NULL
(EOF or read error, treating as "[N]one" ...)
make: *** [unpack-stamp] Error 1
dpkg-buildpackage: error: debian/rules binary gave error exit status 2 29834's retcode: 2
success
This was working for me a few days ago on a different machine. Is there something in my environment setup that is causing it to ask about replacing this file during the dpkg-buildpackage (version 1.15.5.6ubuntu2) execution? I'm happy to help debug/write patches/submit pull requests to get this fixed if someone that knows more can point me in the right direction.
I am using the 0.2.5 script from here on an Ubuntu 10.04 (2.6.32-38 x86_64) machine to build the java6 package and I'm running into an error while building:
ERROR! Packages failed to build.
The last few lines of the log file are:
This was working for me a few days ago on a different machine. Is there something in my environment setup that is causing it to ask about replacing this file during the
dpkg-buildpackage
(version 1.15.5.6ubuntu2) execution? I'm happy to help debug/write patches/submit pull requests to get this fixed if someone that knows more can point me in the right direction.