rpmbuild FAIL while packaging symlinks

Michael Schwendt mschwendt at gmail.com
Sun Aug 19 11:33:20 UTC 2007


On 19/08/07, Andy Green <andy at warmcat.com> wrote:
>
> There are two "problems" here though, getting his build working at all
> and tracking down the segfault.
>
> I don't mind agreeing that resolving it with the unowned link thing
> taken care of is "more correct".  But so far you didn't get the guy over
> his actual problem in front of him.

Then don't rush. Give him time to reply with a full listing of the
buildroot and rpmbuild output, so the problem can be looked at in more
detail in order to analyze it. Taking a look at a verbose listing of
the buildroot before creating a %files section is something every
packager ought to do.

Based on just the excerpt from his %install section, one cannot jump
to bullet-proof conclusions. It is likely that something with the
symlink causes trouble, and e.g. perhaps it is a recursive link. But
creating library symlinks in %install is a fully valid operation,
which other packages in Fedora do, too. Some make good use of
"ldconfig -n %buildroot/some/path" (yes, in %install), others create
the links with "ln -s". Throwing out the code altogether (as just
suggested) should not be needed.




More information about the users mailing list