Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 503678 - x11-libs/libfm-1.2.0 with lxde-base/lxshortcut-0.1.2 - file collision in /usr/bin/lxshortcut
Summary: x11-libs/libfm-1.2.0 with lxde-base/lxshortcut-0.1.2 - file collision in /usr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Markos Chandras (RETIRED)
URL:
Whiteboard:
Keywords:
: 506462 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-03-06 23:53 UTC by jospezial
Modified: 2015-03-14 16:27 UTC (History)
12 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
adds blocker for lxshortcut within libfm ebuild (libfm.patch,310 bytes, patch)
2014-03-13 18:19 UTC, Johannes Janssen
Details | Diff
lxde-meta should depend on >=libfm-1.2.0 or lxshortcut (lxde-meta.patch,425 bytes, patch)
2014-03-13 18:21 UTC, Johannes Janssen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jospezial 2014-03-06 23:53:42 UTC
* Error messages for package x11-libs/libfm-1.2.0:

 * This package will overwrite one or more files that may belong to other
 * packages (see list below). You can use a command such as `portageq
 * owners / <filename>` to identify the installed package that owns a
 * file. If portageq reports that only one package owns a file then do
 * NOT file a bug report. A bug report is only useful if it identifies at
 * least two or more packages that are known to install the same file(s).
 * If a collision occurs and you can not explain where the file came from
 * then you should simply ignore the collision since there is not enough
 * information to determine if a real problem exists. Please do NOT file
 * a bug report at http://bugs.gentoo.org unless you report exactly which
 * two packages install the same file(s). See
 * http://wiki.gentoo.org/wiki/Knowledge_Base:Blockers for tips on how to
 * solve the problem. And once again, please do NOT file a bug report
 * unless you have completely understood the above message.
 * 
 * Detected file collision(s):
 * 
 *      /usr/bin/lxshortcut
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * lxde-base/lxshortcut-0.1.2:0::gentoo
 *      /usr/bin/lxshortcut
 * 
 * Package 'x11-libs/libfm-1.2.0' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.
 * 
 * The following 2 packages have failed to build or install:
 * 
 *  (x11-libs/libfm-1.2.0::gentoo, ebuild scheduled for merge), Log file:
 *   '/var/tmp/portage/x11-libs/libfm-1.2.0/temp/build.log'
 *  (x11-misc/pcmanfm-1.2.0::gentoo, ebuild scheduled for merge)
 *
Comment 1 jospezial 2014-03-06 23:55:33 UTC
 * These packages depend on lxshortcut:
lxde-base/lxde-meta-0.5.5-r3 (=lxde-base/lxshortcut-0.1*)
Comment 2 Johannes Janssen 2014-03-13 18:19:39 UTC
Created attachment 372580 [details, diff]
adds blocker for lxshortcut within libfm ebuild
Comment 3 Johannes Janssen 2014-03-13 18:21:21 UTC
Created attachment 372582 [details, diff]
lxde-meta should depend on >=libfm-1.2.0 or lxshortcut
Comment 4 Johannes Janssen 2014-03-13 18:21:42 UTC
Libfm now provides lxshortcut, see upstream git commit: http://git.lxde.org/gitweb/?p=lxde/libfm.git;a=commit;h=a99ea26f0964cf9673ae4acd1223fe3a16d4675a

I think it is not necessary to unbundle lxshortcut from libfm, but that might not be true. Additionally libfm ebuild maybe needs a USE flag for lxshortcut.

Anyway if libfm is supposed to provide lxshortcut with version 1.2.0 or later, we need adding a blocker for lxshortcut. Additionly lxde-meta should depend on either >=libfm-1.2.0 or lxshortcut. lxde-meta seems the only package to depend on lxshortcut, but I use Funtoo here, so can't speak for Gentoo.

See patches, which add this behavior.
Comment 5 Guy 2014-03-15 21:32:07 UTC
After adding the patches, I did the following:

emerge -C lxde-base/lxshortcut
emerge -1 =x11-libs/libfm-1.2.0 && emerge -1 =lxde-base/lxde-meta-0.5.5-r3

Worked for me.
Comment 6 Markos Chandras (RETIRED) gentoo-dev 2014-03-16 10:35:05 UTC
Thanks. Committed.
Comment 7 Tolga Dalman 2014-03-16 11:54:40 UTC
lxde-meta-0.5.5-r4 doesn't solve the problem for me.
Comment 8 jospezial 2014-03-16 12:18:44 UTC
There is no change for the lxshortcut/libfm lines in lxde-meta-0.5.5-r4.ebuild.

diff /usr/portage/lxde-base/lxde-meta/lxde-meta-0.5.5-r*
1c1
< # Copyright 1999-2013 Gentoo Foundation
---
> # Copyright 1999-2014 Gentoo Foundation
3c3
< # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxde-meta/lxde-meta-0.5.5-r3.ebuild,v 1.6 2013/10/09 20:51:47 hwoarang Exp $
---
> # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxde-meta/lxde-meta-0.5.5-r4.ebuild,v 1.1 2014/03/16 10:27:44 hwoarang Exp $
12c12
< KEYWORDS="~alpha amd64 arm ppc x86"
---
> KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2014-03-16 13:21:26 UTC
(In reply to jospezial from comment #8)
> There is no change for the lxshortcut/libfm lines in
> lxde-meta-0.5.5-r4.ebuild.
> 
> diff /usr/portage/lxde-base/lxde-meta/lxde-meta-0.5.5-r*
> 1c1
> < # Copyright 1999-2013 Gentoo Foundation
> ---
> > # Copyright 1999-2014 Gentoo Foundation
> 3c3
> < # $Header:
> /var/cvsroot/gentoo-x86/lxde-base/lxde-meta/lxde-meta-0.5.5-r3.ebuild,v 1.6
> 2013/10/09 20:51:47 hwoarang Exp $
> ---
> > # $Header: /var/cvsroot/gentoo-x86/lxde-base/lxde-meta/lxde-meta-0.5.5-r4.ebuild,v 1.1 2014/03/16 10:27:44 hwoarang Exp $
> 12c12
> < KEYWORDS="~alpha amd64 arm ppc x86"
> ---
> > KEYWORDS="~alpha ~amd64 ~arm ~ppc ~x86"

Something got wrong when I committed this. It should be fixed now. Thanks for the report and apologies for the mess

+  16 Mar 2014; Markos Chandras <hwoarang@gentoo.org> lxde-meta-0.5.5-r4.ebuild:
+  Fix bug #503678 for real this time
+
Comment 10 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-01 23:45:25 UTC
*** Bug 506462 has been marked as a duplicate of this bug. ***
Comment 11 Kostas 2015-03-13 08:47:22 UTC
This bug came back for me.

[ebuild     U  ] sys-apps/util-linux-2.25.2-r2 [2.24.1-r3] USE="cramfs ncurses nls pam python static-libs suid unicode -caps -fdformat (-selinux) -slang -systemd% {-test} -tty-helpers -udev (-bash-completion%*) (-cytune%)" ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3 -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 3,617 KiB
[ebuild     U  ] x11-libs/libfm-1.2.3:0/4.3.0 [1.1.4:0/4.7.1] USE="automount gtk%* -debug -doc -examples -exif% -udisks -vala" 878 KiB
[ebuild     U  ] x11-misc/pcmanfm-1.2.3 [1.1.2] USE="-debug" 398 KiB
[blocks B      ] lxde-base/lxshortcut ("lxde-base/lxshortcut" is blocking x11-libs/libfm-1.2.3)

Total: 3 packages (3 upgrades), Size of downloads: 4,892 KiB
Conflict: 1 block (1 unsatisfied)

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  (lxde-base/lxshortcut-0.1.2:0/0::gentoo, installed) pulled in by
    =lxde-base/lxshortcut-0.1* required by (lxde-base/lxde-meta-0.5.5-r3:0/0::gentoo, installed)

  (x11-libs/libfm-1.2.3:0/4.3.0::gentoo, ebuild scheduled for merge) pulled in by
    >=x11-libs/libfm-1.2.3:=[gtk(+)] required by (x11-misc/pcmanfm-1.2.3:0/0::gentoo, ebuild scheduled for merge)


For more information about Blocked Packages, please refer to the following
section of the Gentoo Linux x86 Handbook (architecture is irrelevant):

http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked
Comment 12 jospezial 2015-03-13 09:49:01 UTC
(In reply to Kostas from comment #11)
> This bug came back for me.
> 
> [ebuild     U  ] sys-apps/util-linux-2.25.2-r2 [2.24.1-r3] USE="cramfs
> ncurses nls pam python static-libs suid unicode -caps -fdformat (-selinux)
> -slang -systemd% {-test} -tty-helpers -udev (-bash-completion%*) (-cytune%)"
> ABI_X86="(64) (-32) (-x32)" PYTHON_SINGLE_TARGET="python2_7 -python3_3
> -python3_4" PYTHON_TARGETS="python2_7 python3_3 -python3_4" 3,617 KiB
> [ebuild     U  ] x11-libs/libfm-1.2.3:0/4.3.0 [1.1.4:0/4.7.1] USE="automount
> gtk%* -debug -doc -examples -exif% -udisks -vala" 878 KiB
> [ebuild     U  ] x11-misc/pcmanfm-1.2.3 [1.1.2] USE="-debug" 398 KiB
> [blocks B      ] lxde-base/lxshortcut ("lxde-base/lxshortcut" is blocking
> x11-libs/libfm-1.2.3)
> 
> Total: 3 packages (3 upgrades), Size of downloads: 4,892 KiB
> Conflict: 1 block (1 unsatisfied)
> 
>  * Error: The above package list contains packages which cannot be
>  * installed at the same time on the same system.
> 
>   (lxde-base/lxshortcut-0.1.2:0/0::gentoo, installed) pulled in by
>     =lxde-base/lxshortcut-0.1* required by
> (lxde-base/lxde-meta-0.5.5-r3:0/0::gentoo, installed)
> 
>   (x11-libs/libfm-1.2.3:0/4.3.0::gentoo, ebuild scheduled for merge) pulled
> in by
>     >=x11-libs/libfm-1.2.3:=[gtk(+)] required by
> (x11-misc/pcmanfm-1.2.3:0/0::gentoo, ebuild scheduled for merge)
> 
> 
> For more information about Blocked Packages, please refer to the following
> section of the Gentoo Linux x86 Handbook (architecture is irrelevant):
> 
> http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?full=1#blocked

Was this a world update? Why does it not pull in lxde-meta-0.5.5-r4.ebuild?
Are you on stable?
Please post output of "emerge --info" !

Problem could be, lxde-meta-0.5.5-r3.ebuild is marked stable and lxde-meta-0.5.5-r4.ebuild not.

Solution lxde-meta-0.5.5-r4.ebuild should be stabilized.

Beside that another solution could be a bump to lxde-meta-0.99
https://bugs.gentoo.org/show_bug.cgi?id=529154
Comment 13 Kostas 2015-03-13 10:09:35 UTC
This is the problem, yes. I am on stable.

"Problem could be, lxde-meta-0.5.5-r3.ebuild is marked stable and
lxde-meta-0.5.5-r4.ebuild not."



emerge --info

Portage 2.2.14 (python 2.7.9-final-0, default/linux/amd64/13.0, gcc-4.8.3, glibc-2.19-r1, 3.18.7-gentoo x86_64)
=================================================================
System uname: Linux-3.18.7-gentoo-x86_64-Intel-R-_Core-TM-_i7_CPU_M_640_@_2.80GHz-with-gentoo-2.2
KiB Mem:     2056776 total,    197244 free
KiB Swap:    2096444 total,   2096008 free
Timestamp of tree: Fri, 13 Mar 2015 08:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p53
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1
dev-util/ccache:          3.1.9-r4
dev-util/cmake:           2.8.12.2-r1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.11
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.18 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.5/ext-active/ /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="-O2 -pipe -march=native"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="ftp://mirror.mcs.anl.gov/pub/gentoo/ ftp://gentoo.chem.wisc.edu/gentoo/ ftp://mirror.datapipe.net/gentoo ftp://chi-10g-1-mirror.fastsoft.net/pub/linux/gentoo/gentoo-distfiles/ http://www.gtlib.gatech.edu/pub/gentoo rsync://rsync.gtlib.gatech.edu/gentoo ftp://ftp.gtlib.gatech.edu/pub/gentoo ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://lug.mtu.edu/gentoo/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/ ftp://gentoo.mirrors.pair.com/ ftp://mirrors.rit.edu/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://gentoo.llarian.net/pub/gentoo ftp://gentoo.mirrors.tds.net/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://ftp.lug.udel.edu/pub/gentoo/ ftp://mirror.its.uidaho.edu/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://ftp.wallawalla.edu/pub/mirrors/ftp.gentoo.org"
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 apache2 apng bash-completion berkdb bzip2 cli cracklib crypt cups cxx dri f90 firefox fortran gd gdbm gnutls gtk gudev hdf hdf5 hwdb iconv java jpeg jpeg2k kpathsea lapack latex libav minizip mmx modules multilib mysqli ncurses netcdf nls nptl nptlonly nsplugin nspluginwrapper openmp pam pcre pdf php png policykit python readline romio session slib spell sqlite sse sse2 ssl static-libs szip tcpd tiff truetype udunits unicode usb vim-syntax xetex 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" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 sse3 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en el" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="virtualbox" 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"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 14 Markos Chandras (RETIRED) gentoo-dev 2015-03-13 20:14:31 UTC
Please sync in a couple of hours and try again

Thanks for the report

+  13 Mar 2015; Markos Chandras <hwoarang@gentoo.org> lxde-meta-0.5.5-r4.ebuild:
+  amd64/x86/arm/ppc stable. It's just a meta package. Should fix 503678 on
+  stable lxde
+