Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] please noone try to beat me on the latest mpg123 update

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Thomas Orgis <thomas-forum AT orgis.org>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] please noone try to beat me on the latest mpg123 update
  • Date: Wed, 24 Mar 2010 12:35:15 +0100

Am Tue, 23 Mar 2010 13:36:07 -0700
schrieb Eric Sandall <eric AT sandall.us>:

> I am unsure if this is an issue with castfs, but before the change
> mpg123 cast fine:

Great... I tested many combinations and upgrade paths... but of course I
didn't think of my 32 bit chroot not having castfs.

> Preparing to install mpg123
> castfs: checking sanity of <mnt-dir> and <stage-dir>
> castfs: stagedir is okay!
> `mpg123-smallfile//usr/lib/libmpg123.la' -> `/usr/lib/libmpg123.la'
> `mpg123-smallfile//usr/lib/libmpg123.so' -> `/usr/lib/libmpg123.so'
> cp: preserving times for `/usr/lib/libmpg123.so': No such file or directory
> `mpg123-smallfile//usr/lib/libmpg123.so.0' -> `/usr/lib/libmpg123.so.0'
> cp: preserving times for `/usr/lib/libmpg123.so.0': No such file or
> directory
> `mpg123-smallfile//usr/lib/libmpg123.so.0.23.0' ->
> `/usr/lib/libmpg123.so.0.23.0'
> ! Problem Detected !

Well, that's this part of INSTALL:

if [[ ${SMGL_COMPAT_ARCHS[0]} == 32 ]]; then
cp -av mpg123-smallfile/$INSTALL_ROOT/usr/lib/libmpg123*
"$INSTALL_ROOT/usr/lib" &&
cp -av mpg123-smallfile/$INSTALL_ROOT/usr/lib/pkgconfig/libmpg123.pc
"$INSTALL_ROOT/usr/lib/pkgconfig"
fi &&

I presume, cp -a causes the trouble. I use -a there as lazy shortcut for make
it preserve everything, especially the library symlinks (else it would copy
the library three times). Since this works fine without castfs, I assume we
got a castfs bug there...
Does it work for you when using cp -v --preserve=links as a workaround? Else
one would need to copy just the plain lib and let ldconfig work it's magic
for the links again, I guess.


Alrighty then,

Thomas.

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page