Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158278 - prelink-20050314 unable to undo
Summary: prelink-20050314 unable to undo
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: PPC Linux
: High major (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-16 04:58 UTC by Massimo Burcheri
Modified: 2007-03-25 04:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Massimo Burcheri 2006-12-16 04:58:54 UTC
https://forums.gentoo.org/viewtopic-t-511654.html#3787212
An advanced user told me this could point to a bug.

prelink left my system in an unfunctional state and prelink -au wasn't able to recover. undo-section should be missing.

Moreover why prelink breaks a ppc but not x86 will be a different point..
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-16 05:02:22 UTC
Referring to forums.g.o. for bug description is junk wasting everyone's time. Post all the needed information here and reopen the bug when done. Thanks.
Comment 2 Massimo Burcheri 2006-12-16 05:27:53 UTC
sys-devel/prelink-20050314 (currently stable on ppc)

Used prelink command:
# prelink -Ramvq

Afterwards "segmentation fault" for every command such as ls.
Then I tried to undo but it failed for every file:

# /usr/sbin/prelink -u /bin/* /sbin/* /usr/bin/* /usr/sbin/* 
 .... 
 /usr/sbin/prelink: /usr/sbin/vigr does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: /usr/sbin/vipw does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: /usr/sbin/visudo does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: "/usr/sbin/webapp-cleaner" is not an ELF file 
 /usr/sbin/prelink: "/usr/sbin/webapp-config" is not an ELF file 
 /usr/sbin/prelink: /usr/sbin/winbindd does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: /usr/sbin/wwwoffled does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: "/usr/sbin/xconv.pl" is not an ELF file 
 /usr/sbin/prelink: /usr/sbin/xinetd does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: /usr/sbin/Xorgautoconfig does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: "/usr/sbin/yabootconfig" is not an ELF file 
 /usr/sbin/prelink: "/usr/sbin/ybin" is not an ELF file 
 /usr/sbin/prelink: /usr/sbin/zdump does not have .gnu.prelink_undo section 
 /usr/sbin/prelink: /usr/sbin/zic does not have .gnu.prelink_undo section 
 
 # prelink -au 
 .... 
 prelink: /usr/bin/xdelta: Dependency tracing failed 
 prelink: /usr/bin/picttoppm: Dependency tracing failed 
 prelink: /usr/bin/bg5conv: Dependency tracing failed 
 prelink: /usr/bin/xfs_db: Dependency tracing failed 
 prelink: /usr/bin/xfs_io: Dependency tracing failed 
 prelink: /usr/bin/vcdxbuild: Dependency tracing failed 
 prelink: /usr/bin/xglyph: Dependency tracing failed 
 prelink: /usr/bin/icontopbm: Dependency tracing failed 
 prelink: /usr/bin/pamchannel: Dependency tracing failed 
 ....

# emerge --info
Portage 2.1.1-r2 (default-linux/ppc/ppc32/2006.1/G3, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 ppc)
=================================================================
System uname: 2.6.18-gentoo-r3 ppc 750FX
Gentoo Base System version 1.12.6
Last Sync: Mon, 04 Dec 2006 21:50:01 +0000
distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.16
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-mcpu=750 -O2 -pipe -ftracer"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-mcpu=750 -O2 -pipe -ftracer -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/spool/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/science /usr/portage/local/layman/sunrise /usr/portage/local/layman/lila-theme"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="ppc X aac aalib aim alsa ansi automount bash-completion berkdb bitmap-fonts bonobo branding bzip2 cdparanoia cdr cdrom cli cracklib crypt cups divx4linux dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode fbcon flac gdbm gecko-sdk gif gimp glibc-omitfp gpm gstreamer gtk gtk2 gtkhtml iconv icq ieee1394 imap input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog jabber javascript jpeg kde kdehiddenvisibility kernel_linux libcaca libg++ libwww linguas_de mad mikmod mp3 mpeg mplayer msn musepack ncurses network nls nptl nptlonly nsplugin ogg oggvorbis opengl pam pcre pdf perl pic png ppds pppd pthreads python qt3 qt4 quicktime radeon readline reflection samba scanner sdl session slang spell spl ssl subversion svg tcpd tetex truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales vcd video_cards_radeon vim vorbis xine xml xorg xprint xscreensaver xv xvid yahoo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Massimo Burcheri 2006-12-16 08:15:06 UTC
I have to admit:
sys-devel/prelink-20060712-r1 is functional. There I started manually the new cron script. Maybe that should be marked stable instead of the current stable.
Comment 4 R!tman 2006-12-26 17:52:11 UTC
This is a serious bug!!! I just borked my whole system :-(! 

I _strongly_ adwise you to mask prelink-20050314 for ppc! At least you could make it ~ppc! 
Comment 5 Massimo Burcheri 2007-03-23 20:36:22 UTC
Could you mark 20060712-r1 stable for ppc? Works fine since months now.

But at least mask the 20050314.
Comment 6 Joe Jezak (RETIRED) gentoo-dev 2007-03-25 04:15:58 UTC
Sure thing, marked ppc stable.  Sorry about the mess. :p