Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 108416 - sys-apps/texinfo-4.8-r1's texi2dvi segfaults during emerges
Summary: sys-apps/texinfo-4.8-r1's texi2dvi segfaults during emerges
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Gentoo's Team for Core System packages
URL: http://forums.gentoo.org/viewtopic-p-...
Whiteboard:
Keywords:
: 108018 108576 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-07 11:41 UTC by Gordon Malm (RETIRED)
Modified: 2005-10-16 14:44 UTC (History)
2 users (show)

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


Attachments
Patch based off code from: Norbert Preining <preining at logic.at> (texinfo-4.8-tempfile.patch.1,3.25 KB, patch)
2005-10-07 15:54 UTC, Gordon Malm (RETIRED)
Details | Diff
Patch based off code from: Martin Pitt <martin.pitt at ubuntu.com> (texinfo-4.8-tempfile.patch.2,640 bytes, patch)
2005-10-07 15:55 UTC, Gordon Malm (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Gordon Malm (RETIRED) gentoo-dev 2005-10-07 11:41:58 UTC
THIS IS NOT A DUPE OF SOME OF THE OTHER sys-apps/texinfo OR texi2dvi BUGS THAT 
I COULD FIND.  THE FAILURE IS DIFFERENT.

Using texinfo-4.8-r1:

Underfull \hbox (badness 2142) in paragraph at lines 13128--13138
 @textrm li-brary with al-le-gro[]init() or in-stalling the au-tode-tected sys-
tem driver
[238] [239] [240] [241] Chapter 36 [242] [243] [244] Chapter 37 [245]
Chapter 38 [246] [247] Chapter 39 [248] [249] Chapter 40 [250] [251] [252]
Chapter 41 [253] [254] Chapter 42 [255] [256] Chapter 43 [257] [258]
(./allegro.toc [-1] [-2] [-3] [-4] [-5] [-6] [-7] [-8] [-9] [-10] [-11]
[-12] [-13] [-14] [-15] [-16] [-17]) [-18] )
(see the transcript file for additional information)
Output written on allegro.dvi (277 pages, 996616 bytes).
Transcript written on allegro.log.
/usr/bin/texi2dvi: line 369: 29821 Segmentation fault      $texindex 
$index_files 2>&5 1>&2
/usr/bin/texi2dvi: texindex exited with bad status, quitting.
make: *** [docs/allegro.dvi] Error 1

!!! ERROR: media-libs/allegro-4.0.3 failed.
!!! Function src_compile, Line 68, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


I downgraded to texinfo-4.7 and was able to emerge allegro successfully.

H-nes in the gentoo forums is having the same problem with sci-biology/staden.  
Here is an excerpt from the thread:

!!! ERROR: sci-biology/staden-1.5.3 failed. 
!!! Function src_unpack, Line 110, Exitcode 0 
!!! (no error message) 
!!! If you need support, post the topmost build error, NOT this status message. 

[...] 

/usr/bin/texi2dvi: line 369: 25541 Segmentation fault      $texindex 
$index_files 2>&5 1>&2 
/usr/bin/texi2dvi: texindex exited with bad status, quitting. 
make[1]: *** [scripting.pdf] Error 1 
make: *** [all] Error 2 

!!! ERROR: sci-biology/staden-1.5.3 failed. 
!!! Function src_compile, Line 161, Exitcode 2 
!!! Package compilation failed. 
!!! If you need support, post the topmost build error, NOT this status message.

Thread in the gentoo forums: http://forums.gentoo.org/viewtopic-p-
2781738.html#2781738

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-10-07 13:38:46 UTC
You neglected to post emerge --info output as instructed to when filing the bug. 
Comment 2 Gordon Malm (RETIRED) gentoo-dev 2005-10-07 15:53:15 UTC
Here are two patches that replace sys-apps/texinfo/files/texinfo-4.8-
tempfile.patch.  They fix both the race condition in texinfo-4.8 and the 
Segfaults caused by gentoo's temp race patch (see link below).  Gentoo's 
texinfo maintainers, take your pick.

http://bugs.gentoo.org/show_bug.cgi?id=106105

The first patch is based off code from:
Norbert Preining <preining at logic.at>

The second patch is based off code from:
Martin Pitt <martin.pitt at ubuntu.com>
Comment 3 Gordon Malm (RETIRED) gentoo-dev 2005-10-07 15:54:55 UTC
Created attachment 70122 [details, diff]
Patch based off code from: Norbert Preining <preining at logic.at>
Comment 4 Gordon Malm (RETIRED) gentoo-dev 2005-10-07 15:55:52 UTC
Created attachment 70123 [details, diff]
Patch based off code from: Martin Pitt <martin.pitt at ubuntu.com>
Comment 5 SpanKY gentoo-dev 2005-10-08 10:24:47 UTC
thanks, fixed in 4.8-r2
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-10-09 02:50:32 UTC
*** Bug 108576 has been marked as a duplicate of this bug. ***
Comment 7 SpanKY gentoo-dev 2005-10-11 07:19:05 UTC
*** Bug 108018 has been marked as a duplicate of this bug. ***
Comment 8 Chris Gianelloni (RETIRED) gentoo-dev 2005-10-16 14:44:30 UTC
*** Bug 108018 has been marked as a duplicate of this bug. ***