Bug 225902
Summary: | Merge Review: intltool | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Nobody's working on this, feel free to take it <nobody> |
Component: | Package Review | Assignee: | Gwyn Ciesla <gwync> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Package Reviews List <fedora-package-review> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | gwync, kalevlember, mclasen, petersen, redhat-bugzilla, tomspur |
Target Milestone: | --- | Flags: | gwync:
fedora-review+
|
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-04-06 12:22:58 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Nobody's working on this, feel free to take it
2007-01-31 19:05:33 UTC
intltool.i386: E: tag-not-utf8 %changelog Feel free to apply pedantic fixes like that. * changelog is now in utf8. * rpmlint ../SRPMS/intltool-0.41.0-1.fc11.src.rpm ../RPMS/noarch/intltool-0.41.0-1.fc11.noarch.rpm intltool.src:18: W: unversioned-explicit-obsoletes xml-i18n-tools intltool.noarch: E: devel-dependency gettext-devel intltool.noarch: W: self-obsoletion xml-i18n-tools obsoletes xml-i18n-tools = 0.11 2 packages and 0 specfiles checked; 1 errors, 2 warnings. * rpmlint intltool.spec intltool.spec:18: W: unversioned-explicit-obsoletes xml-i18n-tools 0 packages and 1 specfiles checked; 0 errors, 1 warnings. Obsoletes: xml-i18n-tools < 0.11 solves all 3 issues in this direction. Stays intltool.noarch: E: devel-dependency gettext-devel Fresh review: Good: - rpmlint checks return: intltool.spec:18: W: unversioned-explicit-obsoletes xml-i18n-tools The specfile contains an unversioned Obsoletes: token, which will match all older, equal and newer versions of the obsoleted thing. This may cause update problems, restrict future package/provides naming, and may match something it was originally not inteded to match -- make the Obsoletes versioned if possible. intltool.noarch: W: self-obsoletion xml-i18n-tools obsoletes xml-i18n-tools = 0.11 The package obsoletes itself. This is known to cause errors in various tools and should thus be avoided, usually by using appropriately versioned Obsoletes and/or Provides and avoiding unversioned ones Fix. intltool.src: W: spelling-error %description -l en_US bonobo -> Bono, bonbon, Bonn The value of this tag appears to be misspelled. Please double-check. intltool.src: W: spelling-error %description -l en_US ui -> ii, u, i The value of this tag appears to be misspelled. Please double-check. intltool.src: W: spelling-error %description -l en_US po -> PO, pew, op The value of this tag appears to be misspelled. Please double-check. Ignore. intltool.noarch: E: devel-dependency gettext-devel Your package has a dependency on a devel package but it's not a devel package itself. Does this really need gettext-devel or just gettext? Should perhaps the Requires and BuildRequires for gettext and gettext-devel be reversed? If this is correct, that's fine. Several incorrect FSF address errors, not a huge issue, fix bugs upstream if you like. - package meets naming guidelines - package meets packaging guidelines - license ( GPLv2 with exceptions ) OK, text in %doc, matches source - spec file legible, in am. english - source matches upstream - package compiles on devel (x86_64) - no missing BR - no unnecessary BR - no locales - not relocatable - owns all directories that it creates - no duplicate files - permissions ok - %clean ok - macro use consistent - code, not content - no need for -docs - nothing in %doc affects runtime - no need for .desktop file Otherwise it looks pretty good. Just the dependency questions. Let me know if you'd like me to commit anything. (In reply to comment #4) > > Otherwise it looks pretty good. Just the dependency questions. Let me know if > you'd like me to commit anything. By all means, if you want to change that to your liking, go ahead and commit. Thanks ! Done, thanks! Hi Jon, Thanks for taking care of this. I took a look at the changes done here because of new build failures on rawhide. A few comments: > -BuildRequires: gettext > +BuildRequires: gettext-devel Why is it necessary to change this? It used to build fine with BR: gettext as it only needs the tools from gettext package for building and doesn't use the headers that are in -devel. > -Requires: gettext-devel > +Requires: gettext Requiring gettext-devel was a deliberate change in http://pkgs.fedoraproject.org/gitweb/?p=intltool.git;a=commit;h=b5cc8a4b . If you ever need to find out why some line is the way it is, 'git blame' can help for history digging. Packages that used to rely on intltool dragging in gettext-devel are now failing to build, e.g. gtranslator: http://koji.fedoraproject.org/koji/buildinfo?buildID=312458 If you think it's important to depend on gettext instead of gettext-devel, can you send out a heads up to fedora-devel list that packages will now have to explicitly BR gettext-devel, instead of relying on intltool dragging it in? I fear the ARM secondary arch people aren't very happy about new FTBFS failures, so it's best to try to get package maintainers to fix these early. > -Obsoletes: xml-i18n-tools > -Provides: xml-i18n-tools = 0.11 > +#Obsoletes: xml-i18n-tools > +#Provides: xml-i18n-tools = 0.11 Perhaps remove these lines completely, to avoid cluttering the spec file with commented out lines? Any changes are permanently recorded in git history, so it's always possible to revert them at a later date. Thanks again for taking care of the merge review. (In reply to comment #7) > Hi Jon, > > Thanks for taking care of this. I took a look at the changes done here because > of new build failures on rawhide. A few comments: > > > > -BuildRequires: gettext > > +BuildRequires: gettext-devel > > Why is it necessary to change this? It used to build fine with BR: gettext as > it only needs the tools from gettext package for building and doesn't use the > headers that are in -devel. > > > > -Requires: gettext-devel > > +Requires: gettext > > Requiring gettext-devel was a deliberate change in > http://pkgs.fedoraproject.org/gitweb/?p=intltool.git;a=commit;h=b5cc8a4b . If > you ever need to find out why some line is the way it is, 'git blame' can help > for history digging. Because typically, bits that are needed to build other tools against a given package live in -devel, and bits needed at runtime are in the base package. -devel requires base. I understand that this may not always be the case, especially with tools used in development, such as intltool, but that this breaks builds suggests that gettext's file layout might bear re-examination. Looking at that commit simply tells me that the BR was changed, not why. No BZ or problem is mentioned. > Packages that used to rely on intltool dragging in gettext-devel are now > failing to build, e.g. gtranslator: > http://koji.fedoraproject.org/koji/buildinfo?buildID=312458 > > If you think it's important to depend on gettext instead of gettext-devel, can > you send out a heads up to fedora-devel list that packages will now have to > explicitly BR gettext-devel, instead of relying on intltool dragging it in? I > fear the ARM secondary arch people aren't very happy about new FTBFS failures, > so it's best to try to get package maintainers to fix these early. Agreed. I'm adding the gettext maintainer for his thoughts on the best resolution to this. > > > -Obsoletes: xml-i18n-tools > > -Provides: xml-i18n-tools = 0.11 > > +#Obsoletes: xml-i18n-tools > > +#Provides: xml-i18n-tools = 0.11 > > Perhaps remove these lines completely, to avoid cluttering the spec file with > commented out lines? Any changes are permanently recorded in git history, so > it's always possible to revert them at a later date. I do that on my specs, but typically leave them in place for faster reverting on those belonging to others. > > Thanks again for taking care of the merge review. This change was breaking a lot of builds in rawhide, so I went ahead and fixed the BuildRequires/Requires in http://pkgs.fedoraproject.org/gitweb/?p=intltool.git;a=commit;h=b813c08ae /usr/share/aclocal/intltool.m4 uses gettext macros that are distributed in gettext-devel (e.g. AM_GNU_GETTEXT_VERSION, AM_GNU_GETTEXT, AM_NLS) and because of that, intlool needs to depend on gettext-devel. Some examples of failed builds: devhelp: http://koji.fedoraproject.org/koji/taskinfo?taskID=3996455 gdm: http://koji.fedoraproject.org/koji/taskinfo?taskID=3996427 Ok, thank you. At least we've documented that it needs to be this way. Sorry for the broken builds in the interim. Sorry for not commenting earlier, I haven't thought deeply about it but having this package require gettext-devel seems ok to me. I am not sure if it it makes sense to move gettext's aclocal files to its base package. Probably not. |