Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56698 - portage-2.0.50-r9 : replace-flags command not found
Summary: portage-2.0.50-r9 : replace-flags command not found
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-11 09:29 UTC by jack_mort
Modified: 2004-08-02 04:07 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 jack_mort 2004-07-11 09:29:57 UTC
Since portage was upgraded to 2.0.50-r9, every ebuild using the function "replace-flags" from the flag-o-matic eclass gives an error "/usr/sbin/ebuild.sh: 23 replace-flags: command not found"

Downgrading to r8 solves the problem

Reproducible: Always
Steps to Reproduce:
1. emerge =sys-apps/portage-2.0.50-r9
2.
3.




Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040605-r0,
2.6.7-gentoo-r9)
=================================================================
System uname: 2.6.7-gentoo-r9 x86_64 4
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -momit-leaf-frame-pointer -fweb
-frename-registers -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -fomit-frame-pointer -momit-leaf-frame-pointer
-fweb -frename-registers -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa amd64 audiofile avi cdr crypt cups dedicated dga dvd dvdr
encode esd fam flac foomaticdb gif gnome gtk gtk2 imlib java jpeg lirc matroska
mikmod mozilla mpeg multilib ncurses nls nptl oggvorbis opengl oss pam pdflib
perl png python quicktime readline samba sdl slang spell ssl tcpd tiff truetype
unicode wmf xml2 xv zlib"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-07-11 12:49:30 UTC
That's a bug in the ebuilds in question, not portage.  Please file bugs about
which packages.  Thanks.
Comment 2 jack_mort 2004-07-11 12:58:04 UTC
Well, OK but could you be more precise about the bug as I've some personal ebuilds using replace-flags...
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-07-11 21:18:07 UTC
You need to inherit flag-o-matic
Comment 4 jack_mort 2004-07-12 02:27:08 UTC
Humm... I'll verify when I'm back home but as far as I remember, my ebuilds do inherit flag-o-matic... BTW, before r9, you also had to inherit flag-o-matic, no ?
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-07-12 02:28:19 UTC
No.  It was in extra_functions.sh
Comment 6 mapelo 2004-07-12 16:58:18 UTC
With this portage-2.0.50-r9, I have two commands not found. Every 'emerge sync' I have this:

Updating Portage cache... -/usr/sbin/ebuild.sh: line 14: filter-flags: 
command not found
/usr/sbin/ebuild.sh: line 38: strip-flags: command not found
  ...done!
Comment 7 jack_mort 2004-07-12 23:38:15 UTC
@Mr Bones : you were right, some of my ebuils were lacking the flag-o-matic inheritance ;-) Thanks !
Comment 8 Michael Postmann 2004-07-26 23:44:31 UTC
dagobert root # emerge -U world -a
>>> --upgradeonly implies --update... adding --update to options.

These are the packages that I would merge, in order:

Calculating world dependencies /kde
/usr/sbin/ebuild.sh: line 9: replace-flags: command not found                  \/usr/sbin/ebuild.sh: line 7: replace-flags: command not found
/usr/sbin/ebuild.sh: line 7: replace-flags: command not found
/usr/sbin/ebuild.sh: line 7: replace-flags: command not found
/usr/sbin/ebuild.sh: line 7: replace-flags: command not found                  -
emerge: there are no masked or unmasked ebuilds to satisfy ">=gnome-extra/libgtkhtml-3.1.12".

!!! Problem with ebuild mail-client/evolution-1.5.9.2
!!! Possibly a DEPEND/*DEPEND problem.

!!! Depgraph creation failed.
Comment 9 Brian Harring (RETIRED) gentoo-dev 2004-08-02 04:07:52 UTC
This sounds like ebuilds lagging behind portage (specifically needing an inherit call)- closing.
This is a good example of why having this functionality in the tree, rather then bundled to portage is needed...
Reopen if it persists, although likely the ebuilds in question just need fixing.