Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 161498 - dev-util/guile - broken package move to dev-scheme/guile
Summary: dev-util/guile - broken package move to dev-scheme/guile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Piotr Jaroszyński (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-11 10:19 UTC by Dustin Polke
Modified: 2007-01-11 21:03 UTC (History)
1 user (show)

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


Attachments
Output of emerge during file collision check (emerge.output,17.42 KB, text/plain)
2007-01-11 13:54 UTC, Dustin Polke
Details
emerge --info (emerge.info,7.16 KB, text/plain)
2007-01-11 13:54 UTC, Dustin Polke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dustin Polke 2007-01-11 10:19:26 UTC
After guile has been moved from dev-util/guile to dev-scheme/guile, an emerge --update --deep world leads to emerge dev-scheme/guile although the same version from dev-util/guile has been installed:

solaris dustin # emerge --update --deep world

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

Calculating world dependencies |

... done!
[ebuild  N    ] dev-scheme/guile-1.6.7  0 kB 

Emerging this packages leads of course to a file collision with the already installed package from dev-util.

I think that I don't have to re-emerge the package, since the same version was already installed and just changed its category. An update of the database with the new category should be sufficient, shouldn't ist?


Reproducible: Always

Steps to Reproduce:
1. Have guile installed from dev-utils 
2. sync to have guile moved in the portage tree to dev-scheme
3. emerge --update -deep world

Actual Results:  
guile is emerged from dev-scheme and collides with the already installed version from dev-utils.

Expected Results:  
guile not to be emerge again since the most recent version is already installed. Moving the installed version to the new category.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 10:33:27 UTC
Please, emerge --sync again.
Comment 2 Dustin Polke 2007-01-11 13:53:11 UTC
I synced this morning just before filing this bug.

I synced now a second time:

solaris dustin # emerge --info | grep Sync
Last Sync: Thu, 11 Jan 2007 10:20:01 +0000

But the problem persists:

solaris dustin # emerge --update --deep world

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

... done!
[ebuild  N    ] dev-scheme/guile-1.6.7  0 kB 

Total size of downloads: 0 kB

Would you like to merge these packages? [Yes/No]

Emerging gives:

* checking 238 files for package collisions
[...]
* This package is blocked because it wants to overwrite
* files belonging to other packages (see messages above).
* If you have no clue what this is all about report it
* as a bug for this package on http://bugs.gentoo.org
package dev-scheme/guile-1.6.7 NOT merged

(see attachment for full output)

Files belong to:

solaris dustin # equery belongs /usr/lib/libguile-srfi-srfi-13-14-v-1.so
[ Searching for file(s) /usr/lib/libguile-srfi-srfi-13-14-v-1.so in *... ]
dev-util/guile-1.6.7 (/usr/lib/libguile-srfi-srfi-13-14-v-1.so -> libguile-srfi-srfi-13-14-v-1.so.1.0.0)

solaris dustin # eix guile
* dev-scheme/guile 
     Available versions:  1.4-r3:1.4 1.4.1:1.4.1 1.6.4-r1:12 ~1.6.6:12 1.6.7:12
     Installed:           none
     Homepage:            http://www.gnu.org/software/guile/
     Description:         Scheme interpreter

I attach a full emerge --info output as well
Comment 3 Dustin Polke 2007-01-11 13:54:14 UTC
Created attachment 106550 [details]
Output of emerge during file collision check
Comment 4 Dustin Polke 2007-01-11 13:54:46 UTC
Created attachment 106552 [details]
emerge --info
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2007-01-11 14:26:57 UTC
Post the output of `grep dev-utils/guile /usr/portage/profiles/updates/*`
Comment 6 Dustin Polke 2007-01-11 17:14:32 UTC
solaris dustin # grep dev-utils/guile /usr/portage/profiles/updates/*
/usr/portage/profiles/updates/4Q-2006:move dev-utils/guile dev-scheme/guile


Looks like, the move is in the system and `eix guile` refers to the new category (see comment#2).

I don't understand why the already installed package is not moved to the new category...
Comment 7 Marius Mauch (RETIRED) gentoo-dev 2007-01-11 17:47:08 UTC
There was a typo in the move command, this should be fixed with the next sync
Comment 8 Dustin Polke 2007-01-11 20:46:14 UTC
Sorry for bothering you again. But the move command now is in /usr/portage/profiles/updates/1Q-2007

But it is identical to the one that was previously in /usr/portage/profiles/updates/4Q-2006.

The line should read there
"move dev-util/guile dev-scheme/guile" and not
"move dev-utils/guile dev-scheme/guile"
              ^!

Could you please correct that typo again ;)
Comment 9 Piotr Jaroszyński (RETIRED) gentoo-dev 2007-01-11 21:03:35 UTC
Thnx for reporting. Fixed in CVS.