Bug#593046: python3.1: FTBFS: tests hang (try to use network?)

2010-08-24 Thread Lucas Nussbaum
On 23/08/10 at 10:50 +0200, Matthias Klose wrote:
> no, it's not the network, a threading test does hang. I cannot reproduce this 
> one.
> 
> the packaging is prepared to exclude the network test, when run on a buildd:
> 
> on_buildd := $(shell [ -f /CurrentlyBuilding -o "$$LOGNAME" = buildd ] && 
> echo yes)
> 
> could you adjust this check, or configure your builds in such a way
> that the test succeeds?

I think that the consensus is that tests using the network should be
disabled by default:
21:16 < lucas> is there a reliable way for a package to determine that it is 
being built on a buildd ?
21:16 < lucas> doko uses [ -f /CurrentlyBuilding -o "$$LOGNAME" = buildd ]
21:17 < jcristau> is there a non-crazy reason for a package to care?
21:18 < lucas> disable tests that use the network, for example
21:19 < jcristau> those should always be disabled, not just on buildds
21:19 < aba> lucas: /CurrentlyBuilding is ubuntu.
21:20 < aba> we could standardize something like an additional target 
extended-tests, but being on the buildd shouldn't change anything.

Wouldn't it be possible to do it the other way around, i.e enable those
tests when detecting that you are the one building the package, for
example?

- Lucas



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#593046: python3.1: FTBFS: tests hang (try to use network?)

2010-08-23 Thread Matthias Klose

no, it's not the network, a threading test does hang. I cannot reproduce this 
one.

the packaging is prepared to exclude the network test, when run on a buildd:

on_buildd := $(shell [ -f /CurrentlyBuilding -o "$$LOGNAME" = buildd ] && echo 
yes)

could you adjust this check, or configure your builds in such a way that the 
test succeeds?



On 15.08.2010 09:45, Lucas Nussbaum wrote:

Source: python3.1
Version: 3.1.2+20100707-1
Severity: serious
Tags: squeeze sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:

make[1]: Entering directory 
`/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/build-static'
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/ast.o ../Python/ast.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/compile.o ../Python/compile.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/graminit.o 
../Python/graminit.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. 
-IInclude -I../Include   -DPy_BUILD_CORE -o Python/symtable.o 
../Python/symtable.c
gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  -I. -IInclude 
-I../Include   -DPy_BUILD_CORE -DSVNVERSION="\"`LC_ALL=C echo Unversioned 
directory`\"" -o Modules/getbuildinfo.o ../Modules/getbuildinfo.c
rm -f libpython3.1.a
ar rc libpython3.1.a Modules/getbuildinfo.o
ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o 
Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o 
Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o 
Parser/myreadline.o Parser/tokenizer.o
ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o 
Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o 
Objects/cellobject.o Objects/classobject.o Objects/cobject.o 
Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o 
Objects/enumobject.o Objects/exceptions.o Objects/genobject.o 
Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o 
Objects/funcobject.o Objects/iterobject.o Objects/listobject.o 
Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o 
Objects/methodobject.o Objects/moduleobject.o Objects/object.o 
Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o Objects/setobject.o 
Objects/sliceobject.o Objects/structseq.o Objects/tupleobject.o 
Objects/typeobject.o Objects/unicodeobject.o Objects/unicodectype.o 
Objects/weakrefobject.o
ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o 
Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o 
Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o 
Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o 
Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o 
Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o 
Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o 
Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o 
Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o 
Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o 
Python/formatter_unicode.o Python/dynload_shlib.o   Python/thread.o
ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o 
Modules/gcmodule.o
ar rc libpython3.1.a Modules/_threadmodule.o  Modules/signalmodule.o  
Modules/arraymodule.o  Modules/cmathmodule.o  Modules/mathmodule.o  
Modules/_struct.o  Modules/timemodule.o  Modules/operator.o  
Modules/_randommodule.o  Modules/_collectionsmodule.o  
Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/_elementtree.o  
Modules/_pickle.o  Modules/datetimemodule.o  Modules/_bisectmodule.o  
Modules/_heapqmodule.o  Modules/unicodedata.o  Modules/fcntlmodule.o  
Modules/spwdmodule.o  Modules/grpmodule.o  Modules/selectmodule.o  
Modules/socketmodule.o  Modules/_ssl.o  Modules/_hashopenssl.o  
Modules/syslogmodule.o  Modules/binascii.o  Modules/_ctypes.o 
Modules/callbacks.o Modules/callproc.o Modules/stgdict.o Modules/cfield.o 
Modules/malloc_closure.o  Modules/zlibmodule.o  Modules/xmlparse.o 
Modules/xmlrole.o Modules/xmltok.o Modules/pyexpat.o  Modules/posixmodule.o  
Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  
Modules/_codecsmodule.o  Modules/_weakref.o  Mo

dules/_functoolsmodule.o  Modules/_localemodule.o  Modules/_iomodule.o 
Modules/iobase.o Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o 
Modules/textio.o Modules/stringio.o  Modules/zipimport.o  
Modules/symtablemodule.o  Modules/xxsubtype.o

ranlib libpython3.1.a
gcc -pthread  -Xlinker -expo

Bug#593046: python3.1: FTBFS: tests hang (try to use network?)

2010-08-15 Thread Lucas Nussbaum
Source: python3.1
Version: 3.1.2+20100707-1
Severity: serious
Tags: squeeze sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20100815 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> make[1]: Entering directory 
> `/build/user-python3.1_3.1.2+20100707-1-amd64-x5C2LE/python3.1-3.1.2+20100707/build-static'
> gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  
> -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Python/ast.o ../Python/ast.c
> gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  
> -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Python/compile.o 
> ../Python/compile.c
> gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  
> -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Python/graminit.o 
> ../Python/graminit.c
> gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  
> -I. -IInclude -I../Include   -DPy_BUILD_CORE -o Python/symtable.o 
> ../Python/symtable.c
> gcc -pthread -c  -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes  
> -I. -IInclude -I../Include   -DPy_BUILD_CORE -DSVNVERSION="\"`LC_ALL=C echo 
> Unversioned directory`\"" -o Modules/getbuildinfo.o ../Modules/getbuildinfo.c
> rm -f libpython3.1.a
> ar rc libpython3.1.a Modules/getbuildinfo.o
> ar rc libpython3.1.a Parser/acceler.o Parser/grammar1.o Parser/listnode.o 
> Parser/node.o Parser/parser.o Parser/parsetok.o Parser/bitset.o 
> Parser/metagrammar.o Parser/firstsets.o Parser/grammar.o Parser/pgen.o 
> Parser/myreadline.o Parser/tokenizer.o
> ar rc libpython3.1.a Objects/abstract.o Objects/boolobject.o 
> Objects/bytes_methods.o Objects/bytearrayobject.o Objects/bytesobject.o 
> Objects/cellobject.o Objects/classobject.o Objects/cobject.o 
> Objects/codeobject.o Objects/complexobject.o Objects/descrobject.o 
> Objects/enumobject.o Objects/exceptions.o Objects/genobject.o 
> Objects/fileobject.o Objects/floatobject.o Objects/frameobject.o 
> Objects/funcobject.o Objects/iterobject.o Objects/listobject.o 
> Objects/longobject.o Objects/dictobject.o Objects/memoryobject.o 
> Objects/methodobject.o Objects/moduleobject.o Objects/object.o 
> Objects/obmalloc.o Objects/capsule.o Objects/rangeobject.o 
> Objects/setobject.o Objects/sliceobject.o Objects/structseq.o 
> Objects/tupleobject.o Objects/typeobject.o Objects/unicodeobject.o 
> Objects/unicodectype.o Objects/weakrefobject.o
> ar rc libpython3.1.a Python/_warnings.o Python/Python-ast.o Python/asdl.o 
> Python/ast.o Python/bltinmodule.o Python/ceval.o Python/compile.o 
> Python/codecs.o Python/errors.o Python/frozen.o Python/frozenmain.o 
> Python/future.o Python/getargs.o Python/getcompiler.o Python/getcopyright.o 
> Python/getplatform.o Python/getversion.o Python/graminit.o Python/import.o 
> Python/importdl.o Python/marshal.o Python/modsupport.o Python/mystrtoul.o 
> Python/mysnprintf.o Python/peephole.o Python/pyarena.o Python/pyctype.o 
> Python/pyfpe.o Python/pymath.o Python/pystate.o Python/pythonrun.o 
> Python/structmember.o Python/symtable.o Python/sysmodule.o Python/traceback.o 
> Python/getopt.o Python/pystrcmp.o Python/pystrtod.o Python/dtoa.o 
> Python/formatter_unicode.o Python/dynload_shlib.o   Python/thread.o
> ar rc libpython3.1.a Modules/config.o Modules/getpath.o Modules/main.o 
> Modules/gcmodule.o 
> ar rc libpython3.1.a Modules/_threadmodule.o  Modules/signalmodule.o  
> Modules/arraymodule.o  Modules/cmathmodule.o  Modules/mathmodule.o  
> Modules/_struct.o  Modules/timemodule.o  Modules/operator.o  
> Modules/_randommodule.o  Modules/_collectionsmodule.o  
> Modules/itertoolsmodule.o  Modules/atexitmodule.o  Modules/_elementtree.o  
> Modules/_pickle.o  Modules/datetimemodule.o  Modules/_bisectmodule.o  
> Modules/_heapqmodule.o  Modules/unicodedata.o  Modules/fcntlmodule.o  
> Modules/spwdmodule.o  Modules/grpmodule.o  Modules/selectmodule.o  
> Modules/socketmodule.o  Modules/_ssl.o  Modules/_hashopenssl.o  
> Modules/syslogmodule.o  Modules/binascii.o  Modules/_ctypes.o 
> Modules/callbacks.o Modules/callproc.o Modules/stgdict.o Modules/cfield.o 
> Modules/malloc_closure.o  Modules/zlibmodule.o  Modules/xmlparse.o 
> Modules/xmlrole.o Modules/xmltok.o Modules/pyexpat.o  Modules/posixmodule.o  
> Modules/errnomodule.o  Modules/pwdmodule.o  Modules/_sre.o  
> Modules/_codecsmodule.o  Modules/_weakref.o  Modules/_functoolsmodule.o  
> Modules/_localemodule.o  Modules/_iomodule.o Modules/iobase.o 
> Modules/fileio.o Modules/bytesio.o Modules/bufferedio.o Modules/textio.o 
> Modules/stringio.o  Modules/zipimport.o  Modules/symtablemodule.o  
> Modules/xxsubtype.o
> ranlib libpython3.1.a
> gcc -pthread  -Xlinker -export-dynamic -Wl,-O1 -Wl,-Bsymbolic-functions -o 
> python \
>   Modules/python.o \
>   libpython3.1.a -lpthread -ldl  -lutil -lssl -lcrypto  
> -lssl -lcrypto-Wl,-Bstatic -lffi -Wl,-Bdynamic  -L/usr/lib -lz