#583988 buildd: FTBFS if dh_quilt_patch/dh_quilt_unpatch in override_dh_auto_clean target

#583988#5
Date:
2010-05-31 22:59:49 UTC
From:
To:
I see that lwjgl FTBFS on all archs. Below buildd output from
https://buildd.debian.org/fetch.cgi?pkg=lwjgl;ver=2.4.2%2Bdfsg-1;arch=i386;stamp=1275308900

I had added dh_quilt_patch/dh_quilt_unpatch to clean target because applied patches were needed by "ant clean".
I'll upload soon a different clean target that should works.

I don't know whether it's a buildd limitation or I'm wrong. This bug for the record.


[...]
dpkg-buildpackage
─────────────────

dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: source package lwjgl
dpkg-buildpackage: source version 2.4.2+dfsg-1
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
dh clean
   dh_testdir
   debian/rules override_dh_auto_clean
make[1]: Entering directory `/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg'
find src/native/ -name '*org_lwjgl_*.h' -delete
dh_quilt_patch && ant clean && dh_quilt_unpatch
File series fully applied, ends at patch 02systemjinput
Buildfile: /build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg/build.xml

clean-generated:

clean:

BUILD SUCCESSFUL
Total time: 0 seconds
Removing patch 02systemjinput
Restoring build.xml

Removing patch 01allarchs
Restoring platform_build/linux_ant/build.xml

Removing patch 00nomacosx
Restoring build.xml
Restoring platform_build/build-applet.xml
Restoring src/java/org/lwjgl/MacOSXSysImplementation.java
Restoring src/java/org/lwjgl/opengl/MacOSXDisplay.java

No patches applied
rm -f libs/*.jar libs/linux/*
make[1]: Leaving directory `/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg'
   dh_clean
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg'
ant jars
Buildfile: /build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg/build.xml

BUILD FAILED
/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg/build.xml:7: The following error occurred while executing this line:
/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg/platform_build/build-applet.xml:4: taskdef class com.sun.tools.apache.ant.pack200.Pack200Task cannot be found
 using the classloader AntClassLoader[/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/xmlParserAPIs.jar:/usr/share/java/xercesImpl.jar:/usr/share/ant/lib/ant-apache-xalan2.jar:/usr/share/ant/lib/ant-apache-bsf.jar:/usr/share/ant/lib/ant-swing.jar:/usr/share/ant/lib/ant-apache-bcel.jar:/usr/share/ant/lib/ant-trax.jar:/usr/share/ant/lib/ant-jsch.jar:/usr/share/ant/lib/ant-apache-regexp.jar:/usr/share/ant/lib/ant-antlr.jar:/usr/share/ant/lib/ant-nodeps.jar:/usr/share/ant/lib/ant-apache-oro.jar:/usr/share/ant/lib/ant-jmf.jar:/usr/share/ant/lib/ant-junit.jar:/usr/share/ant/lib/ant-stylebook.jar:/usr/share/ant/lib/ant-javamail.jar:/usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-commons-net.jar:/usr/share/ant/lib/ant-apache-resolver.jar:/usr/share/ant/lib/ant-commons-logging.jar:/usr/share/ant/lib/ant-apache-log4j.jar:/usr/share/ant/lib/ant-jdepend.jar:/usr/lib/jvm/java-6-openjdk/lib/tools.jar]

Total time: 0 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/build/buildd-lwjgl_2.4.2+dfsg-1-i386-LRYqQ6/lwjgl-2.4.2+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20100531-1228
FAILED [dpkg-buildpackage died]
────────────────────────────────────────────────────────────────────────────────
[...]

#583988#10
Date:
2010-06-01 19:22:31 UTC
From:
To:
buildd runs sbuild to build the package.  sbuild essentially just
installs the build dependencies and calls dpkg-buildpackage.

Can you build the package in a clean chroot environment on your
own system with sbuild (or pbuilder)?

If you start with the .dsc, can you unpack it with
'dpkg-source -x' and then build it with dpkg-buildpackage?


Regards,
Roger

#583988#15
Date:
2010-06-01 20:36:55 UTC
From:
To:
With both *-buildpackage and pbuilder on amd64, 2.4.2-1 version built as
fine as 2.4.2-2 I've just uploaded.
At the moment 2.4.2-2 has successfully built on s390,sparc and i386.

With sbuild on amd64, before file this bug, I reproduced that behavior
on my own.

You can reproduce it trying to sbuild 2.4.2-1 version. It seems it
doesn't like dh_quilt_patch/dh_quilt_unpatch in override_dh_auto_clean
target.


Cheers,
Gabriele

#583988#20
Date:
2010-12-12 19:24:00 UTC
From:
To:
Hi,

Is this still an issue?  I saw you had made some more uploads in the
meantime.  Was this a bug in your package, and if so can this bug be
closed?


Thanks,
Roger

#583988#25
Date:
2010-12-18 14:30:38 UTC
From:
To:
It's never been a bug in my package. As written months ago, it had built
fine on *-buildpackage and pbuilder.
Probably it can still be reproduced/debugged, getting lwjgl 2.4.2-1 from
snapshot.d.o.


Cheers,
Gabriele