Bug 6554 - gdb needs to dependents on host texinfo
Summary: gdb needs to dependents on host texinfo
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2013.02
Hardware: PC Linux
: P5 normal
Target Milestone: ---
Assignee: Gustavo Zacarias
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-17 01:34 UTC by FENG Haibo
Modified: 2013-11-29 01:28 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description FENG Haibo 2013-10-17 01:34:37 UTC
When I tried to build a broadcom chipset target with 2013.02 on Fedora 19, and met a compilation error when installing gdb to the target. The error is that the gdbint.texinfo files can't be correctly parsed:
./gdbint.texinfo:38: misplaced {
./gdbint.texinfo:38: misplaced }
make[7]: *** [gdbint.info] Error 1
....
make[7]: *** [gdb.info] Error 1
make[6]: *** [subdir_do] Error 1
make[5]: *** [install-only] Error 2
make[4]: *** [install] Error 2
make[3]: *** [install-gdb] Error 2
make[2]: *** [install] Error 2

The reason is that host-texinfo isn't compiled yet, to fix we need to add the dependency in gdb.mk

ifeq ($(BR2_PACKAGE_GDB_DEBUGGER),)
GDB_SUBDIR = gdb/gdbserver
HOST_GDB_SUBDIR = .
else
GDB_DEPENDENCIES = ncurses
endif

GDB_DEPENDENCIES += host-texinfo
Comment 1 Thomas Petazzoni 2013-11-14 00:03:18 UTC
Hum, right. However, I believe it would be nicer to completely disable the generation of the documentation in gdb, because we typically don't need it in the context of Buildroot.
Comment 2 Gustavo Zacarias 2013-11-28 19:03:49 UTC
Please try the patch at http://patchwork.ozlabs.org/patch/295009/
It should fix your problem.
Comment 3 Gustavo Zacarias 2013-11-29 01:28:29 UTC
Fixed in commit df8d0b90eb78fcafe2f30ffd8483309a5a38c0be for the upcoming 2013.11 release.
Reopen if you still got issues with this.