The dependency is set in the wrong order. bugzilla-contrib should depend on bugzilla, not the opposite. It's not that common to use tools in contrib/. Also, the current dependency means that Ruby is required to install Bugzilla, which is a non-sense as Bugzilla is a pure Perl application. manu, could you fix that, please?
(In reply to comment #0) > > The dependency is set in the wrong order. It's set both ways, actually. The bugzilla package depends on bugzilla-contrib and bugzilla-contrib depends on bugzilla. > Also, the current dependency means that Ruby is required to install Bugzilla, > which is a non-sense as Bugzilla is a pure Perl application. Well, Ruby and Python but the latter seems inescapable in the Fedora ecosystem. > manu, could you fix that, please? The problem stems fron the fact that running checksetup.pl creates contrib/.htaccess . If the contrib directory doesn't exist, checksetup.pl fails and we can't afford to have that happen. The two solutions that I can think of are : * patch Bugzilla/Install/Filesystem.pl to ignore contrib/ if it doesn't exist. * ship the bugzilla rpm with an empty contrib directory, the contrib sub-package itself containing only the files. Note that I'll have to check that the second solution doesn't violate packaging guidelines. LpSolit, any opinion ?
(In reply to comment #1) > Well, Ruby and Python but the latter seems inescapable in the Fedora ecosystem. Python is maybe the de facto language in the Fedora world, but Bugzilla itself only requires Perl, and I don't know why another language is required. > * patch Bugzilla/Install/Filesystem.pl to ignore contrib/ if it doesn't exist. > * ship the bugzilla rpm with an empty contrib directory, the contrib > sub-package itself containing only the files. For the current problem, i.e. the Fedora RPM, you should include an empty contrib/ directory, so that you don't need to hack the code. But more globally, as this problem also exists for other Linux distros, you should file a bug upstream asking either checksetup.pl to first create contrib/ if it doesn't exists, or ignore contrib/.htaccess. The latter solution makes more sense as there is no need to configure an empty directory. On the other hand, already creating .htaccess would already protect contrib/ in case files are added to it by bugzilla-contrib later (so that you don't need to rerun checksetup.pl, unless bugzilla-contrib contains contrib/.htaccess itself). I will let mkanat decide what's best.
The main package should ship a contrib/ with just recode.pl in it.
*** Bug 680670 has been marked as a duplicate of this bug. ***
Note: bug 680670 contains a proposed patch for this as attachment 481192 [details]
bugzilla-3.6.4-2.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/bugzilla-3.6.4-2.fc14
bugzilla-3.4.10-2.fc13 has been submitted as an update for Fedora 13. https://admin.fedoraproject.org/updates/bugzilla-3.4.10-2.fc13
bugzilla-3.6.4-5.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/bugzilla-3.6.4-5.fc15
(In reply to comment #3) > > The main package should ship a contrib/ with just recode.pl in it. Done.
bugzilla-3.6.4-5.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
bugzilla-3.4.10-2.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
bugzilla-3.6.4-2.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.