linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers-tD+1rO4QERM@public.gmane.org>
To: Karel Zak <kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
	util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [ANNOUNCE] util-linux-ng v2.16-rc2
Date: Thu, 2 Jul 2009 22:32:01 +0200	[thread overview]
Message-ID: <ac3eb2510907021332l2d0c1908s19d01c994f42b549@mail.gmail.com> (raw)
In-Reply-To: <20090702181031.GB4122-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>

On Thu, Jul 2, 2009 at 20:10, Karel Zak<kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org> wrote:
>
> The second util-linux-ng 2.16 release candidate is available at
>
>   ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/v2.16/
>
> Feedback and bug reports, as always, are welcomed.

It builds fine on the host, but fails to build in a clean chroot:

The hack with moving the devel files around to /usr with an install
hook breaks the values stored in the libblkid.la file and relinking
fails, because the lib devel files are now no longer in /lib but
(silently) moved to /usr/lib:

libtool: relink: gcc -std=gnu99 -shared  .libs/cache.o .libs/dev.o
.libs/devname.o .libs/devno.o .libs/getsize.o .libs/llseek.o
.libs/probe.o .libs/read.o .libs/resolve.o .libs/save.o .libs/tag.o
.libs/version.o .libs/verify.o .libs/encode.o .libs/config.o
.libs/evaluate.o .libs/blkdev.o .libs/linux_version.o
.libs/canonicalize.o .libs/md5.o  -Wl,--whole-archive
probers/.libs/libblkid_probers.a -Wl,--no-whole-archive
-L/var/tmp/util-linux-2.16-build/lib64 -L/lib64 -luuid
-Wl,--version-script=../../../shlibs/blkid/src/blkid.sym   -Wl,-soname
-Wl,libblkid.so.1 -o .libs/libblkid.so.1.0.0
/usr/lib64/gcc/x86_64-suse-linux/4.4/../../../../x86_64-suse-linux/bin/ld:
cannot find -luuid
collect2: ld returned 1 exit status

That the .so is installed in the root is really the implementation
detail that should be hidden from anything but the ld loader on the
system. I guess, we want to keep the original --libdir value, and use
a --rootlibdir as it's own parameter, or something similar, and just
move the .so image to the root with the install hook (or the spec
file), instead of moving the devel stuff, faking the .pc files and
patching the .la files. :)

Thanks,
Kay
--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2009-07-02 20:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-02 18:10 [ANNOUNCE] util-linux-ng v2.16-rc2 Karel Zak
     [not found] ` <20090702181031.GB4122-sHeGUpI7y9L/9pzu0YdTqQ@public.gmane.org>
2009-07-02 20:32   ` Kay Sievers [this message]
2009-07-03  9:29     ` Kay Sievers
     [not found]       ` <1246613381.1923.9.camel-2/CBIq5w30c@public.gmane.org>
2009-07-03 10:53         ` Karel Zak
2009-07-13 17:05   ` [ANNOUNCE] util-linux-ng v2.16-rc2 -- a small patch Peter Breitenlohner
2009-07-13 17:22     ` [ANNOUNCE] util-linux-ng v2.16-rc2 -- shlib versions Peter Breitenlohner
     [not found]       ` <alpine.LNX.2.00.0907131913010.31109-Dg7zaCZAay86nLM4jOHr9xvVK+yQ3ZXh@public.gmane.org>
2009-07-13 22:01         ` Karel Zak
2009-07-13 18:35     ` [ANNOUNCE] util-linux-ng v2.16-rc2 -- a small patch Karel Zak

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ac3eb2510907021332l2d0c1908s19d01c994f42b549@mail.gmail.com \
    --to=kay.sievers-td+1ro4qerm@public.gmane.org \
    --cc=kzak-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org \
    --cc=linux-fsdevel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=util-linux-ng-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).