Hulahop build gives error on ubuntu 9.10

Bug #526543 reported by wgw
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sugar-hulahop (Ubuntu)
Triaged
Low
Unassigned

Bug Description

python-hulahop_0.4.9-1ubuntu2

ubuntu 9.10

bill@bill-laptop:~/build-hulahop/hulahop-0.4.9$ apt-cache policy python-hulahop
python-hulahop:
  Installed: 0.4.9-1ubuntu2
  Candidate: 0.4.9-1ubuntu2
  Version table:
 *** 0.4.9-1ubuntu2 0
        500 http://ca.archive.ubuntu.com karmic/universe Packages
        100 /var/lib/dpkg/status

Build crashing

Did this:

$ mkdir ~/build-hulahop
$ cd ~/build-hulahop
$ sudo apt-get build-dep python-hulahop
$ sudo apt-get -b source python-hulahop
$cd python-hulahop
$sudo autoreconf
$sudo debuild -us -uc

Got this:

bill@bill-laptop:~/build-hulahop/sugar-hulahop-0.4.9$ sudo debuild -us -uc
 dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package sugar-hulahop
dpkg-buildpackage: source version 0.4.9-1ubuntu2
dpkg-buildpackage: source changed by Alexander Sack <email address hidden>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rmdir build
rmdir: failed to remove `build': Directory not empty
make: [cleanbuilddir] Error 1 (ignored)
/usr/bin/make -C build/2.5 -k distclean
make[1]: Entering directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9/build/2.5'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9/build/2.5'
make: [makefile-clean/2.5] Error 2 (ignored)
rm -f debian/stamp-makefile-build/2.5 debian/stamp-makefile-install/2.5
rm -f debian/stamp-makefile-check/2.5
rmdir --ignore-fail-on-non-empty build/2.5
rm -f debian/stamp-autotools/2.5
/usr/bin/make -C build/2.6 -k distclean
make[1]: Entering directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9/build/2.6'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9/build/2.6'
make: [makefile-clean/2.6] Error 2 (ignored)
rm -f debian/stamp-makefile-build/2.6 debian/stamp-makefile-install/2.6
rm -f debian/stamp-makefile-check/2.6
rmdir --ignore-fail-on-non-empty build/2.6
rm -f debian/stamp-autotools/2.6
rmdir --ignore-fail-on-non-empty debian/stamp-makefile-build debian/stamp-makefile-install
rmdir: failed to remove `debian/stamp-makefile-build': No such file or directory
rmdir: failed to remove `debian/stamp-makefile-install': No such file or directory
make: [makefile-clean] Error 1 (ignored)
rmdir --ignore-fail-on-non-empty debian/stamp-autotools
rmdir: failed to remove `debian/stamp-autotools': No such file or directory
make: [makefile-clean] Error 1 (ignored)
for file in Makefile.in aclocal.m4 components/Makefile.in configure data/Makefile.in data/chrome/Makefile.in ltmain.sh python/Makefile.in src/Makefile.in; do \
  [ ! -e $file.upstream ] || mv -f $file.upstream $file; \
 done
rm -f debian/stamp-upstreamtmpstuff
rm -f m4/libtool.m4 m4/ltoptions.m4 m4/ltsugar.m4 m4/ltversion.m4 m4/lt~obsolete.m4
for i in ./config.guess ./config.sub ; do \
  if test -e $i.cdbs-orig ; then \
   mv $i.cdbs-orig $i ; \
  fi ; \
 done
rm -f debian/stamp-copyright-check
/usr/bin/make -f debian/rules reverse-config
make[1]: Entering directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9'
for i in ./config.guess ./config.sub ; do \
  if test -e $i.cdbs-orig ; then \
   mv $i.cdbs-orig $i ; \
  fi ; \
 done
make[1]: Leaving directory `/home/bill/build-hulahop/sugar-hulahop-0.4.9'
if [ -d "." ]; then \
   cd . && QUILT_PATCHES=/home/bill/build-hulahop/sugar-hulahop-0.4.9/debian/patches quilt --quiltrc /dev/null pop -a -R || test $? = 2 ; \
 fi
Patch 1002_python2.6.patch does not remove cleanly (refresh it or enforce with -f)
make: *** [reverse-patches] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
debuild: fatal error at line 1334:
dpkg-buildpackage -rfakeroot -D -us -uc failed

Revision history for this message
Luke Faraone (lfaraone) wrote :

"sudo apt-get -b source" builds the package after downloading it. When I attempted this, I did not get an error. The error only occurs after subsiquent rebuilds.

The issue is related to the fact that the ./configure script is regenerated. Therefore, either the patch to the script should be dropped, or the configure script regeneration in debian/rules should be dropped.

Changed in sugar-hulahop (Ubuntu):
importance: Undecided → Low
status: New → Triaged
Revision history for this message
wgw (wgwinder) wrote :

Could you suggest a temporary work around?

Thanks!

Revision history for this message
Luke Faraone (lfaraone) wrote :

Well, the package is already built by "apt-get -b source", which builds the binaries etc.

If you just do "apt-get source hulahop; cd <the resulting directory>; <optionally make your changes>; debuild -us -uc", you should be fine.

Revision history for this message
wgw (wgwinder) wrote :

I am trying to use the workaround described in Bug #390475.

which means:

$ mkdir ~/build-hulahop
$ cd ~/build-hulahop
$ sudo apt-get build-dep python-hulahop
$ sudo apt-get source python-hulahop
$cd sugar-hulahop-0.4.9
$sudo autoreconf
$sudo debuild -us -uc

and I get the same build error: dpkg-buildpackage -rfakeroot -D -us -uc failed

it does produce a ../sugar-hulahop_0.4.9-1ubuntu2_i386.build, but that is not a .deb so I'm assuming it isn't completing the package building.

So, still stuck. Probably that autoreconf....?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.