When should Python 3.3 become the default?
Scott Kitterman
ubuntu at kitterman.com
Sat Oct 20 06:19:04 UTC 2012
On Friday, October 19, 2012 07:05:23 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.
>
> dbus-python dies with 3.3 too:
>
> checking whether gcc and cc understand -c and -o together... yes
> checking whether /usr/bin/python3.3-dbg version >= 2.6... configure: error:
> too old
> dh_auto_configure: ../configure --build=i686-linux-gnu --prefix=/usr --
> includedir=${prefix}/include --mandir=${prefix}/share/man --
> infodir=${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --
> libdir=${prefix}/lib/i386-linux-gnu
> --libexecdir=${prefix}/lib/i386-linux-gnu -- disable-maintainer-mode
> --disable-dependency-tracking
> PYTHON=/usr/bin/python3.3-dbg --disable-api-docs --disable-html-docs --
> libdir=/usr/lib returned exit code 127
> make[1]: *** [override_dh_auto_configure-arch] Error 2
Nevermind. It worked the next time I tried it.
Scott K
More information about the ubuntu-devel
mailing list