GNU logs - #22331, boring messages


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22331: nodist_nobase_ variable does not treat nobase_ as a special prefix
Resent-From: Simon McVittie <simon.mcvittie@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Fri, 08 Jan 2016 16:35:03 +0000
Resent-Message-ID: <handler.22331.B.145227089714523 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 22331
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: 22331 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-automake@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.145227089714523
          (code B ref -1); Fri, 08 Jan 2016 16:35:03 +0000
Received: (at submit) by debbugs.gnu.org; 8 Jan 2016 16:34:57 +0000
Received: from localhost ([127.0.0.1]:43353 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aHa08-0003mB-L8
	for submit <at> debbugs.gnu.org; Fri, 08 Jan 2016 11:34:56 -0500
Received: from eggs.gnu.org ([208.118.235.92]:34699)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUT-0004ys-R8
 for submit <at> debbugs.gnu.org; Fri, 08 Jan 2016 07:50:02 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUN-0006BU-CB
 for submit <at> debbugs.gnu.org; Fri, 08 Jan 2016 07:49:56 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,UNPARSEABLE_RELAY
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:45244)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUN-0006B8-7g
 for submit <at> debbugs.gnu.org; Fri, 08 Jan 2016 07:49:55 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:53853)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUM-00088v-1l
 for bug-automake@HIDDEN; Fri, 08 Jan 2016 07:49:55 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUH-00064K-1v
 for bug-automake@HIDDEN; Fri, 08 Jan 2016 07:49:53 -0500
Received: from bhuna.collabora.co.uk ([46.235.227.227]:55187)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <simon.mcvittie@HIDDEN>) id 1aHWUG-00063i-T0
 for bug-automake@HIDDEN; Fri, 08 Jan 2016 07:49:49 -0500
Received: from [127.0.0.1] (localhost [127.0.0.1]) (Authenticated sender: smcv)
 with ESMTPSA id 8911026020B
From: Simon McVittie <simon.mcvittie@HIDDEN>
X-Enigmail-Draft-Status: N1110
Organization: Collabora Ltd.
Message-ID: <568FB069.70503@HIDDEN>
Date: Fri, 8 Jan 2016 12:49:45 +0000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
 Icedove/38.5.0
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="------------050106010507060803020505"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-Mailman-Approved-At: Fri, 08 Jan 2016 11:34:55 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)

This is a multi-part message in MIME format.
--------------050106010507060803020505
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

I'm using Automake 1.15 (Debian's automake package version 1:1.15-3) and
Autoconf 2.69 (autoconf 2.69-9).

If I generate a header file at runtime, and I want it installed in a
subdirectory, it makes sense to use both the nobase_ and nodist_
prefixes. However, these only work as I'd expect if nobase_ is first.

Complete project attached, of which the important part is:

nobase_pkginclude_HEADERS =3D foo/bar.h
nobase_nodist_pkginclude_HEADERS =3D foo/nb-nd.h
nodist_nobase_pkginclude_HEADERS =3D foo/nd-nb.h

Steps to reproduce:

autoreconf -fi && ./configure && make
make install DESTDIR=3D$(pwd)/DESTDIR
find DESTDIR -type f

Expected result:

DESTDIR/usr/local/include/example/foo/bar.h
DESTDIR/usr/local/include/example/foo/nb-nd.h
DESTDIR/usr/local/include/example/foo/nd-nb.h

Alternative result which would also be OK:

* Documentation mentions that nobase_ must come before nodist_ if both
  are used
* A warning from automake tells me I've probably made a mistake

Actual result:

* nd-nb.h is missing
* No warning

Looking at the generated Makefile, nobase_pkginclude_HEADERS and
nobase_nodist_pkginclude_HEADERS are to be installed to $(pkgincludedir)
as I would expect, but nodist_nobase_pkginclude_HEADERS are to be
installed to $(nobase_pkgincludedir), which is not defined, so they are
skipped.

--=20
Simon McVittie
Collabora Ltd. <http://www.collabora.com/>

--------------050106010507060803020505
Content-Type: application/gzip;
 name="example.tar.gz"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
 filename="example.tar.gz"

H4sIAAAAAAACA+1YbXPaOBDma/wrNg1toBMMmABppumES7kec3npJHB3M2nGI9uL0UWWGElO
mn9/azBcS5rmy4Xri5+BsWStd1erfZE0ZR/9WKiACX+CLEJd+u/RIHQ6ndmTsPqkwd1S0+vs
trpep9Ps0vvmbrvVKMWlNSA1lmkSqZWyX6N7bHx1ct8J2h6EKklQ2oPdbjMY73ldbGHY6O51
gjDoYid8NcaQeY0o2EPvVcRY0ykV+GGAH1kyFVh/ShlZPHS77Yfjn9or8e+1vW6pXcT/2tb/
hF3jmAt0WfJE+X/3ofX3mq3m/fzfofFi/Z8cWzCccAOYpIJZNMBAMB2jhqlWf2No4XaCGmEA
t0xa6L0fQGpQG7DK2YItLkORRgivx0rVA6bdyZudBa1UsqYxTLXhNwgJ+dcOMBkthpUlxsTD
qFSHSEWI2NxyO+ESaGQp3ioIEFggMGt+SSDxqGQfQm1Qrlg19Y0OI66ry36QchHN3vAxSAzR
GKbvqq6zRZ+ODJcxTK/jnDPRwa1KRTQTOyU1ppqTZWCsNBlnaRUSSF9PmWZCoKhxSW4kxEzP
G7IPV9LMZkuca6GSYx7vEP3E2qnZr9cjvEGhpqjdWKoEXaXjOrGONUsS0qcWpzxCwSWaeppx
Jrb1+7K44PbOndhEuCgdR9IuzqD/71z83/q9t/3zCziApbkc0mIgQSMTIPgY4U6l2xEoKe6y
laUG/cfZEhh0IWcpVcSNBfKTbGkyEjthljix0Kakyh2ZTF/ThA1waVGSGV3ns28f1koGNRmR
XjndY5OQUU0G82n0wPBMdp7CMrUNGTNzoTh3W5ocJDye2LnPMZj5Qs3yBMGkgbHcppbWynXK
lV9Gg+Ohf3E2Oj/qX1T34Tn9XPLGRWZ0NsqV3on/h/+uf1o1GEENYdtsXh5ekbKCB+Q51N4s
V5bd6uY2fHA2Nj4ljJhln1Lm/QVp+TW8gfKha5MpvHgByc2iUz50nM80JHt8yFR6zMzVBdnX
zZuTnY6Oj6uO0/9reN7z3w4uhiRmxTT7zw8yu1Sdo+N+7/TXwfFMl1X7FZvE76v+z3NUqmkD
EK65/jeabW+1/rcbzVZR/9eA3pE/OB0MK5e5I1ztXDauqg4luuy13xsNz056v/crl1T/kMcS
an9KVZsqbfP6kxEf+UdnlAne+bNsULlcpMz52Nlo+H40LBLCNx3/WW39hs5/rVbTK85/a17/
2Qbxye7/Hs7/dNy7d/7zPK/I/2tA/SVMUAgFL+tFhv7J839+FKPN/Zrjf7dxf/9X3P+s5/4n
op0aHeiXh1Z4drhsHz4rcsLPFP/zu5X/If6/cP7rFPV/zfGfX0XNE0DeKTJAgQIFChQoUKDA
D4Z/AKWOXvYAKAAA
--------------050106010507060803020505--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Simon McVittie <simon.mcvittie@HIDDEN>
Subject: bug#22331: Acknowledgement (nodist_nobase_ variable does not
 treat nobase_ as a special prefix)
Message-ID: <handler.22331.B.145227089714523.ack <at> debbugs.gnu.org>
References: <568FB069.70503@HIDDEN>
X-Gnu-PR-Message: ack 22331
X-Gnu-PR-Package: automake
Reply-To: 22331 <at> debbugs.gnu.org
Date: Fri, 08 Jan 2016 16:35:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-automake@HIDDEN

If you wish to submit further information on this problem, please
send it to 22331 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
22331: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D22331
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-automake@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#22331: nodist_nobase_ variable does not treat nobase_ as a special prefix
Resent-From: Nick Bowler <nbowler@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-automake@HIDDEN
Resent-Date: Fri, 08 Jan 2016 18:23:02 +0000
Resent-Message-ID: <handler.22331.B22331.145227737924384 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 22331
X-GNU-PR-Package: automake
X-GNU-PR-Keywords: 
To: Simon McVittie <simon.mcvittie@HIDDEN>
Cc: 22331 <at> debbugs.gnu.org
Received: via spool by 22331-submit <at> debbugs.gnu.org id=B22331.145227737924384
          (code B ref 22331); Fri, 08 Jan 2016 18:23:02 +0000
Received: (at 22331) by debbugs.gnu.org; 8 Jan 2016 18:22:59 +0000
Received: from localhost ([127.0.0.1]:43379 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1aHbgh-0006LE-Ha
	for submit <at> debbugs.gnu.org; Fri, 08 Jan 2016 13:22:59 -0500
Received: from mail-oi0-f51.google.com ([209.85.218.51]:36749)
 by debbugs.gnu.org with esmtp (Exim 4.84)
 (envelope-from <nbowler@HIDDEN>) id 1aHbgf-0006L1-RU
 for 22331 <at> debbugs.gnu.org; Fri, 08 Jan 2016 13:22:58 -0500
Received: by mail-oi0-f51.google.com with SMTP id o124so7663324oia.3
 for <22331 <at> debbugs.gnu.org>; Fri, 08 Jan 2016 10:22:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=draconx-ca.20150623.gappssmtp.com; s=20150623;
 h=mime-version:in-reply-to:references:date:message-id:subject:from:to
 :cc:content-type;
 bh=jDPL11UrbZusk6H7Zuke1vfw2H34e0QU0YTdMymPqJ8=;
 b=otdMWL6suBCpmyT89t/Q5DFUuXcYohLG1wyqqSXoJT+Ye5j92ud9+TU/CiXqrc5NYQ
 IaWiaMoSsFpMA+2iZUNAPmPhzyClvahCirGr1V/1PEYBTSwfKclYe2Auyz58B21hLYaB
 TIFkYtUkTW8o3UTuf56o+FD2QWf4PI1Oi4RMFHF/TjLrbqVKVDbaUoTOWE2V8BcFkHm6
 MKoYYQ3URiOP9hfcti+cSP0NCS2vYNfwuaOx3ImCtve8DVl7fJgh01Ghljn1lhaiNA4x
 JbSU/8k3kBi92d37P6ajrkrOWHypBJ+lRdKfI66hBttUnXndh9OY9G0tdgPItyYn/3Xz
 dElA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:in-reply-to:references:date
 :message-id:subject:from:to:cc:content-type;
 bh=jDPL11UrbZusk6H7Zuke1vfw2H34e0QU0YTdMymPqJ8=;
 b=QHdhgNMYxx+SyNXPycWWlJCUq0WqroncK8D34mXPXtv1ezDLmoglFZ+4knjdNZ+409
 3SOBQuSq4+9hC4a1MqZqz1ypf9ohSYcKWX1Ph2OOzuCet3sdhGiDOIXUYQo4xS+nkbID
 OBW4KG9t1viYazmTlnh1fejhitcYPLd2Re/g8MEc3IlfcLb+uT6/XSFmAnxMlj388M2g
 Xk/pC9TO+dAK53jD4gQMIhrkXJiabUP2F7lJ4u8COTr6iZ6ep1Z6GEe57pTiEMaOuSNB
 6qIh1b3Hv8q7rmxdqDN8VbIs24UMM8MilEMM9xH+OBdhfDFLg2m/y2DcWYzswG6UNJoK
 Czzw==
X-Gm-Message-State: ALoCoQmKODJ1ZHPBnJU6olDi/tbLR4pJx7MHS6WHY0+FTRd4oVUex87nbZOoNtNNDaRr+nj1WbaIe+oRdSkgjkfnhR0FQoAhQg==
MIME-Version: 1.0
X-Received: by 10.202.97.11 with SMTP id v11mr71028215oib.12.1452277372194;
 Fri, 08 Jan 2016 10:22:52 -0800 (PST)
Received: by 10.182.214.70 with HTTP; Fri, 8 Jan 2016 10:22:52 -0800 (PST)
X-Originating-IP: [50.21.174.4]
In-Reply-To: <568FB069.70503@HIDDEN>
References: <568FB069.70503@HIDDEN>
Date: Fri, 8 Jan 2016 18:22:52 +0000
Message-ID: <CADyTPExHtLD+YZ6R35uy-YHYKeOcbmi2eR6VURxQCUiMPqkEVQ@HIDDEN>
From: Nick Bowler <nbowler@HIDDEN>
Content-Type: text/plain; charset=UTF-8
X-Spam-Score: -0.7 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.7 (/)

On 1/8/16, Simon McVittie <simon.mcvittie@HIDDEN> wrote:
> I'm using Automake 1.15 (Debian's automake package version 1:1.15-3) and
> Autoconf 2.69 (autoconf 2.69-9).
>
> If I generate a header file at runtime, and I want it installed in a
> subdirectory, it makes sense to use both the nobase_ and nodist_
> prefixes. However, these only work as I'd expect if nobase_ is first.
[...]
> Alternative result which would also be OK:
>
> * Documentation mentions that nobase_ must come before nodist_ if both
>   are used

The manual /does/ mention this:

  7.3 "An Alternative Approach to Subdirectories"[1]

  'nobase_' should be specified first when used in conjunction with
  either 'dist_' or 'nodist_' ...  For instance:

      nobase_dist_pkgdata_DATA = images/vortex.pgm sounds/whirl.ogg

[1] https://gnu.org/software/automake/manual/automake.html#Alternative

Cheers,
  Nick





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.