xfs
[Top] [All Lists]

Bug#766811: spurious library links

To: Jakub Wilk <jwilk@xxxxxxxxxx>, 766811@xxxxxxxxxxxxxxx
Subject: Bug#766811: spurious library links
From: Marco d'Itri <md@xxxxxxxx>
Date: Wed, 10 Feb 2016 04:17:03 +0100
Cc: Nathan Scott <nathans@xxxxxxxxxx>
Delivered-to: xfs@xxxxxxxxxxx
In-reply-to: <20160206132241.GA2869@xxxxxxxxx>
References: <20141026004825.GA27863@xxxxxxxxxxxxx> <20160124151308.GA7620@xxxxxxxxx> <20160206005821.GA11551@xxxxxxxxxxxxx> <20160206132241.GA2869@xxxxxxxxx>
Reply-to: Marco d'Itri <md@xxxxxxxx>, 766811@xxxxxxxxxxxxxxx
Resent-cc: XFS Development Team <xfs@xxxxxxxxxxx>
Resent-date: Wed, 10 Feb 2016 03:21:01 +0000
Resent-from: Marco d'Itri <md@xxxxxxxx>
Resent-message-id: <handler.766811.B766811.14550742356531@xxxxxxxxxxxxxxx>
Resent-to: debian-bugs-dist@xxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.24 (2015-08-30)
On Feb 06, Jakub Wilk <jwilk@xxxxxxxxxx> wrote:

> 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

Right. Nathan, this code path is not used on Red Hat and SuSE, which 
already implemented a merged /usr, and it has always been wrong on 
Debian: I think it should just be removed from the upstream package.
Should I NMU?

-- 
ciao,
Marco

Attachment: signature.asc
Description: PGP signature

<Prev in Thread] Current Thread [Next in Thread>