Bug 876710 - Cannot build gdb.rpm - texi2dvi rc 1
Summary: Cannot build gdb.rpm - texi2dvi rc 1
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: texlive
Version: 18
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jindrich Novy
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-14 19:04 UTC by Jan Kratochvil
Modified: 2013-07-02 23:57 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-02-16 00:58:27 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
rpm -qa of that system (28.14 KB, text/plain)
2012-11-14 19:06 UTC, Jan Kratochvil
no flags Details
gdb.spec patch to re-enable PDF build. (930 bytes, patch)
2012-12-13 09:56 UTC, Jan Kratochvil
no flags Details | Diff

Description Jan Kratochvil 2012-11-14 19:04:07 UTC
Description of problem:
I could always build gdb in Koji but I no longer can.
It fails on building PDF doc there.

Version-Release number of selected component (if applicable):
PASS texinfo-tex-4.13a-17.fc18.x86_64
FAIL texinfo-tex-4.13a-18.fc18.x86_64
gdb-7.5.0.20120926-26.fc18.src

How reproducible:
In Koji always.
Locally reproduced also in F18 VM by hand.

Steps to Reproduce:
wget http://kojipkgs.fedoraproject.org//work/tasks/7692/4687692/gdb-7.5.0.20120926-26.fc18.src.rpm
extract that src.srpm
rpmbuild -bb gdb.spec

Actual results:
texi2dvi --pdf -I ../../../gdb/doc ../../../gdb/doc/annotate.texinfo
make: *** [gdb.pdf] Error 1
make: *** Waiting for unfinished jobs....
make: *** [annotate.pdf] Error 1
make: Leaving directory `/home/jkratoch/redhat/gdb-7.5.0.20120926-26.fc18.src/gdb-7.5.0.20120926/build-x86_64-redhat-linux-gnu/gdb/doc'
error: Bad exit status from /var/tmp/rpm-tmp.OMWCg7 (%build)

Expected results:
Built gdb.rpm.

Additional info:
http://kojipkgs.fedoraproject.org//work/tasks/7701/4687701/build.log
 - the same error.
After the error:

$ cd /home/jkratoch/redhat/gdb-7.5.0.20120926-26.fc18.src/gdb-7.5.0.20120926/build-x86_64-redhat-linux-gnu/gdb/doc
$ texi2dvi --pdf -I ../../../gdb/doc ../../../gdb/doc/annotate.texinfo
$ echo $?
1

Previous build was successful:
https://koji.fedoraproject.org/koji/buildinfo?buildID=358405
texinfo-tex-4.13a-17.fc18.x86_64

But maybe it is unrelated to texinfo-tex and it is caused by texlive?

Comment 1 Jan Kratochvil 2012-11-14 19:06:45 UTC
Created attachment 645062 [details]
rpm -qa of that system

Comment 2 Jindrich Novy 2012-11-15 05:36:49 UTC
The problem is on kpathsea's side (i.e. TeX Live). kpathsea refuses to index directories which are symlinks and this is exactly the case of texinfo-tex. It puts all its files to old TEXMF hierarchy -> /usr/share/texmf which doesn't get
indexed from /usr/share/texlive/texmf-local so the call to etex from texi2dvi fails.

I will fix it in the new texlive build (release 8+)

Comment 3 Fedora Update System 2012-11-16 07:04:00 UTC
texlive-2012-8.20121115_r28267.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/texlive-2012-8.20121115_r28267.fc18

Comment 4 Fedora Update System 2012-11-17 02:29:39 UTC
Package texlive-2012-8.20121115_r28267.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing texlive-2012-8.20121115_r28267.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-18380/texlive-2012-8.20121115_r28267.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-11-20 07:17:38 UTC
texlive-2012-8.20121115_r28267.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 7 Jan Kratochvil 2012-12-13 09:56:51 UTC
Created attachment 662824 [details]
gdb.spec patch to re-enable PDF build.

Still failing:
http://kojipkgs.fedoraproject.org//work/tasks/6035/4786035/build.log
make: *** [gdb.pdf] Error 1

I had to disable PDF generation in the meantime, attaching here a gdb.spec patch to re-enable it.

Comment 8 Fedora Update System 2013-02-06 14:53:14 UTC
texlive-2012-16.20130205_r29034.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/texlive-2012-16.20130205_r29034.fc18

Comment 9 Fedora Update System 2013-02-08 02:16:34 UTC
Package texlive-2012-16.20130205_r29034.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing texlive-2012-16.20130205_r29034.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-2048/texlive-2012-16.20130205_r29034.fc18
then log in and leave karma (feedback).

Comment 10 Fedora Update System 2013-02-16 00:58:29 UTC
texlive-2012-16.20130205_r29034.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.