When emerging xmlto it tries to use getopt-long which doesn't seem to exist on RHEL 5.5.
Created attachment 246652 [details] build.log I'm not sure why it decides it should be using getopt-long in the first place...
checking for bash... /bin/sh checking for getopt... getopt-long checking for long options support in getopt-long... ./configure: line 3798: getopt-long: command not found no configure: error: Smells like PATHs are hardcoded in configure.
I don't think it's a hardcoded path. These RHEL 5.5 computers just don't have getopt-long on them. aij@ghc07:~$ rpm -qf /usr/bin/getopt util-linux-2.13-0.52.el5_4.1 aij@ghc07:~$ rpm -ql util-linux | grep long aij@ghc07:~$ I followed the bootstrap process at http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml Is getopt normally supposed to be part of system? If so, might it make sense to include it as part of system on prefix also, or would that break something?
hmmm, xmlto can't know you're on a old util-linux without getopt-long support. It should depend on this though, which should be enough: || ( sys-apps/util-linux app-misc/getopt ) What pulls in xmlto, at which step are you? Feels like this shouldn't come at this stage yet.
(In reply to comment #4) > hmmm, xmlto can't know you're on a old util-linux without getopt-long support. > ... > || ( sys-apps/util-linux app-misc/getopt ) Oh. On linux we provide util-linux. Bummer =/ However, I am on an older RHEL than you and have no issues with xmlto. %% rpm -qf /usr/bin/getopt util-linux-2.12a-16.EL4.25
> However, I am on an older RHEL than you and have no issues with xmlto. > %% rpm -qf /usr/bin/getopt > util-linux-2.12a-16.EL4.25 Does that version include getopt-long?
(In reply to comment #6) > > However, I am on an older RHEL than you and have no issues with xmlto. > > %% rpm -qf /usr/bin/getopt > > util-linux-2.12a-16.EL4.25 > > Does that version include getopt-long? > No, I have no /usr/bin/getopt-long, or getopt-long in my PATH anywhere else.
This package is problematic on os x lion as described in this thread: http://forums.gentoo.org/viewtopic-t-922948-start-0.html Not sure if it should be a separate bug or not. I am not the poster of that thread, but am experiencing the issue as well. How should I proceed (new bug or details here)? Sorry for the noise.
Problem is we install util-linux, so the logic is flawed.
util-linux is masked on Darwin now, so getopt should be drawn in