Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

[gentoo-user-fr] Pbm avec des messages de prelink et de revdep et certains emerge

1 réponse
Avatar
sebastiengrillot
Bonjour,
je me retrouve avec des petit soucis que je ne sais pas du tout gerer....
voici le premier avec revdep

"gcc -c -I../os/unix -I../include -O2 -march=3Dpentium4 -pipe -fomit-fram=
e-pointer -DHARD_SERVER_LIMIT=3D512 -D_LARGEFILE_SOURCE -D_FI=
LE_OFFSET_BITS=3D64 -DLINUX=3D22 -DTARGET=3D\"apache\" -DHAVE_SET_DUMPABLE =
-DNO_DBM_REWRITEMAP -I/usr/include/db4.1 -DDEV_RANDOM=3D/dev/random -DUSE_H=
SREGEX -DEAPI -DEAPI_MM `../apaci` ap_strtol.c
gcc -c -I../os/unix -I../include -O2 -march=3Dpentium4 -pipe -fomit-frame=
-pointer -DHARD_SERVER_LIMIT=3D512 -D_LARGEFILE_SOURCE -D_FIL=
E_OFFSET_BITS=3D64 -DLINUX=3D22 -DTARGET=3D\"apache\" -DHAVE_SET_DUMPABLE -=
DNO_DBM_REWRITEMAP -I/usr/include/db4.1 -DDEV_RANDOM=3D/dev/random -DUSE_HS=
REGEX -DEAPI -DEAPI_MM `../apaci` ap_hook.c
gcc -c -I../os/unix -I../include -O2 -march=3Dpentium4 -pipe -fomit-frame=
-pointer -DHARD_SERVER_LIMIT=3D512 -D_LARGEFILE_SOURCE -D_FIL=
E_OFFSET_BITS=3D64 -DLINUX=3D22 -DTARGET=3D\"apache\" -DHAVE_SET_DUMPABLE -=
DNO_DBM_REWRITEMAP -I/usr/include/db4.1 -DDEV_RANDOM=3D/dev/random -DUSE_HS=
REGEX -DEAPI -DEAPI_MM `../apaci` ap_ctx.c
gcc -c -I../os/unix -I../include -O2 -march=3Dpentium4 -pipe -fomit-frame=
-pointer -DHARD_SERVER_LIMIT=3D512 -D_LARGEFILE_SOURCE -D_FIL=
E_OFFSET_BITS=3D64 -DLINUX=3D22 -DTARGET=3D\"apache\" -DHAVE_SET_DUMPABLE -=
DNO_DBM_REWRITEMAP -I/usr/include/db4.1 -DDEV_RANDOM=3D/dev/random -DUSE_HS=
REGEX -DEAPI -DEAPI_MM `../apaci` ap_mm.c
ap_mm.c:82:16: mm.h: No such file or directory
ap_mm.c: In function `ap_MM_malloc':
ap_mm.c:103: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_MM_realloc':
ap_mm.c:105: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_MM_calloc':
ap_mm.c:109: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_MM_strdup':
ap_mm.c:111: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_MM_error':
ap_mm.c:119: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_create':
ap_mm.c:122: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_malloc':
ap_mm.c:132: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_realloc':
ap_mm.c:134: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_calloc':
ap_mm.c:138: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_strdup':
ap_mm.c:140: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_error':
ap_mm.c:148: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_core_create':
ap_mm.c:153: warning: return makes pointer from integer without a cast
ap_mm.c: In function `ap_mm_lib_error_get':
ap_mm.c:174: warning: return makes pointer from integer without a cast
make[3]: *** [ap_mm.o] Error 1
make[2]: *** [subdirs] Error 1
make[2]: Leaving directory `/var/tmp/portage/apache-1.3.33/work/apache_1.3.=
33/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/var/tmp/portage/apache-1.3.33/work/apache_1.3.=
33'
make: *** [build] Error 2

!!! ERROR: net-www/apache-1.3.33 failed.
!!! Function src_compile, Line 119, Exitcode 2
!!! compile problem
!!! If you need support, post the topmost build error, NOT this status mess=
age.

Result is not OK, you have following choices:
- if emerge failed during build, fix the problems and re-run revdep-rebuild
or
- use -X or --package-names as first argument (try to rebuild package, not =
exact
ebuild - ignores SLOT!)
or
- set ACCEPT_KEYWORDS=3D"~<your platform>" and/or /etc/portage/package.unma=
sk
(and remove /root/.revdep-rebuild.5_order to be evaluated again)
or
- modify the above emerge command and run it manually
or
- compile or unmerge unsatisfied packages manually, remove temporary files =
and
try again (you can edit package/ebuild list first)

To remove temporary files, please run:
rm /root/.revdep-rebuild*.?_*

"

Et j'ai un autre message d'erreur avec prelink. De plus je me retrouve avec=
des messages d'erreur similaire quand je tente par exemple de lancer Xpdf =
(je sais rien a voir ;) et quand j'emerge VLC
1=20
bash-2.05b# xpdf
xpdf: error while loading shared libraries: libXm.so.2: cannot open shared =
object file: No such file or directory
bash-2.05b#

2
i586-pc-linux-gnu-gcc -Wsign-compare -Wall -finline-limit-30000 -pipe
-o libmpeg_audio_plugin.so libmpeg_audio_plugin_a-mpeg_audio.o `top_
builddir=3D../.. ../../vlc-config --libs plugin mpeg_audio`
make[4]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2
/modules/codec'
make[4]: Entering directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.
2/modules/codec'
if i586-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINU
X -I../../include `top_builddir=3D"../.." ../../vlc-config --cflags plu
gin libmpeg2` -Wsign-compare -Wall -finline-limit-30000 -pipe -MT li
blibmpeg2_plugin_a-libmpeg2.o -MD -MP -MF ".deps/liblibmpeg2_plugin_a
-libmpeg2.Tpo" \
-c -o liblibmpeg2_plugin_a-libmpeg2.o `test -f 'libmpeg2.c' || echo
'./'`libmpeg2.c; \
then mv -f ".deps/liblibmpeg2_plugin_a-libmpeg2.Tpo" ".deps/liblibmpe
g2_plugin_a-libmpeg2.Po"; \
else rm -f ".deps/liblibmpeg2_plugin_a-libmpeg2.Tpo"; exit 1; \
fi
libmpeg2.c: In function `RunDecoder':
libmpeg2.c:224: warning: implicit declaration of function `mpeg2_pts'
libmpeg2.c:382: error: `PIC_FLAG_PTS' undeclared (first use in this f
unction)
libmpeg2.c:382: error: (Each undeclared identifier is reported only o
nce
libmpeg2.c:382: error: for each function it appears in.)
libmpeg2.c:383: error: structure has no member named `pts'
make[4]: *** [liblibmpeg2_plugin_a-libmpeg2.o] Error 1
make[4]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modul=
es/codec'
make[3]: *** [all-libmpeg2] Error 1
make[3]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modul=
es/codec'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2/modul=
es'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/vlc-0.6.2/work/vlc-0.6.2'
make: *** [all] Error 2

!!! ERROR: media-video/vlc-0.6.2 failed.
!!! Function src_compile, Line 177, Exitcode 2
!!! make failed
!!! If you need support, post the topmost build error, NOT this status mess=
age.

3
bash-2.05b# prelink -amR
prelink: /usr/bin/xterm: Could not parse `/usr/bin/xterm: error while
loading shared libraries: libtermcap.so.2: cannot open shared object
file: No such file or directory'
[SNIP]
prelink: /usr/bin/kbtobexclient: Could not parse `/usr/bin/kbtobexcli
ent: error while loading shared libraries: libopenobex-1.0.so.0: cann
ot open shared object file: No such file or directory'
prelink: /usr/bin/checkgid: Could not parse `/usr/bin/checkgid: error
while loading shared libraries: libmm.so.12: cannot open shared obje
ct file: No such file or directory'
prelink: /usr/bin/kxineplayer: Could not parse `/usr/bin/kxineplayer:
error while loading shared libraries: libxine.so.1: cannot open shar
ed object file: No such file or directory'
prelink: /usr/bin/ddd: Could not parse `/usr/bin/ddd: error while loa
ding shared libraries: libXm.so.2: cannot open shared object file: No
such file or directory'
prelink: /usr/sbin/ab: Could not parse `/usr/sbin/ab: error while loa
ding shared libraries: libmm.so.12: cannot open shared object file: N
o such file or directory'
prelink: /usr/sbin/logresolve: Could not parse `/usr/sbin/logresolve:
error while loading shared libraries: libmm.so.12: cannot open share
d object file: No such file or directory'
prelink: /usr/lib/eclipse-2/eclipse-motif: Could not parse `/usr/lib/
eclipse-2/eclipse-motif: error while loading shared libraries: libXm.
so.2: cannot open shared object file: No such file or directory'
prelink: /usr/lib/kdebluetooth/servers/kbtobexsrv: Could not parse `/usr/li=
b/kdebluetooth/servers/kbtobexsrv: error while loading shared libraries: li=
bopenobex-1.0.so.0: cannot open shared object file: No such file or directo=
ry'
prelink: /usr/lib/eclipse-2/eclipse-motif: Could not parse `/usr/lib/eclips=
e-2/eclipse-motif: error while loading shared libraries: libXm.so.2: cannot=
open shared object file: No such file or directory'
prelink: /usr/lib/kdebluetooth/servers/kbtobexsrv: Could not parse `/usr/li=
b/kdebluetooth/servers/kbtobexsrv: error while loading shared libraries: li=
bopenobex-1.0.so.0: cannot open shared object file: No such file or directo=
ry'
prelink: /opt/ati/bin/fglrx_xgamma: Cannot prelink against non-PIC shared l=
ibrary /usr/lib/libfglrx_gamma.1
prelink: /usr/bin/ffserver: Cannot prelink against non-PIC shared library /=
usr/lib/libavformat.so
prelink: /usr/bin/emacs.emacs-21: COPY relocations don't point into .bss or=
.sbss section
prelink: /usr/bin/ffmpeg: Cannot prelink against non-PIC shared library /us=
r/lib/libavformat.so
prelink: /usr/i586-pc-linux-gnu/gcc-bin/3.3.5/g++ is no longer hardlink to =
/usr/i586-pc-linux-gnu/gcc-bin/3.3.5/c++
Executing /sbin/init U"
=20
Alors je me trompes tres certainement en pensant que tout ceci est li=E9es =
mais j'ai l'impression...

merci =E0 vous tous

Amicalement

Seb


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

1 réponse

Avatar
Christophe Garault
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

sebastiengrillot a écrit :

| Bonjour, je me retrouve avec des petit soucis que je ne sais pas du
| tout gerer.... voici le premier avec revdep
|
| "gcc -c -I../os/unix -I../include -O2 -march=pentium4 -pipe
| -fomit-frame-pointer -DHARD_SERVER_LIMITQ2
| -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITSd -DLINUX"
| -DTARGET="apache" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP
| -I/usr/include/db4.1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI
| -DEAPI_MM `../apaci` ap_strtol.c gcc -c -I../os/unix -I../include
| -O2 -march=pentium4 -pipe -fomit-frame-pointer
| -DHARD_SERVER_LIMITQ2 -D_LARGEFILE_SOURCE
| -D_FILE_OFFSET_BITSd -DLINUX" -DTARGET="apache"
| -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -I/usr/include/db4.1
| -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM `../apaci`
| ap_hook.c gcc -c -I../os/unix -I../include -O2 -march=pentium4
| -pipe -fomit-frame-pointer -DHARD_SERVER_LIMITQ2
| -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITSd -DLINUX"
| -DTARGET="apache" -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP
| -I/usr/include/db4.1 -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI
| -DEAPI_MM `../apaci` ap_ctx.c gcc -c -I../os/unix -I../include
| -O2 -march=pentium4 -pipe -fomit-frame-pointer
| -DHARD_SERVER_LIMITQ2 -D_LARGEFILE_SOURCE
| -D_FILE_OFFSET_BITSd -DLINUX" -DTARGET="apache"
| -DHAVE_SET_DUMPABLE -DNO_DBM_REWRITEMAP -I/usr/include/db4.1
| -DDEV_RANDOM=/dev/random -DUSE_HSREGEX -DEAPI -DEAPI_MM `../apaci`
| ap_mm.c ap_mm.c:82:16: mm.h: No such file or directory

T'es mal barré si t'as plus de gestion de la mémoire virtuelle... ;-)
Bon, quel noyal as-tu? Est-ce que tu as les linux headers correctement
installés? Parce que là on dirait pas...

| Et j'ai un autre message d'erreur avec prelink.

Désolé je n'y connais rien à ce prelink, et je l'évite comme la peste...

| De plus je me retrouve avec des messages d'erreur similaire quand
| je tente par exemple de lancer Xpdf (je sais rien a voir ;) et
| quand j'emerge VLC 1 bash-2.05b# xpdf xpdf: error while loading
| shared libraries: libXm.so.2: cannot open shared object file: No
| such file or directory bash-2.05b#

Ben oui mais un revdep qui échoue avec un prelink en place, faut dire
aussi que tu cherches un peu les emmerdes toi... ;-)
Si tu n'as pas réellement besoin d'apache désinstalles-le et refait un
revdep. Penses aussi à vérifier les headers!

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCEgKUJ5Nh3YMYAQsRAhoJAJ9XJ7bC3SlROIK7s4dDHwA83ddZFACeJ5dj
npme+Y+Ux4L4ZIzevOqQfoQ =RDzi
-----END PGP SIGNATURE-----


--
mailing list