Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 155572 - switch for forcing emerge to recompile a package
Summary: switch for forcing emerge to recompile a package
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High trivial
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-18 04:51 UTC by Armin Mohring
Modified: 2006-11-18 06:09 UTC (History)
0 users

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 Armin Mohring 2006-11-18 04:51:29 UTC
emerge --info:Gentoo Base System version 1.12.6
Portage 2.1.1-r2 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r2 x86_64)
=================================================================
System uname: 2.6.18-gentoo-r2 x86_64 AMD Athlon(tm) 64 Processor 3200+
Last Sync: Sat, 18 Nov 2006 05:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
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.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -msse2 -m80387 -mhard-float"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -mmmx -m3dnow -msse -msse2 -m80387 -mhard-float"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fix-packages metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.switch.ch/ftp/mirror/gentoo http://ftp.leo.org/mirrors/gentoo/ http://www.artfiles.org/gentoo/ http://ftp.belnet.be/linux/gentoo ftp://ftp.tu-clausthal.de/pub/linux/gentoo 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 ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo http://pandenmonium.tiscali.de/pub/gentoo/ http://gentoo.intergenia.de/"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j1 -s"
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="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac aiglx alsa berkdb bitmap-fonts cairo cdparanoia cdr cli cups dbus dlloader dri dts dvd dvdr elibc_glibc encode esd firefox ftp gif glibc-omitfp gnome gstreamer gtk gtk2 hal iconv input_devices_keyboard input_devices_mouse ipv6 java javascript jpeg kernel_linux ldap libg++ linguas_en mad mikmod mp3 mpeg mpeg2 ncurses nls nptl nptlonly ogg opengl pam pcre perl png ppds pppd python quicktime readline reflection sdl session spl ssl tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_nv vorbis wxGTK xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

There should be a switch to force portage to recompile a certain package.

There is the problem, that emerge does not want to recompile a package after emerge -e world.
emerge -av packagexy does not recompile a certain package. After rebooting the system emerge -av packagexy works without any problem.

This is a enhancment or small bug.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 04:53:35 UTC
Sorry, I don't grok your request

> emerge -av packagexy does not recompile a certain package. 

Why wouldn't it?
Comment 2 Armin Mohring 2006-11-18 05:54:56 UTC
My LDFLAGS are -Wl,--as-needed.
gst-plugins do not compile with these LDFLAGS.
After emerge -e world and skipping gst-plugins, I wanted to compile gst-plugins without -Wl,--as-needed.
So I changed my make.conf and entered emerge -av gst-plugins, but emerge didn
Comment 3 Armin Mohring 2006-11-18 05:54:56 UTC
My LDFLAGS are -Wl,--as-needed.
gst-plugins do not compile with these LDFLAGS.
After emerge -e world and skipping gst-plugins, I wanted to compile gst-plugins without -Wl,--as-needed.
So I changed my make.conf and entered emerge -av gst-plugins, but emerge didn´t compile gst-plugins. After restarting the system, emerge -av gst-plugins recompiled the package (without -Wl, --as-needed).
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 05:59:45 UTC
(In reply to comment #2)
> So I changed my make.conf and entered emerge -av gst-plugins, but emerge didn
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 05:59:45 UTC
(In reply to comment #2)
> So I changed my make.conf and entered emerge -av gst-plugins, but emerge didn´t
> compile gst-plugins. After restarting the system, emerge -av gst-plugins
> recompiled the package (without -Wl, --as-needed).

What do you mean "didn't compile gst-plugins"? Sorry but compile failure is not a portage bug, what are you trying to solve here?
Comment 6 Armin Mohring 2006-11-18 06:06:30 UTC
What do you mean "didn't compile gst-plugins"? Sorry but compile failure is not
a portage bug, what are you trying to solve here?

emerge didn
Comment 7 Armin Mohring 2006-11-18 06:06:30 UTC
What do you mean "didn't compile gst-plugins"? Sorry but compile failure is not
a portage bug, what are you trying to solve here?

emerge didn´t want to recompile gst-plugins with the following command:
emerge -av gst-plugins --newuse.

Clear now? (or not?)
Comment 8 Jakub Moc (RETIRED) gentoo-dev 2006-11-18 06:09:26 UTC
No, not really, sorry.