FTBFS in natty

Bug #684983 reported by Matthias Klose on 2010-12-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libubuntuone (Ubuntu)
Rodrigo Moya
Rodrigo Moya

Bug Description

touch debian/stamp-makefile-build
make -C build-python2.6/bindings/python
make[1]: Entering directory `/scratch/packages/tmp/libubuntuone-0.3.8/build-python2.6/bindings/python'
cd ../.. && make am--refresh
make[2]: Entering directory `/scratch/packages/tmp/libubuntuone-0.3.8/build-python2.6'
/bin/bash ./config.status --recheck
running CONFIG_SHELL=/bin/bash /bin/bash /scratch/packages/tmp/libubuntuone-0.3.8/./configure --build=i686-linux-gnu --prefix=/usr --includedir=${prefix}/include --mandir=${prefix}/share/man --infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --libexecdir=${prefix}/lib/libubuntuone --disable-maintainer-mode --disable-dependency-tracking --disable-silent-rules --srcdir=. --srcdir=.. build_alias=i686-linux-gnu CFLAGS=-g -O2 -g -Wall -O2 LDFLAGS=-Wl,-Bsymbolic-functions CPPFLAGS= --no-create --no-recursion
configure: WARNING: unrecognized options: --disable-maintainer-mode, --disable-silent-rules
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: error: source directory already configured; run "make distclean" there first
make[2]: *** [config.status] Error 1
make[2]: Leaving directory `/scratch/packages/tmp/libubuntuone-0.3.8/build-python2.6'
make[1]: *** [../../config.status] Error 2
make[1]: Leaving directory `/scratch/packages/tmp/libubuntuone-0.3.8/build-python2.6/bindings/python'
make: *** [build-stamp-python2.6] Error 2

it is first built with srcdir == builddir, and then for the supported python versions with srcdir != builddir. To have this work, you have to do all builds with srcdir != builddir.

both python2.6 and python2.7 are now supported

Related branches

Matthias Klose (doko) on 2010-12-03
Changed in libubuntuone (Ubuntu):
assignee: nobody → Ubuntu One (ubuntuone)
importance: Undecided → High
milestone: none → natty-alpha-2
status: New → Confirmed
Barry Warsaw (barry) on 2010-12-03
tags: added: python27
Changed in libubuntuone (Ubuntu Natty):
assignee: Ubuntu One (ubuntuone) → Rodrigo Moya (rodrigo-moya)
Changed in libubuntuone (Ubuntu Natty):
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libubuntuone - 0.3.8-0ubuntu4

libubuntuone (0.3.8-0ubuntu4) natty; urgency=low

  * debian/rules:
    - Use separate build dirs for all the builds, so that we can build ok when
      different Python versions are installed (LP: #684983)
 -- Rodrigo Moya <email address hidden> Thu, 09 Dec 2010 16:30:31 +0100

Changed in libubuntuone (Ubuntu Natty):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers