Description of problem: The trigger-based installation of docbook-dtd entries into openjade's catalogs, as described in bug #234345, does not work when both packages are installed at the same time. Which is the case, for example, when building a package that buildrequire's both of them. Version-Release number of selected component (if applicable): docbook-dtds-1.0-42.fc11 How reproducible: 100% Steps to Reproduce: 1. Try to build libdbi using mock or koji Actual results: Fails with a bunch of strange errors while trying to build its documentation. See for example http://koji.fedoraproject.org/koji/taskinfo?taskID=1137699 Expected results: Should work Additional info: I've verified that the case works with F-9 docbook-dtds and fails with F-10. The only difference between those two packages is the moving of the xmlcatalog calls into a trigger, so that is clearly the source of the problem. I speculate that rpm is installing openjade second and failing to call the trigger, so maybe this is at bottom an rpm bug. This is fairly urgent because it means that libdbi fails to build from source, and that's going to be an issue with the mass rebuild scheduled for next week. If there are any other packages that try to build docbook documentation from source, they're gonna fail too.
Thanks for report - will discuss that with RPM guy and hopefully find fix or at least workaround...
From the build log is clear, that trigger solution works in mock, problem was with registration order. When I locally modified /etc/sgml/catalog to have sgml catalogs before xml catalogs, I was able to build libdbi. Tried to modify registration order in trigger, hopefully it will solve the issue, will check it ...
Tried with docbook-dtds-1.0-44.fc11 , libdbi scratch build (http://koji.fedoraproject.org/koji/taskinfo?taskID=1139874 ) seems to pass without troubles . Hopefully will work for you.
Confirmed, it builds without error now. Thanks for the fast response!