Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 333297 - app-text/build-docbook-catalog fails with app-misc/getopt
Summary: app-text/build-docbook-catalog fails with app-misc/getopt
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All FreeMiNT
: High normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-18 11:06 UTC by Alan Hourihane
Modified: 2010-08-18 16:02 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 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!