Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327687 - games-action/armagetronad: Pass --disable-uninstall to avoid custom uninstall script(?)
Summary: games-action/armagetronad: Pass --disable-uninstall to avoid custom uninstall...
Status: VERIFIED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Games
URL: http://armagetronad.net/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-10 13:48 UTC by Sylvain GRIALOU
Modified: 2017-10-01 12:31 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 Sylvain GRIALOU 2010-07-10 13:48:25 UTC
when emerging armagetronad, the build looks OK, but just before installing, a script for uninstalling (which is of no use when we get a packaging system) is launched but is failing
it's lying in /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image/usr/games/bin
there is the script, and there are some files used to determine the files to uninstall :

syl-gentoo bin # ls -lah
total 2,6M
drwxrwxrwx 2 root root 4,0K 10 juil. 15:26 .
drwxrwxrwx 3 root root 4,0K 10 juil. 15:24 ..
-rwxrwxrwx 1 root root  313 10 juil. 15:24 armagetronad-uninstall
-rwxrwxrwx 1 root root 236K 10 juil. 15:26 armagetronad-uninstall.dir
-rwxrwxrwx 1 root root   24 10 juil. 15:26 armagetronad-uninstall.dir0
-rwxrwxrwx 1 root root 2,1K 10 juil. 15:24 armagetronad-uninstall.files
-rwxrwxrwx 1 root root 2,4M 10 juil. 15:24 armagetronad_main


the problem is that "armagetronad-uninstall.dir" is filled forever with the string "rm -f armagetronad_main"

here is the content of this file on my system (after i killed process) :
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/share/games/armagetronad/resource
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/games/bin
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/games/bin
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/share/games/armagetronad
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/games
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/games
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/share/games
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr/share
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image/
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image/
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image//usr
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image/
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1
rm -f /var/tmp/portage/games-action/armagetronad-0.2.8.3.1
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1/image
rm -f armagetronad_main
rm -rf /var/tmp/portage/games-action/armagetronad-0.2.8.3.1
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
rm -f armagetronad_main
...
..
.
.
.
.
.
.
.
.
.
.
.
forever



syl-gentoo bin # emerge --info
Portage 2.1.8.3 (default/linux/amd64/10.0/desktop/kde, gcc-4.4.3, glibc-2.11.2-r0, 2.6.33-gentoo-r2-syl x86_64)
=================================================================
System uname: Linux-2.6.33-gentoo-r2-syl-x86_64-AMD_Phenom-tm-_II_X6_1090T_Processor-with-gentoo-1.12.13
Timestamp of tree: Sat, 10 Jul 2010 13:00:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O7 -march=k8 -pipe"
CHOST="x86_64-pc-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 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-O7 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="fr_FR.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="fr"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif extras fam fbcondecor ffmpeg firefox flac fortran gdbm gif gpm gtk hal iconv ipv6 jpeg kde lcms ldap libnotify mad matroska mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly nsplugin ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support qt4 readline reflection rtsp sdl semantic-desktop session shout spell spl sse sse2 ssl startup-notification svg sysfs tcpd theora threads tiff truetype unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeonhd" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

syl-gentoo bin # cat /var/lib/portage/world 
app-admin/logrotate
app-admin/syslog-ng
app-cdr/k3b
app-emulation/wine
app-portage/gentoolkit
app-portage/portage-utils
dev-util/eclipse-sdk
games-action/bomberclone
games-sports/foobillard
games-sports/torcs
games-strategy/freeciv
games-strategy/ufo-ai
kde-base/kde-meta
media-gfx/grub-splashes
media-gfx/splash-themes-livecd
media-gfx/splashutils
media-video/vlc
net-misc/dhcpcd
net-p2p/bittorrent
sys-apps/slocate
sys-apps/v86d
sys-boot/grub
sys-kernel/genkernel
sys-kernel/gentoo-sources
sys-power/acpi
sys-power/acpid
sys-process/vixie-cron
www-client/chromium
www-client/links
www-client/mozilla-firefox
x11-base/xorg-drivers
x11-drivers/ati-drivers


syl-gentoo bin # cat /etc/make.conf
CFLAGS="-O7 -march=k8 -pipe"
CXXFLAGS="-O7 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
LINGUAS="fr"
USE="3dnow extras fbcondecor ffmpeg matroska mmx nsplugin rtsp semantic-desktop shout sse sse2 theora threads"
VIDEO_CARDS="radeonhd"


syl-gentoo bin # cat /etc/portage/package.keywords 
x11-drivers/ati-drivers
x11-drivers/xf86-video-radeonhd
games-strategy/ufo-ai ~x86
app-cdr/k3b ~x86


it's a totally fresh install from the latest adm64 snapshot (two days ago)

i would like to know if some on x86 have the same problem (i had a 32 bit cpu, but i reinstalled on the same drive)

i think the script uninstalling was designed for LFS or dumb users or deprecated distros so we can simply drop it ?
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-07-10 17:01:39 UTC
Try this from command-line:

EXTRA_ECONF="--disable-uninstall" emerge -av armagetronad

Any difference? Also try wiping any configs from your homedir for armagetronad.
Comment 2 Sylvain GRIALOU 2010-07-10 21:21:02 UTC
yes it works with EXTRA_ECONF="--disable-uninstall" emerge -av armagetronad

thank you !
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-10 21:37:26 UTC
(In reply to comment #2)
> yes it works with EXTRA_ECONF="--disable-uninstall" emerge -av armagetronad
> 
> thank you !
> 

you should have not closed the bug yet... but nevermind (this time)

+  10 Jul 2010; Samuli Suominen <ssuominen@gentoo.org>
+  armagetronad-0.2.8.3.1.ebuild:
+  Use --disable-uninstall in econf wrt #327687.