emerge app-misc/fslint asks for the following: >=dev-util/glade-3.16.1 -python_single_target_python2_7 while fslint are about to be emerged with: app-misc/fslint-2.44 [2.42] USE="nls" PYTHON_TARGETS="python2_7%* -python2_6%" Reproducible: Always # emerge --info app-misc/fslint Portage 2.2.10 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.8.2, glibc-2.19, 3.14.0-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.14.0-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_Q_720_@_1.60GHz-with-gentoo-2.2 KiB Mem: 8099292 total, 174280 free KiB Swap: 33554428 total, 32681456 free Timestamp of tree: Thu, 03 Apr 2014 08:15:01 +0000 ld GNU gold (GNU Binutils 2.24) 1.11 app-shells/bash: 4.2_p46-r1 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.5, 3.4.0 dev-util/cmake: 2.8.12.2-r1::kde dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.11.6, 1.12.6, 1.14.1 sys-devel/binutils: 2.24-r2 sys-devel/gcc: 4.7.3-r1, 4.8.2-r1 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.14 (virtual/os-headers) sys-libs/glibc: 2.19 Repositories: gentoo gamerlay kde multimedia nirbheek rion science sunrise systemd x11 steam-overlay eigenlay andy dotnet mysql qt tfischer my-gentoo xanf g-ctan Installed sets: @system ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA @FSF-APPROVED google-chrome skype-eula dlj-1.1 PUEL Google-TOS googleearth TeamViewer Oracle-BCLA-JavaSE skype-4.0.0.7-copyright AdobeFlash-11.x Intel-SDP" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/var/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://ftp.spline.inf.fu-berlin.de/mirrors/gentoo/ http://de-mirror.org/gentoo/" LANG="uk_UA.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j4" PKGDIR="/var/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_EXTRA_OPTS="--quiet" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/portage/tmp" PORTDIR="/var/portage/gentoo" PORTDIR_OVERLAY="/var/portage/repository/gamerlay /var/portage/repository/kde /var/portage/repository/multimedia /var/portage/repository/nirbheek /var/portage/repository/rion /var/portage/repository/science /var/portage/repository/sunrise /var/portage/repository/systemd /var/portage/repository/x11 /var/portage/repository/steam /var/portage/repository/eigenlay /var/portage/repository/andy /var/portage/repository/dotnet /var/portage/repository/mysql /var/portage/repository/qt5-docs /var/portage/repository/tfscripts /var/portage/repository/my-gentoo /var/portage/repository/xanf /var/portage/repository/g-ctan" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi alsa amd64 amr apng attica avahi bash-completion berkdb bluetooth bluray branding bs2b bzip2 cairo canberra caps cdda cdr cli colord cracklib crypt css cups cxx dbus declarative dirac djvu dri dts dvd dvdnav dvdr egl emboss encode exif faac fam ffmpeg firefox flac fontconfig fortran fuse gdbm gif gles gles2 gnuplot gnutls gold gpm gsm gstreamer gtk gtk3 harfbuzz iconv idn ieee1394 imagemagick inotify iproute2 ipv6 jemalloc jit jpeg jpeg2k kde kerberos kipi lame lapack latex lcms ldap libass libnotify libsamplerate libsecret live lto luatex lzma mad metalink mmx mng modules mp3 mp4 mpeg mpi mtp multilib ncurses netlink network networkmanager nfs nls nptl ogg opengl openmp pam pango pch pcre pdf phonon pkcs11 plasma png policykit postscript ppds pulseaudio qt3support qt4 quicktime quvi radio readline romio rss rtmp samba scanner sdl semantic-desktop session smartcard smp speex spell sqlite sse sse2 sse3 sse4 sse41 sse42 sse4_1 sse4_2 ssl ssse3 startup-notification svg symlink system-icu system-sqlite systemd taglib tcpd theora threads thumbnail tiff truetype udev udisks unicode upower usb v4l v4l2 vdpau vim-syntax vorbis vpx wxwidgets x264 x265 xattr xcb xcomposite xetex xft xinerama xml xmp xrandr xscreensaver xv xvid yv12 zeroconf zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias proxy" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2 canon ptp2 fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" DRACUT_MODULES="caps systemd" ELIBC="glibc" GPSD_PROTOCOLS="garmin garmintxt gpsclock timing" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev evdev synaptics wacom joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer nlpsolver" LINGUAS="en eo de ru uk ru_RU uk_UA" LIRC_DEVICES="alsa_usb" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_3" RUBY_TARGETS="ruby19 ruby20 ruby20 ruby21" SANE_BACKENDS="epson2 net" USERLAND="GNU" VIDEO_CARDS="v4l radeon r600" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" USE_PYTHON="2.7 3.3" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS_FLAGS ================================================================= Package Settings ================================================================= app-misc/fslint-2.42 was built with the following: USE="nls"
(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.