| To: | 766811@xxxxxxxxxxxxxxx |
|---|---|
| Subject: | Bug#766811: spurious library links |
| From: | Jakub Wilk <jwilk@xxxxxxxxxx> |
| Date: | Sat, 6 Feb 2016 14:22:41 +0100 |
| Cc: | Marco d'Itri <md@xxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| In-reply-to: | <20160206005821.GA11551@xxxxxxxxxxxxx> |
| References: | <20141026004825.GA27863@xxxxxxxxxxxxx> <20160124151308.GA7620@xxxxxxxxx> <20160206005821.GA11551@xxxxxxxxxxxxx> |
| Reply-to: | Jakub Wilk <jwilk@xxxxxxxxxx>, 766811@xxxxxxxxxxxxxxx |
| Resent-cc: | XFS Development Team <xfs@xxxxxxxxxxx> |
| Resent-date: | Sat, 06 Feb 2016 13:27:02 +0000 |
| Resent-from: | Jakub Wilk <jwilk@xxxxxxxxxx> |
| Resent-message-id: | <handler.766811.B766811.145476496816448@xxxxxxxxxxxxxxx> |
| Resent-to: | debian-bugs-dist@xxxxxxxxxxxxxxxx |
| User-agent: | Mutt/1.5.23.1 (2014-03-12) |
* Marco d'Itri <md@xxxxxxxx>, 2016-02-06, 01:58: I can still see them in the current version:You are right, I was fooled because the extra files disappear if you rebuild the package: md@bongo:/tmp/xfs/xfsprogs-4.3.0+nmu1$ find debian/|grep libhandle debian/xfslibs-dev/lib/libhandle.so debian/xfslibs-dev/usr/lib/libhandle.a debian/xfslibs-dev/usr/lib/libhandle.la debian/xfsprogs/lib/libhandle.so.1 debian/xfsprogs/lib/libhandle.so.1.0.3 I can't reproduce this disappearance in a clean up-to-date sid chroot.AFAICS this is the code responsible for creating /lib/libfoo <-> /usr/lib/libfoo symlinks (see include/buildmacros:79):
if [ "x$(shell readlink -f $(PKG_LIB_DIR))" != \
"x$(shell readlink -f $(PKG_ROOT_LIB_DIR))" ]; then \
../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).a
$(PKG_ROOT_LIB_DIR)/$(LIBNAME).a; \
../$(INSTALL) -S $(PKG_LIB_DIR)/$(LIBNAME).la
$(PKG_ROOT_LIB_DIR)/$(LIBNAME).la; \
../$(INSTALL) -S $(PKG_ROOT_LIB_DIR)/$(LIBNAME).so
$(PKG_LIB_DIR)/$(LIBNAME).so; \
fi
I guess the symlinks weren't created on your system only because your
/lib is symlinked to /usr/lib.
-- Jakub Wilk |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Bug#766811: spurious library links, Marco d'Itri |
|---|---|
| Next by Date: | Re: [PATCH v8 6/9] dax: add support for fsync/msync, Dmitry Monakhov |
| Previous by Thread: | Bug#766811: spurious library links, Marco d'Itri |
| Next by Thread: | Bug#766811: spurious library links, Marco d'Itri |
| Indexes: | [Date] [Thread] [Top] [All Lists] |