Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 333297

Summary: app-text/build-docbook-catalog fails with app-misc/getopt
Product: Gentoo/Alt Reporter: Alan Hourihane <alanh>
Component: Prefix SupportAssignee: Gentoo Prefix <prefix>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeMiNT   
Whiteboard:
Package list:
Runtime testing required: ---

Description Alan Hourihane 2010-08-18 11:06:48 UTC
When using app-misc/getopt instead of util-linux, the build of app-text/docbook-xml-dtd doesn't fail but you get a bad error message, as below....

Notice, it couldn't find getopt, yet app-misc/getopt installs a program called /usr/bin/getopt-long only.

>>> Install docbook-xml-dtd-4.3-r1 into /j/var/tmp/portage/app-text/docbook-xml-dtd-4.3-r1/image/ category app-text
>>> Completed installing docbook-xml-dtd-4.3-r1 into /j/var/tmp/portage/app-text/docbook-xml-dtd-4.3-r1/image/

/usr/lib/portage/bin/ebuild-helpers/prepstrip: line 98: scanelf: command not found
/usr/lib/portage/bin/ebuild-helpers/prepstrip: line 186: scanelf: command not found
>>> Done.

>>> Installing (1 of 2) app-text/docbook-xml-dtd-4.3-r1
/usr/bin/build-docbook-catalog: line 27: getopt: command not found
 * Now adding /etc/sgml/sgml-docbook.cat to /etc/sgml/xml-docbook-4.3.cat and /etc/sgml/catalog
 * Now adding /usr/share/sgml/docbook/xml-dtd-4.3/docbook.cat to /etc/sgml/xml-docbook-4.3.cat and /etc/sgml/catalog
Comment 1 Alan Hourihane 2010-08-18 11:54:25 UTC
It's o.k. noticed that interix hacks it in the app-misc/getopt build.

We need to do the same for *-mint*.

Can you guys fix ?
Comment 2 Fabian Groffen gentoo-dev 2010-08-18 16:02:00 UTC
Yes, we can!