Re: rpm install/build failing on openSUSE 12.2

"Nathan Scott" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Hi Ken,

----- Original Message -----
> On 29/11/16 08:53, Nathan Scott wrote:
> > ----- Original Message -----
> >> [...]
> >> error: unpacking of archive failed on file
> >> /usr/lib/python3.4/site-packages/pcp-1.0-py3.4.egg-info: cpio: rename
> >> failed
> >> - Is a directory
> [...]
> I also had the same suspicions.
> 
> But this was after a make clean and the setuptools change reverted.
> 
> And I've seen the same thing again on another VM, this time on vm24 i686
> openSUSE 13.1 (Bottle)

I think whats happened is we're seeing fallout from a successful rpm install
using setuptools, and then going back to a build with distutils.core.  Looks
like they handle the egginfo goo quite differently (new way as a directory +
files, old way just as one file).  Then rpm has got confused during upgrading
trying to rename the new dir back to the old file, which is a bit unexpected;
that may even possibly be a corner-case rpm bug there.

Anyway, I have a patch which re-enables the new way, alongside the old way if
it cannot find the needed new-way modules (configure-driven).  It should fix
this because it will prefer the new way (dir) over old (file) & the upgrade
will then succeed.

Ugh, what a mess.  Commit incoming, lemme know how it goes?  Thanks!

cheers.

--
Nathan

-=-=-=-=-=-=-=-=-=-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#14839): https://groups.io/g/pcp/message/14839
View All Messages In Topic (4): https://groups.io/g/pcp/topic/3300698
Mute This Topic: https://groups.io/mt/3300698?uid=174580
New Topic: https://groups.io/g/pcp/post

Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580

Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]

Terms of Service: https://groups.io/static/tos

Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.