Bug 12168

Summary: warnings when installing rpms
Product: Mageia Reporter: Nicolas Lécureuil <mageia>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Low CC: arnaud.patard, dan, mageia, pterjan, shlomif, thierry.vignaud, tmb
Version: CauldronKeywords: Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
Whiteboard:
Source RPM: uClibc-0.9.33.2-4.mga4 CVE:
Status comment:

Description Nicolas Lécureuil 2014-01-01 01:15:49 CET
Description of problem:

/usr/uclibc/sbin/ldconfig: skipping /usr/uclibc/lib: No such file or directory
/usr/uclibc/sbin/ldconfig: skipping /usr/uclibc/usr/lib: No such file or directory



Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2014-01-01 21:50:09 CET

Keywords: (none) => Triaged
CC: (none) => arnaud.patard, dan, mageia, pterjan, shlomif, thierry.vignaud

Comment 1 Dan Fandrich 2014-01-01 22:37:49 CET
This warning is harmless, but it is a little disconcerting. ldconfig could be patched to stop looking in those locations by default on x86_64, but that would change it's default behaviour which may be unexpected. The simplest solution is probably to just pipe stderr to /dev/null in the postinstall script.
Comment 2 Dan Fandrich 2014-01-01 22:48:28 CET
The other option is to just include those two empty directories in the RPM. That might be the cleanest, as it also provides a hint to the user that they are there and available.
Comment 3 Thierry Vignaud 2014-01-02 22:06:29 CET
BTW why do you have uclibc installed?

Priority: Normal => Low
Summary: Error when installing rpms => warnings when installing rpms

Comment 4 Nicolas Lécureuil 2014-01-04 18:35:52 CET
it was on a chroot to build rpms ( i don't recall which one btw ).
Comment 5 Thomas Backlund 2014-01-04 19:38:38 CET
uClibc gets sometimes pulled in by libz.so.1 (provided by lib(64)uClibc-zlib1) and urpmi tends to suggest picking the uClibc over the lib(64)zlib1

I guess we need to update prefer.vendor.list

CC: (none) => tmb

Comment 6 Thomas Backlund 2014-01-04 19:50:37 CET

I've now pushed new meta-task that prefers zlib over uClibc-zlib
Comment 7 Dan Fandrich 2014-01-10 23:16:09 CET
Fixed in uClibc-0.9.33.2-5.mga4

Status: NEW => RESOLVED
Resolution: (none) => FIXED