Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 688216 - app-portage/unsymlink-lib: Non-successful return from cp: 1
Summary: app-portage/unsymlink-lib: Non-successful return from cp: 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michał Górny
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-06-17 12:26 UTC by Agostino Sarubbo
Modified: 2019-06-20 07:01 UTC (History)
0 users

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


Attachments
log (file_688216.txt,2.34 KB, text/plain)
2019-06-17 12:26 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2019-06-17 12:26:52 UTC
Created attachment 579964 [details]
log

I'm running unsymlink-lib-15 and I get a "Non-successful return from cp: 1"

Attached complete log. What the user is supposed to do in this case?
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-17 12:31:54 UTC
Start by 'stat /usr/lib{,.new}{,/locale}'

This is so early, you system shouldn't be really affected yet.  When you're done debugging, just force rollback to clean stale files.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2019-06-17 14:10:28 UTC
> One or more package files are missing from the system. This should not
> cause any problems but you may want to reinstall the packages
> that installed them. The missing files are:
> 
>        /usr/lib64/locale/.keep_sys-libs_glibc-2.2

Ok, I think we have two problems here:

1. /usr/lib*/locale has one owned keepfile, and one orphan locale-archive.  Since your system lacks the former, unsymlink-lib doesn't know where to put the latter and it guesses wrong.

2. For some reason, collision between /usr/lib32/locale-archive and /usr/lib/locale-archive is not detected.

Cheap workaround is to recreate the keepfile manually.  I'll try to debug this further as time permits and fix it properly.
Comment 3 Larry the Git Cow gentoo-dev 2019-06-20 07:01:53 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=904a6e67e325c2a084eac5773dd86053cd75d9ee

commit 904a6e67e325c2a084eac5773dd86053cd75d9ee
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2019-06-20 07:00:11 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2019-06-20 07:00:11 +0000

    app-portage/unsymlink-lib: Bump to v17
    
    Closes: https://bugs.gentoo.org/688216
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 app-portage/unsymlink-lib/Manifest                |  1 +
 app-portage/unsymlink-lib/unsymlink-lib-17.ebuild | 30 +++++++++++++++++++++++
 2 files changed, 31 insertions(+)