Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 551530 - net-libs/phodav-0.4 - file collision with phodav-2.0
Summary: net-libs/phodav-0.4 - file collision with phodav-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: gnome-3.16 552002
  Show dependency tree
 
Reported: 2015-06-09 06:43 UTC by Juergen Rose
Modified: 2015-06-23 11:52 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Rose 2015-06-09 06:43:40 UTC
'emerge -v1 =phodav-0.4' fails with:
...
>>> Installing (2 of 4) net-libs/phodav-0.4::gentoo
 * checking 26 files for package collisions
 * 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/chezdav
 *      /usr/share/gtk-doc/html/phodav/style.css
 *      /usr/share/gtk-doc/html/phodav/annotation-glossary.html
 *      /usr/share/gtk-doc/html/phodav/right.png
 *      /usr/share/gtk-doc/html/phodav/index.html
 *      /usr/share/gtk-doc/html/phodav/PhodavServer.html
 *      /usr/share/gtk-doc/html/phodav/index.sgml
 *      /usr/share/gtk-doc/html/phodav/object-tree.html
 *      /usr/share/gtk-doc/html/phodav/api-index-full.html
 *      /usr/share/gtk-doc/html/phodav/home.png
 *      /usr/share/gtk-doc/html/phodav/up.png
 *      /usr/share/gtk-doc/html/phodav/ch01.html
 *      /usr/share/gtk-doc/html/phodav/phodav.devhelp2
 *      /usr/share/gtk-doc/html/phodav/deprecated-api-index.html
 *      /usr/share/gtk-doc/html/phodav/left.png
 *      /usr/share/locale/de/LC_MESSAGES/phodav.mo
 *      /usr/share/man/man1/chezdav.1.bz2
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-libs/phodav-2.0:2.0::gentoo
 *      /usr/bin/chezdav
 *      /usr/share/gtk-doc/html/phodav/PhodavServer.html
 *      /usr/share/gtk-doc/html/phodav/annotation-glossary.html
 *      /usr/share/gtk-doc/html/phodav/api-index-full.html
 *      /usr/share/gtk-doc/html/phodav/ch01.html
 *      /usr/share/gtk-doc/html/phodav/deprecated-api-index.html
 *      /usr/share/gtk-doc/html/phodav/home.png
 *      /usr/share/gtk-doc/html/phodav/index.html
 *      /usr/share/gtk-doc/html/phodav/index.sgml
 *      /usr/share/gtk-doc/html/phodav/left.png
 *      /usr/share/gtk-doc/html/phodav/object-tree.html
 *      /usr/share/gtk-doc/html/phodav/phodav.devhelp2
 *      /usr/share/gtk-doc/html/phodav/right.png
 *      /usr/share/gtk-doc/html/phodav/style.css
 *      /usr/share/gtk-doc/html/phodav/up.png
 *      /usr/share/locale/de/LC_MESSAGES/phodav.mo
 *      /usr/share/man/man1/chezdav.1.bz2
 * 
 * Package 'net-libs/phodav-0.4' NOT merged due to file collisions. If
Comment 1 Pacho Ramos gentoo-dev 2015-06-09 07:56:42 UTC
Are you sure do we need phodav slotted? spice-gtk is the only consumer, then, as soon as we force the deps to need the older version for 0.25 (if we pretend to support people mixing stable and testing packages) and the new for 0.28, there shouldn't be any need for slotting.
Comment 2 Juergen Rose 2015-06-09 08:37:24 UTC
(In reply to Pacho Ramos from comment #1)
> Are you sure do we need phodav slotted? spice-gtk is the only consumer,
> then, as soon as we force the deps to need the older version for 0.25 (if we
> pretend to support people mixing stable and testing packages) and the new
> for 0.28, there shouldn't be any need for slotting.

I do not know, if we need phodav slotted, but on my systems virt-manager, virt-viewer and vinagre depends on spice-gtk
Comment 3 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-06-09 09:11:09 UTC
Having a lib slotted is no extra work so just do it. It avoids headaches when more consumers are added. We have scripts in the overlay to detect unused slots if needed.

The file collision is fixed in 2.0-r1 which got commited just after the slot move so just upgrade and you should be set.

Thanks for reporting.
Comment 4 Juergen Rose 2015-06-09 13:31:32 UTC
(In reply to Gilles Dartiguelongue from comment #3)
> Having a lib slotted is no extra work so just do it. It avoids headaches
> when more consumers are added. We have scripts in the overlay to detect
> unused slots if needed.
> 
> The file collision is fixed in 2.0-r1 which got commited just after the slot
> move so just upgrade and you should be set.
> 
> Thanks for reporting.

I can't find phodav-2.0-r1:

root@impala:/usr/local/portage/sys-devel/llvm(30)# genlop -r | tail ;  emerge -pvD phodav
     rsync'ed at >>> Mon Jun  1 01:05:43 2015
     rsync'ed at >>> Tue Jun  2 07:04:13 2015
     rsync'ed at >>> Wed Jun  3 09:27:52 2015
     rsync'ed at >>> Thu Jun  4 01:03:44 2015
     rsync'ed at >>> Sat Jun  6 10:32:40 2015
     rsync'ed at >>> Sun Jun  7 20:38:20 2015
     rsync'ed at >>> Mon Jun  8 01:03:18 2015
     rsync'ed at >>> Tue Jun  9 07:42:17 2015
     rsync'ed at >>> Tue Jun  9 15:01:24 2015

These are the packages that would be merged, in order:

Calculating dependencies   * waiting for lock on /var/db/.pkg.portage_lockfile ...                                                                     [ ok ]
... done!
[ebuild  NS    ] net-libs/phodav-0.4:1.0::gentoo [2.0:2.0::gentoo] USE="systemd -avahi -spice" 0 KiB
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2015-06-09 13:43:56 UTC
(In reply to Juergen Rose from comment #4)
> I can't find phodav-2.0-r1:

It was added June 8 22:00 UTC. Possibilities:

* your rsync mirror is stale; or
* you didn't unmask gnome-3.16 (since it is being moved to portage, it's masked - so unmask either using the big 3.16 block from /usr/portage/profiles/package.mask, or using status/portage-configs/package.unmask.gnome3 from the gnome overlay)
Comment 6 Pacho Ramos gentoo-dev 2015-06-09 17:32:00 UTC
(In reply to Juergen Rose from comment #2)
> (In reply to Pacho Ramos from comment #1)
> > Are you sure do we need phodav slotted? spice-gtk is the only consumer,
> > then, as soon as we force the deps to need the older version for 0.25 (if we
> > pretend to support people mixing stable and testing packages) and the new
> > for 0.28, there shouldn't be any need for slotting.
> 
> I do not know, if we need phodav slotted, but on my systems virt-manager,
> virt-viewer and vinagre depends on spice-gtk

Please show me the grep or that dep... the only reverse dep I see old spice-gtk using that old phodav version (that is also unmaintained and no longer supplied in other distributions as nothing uses that completely dead version, upstream is only updating their master branch and not releasing any fix/update for 0.4 version).
https://qa-reports.gentoo.org/output/genrdeps/rindex/net-libs/phodav

It also adds the additional work for manually remembering in some months that the old slot won't be needed and we need to treeclean it :/

But well, leave it as-is as you did the slotting work for me (thanks for that of course :)
Comment 7 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-06-10 10:54:16 UTC
Gnome 3.16 was unmasked ~12 hours ago. If you still have problems with this, please file a new bug report.
Comment 8 Juergen Rose 2015-06-16 11:39:11 UTC
Now I have a file collision of phodav-2.0-r1 with phodav-0.4:

>>> Installing (14 of 19) net-libs/phodav-2.0-r1::gentoo
 * checking 29 files for package collisions
 * 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/share/locale/de/LC_MESSAGES/phodav.mo
 * 
 * Searching all installed packages for file collisions...
 * 
 * Press Ctrl-C to Stop
 * 
 * net-libs/phodav-0.4:1.0::gentoo
 *      /usr/share/locale/de/LC_MESSAGES/phodav.mo
 * 
 * Package 'net-libs/phodav-2.0-r1' NOT merged due to file collisions. If
 * necessary, refer to your elog messages for the whole content of the
 * above message.

>>> Failed to install net-libs/phodav-2.0-r1, Log file:

>>>  '/var/tmp/portage/net-libs/phodav-2.0-r1/temp/build.log'

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/openobex-1.7.1
 *  - /usr/lib64/libopenobex.so.1
 *  - /usr/lib64/libopenobex.so.1.4.1
 *      used by /usr/bin/sobexsrv (app-mobilephone/sobexsrv-1.0.1)
Use emerge @preserved-rebuild to rebuild packages using these libraries
root@condor:/root(14)# emerge -uvDNe system

root@condor:/root(14)# ll /usr/share/locale/de/LC_MESSAGES/phodav.mo
-rw-r--r-- 1 root root 1255 Jun 15  2014 /usr/share/locale/de/LC_MESSAGES/phodav.mo

root@condor:/root(15)# qfile -v /usr/share/locale/de/LC_MESSAGES/phodav.mo
net-libs/phodav-0.4 (/usr/share/locale/de/LC_MESSAGES/phodav.mo)
Comment 9 Juergen Rose 2015-06-16 14:16:43 UTC
After deleting phodav-0.4  I could emerge phodav-2.0-r1.
Comment 10 Gilles Dartiguelongue (RETIRED) gentoo-dev 2015-06-23 11:52:06 UTC
+  23 Jun 2015; Gilles Dartiguelongue <eva@gentoo.org> phodav-2.0-r1.ebuild,
+  +files/phodav-2.0-slot.patch:
+  Fix parallel install with locales, bug #551530.
+
Fixed without a bump with upstream patch. Thanks for reporting.