Summary: | app-misc/fslint-2.44 depends on >=dev-util/glade-3.16.1[-python_single_target_python2_7] ? | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Eugene Shalygin <eugene.shalygin> |
Component: | Current packages | Assignee: | Tom Wijsman (TomWij) (RETIRED) <tomwij> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | defuebr, thanasis |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Eugene Shalygin
2014-04-03 14:24:52 UTC
(In reply to Eugene Shalygin from comment #0) > emerge app-misc/fslint asks for the following: Please post the entire output of that command. # emerge -1 fslint
Calculating dependencies... done!
[ebuild R ] dev-util/glade-3.16.1 USE="python*" PYTHON_SINGLE_TARGET="-python2_7*"
[ebuild U ] app-misc/fslint-2.44 [2.42] PYTHON_TARGETS="python2_7%* -python2_6%"
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by app-misc/fslint-2.44
# required by fslint (argument)
>=dev-util/glade-3.16.1 -python_single_target_python2_7
# emerge -vp fslint
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild NS ] dev-python/pygobject-3.10.2:3 [2.28.6-r55:2] USE="cairo threads -examples {-test}" PYTHON_TARGETS="python2_7 python3_3 -python3_2" 0 kB
[ebuild N ] dev-util/glade-3.16.1:3.10/6 USE="introspection python -debug {-test}" PYTHON_SINGLE_TARGET="-python2_7" PYTHON_TARGETS="python2_7" 3,008 kB
[ebuild N ~] app-misc/fslint-2.44 USE="nls" PYTHON_TARGETS="python2_7 -python2_6" 114 kB
Total: 3 packages (2 new, 1 in new slot), Size of downloads: 3,122 kB
The following USE changes are necessary to proceed:
(see "package.use" in the portage(5) man page for more details)
# required by app-misc/fslint-2.44
# required by fslint (argument)
>=dev-util/glade-3.16.1 -python_single_target_python2_7
That really does look weird.
Reassinged to the Python herd, I think it is there terrain; while I can reproduce this, I don't see anything in the ebuild that could cause this and thus I think there's something else going on here (in eclass or dependencies). Inheriting python-single-r1 helps. There is a hint about this in the python-r1 eclass in lines 189--193, but the "trick" seems to be not working You can't make python-r1 package depend on python-single-r1. Since glade supports choosing a single implementation only, you can't make fslint support choosing more than one since only one will have dependencies satisfied. fslint ought be using python-single-r1 as well. + 05 Apr 2014; Tom Wijsman <TomWij@gentoo.org> +fslint-2.44-r1.ebuild, + -fslint-2.44.ebuild: + Revision bump. Use python-single-r1 instead of python-r1. Fixes bug #506664; + reported by Eugene Shalygin, with help by Michał Górny (mgorny). First of all thank you very much @Tom Wijsman for bumping: https://bugs.gentoo.org/show_bug.cgi?id=506232 I still have the version 2.44 from my local repository installed, after sync of portage i now received this update: emerge -pvt fslint These are the packages that would be merged, in reverse order: Calculating dependencies... done! [ebuild U ~] app-misc/fslint-2.44-r1::gentoo [2.44::lokal] USE="nls" PYTHON_SINGLE_TARGET="python2_7%* -python2_6%" PYTHON_TARGETS="python2_7%* -python2_6%" 0 kB [ebuild N ] dev-util/glade-3.16.1:3.10/6 USE="introspection python -debug {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB [ebuild N ] app-text/yelp-tools-3.10.0 0 kB [ebuild N ] gnome-extra/yelp-xsl-3.10.1 0 kB [ebuild N ] dev-util/itstool-1.2.0-r1 PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 -python2_6" 0 kB But why does it need now 4 new (superfluous) dependencies? I do not have any issues with my local version, without those packages installed. (In reply to Frank Krömmelbein from comment #8) > [ebuild N ] dev-util/glade-3.16.1:3.10/6 USE="introspection python > -debug {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" > 0 kB > [ebuild N ] app-text/yelp-tools-3.10.0 0 kB > [ebuild N ] gnome-extra/yelp-xsl-3.10.1 0 kB > [ebuild N ] dev-util/itstool-1.2.0-r1 > PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 > -python2_6" 0 kB > > But why does it need now 4 new (superfluous) dependencies? > I do not have any issues with my local version, without those packages > installed. These are _build_ time dependencies of dev-util/glade; after you have dev-util/glade, a subsequent `emerge -c` will remove them. The part of the dev-util/glade ebuild that causes this is: DEPEND="... app-text/yelp-tools ..." (In reply to Tom Wijsman (TomWij) from comment #9) > (In reply to Frank Krömmelbein from comment #8) > > [ebuild N ] dev-util/glade-3.16.1:3.10/6 USE="introspection python > > -debug {-test}" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" > > 0 kB > > [ebuild N ] app-text/yelp-tools-3.10.0 0 kB > > [ebuild N ] gnome-extra/yelp-xsl-3.10.1 0 kB > > [ebuild N ] dev-util/itstool-1.2.0-r1 > > PYTHON_SINGLE_TARGET="python2_7 -python2_6" PYTHON_TARGETS="python2_7 > > -python2_6" 0 kB > > > > But why does it need now 4 new (superfluous) dependencies? > > I do not have any issues with my local version, without those packages > > installed. > > These are _build_ time dependencies of dev-util/glade; after you have > dev-util/glade, a subsequent `emerge -c` will remove them. The part of the > dev-util/glade ebuild that causes this is: > > DEPEND="... app-text/yelp-tools ..." But why did i need then glade as build time dependencies, when glade is NOT required to build OR run fslite? *** Bug 506296 has been marked as a duplicate of this bug. *** I just removed glade from RDEPEND, fslint BUILDS and RUNS without any problem! So i think this RDEPEND of glade is superfluous and can be removed. [ebuild U ~] app-misc/fslint-2.44-r1::gentoo [2.44::lokal] USE="nls" PYTHON_SINGLE_TARGET="python2_7%* -python2_6%" PYTHON_TARGETS="python2_7%* -python2_6%" 0 kB >>> Emerging (1 of 1) app-misc/fslint-2.44-r1 * fslint-2.44.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ... [ ok ] >>> Unpacking source... >>> Unpacking fslint-2.44.tar.gz to /var/tmp/portage/app-misc/fslint-2.44-r1/work >>> Source unpacked in /var/tmp/portage/app-misc/fslint-2.44-r1/work >>> Preparing source in /var/tmp/portage/app-misc/fslint-2.44-r1/work/fslint-2.44 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/app-misc/fslint-2.44-r1/work/fslint-2.44 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/app-misc/fslint-2.44-r1/work/fslint-2.44 ... >>> Source compiled. >>> Test phase [not enabled]: app-misc/fslint-2.44-r1 >>> Install fslint-2.44-r1 into /var/tmp/portage/app-misc/fslint-2.44-r1/image/ category app-misc make -j4 DESTDIR=/var/tmp/portage/app-misc/fslint-2.44-r1/image/ install for po in *.po; do \ lingua=`basename $po .po` ; \ msgfmt -c -o $lingua.mo $po ; \ mkdir -p locale/$lingua/LC_MESSAGES/ ; \ ln -f $lingua.mo locale/$lingua/LC_MESSAGES/fslint.mo ; \ done ca.po:7: warning: header field 'Language' missing in header cs.po:7: warning: header field 'Language' missing in header da.po:9: warning: header field 'Language' missing in header de.po:5: warning: header field 'Language' missing in header el.po:7: warning: header field 'Language' missing in header es.po:7: warning: header field 'Language' missing in header fi.po:7: warning: header field 'Language' missing in header fr.po:7: warning: header field 'Language' missing in header ga.po:7: warning: header field 'Language' missing in header gl.po:7: warning: header field 'Language' missing in header he.po:7: warning: header field 'Language' missing in header hu.po:7: warning: header field 'Language' missing in header it.po:7: warning: header field 'Language' missing in header ms.po:7: warning: header field 'Language' missing in header nl.po:7: warning: header field 'Language' missing in header pl.po:6: warning: header field 'Language' missing in header pt.po:7: warning: header field 'Language' missing in header ro.po:8: warning: header field 'Language' missing in header ru.po:7: warning: header field 'Language' missing in header sr.po:6: warning: header field 'Language' missing in header sv.po:7: warning: header field 'Language' missing in header tr.po:7: warning: header field 'Language' missing in header vi.po:6: warning: header field 'Language' missing in header zh_CN.po:6: warning: header field 'Language' missing in header for mo in *.mo; do \ lingua=`basename $mo .mo`; \ install -D --mode=644 $lingua.mo /var/tmp/portage/app-misc/fslint-2.44-r1/image///usr/share//locale/$lingua/LC_MESSAGES/fslint.mo ; \ done * Fixing shebang in /usr/share/fslint/fslint/fstool/dupwaste * Fixing shebang in /usr/share/fslint/fslint/supprt/md5sum_approx * Fixing shebang in /usr/share/fslint/fslint/supprt/rmlint/merge_hardlinks * Fixing shebang in /usr/share/fslint/fslint/supprt/rmlint/fixdup * Fixing shebang in /usr/bin/fslint-gui >>> Completed installing fslint-2.44-r1 into /var/tmp/portage/app-misc/fslint-2.44-r1/image/ ecompressdir: bzip2 -9 /usr/share/man ecompressdir: bzip2 -9 /usr/share/doc >>> Installing (1 of 1) app-misc/fslint-2.44-r1 >>> Auto-cleaning packages... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. (In reply to Frank Krömmelbein from comment #10) > But why did i need then glade as build time dependencies, when glade is NOT > required to build OR run fslite? It does: $ find . -name '*glade*' ./fslint.glade ./glade-fixup ./fslint.gladep $ grep -m1 glade doc/README libglade >= 2.4 (http://ftp.gnome.org/pub/GNOME/sources/libglade/) But apparently I've put a dependency on the wrong package. + 05 Apr 2014; Tom Wijsman <TomWij@gentoo.org> +fslint-2.44-r2.ebuild, + -fslint-2.44-r1.ebuild: + Revision bump. Replace glade dependency by libglade dependency. Fixed now, thank you for commenting about this. (In reply to Tom Wijsman (TomWij) from comment #13) > But apparently I've put a dependency on the wrong package. > > + 05 Apr 2014; Tom Wijsman <TomWij@gentoo.org> +fslint-2.44-r2.ebuild, > + -fslint-2.44-r1.ebuild: > + Revision bump. Replace glade dependency by libglade dependency. > > Fixed now, thank you for commenting about this. Thanks, but this change is also NOT required ;-) You have dev-python/pygtk in RDEPEND for fslint. And the pygtk Ebuild has ">=gnome-base/libglade-2.5:2.0" itself in RDEPEND ;-) So IMHO there is no need, to add a RDEPEND for libglade in fslint. Implicit dependencies are frowned upon; if pygtk changes that, it would break. (In reply to Tom Wijsman (TomWij) from comment #15) > Implicit dependencies are frowned upon; if pygtk changes that, it would > break. Thanks for the explanation. |