Hello question about python 2.6 transition for packages using cdbs

Bhavani Shankar R bhavi at ubuntu.com
Fri Jun 11 07:19:12 BST 2010


On Thu, Jun 10, 2010 at 9:23 PM, Dmitrijs Ledkovs <dmitrij.ledkov at ubuntu.com>
wrote:
>
> <snip>
>
> Control & pyversions would be better =) or the whole branch the best ;-)
>
> Depends wether it's just a python package or compiled extension.
>
> Generally just a rebuild with bumped up pyversions =)
>

Hello again!

I followed your advice but it doesnt seem to work :(

Relevant Part of build log:



cd . &&   CFLAGS="-g -O2 -g -Wall -O2" CXXFLAGS="-g -O2 -g -Wall -O2"
CPPFLAGS="" LDFLAGS="-Wl,-Bsymbolic-functions"
/build/buildd/firmware-tools-2.1.10/./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/firmware-tools" --disable-maintainer-mode
--disable-dependency-tracking --disable-silent-rules --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar
checking for a BSD-compatible install... /usr/bin/install -c
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory...
${prefix}/lib/python2.6/site-packages
checking for python extension module directory...
${exec_prefix}/lib/python2.6/site-packages
configure: creating ./config.status
config.status: creating Makefile
config.status: creating pkg/firmware-tools.spec
touch debian/stamp-autotools
/usr/bin/make  -C .
make[1]: Entering directory `/build/buildd/firmware-tools-2.1.10'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/build/buildd/firmware-tools-2.1.10'
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
/usr/bin/fakeroot debian/rules binary
test -x debian/rules
dh_testroot
dh_clean -k
dh_installdirs -A
mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
/usr/bin/make  -C .  install
DESTDIR=/build/buildd/firmware-tools-2.1.10/debian/firmware-tools/
make[1]: Entering directory `/build/buildd/firmware-tools-2.1.10'
make[2]: Entering directory `/build/buildd/firmware-tools-2.1.10'
test -z "/usr/sbin" || mkdir -p --
"/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/sbin"
/usr/bin/install -c 'bin/firmwaretool'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/sbin/firmwaretool'
/usr/bin/install -c 'bin/inventory_firmware_gui'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/sbin/inventory_firmware_gui'
/usr/bin/make  install-exec-hook
make[3]: Entering directory `/build/buildd/firmware-tools-2.1.10'
for i in ; do      \
   file=/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//$i
              ;\
   for var in GETTEXT_PACKAGE PACKAGE_VERSION PACKAGE localedir libdir
libexecdir datadir sysconfdir pythondir pkgpythondir pkgdatadir pkgconfdir
pkggladedir pkglibexecdir __VERSION__ PYTHONDIR PKGDATADIR PKGGLADEDIR
SYSCONFDIR PKGPYTHONDIR DATADIR PKGCONFDIR ;\
   do \
       perl -p -i -e "s|^$var\s*=.*|$var=\"${!var}\"|"  $file;\
   done ;\
done
make[3]: Leaving directory `/build/buildd/firmware-tools-2.1.10'
test -z "/usr/share/firmware-tools" || mkdir -p --
"/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools"
/usr/bin/install -c -m 644 'ft-cli/cli.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools/cli.py'
/usr/bin/install -c -m 644 'ft-cli/ftcommands.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools/ftcommands.py'
/usr/bin/install -c -m 644 'ft-cli/ftmain.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools/ftmain.py'
/usr/bin/install -c -m 644 'ft-cli/guihelpers.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools/guihelpers.py'
Byte-compiling python modules...
cli.py ftcommands.py ftmain.py guihelpers.py
Byte-compiling python modules (optimized versions) ...
cli.py ftcommands.py ftmain.py guihelpers.py
test -z "/etc/firmware/" || mkdir -p --
"/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//etc/firmware/"
/usr/bin/install -c -m 644 'etc/firmware/firmware.conf'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//etc/firmware//firmware.conf'
test -z "/usr/share/firmware-tools" || mkdir -p --
"/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools"
/usr/bin/install -c -m 644 'glade/inventory_firmware_gui.glade'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/share/firmware-tools/inventory_firmware_gui.glade'
mkdir -p $(dirname firmwaretools/generated/__init__.py) ||:
cp firmwaretools/__init__.py firmwaretools/generated/__init__.py
for var in GETTEXT_PACKAGE PACKAGE_VERSION PACKAGE localedir libdir
libexecdir datadir sysconfdir pythondir pkgpythondir pkgdatadir pkgconfdir
pkggladedir pkglibexecdir __VERSION__ PYTHONDIR PKGDATADIR PKGGLADEDIR
SYSCONFDIR PKGPYTHONDIR DATADIR PKGCONFDIR ;\
do \
perl -p -i -e "s|^$var\s*=.*|$var=\"${!var}\"|"
 firmwaretools/generated/__init__.py;\
done
test -z "/usr/lib/python2.6/site-packages/firmwaretools" || mkdir -p --
"/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools"
/usr/bin/install -c -m 644 'firmwaretools/bootstrap_pci.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/bootstrap_pci.py'
/usr/bin/install -c -m 644 'firmwaretools/dep_parser.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/dep_parser.py'
/usr/bin/install -c -m 644 'firmwaretools/errors.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/errors.py'
/usr/bin/install -c -m 644 'firmwaretools/i18n.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/i18n.py'
/usr/bin/install -c -m 644 'firmwaretools/mockpackage.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/mockpackage.py'
/usr/bin/install -c -m 644 'firmwaretools/mockrepository.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/mockrepository.py'
/usr/bin/install -c -m 644 'firmwaretools/package.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/package.py'
/usr/bin/install -c -m 644 'firmwaretools/plugins.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/plugins.py'
/usr/bin/install -c -m 644 'firmwaretools/ply_lex.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/ply_lex.py'
/usr/bin/install -c -m 644 'firmwaretools/ply_yacc.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/ply_yacc.py'
/usr/bin/install -c -m 644 'firmwaretools/pycompat.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/pycompat.py'
/usr/bin/install -c -m 644 'firmwaretools/repository.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/repository.py'
/usr/bin/install -c -m 644 'firmwaretools/trace_decorator.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/trace_decorator.py'
/usr/bin/install -c -m 644 'firmwaretools/peak_util_decorators.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/peak_util_decorators.py'
/usr/bin/install -c -m 644 'firmwaretools/compat_subprocess.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/compat_subprocess.py'
/usr/bin/install -c -m 644 'firmwaretools/generated/__init__.py'
'/build/buildd/firmware-tools-2.1.10/debian/firmware-tools//usr/lib/python2.6/site-packages/firmwaretools/__init__.py'


Attached is the control file for your reference

Thanks in advance for your help!

Regards
--
Bhavani Shankar.R
https://launchpad.net/~bhavi, a proud ubuntu community  member.
What matters in life is application of mind!,
It makes great sense to have some common sense..!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20100611/782f2c94/attachment-0001.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: control
Type: application/octet-stream
Size: 988 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20100611/782f2c94/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pyversions
Type: application/octet-stream
Size: 4 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-motu-mentors/attachments/20100611/782f2c94/attachment-0003.obj 


More information about the Ubuntu-motu-mentors mailing list