OVH Cloud OVH Cloud

[gentoo-user-fr] Probleme avec apr-util

7 réponses
Avatar
Guillaume HERAIL
Bonjour,

Voulant emerge apache2 je lance emerge apache en root mais à la
compilation de apr-util il "bloque" sur des sleeps. Je m'explique...

J'ai ceci dans emerge :
[...]
config.status: creating misc/Makefile
config.status: creating strmatch/Makefile
config.status: creating xlate/Makefile
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
Making all in buckets
make[1]: Entering directory
`/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/buckets'
make[2]: Entering directory
`/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/buckets'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pthread -O2 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include/private
-I/usr/include/apr-0 -c apr_buckets_file.c && touch
apr_buckets_file.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pthread -O2 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include/private
-I/usr/include/apr-0 -c apr_buckets_pool.c && touch
apr_buckets_pool.lo

Et ça bloque, pas moyen de le faire continuer. Un ps faux pour voir ce
qu'il fait :

1000 5122 0.0 0.6 6096 3480 ? Ss 15:35 0:00
\_ Eterm
1000 5125 0.0 0.2 2576 1376 pts/1 Ss 15:35 0:00
| \_ -bash
root 5128 0.0 0.2 2316 1388 pts/1 S 15:35 0:00
| \_ bash
root 5191 0.3 1.7 11820 8864 pts/1 S+ 15:38 0:00
| \_ /usr/bin/python -O /usr/bin/emerge apache
root 5295 0.0 0.0 1512 408 pts/1 S+ 15:39 0:00
| \_ [apr-util-0.9.6-r2] sandbox
/usr/lib/portage/bin/ebuild.sh compile
root 5296 0.0 0.4 4104 2520 pts/1 S+ 15:39 0:00
| \_ /bin/bash /usr/lib/portage/bin/ebuild.sh
compile
root 9208 0.0 0.2 2652 1268 pts/1 S+ 15:39 0:00
| \_ /bin/bash /usr/lib/portage/bin/emake
root 9209 0.0 0.2 2548 1080 pts/1 S+ 15:39 0:00
| \_ make -j2
root 9210 0.0 0.2 2676 1276 pts/1 S+ 15:39 0:00
| \_ /bin/sh -c otarget=`echo
all-recursive | sed s/-recursive//`; list='buckets crypto dbm encodin
root 9214 0.0 0.2 2676 1292 pts/1 S+ 15:39 0:00
| \_ /bin/sh -c otarget=`echo
all-recursive | sed s/-recursive//`; list='buckets crypto dbm enc
root 9215 0.0 0.2 2548 1112 pts/1 S+ 15:39 0:00
| \_ make all
root 9216 0.0 0.2 2668 1280 pts/1 S+ 15:39 0:00
| \_ /bin/sh -c
otarget=`echo all-recursive | sed s/-recursive//`; list=''; for i in
$
root 9220 0.0 0.2 2548 1112 pts/1 S+ 15:39 0:00
| \_ make
local-all
root 9221 0.0 0.2 2668 1240 pts/1 S+ 15:39 0:00
| \_ /bin/sh
-c /bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile g
root 9222 0.0 0.3 3316 2004 pts/1 S+ 15:39 0:00
| | \_
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pth
root 9875 0.0 0.1 2064 600 pts/1 S+ 15:43 0:00
| | \_
sleep 2
root 9223 0.0 0.2 2668 1244 pts/1 S+ 15:39 0:00
| \_ /bin/sh
-c /bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile g
root 9224 0.0 0.3 3316 2004 pts/1 S+ 15:39 0:00
| \_
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pth
root 9877 0.0 0.1 2064 604 pts/1 S+ 15:43 0:00
| \_
sleep 2

--
gentoo-user-fr@gentoo.org mailing list

7 réponses

Avatar
Guillaume HERAIL
Suite du mail...

Auriez vous la solution à ce problème ?
Merci
Guillaume

2005/9/28, Guillaume HERAIL :
Bonjour,

Voulant emerge apache2 je lance emerge apache en root mais à la
compilation de apr-util il "bloque" sur des sleeps. Je m'explique...

J'ai ceci dans emerge :
[...]
config.status: creating misc/Makefile
config.status: creating strmatch/Makefile
config.status: creating xlate/Makefile
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
Making all in buckets
make[1]: Entering directory
`/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/buckets'
make[2]: Entering directory
`/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/buckets'
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pthread -O2 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCEP0 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include/private
-I/usr/include/apr-0 -c apr_buckets_file.c && touch
apr_buckets_file.lo
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pthread -O2 -mcpu=i686 -DHAVE_CONFIG_H -DLINUX=2 -D_REENTRANT
-D_XOPEN_SOURCEP0 -D_BSD_SOURCE -D_SVID_SOURCE -D_GNU_SOURCE
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include
-I/var/tmp/portage/apr-util-0.9.6-r2/work/apr-util-0.9.6/include/private
-I/usr/include/apr-0 -c apr_buckets_pool.c && touch
apr_buckets_pool.lo

Et ça bloque, pas moyen de le faire continuer. Un ps faux pour voir ce
qu'il fait :

1000 5122 0.0 0.6 6096 3480 ? Ss 15:35 0:00
_ Eterm
1000 5125 0.0 0.2 2576 1376 pts/1 Ss 15:35 0:00
| _ -bash
root 5128 0.0 0.2 2316 1388 pts/1 S 15:35 0:00
| _ bash
root 5191 0.3 1.7 11820 8864 pts/1 S+ 15:38 0:00
| _ /usr/bin/python -O /usr/bin/emerge apache
root 5295 0.0 0.0 1512 408 pts/1 S+ 15:39 0:00
| _ [apr-util-0.9.6-r2] sandbox
/usr/lib/portage/bin/ebuild.sh compile
root 5296 0.0 0.4 4104 2520 pts/1 S+ 15:39 0:00
| _ /bin/bash /usr/lib/portage/bin/ebuild.sh
compile
root 9208 0.0 0.2 2652 1268 pts/1 S+ 15:39 0:00
| _ /bin/bash /usr/lib/portage/bin/emake
root 9209 0.0 0.2 2548 1080 pts/1 S+ 15:39 0:00
| _ make -j2
root 9210 0.0 0.2 2676 1276 pts/1 S+ 15:39 0:00
| _ /bin/sh -c otarget=`echo
all-recursive | sed s/-recursive//`; list='buckets crypto dbm encodin
root 9214 0.0 0.2 2676 1292 pts/1 S+ 15:39 0:00
| _ /bin/sh -c otarget=`echo
all-recursive | sed s/-recursive//`; list='buckets crypto dbm enc
root 9215 0.0 0.2 2548 1112 pts/1 S+ 15:39 0:00
| _ make all
root 9216 0.0 0.2 2668 1280 pts/1 S+ 15:39 0:00
| _ /bin/sh -c
otarget=`echo all-recursive | sed s/-recursive//`; list=''; for i in
$
root 9220 0.0 0.2 2548 1112 pts/1 S+ 15:39 0:00
| _ make
local-all
root 9221 0.0 0.2 2668 1240 pts/1 S+ 15:39 0:00
| _ /bin/sh
-c /bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile g
root 9222 0.0 0.3 3316 2004 pts/1 S+ 15:39 0:00
| | _
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pth
root 9875 0.0 0.1 2064 600 pts/1 S+ 15:43 0:00
| | _
sleep 2
root 9223 0.0 0.2 2668 1244 pts/1 S+ 15:39 0:00
| _ /bin/sh
-c /bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile g
root 9224 0.0 0.3 3316 2004 pts/1 S+ 15:39 0:00
| _
/bin/sh /usr/share/apr-0/build/libtool --silent --mode=compile gcc
-pth
root 9877 0.0 0.1 2064 604 pts/1 S+ 15:43 0:00
| _
sleep 2




--
mailing list
Avatar
Christophe Garault
Guillaume HERAIL a écrit :

Bonjour,

Voulant emerge apache2 je lance emerge apache en root mais à la
compilation de apr-util il "bloque" sur des sleeps. Je m'explique...




[snip]

Si tu as des partitions séparées pour /usr et /var/tmp tu trouveras la
solution à ton bonheur en lisant ce rapport de bug:
http://bugs.gentoo.org/show_bug.cgi?idw455

Il s'agit d'une histoire de hardlink, mais je ne comprend pas pourquoi
ce bug n'a pas été corrigé depuis le temps... :-(

--
Christophe Garault
Take your marks:
Gen too three: Emerge!

--
mailing list
Avatar
Guillaume HERAIL
J'ai effectivement une part /usr séparée
je vais tester ça merci bcp :)

2005/9/28, Christophe Garault :
Guillaume HERAIL a écrit :

>Bonjour,
>
>Voulant emerge apache2 je lance emerge apache en root mais à la
>compilation de apr-util il "bloque" sur des sleeps. Je m'explique...
>
>
[snip]

Si tu as des partitions séparées pour /usr et /var/tmp tu trouveras la
solution à ton bonheur en lisant ce rapport de bug:
http://bugs.gentoo.org/show_bug.cgi?idw455

Il s'agit d'une histoire de hardlink, mais je ne comprend pas pourquoi
ce bug n'a pas été corrigé depuis le temps... :-(

--
Christophe Garault
Take your marks:
Gen too three: Emerge!

--
mailing list





--
mailing list
Avatar
Guillaume HERAIL
Ca fonctionne très bien, merci :)

Le 28/09/05, Guillaume HERAIL a écrit :
J'ai effectivement une part /usr séparée
je vais tester ça merci bcp :)

2005/9/28, Christophe Garault :
> Guillaume HERAIL a écrit :
>
> >Bonjour,
> >
> >Voulant emerge apache2 je lance emerge apache en root mais à la
> >compilation de apr-util il "bloque" sur des sleeps. Je m'explique...
> >
> >
> [snip]
>
> Si tu as des partitions séparées pour /usr et /var/tmp tu trouveras la
> solution à ton bonheur en lisant ce rapport de bug:
> http://bugs.gentoo.org/show_bug.cgi?idw455
>
> Il s'agit d'une histoire de hardlink, mais je ne comprend pas pourquoi
> ce bug n'a pas été corrigé depuis le temps... :-(
>
> --
> Christophe Garault
> Take your marks:
> Gen too three: Emerge!
>
> --
> mailing list
>
>




--
mailing list
Avatar
Christophe Garault
Guillaume HERAIL a écrit :

Ca fonctionne très bien, merci :)




Tant mieux, es-tu passé par un overlay de l'ebuild ou bien est-ce que tu
as modifié celui de l'arbre de Portage?

--
Christophe Garault
Take your marks:
Gen too three: Emerge!
--
mailing list
Avatar
Guillaume HERAIL
?
J'ai patché libtool ^^

2005/9/28, Christophe Garault :
Guillaume HERAIL a écrit :

>Ca fonctionne très bien, merci :)
>
>
Tant mieux, es-tu passé par un overlay de l'ebuild ou bien est-ce que tu
as modifié celui de l'arbre de Portage?

--
Christophe Garault
Take your marks:
Gen too three: Emerge!
--
mailing list





--
mailing list
Avatar
Christophe Garault
Guillaume HERAIL a écrit :

?
J'ai patché libtool ^^




Dans ce cas attention, au prochain emerge de libtool tu perdra ta modif.
AMHA dans l'esprit Gentoo il vaut mieux faire ce genre de manip en
passant par les sources (on perd la modif aussi) ou mieux par un
overlay. Regardes la doc si tu veux comprendre le mécanisme de l'overlay.

Bonne journée.

--
Christophe Garault
Take your marks:
Gen too three: Emerge!


--
mailing list