FS#27539 - [texinfo] The standalone `info' doc viewer doesn't show correctly some programs documentation

Attached to Project: Arch Linux
Opened by Ricardo (jimenezrick) - Monday, 12 December 2011, 01:47 GMT
Last edited by Allan McRae (Allan) - Tuesday, 13 December 2011, 23:43 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

- Description:

The standalone `info' doc viewer doesn't show correctly some programs documentation (missing sections in their indexes) and the top level node is completely blank:

# Show top level node, empty content:
$ info

# Show bash doc index, but sections listing is missing:
$ info bash

I discovered that this is caused by the flag `-fstack-protector' from /etc/makepkg.conf (the default one that comes with Arch).

Compiling texinfo manually from sources creates a binary that works properly. But compiling the Arch package with makepkg triggers the bug in my machine. Removing `-fstack-protector' from CFLAGS fixes the issue.

In my case, this happens with an AMD64 CPU on Arch 64 bits.

My makepkg.conf's CFLAGS comes with:

CFLAGS="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2"


- Additional info:

Texinfo version: 4.13a-6
makepkg.conf contains: -fstack-protector


- Steps to reproduce:

Compile texinfo from source with makepkg.
Use the default makepkg.conf.
Maybe necessary to use Arch 64 bits.
This task depends upon

Closed by  Allan McRae (Allan)
Tuesday, 13 December 2011, 23:43 GMT
Reason for closing:  Fixed
Comment by Ricardo (jimenezrick) - Monday, 12 December 2011, 01:56 GMT
Ups!, sorry I forgot to give a proper issue title :-/
Comment by Allan McRae (Allan) - Monday, 12 December 2011, 08:28 GMT
Should be fixed with texinfo-4.13a-7 in [testing]
Comment by Jelle van der Waa (jelly) - Monday, 12 December 2011, 08:29 GMT
Fixed, next time please add a nice description title :)
Comment by Ricardo (jimenezrick) - Tuesday, 13 December 2011, 22:55 GMT
I think the patch MD5 is incorrect in the new package, it actually is:

575b83c0be1b40a2c39716a9522283ce texinfo-4.13a-data_types.patch
Comment by Allan McRae (Allan) - Tuesday, 13 December 2011, 23:43 GMT
It is fine in ABS:

allan@mugen /var/abs/testing/texinfo
> md5sum texinfo-4.13a-data_types.patch
d8574782ff7def1e2dc5c291dbeaec18 texinfo-4.13a-data_types.patch

Loading...