Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 381559 - sys-boot/grub-1.99-r1 fails to build erroring out help2man.
Summary: sys-boot/grub-1.99-r1 fails to build erroring out help2man.
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tomáš Chvátal (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-02 11:46 UTC by Harrison Metzger
Modified: 2012-02-04 19:59 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,149.95 KB, text/plain)
2012-02-04 19:55 UTC, Jeff Kowalczyk
Details
emerge --info (emergeinfo.txt,5.44 KB, text/plain)
2012-02-04 19:55 UTC, Jeff Kowalczyk
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Harrison Metzger 2011-09-02 11:46:07 UTC
When I try to install grub2, it errors out with the help2man saying it can't get the help for grub-install. I tried both with grub1 installed and uninstalled when I've tried to install grub2 (made no difference)

Reproducible: Always

Steps to Reproduce:
1.cave resolve grub -x
2.
3.
Comment 1 Harrison Metzger 2011-09-02 11:47:11 UTC
...
chmod a+x grub-install
chmod a+x grub-mkrescue
PATH=.:$PATH /usr/bin/help2man --section=1 -i /var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/docs/man/grub-mkrescue.h2m -o grub-mkrescue.1 grub-mkrescue
chmod a+x grub-mknetdir
chmod a+x grub-install
PATH=.:$PATH /usr/bin/help2man --section=8 -i /var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/docs/man/grub-install.h2m -o grub-install.8 grub-install
chmod a+x grub-mkconfig
chmod a+x grub-mknetdir
PATH=.:$PATH /usr/bin/help2man --section=8 -i /var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/docs/man/grub-mknetdir.h2m -o grub-mknetdir.8 grub-mknetdir
chmod a+x grub-set-default
chmod a+x grub-mkconfig
chmod a+x grub-reboot
PATH=.:$PATH /usr/bin/help2man --section=8 -i /var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/docs/man/grub-mkconfig.h2m -o grub-mkconfig.8 grub-mkconfig
chmod a+x grub-set-default
PATH=.:$PATH /usr/bin/help2man --section=8 -i /var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/docs/man/grub-set-default.h2m -o grub-set-default.8 grub-set-default
config.status: WARNING:  '/var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/util/grub-install.in' seems to ignore the --datarootdir setting
config.status: WARNING:  '/var/tmp/paludis/sys-boot-grub-1.99-r1/work/grub-1.99/util/grub-mknetdir.in' seems to ignore the --datarootdir setting

Error:
  * In program cave perform install --hooks --managed-output --output-exclusivity with-others =sys-boot/grub-1.99-r1:2::gentoo --destination installed --x-of-y 1 of 1:
  * When installing 'sys-boot/grub-1.99-r1:2::gentoo':
  * When running an ebuild command on 'sys-boot/grub-1.99-r1:2::gentoo':
  * Install failed for 'sys-boot/grub-1.99-r1:2::gentoo' (paludis::ActionFailedError)

make[2]: Leaving directory `/var/tmp/paludis/sys-boot-grub-1.99-r1/work/build-pc'
make[1]: Leaving directory `/var/tmp/paludis/sys-boot-grub-1.99-r1/work/build-pc'
help2man: can't get `--help' info from grub-install
Try `--no-discard-stderr' if option outputs to stderr
make[2]: *** [grub-install.8] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR in sys-boot/grub-1.99-r1::gentoo:
!!! In /usr/libexec/paludis/utils/emake at line 30
!!! emake returned error 2

!!! Call stack:
!!!    * paludis_die_or_error_func (/usr/libexec/paludis/die_functions.bash:67)
!!!    * main (/usr/libexec/paludis/utils/emake:30)

diefunc: making ebuild PID 28479 exit with error
die trap: exiting with error.

Failed install to / for sys-boot/grub-1.99-r1:2::gentoo


 * Checking whether the GNU info directory needs updating...
 * No updates needed

Summary:

failed:    install sys-boot/grub-1.99-r1:2::gentoo to ::installed
*** Messages log: /var/log/paludis/1314963742-install-sys-boot_grub-1.99-r1:2::gentoo.messages
*** Output log: /var/log/paludis/1314963742-install-sys-boot_grub-1.99-r1:2::gentoo.out

 * You have 1 unread news items (use 'eselect news' to read)

 * Searching for configuration files requiring action...
 * No configuration file updates required
Comment 2 SpanKY gentoo-dev 2011-09-07 03:45:35 UTC
you must post `emerge --info` with every bug report

also post the *full* build log as an attachment.  never post it as a comment.
Comment 3 Jeff Kowalczyk 2012-02-04 19:55:08 UTC
Created attachment 300921 [details]
build.log
Comment 4 Jeff Kowalczyk 2012-02-04 19:55:30 UTC
Created attachment 300923 [details]
emerge --info
Comment 5 Jeff Kowalczyk 2012-02-04 19:57:58 UTC
On grub-9999 as of r3848 (since Dec 10th actually), I see a similar bug:

chmod a+x grub-mkstandalone
PATH=.:$PATH /usr/bin/help2man --section=1 -i /var/tmp/portage/sys-boot/grub-9999/work/grub-9999/docs/man/grub-mkstandalone.h2m -o grub-mkstandalone.1 grub-mkstandalone
help2man: can't get `--help' info from grub-mkrescue
Try `--no-discard-stderr' if option outputs to stderr
make[2]: *** [grub-mkrescue.1] Error 1
make[2]: *** Waiting for unfinished jobs....
help2man: can't get `--help' info from grub-mkstandalone
Try `--no-discard-stderr' if option outputs to stderr
make[2]: *** [grub-mkstandalone.1] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-guessed'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/sys-boot/grub-9999/work/build-guessed'
make: *** [all] Error 2

Attaching build.log, emerge --info. Repeatable on all my Gentoo ~amd64 machines.

Thanks.
Comment 6 Jeff Kowalczyk 2012-02-04 19:59:09 UTC
P.S. I don't know if it's worthy of a separate bug, but can someone update the bzr URL with the trailing slash?

 * bzr pull start -->
 *    repository: http://bzr.savannah.gnu.org/r/grub/trunk/grub/
http://bzr.savannah.gnu.org/r/grub/trunk/grub is permanently redirected to http://bzr.savannah.gnu.org/r/grub/trunk/grub/
Now on revision 3848.
 * exporting ...
 * revision 3848 is now in /var/tmp/portage/sys-boot/grub-9999/work/grub-9999

Thanks.