When should Python 3.3 become the default?

Scott Kitterman ubuntu at kitterman.com
Fri Oct 19 23:55:37 UTC 2012


On Friday, October 19, 2012 06:54:09 PM Scott Kitterman wrote:
> On Friday, October 19, 2012 01:43:24 PM Barry Warsaw wrote:
> > On Oct 19, 2012, at 12:30 AM, Scott Kitterman wrote:
> > >I think the current patch is not sufficient.
> > >
> > >https://launchpadlibrarian.net/120110060/buildlog_ubuntu-quantal-i386.pyt
> > >ho
> > >n- qt4_4.9.3-4%2Btest1_FAILEDTOBUILD.txt.gz
> > >
> > >I didn't investigate why.  That's with python3-defaults from quantal +
> > >your
> > >patch and adding 3.3 as a supported version.
> > 
> > I get a different failure:
> > 
> > dh_testdir
> > mkdir -p build-3.3
> > cd build-3.3 && python3.3 ../configure.py --confirm-license --verbose -q
> > /usr/bin/qmake-qt4 -c -j 10 LIBDIR_QT=/usr/lib STRIP="" MOC=moc-qt4
> > LIBS_OPENGL="" LIBS_X11="" LIBS_THREAD="" CFLAGS="" CFLAGS_RELEASE=" -g
> > -O2
> > -fstack-protector --param=ssp-buffer-size=4 -Wformat
> > -Werror=format-security  -D_FORTIFY_SOURCE=2" LFLAGS="" CXXFLAGS_RELEASE="
> > -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat
> > -Werror=format-security  -D_FORTIFY_SOURCE=2" LFLAGS_RELEASE="
> > -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-O1" \ -m
> > /usr/lib/python3.3/config \
> > 
> > 			-d /usr/lib/python3.3/dist-packages \
> > 			--dbus /usr/include/dbus-1.0 \
> > 			--no-designer-plugin
> > 
> > Usage: python configure.py [opts] [macro=value] [macro+=value]
> > 
> > configure.py: error: '/usr/lib/python3.3/config' is not a directory
> > make: *** [build-3.3/configure-stamp] Error 2
> > dpkg-buildpackage: error: debian/rules build gave error exit status 2
> > 
> > but I'll keep investigating.
> 
> Looks like a python3.3 bug to me perhaps:
> 
> $ ls /usr/lib/python3.2/config Makefile  Setup  Setup.config  Setup.local
> config.c  config.c.in  install-sh  libpython3.2.so  libpython3.2mu-pic.a
> libpython3.2mu.a  libpython3.2mu.so  makesetup  python.o
> 
> $ ls /usr/lib/python3.3/config
> ls: cannot access /usr/lib/python3.3/config: No such file or directory

Multiarch:

$ ls /usr/lib/python3.3/config-3.3dm-i386-linux-gnu/
Makefile  Setup  Setup.config  Setup.local  config.c  config.c.in  install-sh  
libpython3.3.so  libpython3.3dm.a  libpython3.3dm.so  makesetup  python.o

Scott K



More information about the ubuntu-devel mailing list