GNU bug report logs - #14245
nobase_foo_DATA vs nobase_dist_foo_DATA

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: automake; Reported by: Daiki Ueno <ueno@HIDDEN>; dated Tue, 23 Apr 2013 06:36:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 23 Apr 2013 06:35:35 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 23 02:35:35 2013
Received: from localhost ([127.0.0.1]:38152 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1UUWpC-000415-Of
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2013 02:35:35 -0400
Received: from eggs.gnu.org ([208.118.235.92]:45847)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <ueno@HIDDEN>) id 1UUWp8-00040s-W3
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2013 02:35:32 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ueno@HIDDEN>) id 1UUWkG-0003wJ-0Z
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2013 02:30:35 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
	autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:40438)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ueno@HIDDEN>)
	id 1UUWkF-0003wF-Tn
	for submit <at> debbugs.gnu.org; Tue, 23 Apr 2013 02:30:27 -0400
Received: from eggs.gnu.org ([208.118.235.92]:57172)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <ueno@HIDDEN>) id 1UUWkC-0000xY-Ss
	for bug-automake@HIDDEN; Tue, 23 Apr 2013 02:30:27 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <ueno@HIDDEN>) id 1UUWk9-0003vf-Qh
	for bug-automake@HIDDEN; Tue, 23 Apr 2013 02:30:24 -0400
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:41781)
	by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <ueno@HIDDEN>)
	id 1UUWk9-0003vb-ND
	for bug-automake@HIDDEN; Tue, 23 Apr 2013 02:30:21 -0400
Received: from [2001:e41:db5e:fb14::1] (port=51028 helo=localhost.localdomain)
	by fencepost.gnu.org with esmtpsa
	(TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71)
	(envelope-from <ueno@HIDDEN>) id 1UUWk8-0002RP-RN
	for bug-automake@HIDDEN; Tue, 23 Apr 2013 02:30:21 -0400
Message-ID: <m3zjwppxmu.fsf-ueno@HIDDEN>
From: Daiki Ueno <ueno@HIDDEN>
To: bug-automake@HIDDEN
Subject: nobase_foo_DATA vs nobase_dist_foo_DATA
Date: Tue, 23 Apr 2013 15:30:17 +0900
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
	(bad octet value).
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -5.0 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://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: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.9 (------)

--=-=-=
Content-Type: text/plain

Hi,

With Automake master and 1.12.2, if Makefile.am has:

  nobase_foo_DATA = sub/nodist.dat
  nobase_dist_foo_DATA = sub/dist.dat

sub/dist.dat is not packed in the distribution.  I doubt this is a bug,
but the opposite use of dist_ and nobase_:

  dist_bar_DATA = sub/base.dat
  nobase_dist_bar_DATA = sub/nobase.dat

works just fine.

I'm attaching a test case.

Regards,
-- 
Daiki Ueno

--=-=-=
Content-Type: text/plain
Content-Disposition: inline; filename=nobase-dist.sh

#! /bin/sh
# Copyright (C) 2001-2013 Free Software Foundation, Inc.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2, or (at your option)
# any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

# Make sure nobase_* works.

required=cc
. test-init.sh

cat >> configure.ac <<'EOF'
AC_OUTPUT
EOF

cat > Makefile.am << 'EOF'
foodir = $(prefix)/foo

bardir = $(prefix)/bar

nobase_foo_DATA = sub/nodist.dat
nobase_dist_foo_DATA = sub/dist.dat

dist_bar_DATA = sub/base.dat
nobase_dist_bar_DATA = sub/nobase.dat
EOF

mkdir sub

: > sub/nodist.dat
: > sub/dist.dat
: > sub/nobase.dat
: > sub/base.dat

rm -f install-sh

$ACLOCAL
$AUTOCONF
$AUTOMAKE -a --copy
./configure --prefix "$(pwd)/inst"

$MAKE
$MAKE install

test -f inst/foo/sub/nodist.dat
test -f inst/foo/sub/dist.dat

test -f inst/bar/sub/nobase.dat
test -f inst/bar/base.dat

$MAKE distcheck

:

--=-=-=--




Acknowledgement sent to Daiki Ueno <ueno@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#14245; Package automake. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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