After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 657195 - Strange failures when building RPM packages in mock
Strange failures when building RPM packages in mock
Status: RESOLVED OBSOLETE
Product: libxslt
Classification: Platform
Component: general
1.1.26
Other Linux
: Normal normal
: ---
Assigned To: Maintainers of GNOME subtitles
Maintainers of GNOME subtitles
Depends on:
Blocks:
 
 
Reported: 2011-08-23 19:57 UTC by Julian Sikorski
Modified: 2021-07-05 11:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build log (32.28 KB, text/plain)
2011-08-23 19:57 UTC, Julian Sikorski
Details
new build log (49.24 KB, text/plain)
2011-08-24 06:04 UTC, Julian Sikorski
Details
Two builds: parallel, then single-threaded (61.82 KB, text/plain)
2012-01-05 12:01 UTC, Julian Sikorski
Details
freshest build log (26.07 KB, text/plain)
2012-01-10 01:58 UTC, Julian Sikorski
Details

Description Julian Sikorski 2011-08-23 19:57:48 UTC
Created attachment 194526 [details]
build log

Hi,
I just tried to update the Fedora packages of gnome-subtitles. Unfortunately, the RPM does not build:
xsltproc -o gnome-subtitles-oc.omf --stringparam db2omf.basename gnome-subtitles --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang oc --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/builddir/build/BUILD/gnome-subtitles-1.2/help/gnome-subtitles.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` oc/gnome-subtitles.xml || { rm -f "gnome-subtitles-oc.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse oc/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-oc.omf] Error 1
make[1]: *** Waiting for unfinished jobs....
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-dia.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse cs/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-cs.omf] Error 1
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse de/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-de.omf] Error 1
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse C/gnome-subtitles.xml
unable to parse da/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-C.omf] Error 1
make[1]: *** [gnome-subtitles-da.omf] Error 1
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
   ^
http://www.oasis-open.org/docbook/xml/4.1.2/ent/iso-grk1.ent:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
      ^
unable to parse el/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-el.omf] Error 1
Comment 1 Pedro Castro 2011-08-23 21:52:28 UTC
Hey there Julian.

From what I've read, this should be due to a missing package. While I don't know for sure which package it is, here's a list (these are Ubuntu packages and the first should be the most probable one to fix): sgml-data, docbook-xml, docbook-xsl, docbook-utils, rarian-compat, xml-core.
Comment 2 Julian Sikorski 2011-08-24 06:04:47 UTC
Created attachment 194546 [details]
new build log

Hmm, I just tried to reproduce the problem with the same source rpm and it worked. Since Fedora uses parallel build by default, it might have been some race condition.
Comment 3 Pedro Castro 2011-08-24 08:10:46 UTC
Alright, good thing you figured it out. I've just received a report about Debian packages and all was ok, so I'm marking this as fixed. Please reopen if you find any further problems.

Cheers
Comment 4 Julian Sikorski 2012-01-05 12:01:07 UTC
Created attachment 204681 [details]
Two builds: parallel, then single-threaded

I just hit this bug again with gnome-subtitles 1.2 on Fedora rawhide and Fedora 16. Given that the removal of %{?_smp_mflags} did not help, parallel build is of the hook.
Comment 5 Julian Sikorski 2012-01-10 01:57:19 UTC
This is some weird issue with libxslt I think.
With mock build, it will fail here:

xsltproc -o gnome-subtitles-da.omf --stringparam db2omf.basename gnome-subtitles --stringparam db2omf.format 'docbook' --stringparam db2omf.dtd "-//OASIS//DTD DocBook XML V4.1.2//EN" --stringparam db2omf.lang da --stringparam db2omf.omf_dir "/usr/share/omf" --stringparam db2omf.help_dir "/usr/share/gnome/help" --stringparam db2omf.omf_in "/builddir/build/BUILD/gnome-subtitles-1.2/help/gnome-subtitles.omf.in"  `/usr/bin/pkg-config --variable db2omf gnome-doc-utils` da/gnome-subtitles.xml || { rm -f "gnome-subtitles-da.omf"; exit 1; }
http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod:1: validity error : All markup of the conditional section is not in the same entity
HTTP/1.1 200 OK
^
http://www.oasis-open.org/docbook/xml/4.1.2/dbpoolx.mod:1: parser error : Content error in the external subset
HTTP/1.1 200 OK
   ^
unable to parse da/gnome-subtitles.xml
make[1]: *** [gnome-subtitles-da.omf] Error 1

But then, if you do:

$ mock -r fedora-rawhide-x86_64 shell
INFO: mock.py version 1.1.18 starting...
State Changed: init plugins
INFO: selinux enabled
State Changed: start
State Changed: lock buildroot
State Changed: shell
<mock-chroot>[root@snowball2 /]# cd builddir/build/SPECS/
<mock-chroot>[root@snowball2 SPECS]# rpmbuild -bc --short-circuit gnome-subtitles.spec

The build will continue and xsltproc will be able to process the file. I am seeing similar heisenbugs with gnome-chemistry-utils-0.13.5 rpm package as well.
Comment 6 Julian Sikorski 2012-01-10 01:58:11 UTC
Created attachment 204922 [details]
freshest build log
Comment 7 Julian Sikorski 2012-01-10 02:16:50 UTC
Exhibit B:
Build succeeded in koji:
https://koji.fedoraproject.org/koji/buildinfo?buildID=282455
Comment 8 GNOME Infrastructure Team 2021-07-05 11:00:50 UTC
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org.
As part of that, we are mass-closing older open tickets in bugzilla.gnome.org
which have not seen updates for a longer time (resources are unfortunately
quite limited so not every ticket can get handled).

If you can still reproduce the situation described in this ticket in a recent
and supported software version, then please follow
  https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines
and create a new ticket at
  https://gitlab.gnome.org/GNOME/libxslt/-/issues/

Thank you for your understanding and your help.