Bug 12168 - warnings when installing rpms
Summary: warnings when installing rpms
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Low normal
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-01-01 01:15 CET by Nicolas Lécureuil
Modified: 2014-01-10 23:16 CET (History)
7 users (show)

See Also:
Source RPM: uClibc-0.9.33.2-4.mga4
CVE:
Status comment:


Attachments

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


Note You need to log in before you can comment on or make changes to this bug.