Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 351760 - Old package move breaks dev-perl/Text-CSV and dev-perl/Text-CSV_XS
Summary: Old package move breaks dev-perl/Text-CSV and dev-perl/Text-CSV_XS
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-15 15:01 UTC by rinus
Modified: 2011-01-15 22:10 UTC (History)
0 users

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


Attachments
emerge --info (emerge-info.txt,7.85 KB, text/plain)
2011-01-15 15:02 UTC, rinus
Details
Output log (dev-perl:Text-CSV-1.210:20110115-155856.log,2.40 KB, text/plain)
2011-01-15 16:04 UTC, rinus
Details
System update script (update-all,394 bytes, text/plain)
2011-01-15 21:23 UTC, rinus
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rinus 2011-01-15 15:01:57 UTC
In my case, net-libs/gtk-vnc-0.4.2-r2::gentoo depends on package dev-perl/Text-CSV. But after dev-perl/Text-CSV is installed, package dev-perl/Text-CSV_XS got installed.
Because of the dep. on dev-perl/Text-CSV, emerge keeps trying to install it.


Reproducible: Always

Steps to Reproduce:
1. emerge -C dev-perl/Text-CSV_XS  (de sure to get rid of it 1st)
2. emerge -avt1 dev-perl/Text-CSV
3. equery '*CSV*'

Actual Results:  
Package dev-perl/Text-CVS_XS got installed.

Expected Results:  
Package dev-perl/Text-CVS is installed.
Comment 1 rinus 2011-01-15 15:02:42 UTC
Created attachment 259927 [details]
emerge --info
Comment 2 Torsten Veller (RETIRED) gentoo-dev 2011-01-15 15:48:16 UTC
Please add the output of step 2:
emerge -pvt1 dev-perl/Text-CSV
Comment 3 rinus 2011-01-15 16:04:37 UTC
Created attachment 259931 [details]
Output log

Attached the output of step 2.
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2011-01-15 16:12:05 UTC
This installs dev-perl/Text-CSV-1.210.
Why do you think dev-perl/Text-CSV_XS got installed?

$ equery '*CSV*'
!!! Unknown module '*CSV*'

(BTW: Installing Text-CSV_XS makes Text-CSV much faster!)
Comment 5 rinus 2011-01-15 16:46:46 UTC
Hummm..

equery is a typo, should be with option l
equery l '*CSV*'  (~amd64 version)

When installing Text-CSV it gets installed by it's own name indeed.
Things are getting more complicated i think :-(

I have the issue for abt 2-3 months on serveral ~amd64 boxes and only looked into it for a short time before by just removing Text-CSV_XS and it came back every time.

While building some information for you i can't reproduce the problem anymore after removing Text-CSV_XS and doing an 'emerge -avtNuD @world' 'Text-CSV' got installed (by it's own package name). No problem anymore with the depend. I tried to downgrade Text-CSV, maybe something got changed but there is no other version in portsage anymore.
i don't know.

b.t.w. Should i issue a new bug for net-libs/gtk-vnc to depend on Text-CSV_XS instead of Text-CSV?

Tnx and sorry for bothering you.
Comment 6 rinus 2011-01-15 21:23:51 UTC
Created attachment 259957 [details]
System update script

Okay..
I'm having this issue again after starting my update script.
I't looks like the package is renamed somewhere. This evening dev-perl/Text-CSV was installed. It's not anymore, its called dev-perl/Text-CSV_XS now. ;-)

I'll try to narrow it down.
Comment 7 rinus 2011-01-15 21:44:15 UTC
fixpackages is the cause of the package renaming..
I file /usr/portage/profiles/updates/2Q-2005 i found:
move dev-perl/Text-CSV dev-perl/Text-CSV_XS

We have both dev-perl/Text-CSV and dev-perl/Text-CSV_XS in the tree. What must be done to solve this issue?
Comment 8 Torsten Veller (RETIRED) gentoo-dev 2011-01-15 22:00:41 UTC
Good catch. I'll remove it from updates/2Q-2005
Comment 9 Torsten Veller (RETIRED) gentoo-dev 2011-01-15 22:10:57 UTC
Done. Thanks.