Je rencontre actuellement un probl=C3=A8me lors de la tentative de r=C3=A9t=
roportage
du paquet python3 sur wheezy :
https://packages.debian.org/jessie/python3
En effet, en utilisant l'outil 'pbuilder', j'ai des erreurs lors d'une
tentative de cr=C3=A9ation du paquet :
<<
# pdebuild
...
for f in debian/*.in; do \
f2=3D`echo $f | sed "s,PVER,python3.4,g;s/@VER@/3.4/g;s,\.in$,,"`; \
if [ $f2 !=3D debian/control ] && [ $f2 !=3D debian/source.lintian-overri=
des
]; then \
rm -f $f2; \
fi; \
done
dh_clean
dpkg-source -b python3.4-3.4.2
dpkg-source: info: using source format `1.0'
dpkg-source: info: building python3.4 using existing
python3.4_3.4.2.orig.tar.gz
dpkg-source: info: building python3.4 in
python3.4_3.4.2-1~bpo60+netplus1.diff.gz
dpkg-source: warning: ignoring deletion of file configure, use
--include-removal to override
dpkg-source: info: building python3.4 in
python3.4_3.4.2-1~bpo60+netplus1.dsc
debian/rules build
cpp -E \
-DDebian \
\
-Darch_os_linux -Darch_amd64 \
-o - debian/patches/series.in \
| egrep -v '^(#.*|$)' > debian/patches/series
: # build locales needed by the testsuite
echo "pybench run disabled for this build" >
/tmp/buildd/python3.4-3.4.2/build-static/pybench.log
rm -rf locales
BEGIN pystone static
cd /tmp/buildd/python3.4-3.4.2/build-static && ./python
../Lib/test/pystone.py
/bin/bash: /tmp/buildd/python3.4-3.4.2/build-static/pybench.log: No such
file or directory
debian/rules:567: recipe for target 'stamps/stamp-pybench' failed
make: *** [stamps/stamp-pybench] Error 1
make: *** Waiting for unfinished jobs....
/bin/bash: line 0: cd: /tmp/buildd/python3.4-3.4.2/build-static: No such
file or directory
mkdir locales
debian/rules:549: recipe for target 'stamps/stamp-pystone' failed
make: *** [stamps/stamp-pystone] Error 1
if which localedef >/dev/null 2>&1; then \
sh debian/locale-gen; \
fi
...
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
( \
echo '#! /bin/sh'; \
echo 'set -x'; \
echo 'export LOCPATH=3D/tmp/buildd/python3.4-3.4.2/locales'; \
echo '/tmp/buildd/python3.4-3.4.2/build-static/python
/tmp/buildd/python3.4-3.4.2/debian/script.py test_results '\''make test
TESTOPTS=3D"-j 1 -w -uall -x test_ensurepip test_linuxaudiodev
test_ossaudiodev test_venv"'\'; \
echo 'echo DONE'; \
) > /tmp/buildd/python3.4-3.4.2/build-debug/run_tests
/bin/bash: line 6: /tmp/buildd/python3.4-3.4.2/build-debug/run_tests: No
such file or directory
debian/rules:487: recipe for target 'stamps/stamp-check' failed
make: *** [stamps/stamp-check] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
E: Failed autobuilding of package
...
>>
En effet, en essayant de me 'chrooter' au niveau du r=C3=A9pertoire de mon
environnement de pbuilder je constate que le r=C3=A9pertoire '/tmp/buildd'
existe bien.
Je tiens =C3=A0 pr=C3=A9ciser qu'avec cet environnement pbuilder je suis d=
=C3=A9j=C3=A0 parvenu
=C3=A0 cr=C3=A9er des paquets (ex: mtr ou mpdecimal).
Avez d=C3=A9j=C3=A0 eu ce genre de message ? Des conseils =C3=A0 me donner =
?
Merci d'avance.
<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:arial,he=
lvetica,sans-serif">=E2=80=8BBonjour,<br><br></div><div class=3D"gmail_defa=
ult" style=3D"font-family:arial,helvetica,sans-serif">Je rencontre actuelle=
ment un probl=C3=A8me lors de la tentative de r=C3=A9troportage du paquet p=
ython3 sur wheezy :<br><a href=3D"https://packages.debian.org/jessie/python=
3">https://packages.debian.org/jessie/python3</a><br><br></div><div class=
=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif">En effe=
t, en utilisant l'outil 'pbuilder', j'ai des erreurs lors d=
'une tentative de cr=C3=A9ation du paquet :<br><br><<<br></div><d=
iv class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif"=
># pdebuild<br>...<br>for f in debian/*.in; do \<br>=C2=A0 f2=3D`echo $f | =
sed "s,PVER,python3.4,g;s/@VER@/3.4/g;s,\.in$,,"`; \<br>=C2=A0 if=
[ $f2 !=3D debian/control ] && [ $f2 !=3D debian/source.lintian-ov=
errides ]; then \<br>=C2=A0=C2=A0=C2=A0 rm -f $f2; \<br>=C2=A0 fi; \<br>don=
e<br>dh_clean<br>=C2=A0dpkg-source -b python3.4-3.4.2<br>dpkg-source: info:=
using source format `1.0'<br>dpkg-source: info: building python3.4 usi=
ng existing python3.4_3.4.2.orig.tar.gz<br>dpkg-source: info: building pyth=
on3.4 in python3.4_3.4.2-1~bpo60+netplus1.diff.gz<br>dpkg-source: warning: =
ignoring deletion of file configure, use --include-removal to override<br>d=
pkg-source: info: building python3.4 in python3.4_3.4.2-1~bpo60+netplus1.ds=
c<br>=C2=A0debian/rules build<br>cpp -E \<br>=C2=A0 -DDebian \<br>=C2=A0=C2=
=A0 \<br>=C2=A0 -Darch_os_linux -Darch_amd64 \<br>=C2=A0 -o - debian/patche=
s/<a href=3D"http://series.in">series.in</a> \<br>=C2=A0 | egrep -v '^(=
#.*|$)' > debian/patches/series<br>: # build locales needed by the t=
estsuite<br>echo "pybench run disabled for this build" > /tmp/=
buildd/python3.4-3.4.2/build-static/pybench.log<br>rm -rf locales<br>BEGIN =
pystone static<br>cd /tmp/buildd/python3.4-3.4.2/build-static && ./=
python ../Lib/test/pystone.py<br>/bin/bash: /tmp/buildd/python3.4-3.4.2/bui=
ld-static/pybench.log: No such file or directory<br>debian/rules:567: recip=
e for target 'stamps/stamp-pybench' failed<br>make: *** [stamps/sta=
mp-pybench] Error 1<br>make: *** Waiting for unfinished jobs....<br>/bin/ba=
sh: line 0: cd: /tmp/buildd/python3.4-3.4.2/build-static: No such file or d=
irectory<br>mkdir locales<br>debian/rules:549: recipe for target 'stamp=
s/stamp-pystone' failed<br>make: *** [stamps/stamp-pystone] Error 1<br>=
if which localedef >/dev/null 2>&1; then \<br>=C2=A0 sh debian/lo=
cale-gen; \<br>fi<br>...<br>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
<br>( \<br>=C2=A0 echo '#! /bin/sh'; \<br>=C2=A0 echo 'set -x&#=
39;; \<br>=C2=A0 echo 'export LOCPATH=3D/tmp/buildd/python3.4-3.4.2/loc=
ales'; \<br>=C2=A0 echo '/tmp/buildd/python3.4-3.4.2/build-static/p=
ython /tmp/buildd/python3.4-3.4.2/debian/script.py test_results '\'=
'make test TESTOPTS=3D"-j 1 -w -uall -x test_ensurepip test_linuxa=
udiodev test_ossaudiodev test_venv"'\'; \<br>=C2=A0 echo '=
echo DONE'; \<br>) > /tmp/buildd/python3.4-3.4.2/build-debug/run_tes=
ts<br>/bin/bash: line 6: /tmp/buildd/python3.4-3.4.2/build-debug/run_tests:=
No such file or directory<br>debian/rules:487: recipe for target 'stam=
ps/stamp-check' failed<br>make: *** [stamps/stamp-check] Error 1<br>dpk=
g-buildpackage: error: debian/rules build gave error exit status 2<br>E: Fa=
iled autobuilding of package<br>...<br></div><div class=3D"gmail_default" s=
tyle=3D"font-family:arial,helvetica,sans-serif">>><br><br></div><div =
class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif">En=
effet, en essayant de me 'chrooter' au niveau du r=C3=A9pertoire d=
e mon environnement de pbuilder je constate que le r=C3=A9pertoire '/tm=
p/buildd' existe bien.<br></div><div class=3D"gmail_default" style=3D"f=
ont-family:arial,helvetica,sans-serif">Je tiens =C3=A0 pr=C3=A9ciser qu'=
;avec cet environnement pbuilder je suis d=C3=A9j=C3=A0 parvenu =C3=A0 cr=
=C3=A9er des paquets (ex: mtr ou mpdecimal).<br><br></div><div class=3D"gma=
il_default" style=3D"font-family:arial,helvetica,sans-serif">Avez d=C3=A9j=
=C3=A0 eu ce genre de message ? Des conseils =C3=A0 me donner ?<br></div><d=
iv class=3D"gmail_default" style=3D"font-family:arial,helvetica,sans-serif"=
>Merci d'avance.<br><br></div><div class=3D"gmail_default" style=3D"fon=
t-family:arial,helvetica,sans-serif"><br></div><div class=3D"gmail_default"=
style=3D"font-family:arial,helvetica,sans-serif"><br></div></div>
--089e01176ee3b69d1f050d076556--
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: https://lists.debian.org/BLU437-SMTP63CA3B4172E8A5A62142ABD54A0@phx.gbl
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: https://lists.debian.org/BLU437-SMTP91E03CEFDBD3889DCB67E5D54B0@phx.gbl
--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists
Pour vous DESABONNER, envoyez un message avec comme objet "unsubscribe"
vers debian-user-french-REQUEST@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmaster@lists.debian.org
Archive: https://lists.debian.org/BLU436-SMTP10508AFD179577706D1504BD5490@phx.gbl