Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 98287 - xmlto-0.0.18 lets emerge system fail because of missing getopt
Summary: xmlto-0.0.18 lets emerge system fail because of missing getopt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-07 15:33 UTC by Navid Zamani
Modified: 2005-07-09 12:11 UTC (History)
0 users

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


Attachments
config.log for more informations (config.log,50.49 KB, text/plain)
2005-07-07 15:34 UTC, Navid Zamani
Details
prepare - environement preparation script (prepare,2.76 KB, text/plain)
2005-07-07 15:40 UTC, Navid Zamani
Details
install - system installation script (untik kernel incl.) (install,2.53 KB, text/plain)
2005-07-07 15:41 UTC, Navid Zamani
Details
make.conf - makes the system feel like it's mine ;-) (make.conf,1.49 KB, text/plain)
2005-07-07 15:44 UTC, Navid Zamani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Navid Zamani 2005-07-07 15:33:29 UTC
Hello, I'm just installing a fresh system and my "emerge system" broke again.
[Last time there was a problem with svgalib, wich i now had to disable for no
real reason. :( ]

Reproducible: Always
Steps to Reproduce:
I ran the installation with a self-made script (see attachments "prepare" and
"install") and my lovely make.conf (see attachment).
Actual Results:  
"emerge system" stopped at app-text/xmlto-0.0.18 because:
--------------------------------------------------------------------------------
configure:3232: checking whether getopt handles long options
configure:3240: error: no

You need getopt from <http://huizen.dds.nl/~frodol/getopt.html>, or
else some other implementation that supports --longoptions.
--------------------------------------------------------------------------------
See the attached config.log for more details.

Expected Results:  
emerge system should finish normally after installing all packages.

Gentoo Base System version 1.6.12
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 AMD Athlon(tm) Processor
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jul  7 2005, 17:50:57)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -falign-functions=4"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-tbird -fomit-frame-pointer -pipe -falign-functions=4"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache distlocks sandbox sfperms strict
userpriv usersandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
http://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/"
LANG="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 3dnow aalib acl acpi alsa apache2 audiofile avi bash-completion berkdb
bitmap-fonts bluetooth bzlib crypt cups curl curlwrappers dedicated dio directfb
doc emboss encode exif fbcon fftw flac flash flatfile foomaticdb fortran ftp gd
gdbm gif gpm gstreamer gtk2 hardened hardenedphp imagemagick imap imlib innodb
ipv6 jack java jikes jpeg junit ladcca lcms libcaca libg++ libwww mad mikmod
mime ming mmap mmx mng motif mp3 mpeg mysql mysqli ncurses nls nocd offensive
ogg oggvorbis openal pam pcre pdflib perl php png portaudio posix ppds prelude
python quicktime readline ruby samba sdl session shared sharedmem sndfile snmp
soap sockets sox spell spl ssl svg tcpd threads tidy tiff tokenizer truetype
truetype-fonts type1-fonts unicode usb vhosts xml2 xmms xsl xv zlib
fritzcapi_cards_fcpci linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Navid Zamani 2005-07-07 15:34:27 UTC
Created attachment 62866 [details]
config.log for more informations
Comment 2 Navid Zamani 2005-07-07 15:40:40 UTC
Created attachment 62867 [details]
prepare - environement preparation script

you will see that it follows the installation handbook with some added
customization.
Comment 3 Navid Zamani 2005-07-07 15:41:20 UTC
Created attachment 62868 [details]
install - system installation script (untik kernel incl.)

you will see that it follows the installation handbook with some added
customization.
Comment 4 Navid Zamani 2005-07-07 15:44:04 UTC
Created attachment 62869 [details]
make.conf - makes the system feel like it's mine ;-)

no rants please. i've read enough guides/docs to think i know what i did. ;)
but tips of what i could do better are always welcome. because: nobody's
perfect. :)
Comment 5 Navid Zamani 2005-07-07 15:47:48 UTC
Oh sorry, I forgot: the text at the end of "emerge system" told me to use
config.log to "please" file a bug report. ;)

So I did. And I really searched for everything containing xmlto in the bug list.
(I couldn't believe that it wasn't reported yet. ;)

I hope I made finding the problem easy...
Comment 6 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-07 18:02:39 UTC
Do you have /usr/bin/getopt in your system?
Do you have sys-apps/util-linux installed?

The reason this doesn't seem to be a problem for most people is that util-linux
is part of the default profile, so by the time the user installs xmlto,
util-linux (and the getopt program) should already be in the system. Your case
is showing that something's wrong and apparently util-linux wasn't installed.

I will add util-linux as an explicit dep to xmlto, but I'll wait for your
confirmation first.

Also, please avoid posting unnecessary data in your bug reports. Initially, we
are only interested in the output from "emerge info", the output from the emerge
process and possibly the relevant config.log file, and we'll let you know if we
need something else from there.

Thanks.
Comment 7 Navid Zamani 2005-07-08 05:10:02 UTC
(In reply to comment #6)
> Do you have /usr/bin/getopt in your system?
> Do you have sys-apps/util-linux installed?

Please try to read the whole bug-report before asking such questions: ;)
"Hello, I'm just installing a _fresh system_ and my _"emerge system"_ broke again."
Or is there any case where someone is installing a fresh system and uses emerge
system after he already installed most of his system? ;)
(In that case sorry for my unknowledge... i'm just a user...)

> Your case is showing that something's wrong and apparently util-linux wasn't
installed.

Hmm... must be the use flags, right? But I don't think someone can rely on a
package to be installed in gentoo... Too much configurability I guess. And if
you are allowed to set an use-flag combination then it shoud work, if I
understood the gentoo-philosophy correctly... And else it should give a straight
error-message at the beginning of the bootstrap or an emerge. There's a reason
"ability" is a part of "configurability", isn't it? ;)

> I will add util-linux as an explicit dep to xmlto, but I'll wait for your
> confirmation first.

Would be fine. :) How long do I have to wait until i can try again to install my
system / gentoo?
I'm *a bit* under time-pressure, and any way to minimize that time would be
wonderful... (like using another server for rsync/packages...)

> Also, please avoid posting unnecessary data in your bug reports. Initially, we
> are only interested in the output from "emerge info", the output from the emerge
> process and possibly the relevant config.log file, and we'll let you know if we
> need something else from there.

ACK. Last time I got told that I did not deliver enough information all the
time, so this time I wanted to be sure. ;)
At least maybe someone finds the scripts useful. ;)

> Thanks.

Dito

Comment 8 Navid Zamani 2005-07-08 05:14:19 UTC
Note on initial "severity" setting: I had set it to "blocker", because it
blocked the usage of software. Those software was the whole gentoo installation.
So in fact it still blocks me from installing gentoo at all. If this is not a
blocker, then what is it? ;)

Anyway. You're the developers, so i leave this decision to you...
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2005-07-08 15:12:43 UTC
xmlto depends now on util-linux. Thanks for the report.

As a work-around, just emerge util-linux manually before xmlto.
Comment 10 Navid Zamani 2005-07-09 04:32:12 UTC
(In reply to comment #9)
> xmlto depends now on util-linux. Thanks for the report.
> As a work-around, just emerge util-linux manually before xmlto.

Thank you for the quick fixing! :)

Comment 11 Navid Zamani 2005-07-09 12:11:06 UTC
damn. now i'm stuck again with xmlto. this time i got the bug back from xmlto-0.0.15 long time ago: /etc/xml/* catalogs are broken or something like that.  i'm just trying the solution i got from the old fixed bug reports (easily to find when searching "xmlto-0.0.15 network entity" or a similar query in bugzilla) *crossing fingers*  why isn't this still fixed yet? or is it a demon that just does come back on every version? ;)