Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 26039 - Help doesn't work with genflags-0.94-r1
Summary: Help doesn't work with genflags-0.94-r1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-06 06:29 UTC by Patrick Kursawe (RETIRED)
Modified: 2004-01-18 17:38 UTC (History)
1 user (show)

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


Attachments
Help function for host2flags, tone down standard CFLAGS. (host2flags.diff,1.68 KB, patch)
2003-11-21 12:45 UTC, Tony Vroon (RETIRED)
Details | Diff
Add help function to info2flags. (info2flags.diff,1.41 KB, patch)
2003-11-21 12:56 UTC, Tony Vroon (RETIRED)
Details | Diff
Adds help function to info2host (info2host.diff,1.40 KB, patch)
2003-11-21 13:13 UTC, Tony Vroon (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Kursawe (RETIRED) gentoo-dev 2003-08-06 06:29:10 UTC
info2flags -h
/usr/sbin/info2flags: line 27: dohelp: command not found

perhaps relying on a newer portage version?

emerge info output:
Portage 2.0.48-r5 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.21 i686 AMD Athlon(tm) Processor
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share
/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="x86 oss 3dnow apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikm
od mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib di
rectfb alsa gdbm berkdb slang readline arts tetex svga tcltk java mysql X sdl tc
pd pam libwww ssl perl python esd imlib oggvorbis gtk qt kde motif opengl mozill
a cdr scanner dga doc flash gd imap ipv6 maildir oci8 pic plotutils samba sse us
b wmf -gpm -gnome"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j4"
AUTOCLEAN="yes"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
FEATURES="sandbox ccache distcc"
Comment 1 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2003-08-06 13:03:20 UTC
Nope, I never wrote the help functions in genflags yet.
Patches accepted.
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2003-11-21 12:45:40 UTC
Created attachment 21048 [details, diff]
Help function for host2flags, tone down standard CFLAGS.

Alright, help function for host2flags, let me know if you like it.
This patch also tones down the standard CFLAGS to -O2, please commit this
unmodified.
Specifying -O3 by default is generally a bad idea, as it overoptimizes. Not
only is -O2 faster, it has less tendency to break compiles. (And since this
tool aims to specify flags that Just Work(TM), -O2 seems more appropriate).
Comment 3 Tony Vroon (RETIRED) gentoo-dev 2003-11-21 12:56:11 UTC
Created attachment 21050 [details, diff]
Add help function to info2flags.
Comment 4 Tony Vroon (RETIRED) gentoo-dev 2003-11-21 13:13:01 UTC
Created attachment 21052 [details, diff]
Adds help function to info2host

Right, then this concludes things.
I'm still wondering who added those patches in the diff's, they are not in my
originals. Note that I specify the dohelp above the commandline-parsing, you
need to have defined the function before you can use it, in bashscript.
This is why the example help function in this file didn't work.
Comment 5 Tony Vroon (RETIRED) gentoo-dev 2003-11-22 10:32:56 UTC
s/those patches/those tabs

Comment makes a lot more sense this way.
Comment 6 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2004-01-18 17:38:59 UTC
fixed for 0.95 (coming out shortly).