| To: | Rich Johnston <rjohnston@xxxxxxx> |
|---|---|
| Subject: | Re: [PATCH 2/5] xfstests: Use libtool to install applications |
| From: | Boris Ranto <ranto.boris@xxxxxxxxx> |
| Date: | Tue, 16 Apr 2013 17:54:52 +0200 |
| Cc: | xfs-oss <xfs@xxxxxxxxxxx>, Boris Ranto <branto@xxxxxxxxxx> |
| Delivered-to: | xfs@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=ckFJ/NoCNtdQrHjIoNV2No1h70F7wyV+RXrwQO3CY/M=; b=OCdAgn7mytlqk4KouEWIBT6N8S9qbbRBFnTB+IGSVdsmavh5mjlTyB0L1QCxi6PK98 /L+qffXw4QXTwUXCCAynBZhubHJ2a/anAIbZ2lXiBC4NcN95Ej4XmzXGVOE8/YeP5xSz XDYnwOG3CveYBHRbCmgMgYYJyZna9clttHC+DemiHJ2gDR1DUXPGN2c64fDDj0k8tMr3 b5XhZp/mTn42E/2BENfJqsJgyuNomktCG6PwaO+XmlSIx3OiOR0M7wHizMcb2p5QeoFe q8e67T5ZpwItvTNjhfgwVp8fQFMvP6vxuDXWr1ZZU4W0OCfZ/DTJtbOr3Ps1y0VlDFgO 7UrQ== |
| In-reply-to: | <20120828172928.999971219@xxxxxxx> |
| References: | <20120828172605.607853317@xxxxxxx> <20120828172928.999971219@xxxxxxx> |
|
Hi, this patch introduced a regression as it is no longer possible to install xfstests to non-standard directory. The install-sh script that is packed with xfstests supports DIST_ROOT variable for installation to non-standard directory and hence, the command make DIST_ROOT=/some/other/dir worked well before the change. However now, even though libtootl actually calls the install-sh script, the libtool itself also checks that the given installation directory exists. Since the libtool does not respect DIST_ROOT, then unless you already have xfstests installed in /var/lib/xfstets, the installation with DIST_ROOT variable will fail with libtool: install: `/var/lib/xfstests/ltp' is not a directory Looking at the libtool script, there does not seem to be a nice way to fix this since it checks that the destination directory exists directly by command 'test -d "$dest". Hence, possible workarounds include creating xfstests directory structure in /var/lib/xfstest/ before installing to DEST_DIR or reverting this patch. Looking at the libtool --mode=install --help, the command should also support -inst-prefix $DEST_DIR but that did not work in my case (and looking at the source code of libtool script, it does not treat the -inst-prefix option specially in install mode). Regrads, Boris On Tue, Aug 28, 2012 at 7:26 PM, Rich Johnston <rjohnston@xxxxxxx> wrote: This patch replaces the INSTALL macro with LTINSTALL so that libtool is used |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH v2] xfs: Avoid pathological backwards allocation, Mark Tinguely |
|---|---|
| Next by Date: | Re: xfs_fsr, sunit, and swidth, Dave Chinner |
| Previous by Thread: | RE, FL Online |
| Next by Thread: | Re: [PATCH 2/5] xfstests: Use libtool to install applications, Rich Johnston |
| Indexes: | [Date] [Thread] [Top] [All Lists] |