GNU bug report logs - #34166
DESTDIR affects distcheck badly.

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: Van de Bugger <van.de.bugger@HIDDEN>; dated Mon, 21 Jan 2019 21:06:01 UTC; Maintainer for automake is bug-automake@HIDDEN.

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


Received: (at submit) by debbugs.gnu.org; 21 Jan 2019 21:05:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Jan 21 16:05:50 2019
Received: from localhost ([127.0.0.1]:40579 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1glglS-00023h-9y
	for submit <at> debbugs.gnu.org; Mon, 21 Jan 2019 16:05:50 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56661)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <van.de.bugger@HIDDEN>) id 1glglP-00023N-Ls
 for submit <at> debbugs.gnu.org; Mon, 21 Jan 2019 16:05:48 -0500
Received: from lists.gnu.org ([209.51.188.17]:37868)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <van.de.bugger@HIDDEN>)
 id 1glglJ-00051D-6U
 for submit <at> debbugs.gnu.org; Mon, 21 Jan 2019 16:05:41 -0500
Received: from eggs.gnu.org ([209.51.188.92]:38598)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <van.de.bugger@HIDDEN>) id 1glglI-0005Go-54
 for bug-automake@HIDDEN; Mon, 21 Jan 2019 16:05:41 -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.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <van.de.bugger@HIDDEN>) id 1glglF-0004xp-2w
 for bug-automake@HIDDEN; Mon, 21 Jan 2019 16:05:38 -0500
Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]:43763)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16)
 (Exim 4.71) (envelope-from <van.de.bugger@HIDDEN>)
 id 1glglA-0004ff-FU
 for bug-automake@HIDDEN; Mon, 21 Jan 2019 16:05:36 -0500
Received: by mail-lf1-x134.google.com with SMTP id u18so16471394lff.10
 for <bug-automake@HIDDEN>; Mon, 21 Jan 2019 13:05:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
 h=message-id:subject:from:to:date:user-agent:mime-version;
 bh=ZYgs94A/TDn6w9k87dT6VJU3xp48Zbr/QPkfrZwVgrs=;
 b=mVK7/wqE9B2V/4dzbCHfR4MQE2KhjWMoqyxd9RuSFDYr4lhdby5BMqtFI5DfuXxqgc
 C5l7EZ+PRDZFyWAmhuP65mQq/pADvuEA3NgtApP5fLSDXUByQW3mrWh7CbWdFCXmqMN6
 4DOHqs7naeKZjCn5phXho/jrVUntvj0TyD7gHcm3/fAnasaDia/nuZ1LKsf1mojkMyU1
 xHTl8z73Fhz8P5XdQ+A86WSp3MIRn2GVVnA5JIw9WrW22r0KGkOTNTduf/QLJMZ2Lb5i
 7gi302DssJ/af8SQUiDjY84kyQe9pR+LZI2g5mvW6tKi/4SVc/wcnYDR3jIWtglr+nWL
 +gFw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:date:user-agent
 :mime-version;
 bh=ZYgs94A/TDn6w9k87dT6VJU3xp48Zbr/QPkfrZwVgrs=;
 b=LaV2zJETLtyYtOflM+uSAHGnDNoXkzDneGqZRGmab1Mp3f11TqZH9EA6tAGNbatYRK
 X16uhhrCT7kbSN9LJiej2wt2/yUIsgub3GIVtw8P8TTddLEG3FVyzGE6NU4S/WGyUUi/
 1F+KVwL0EdsJ6Ev7YnUFetzLhJ+h4viGbYVAE5a8/Ifc9w38+7HdbHC2zwCTpdq2XEPt
 kBUvtxjQ+PgjYvnIpB2vFtVVdP8njx0IqpZ6hbH6N8WcKv8rL0P6MkqRLfXXqhvNTbmG
 a/dmTw9X2v9W6bLkbMe2Gb48vLzFfZc6ZITOS+9wOAzLsi3VEZq8uMzettPusMaf1YEq
 wcsQ==
X-Gm-Message-State: AJcUukcwZq3Y5k9SsM2SMVPZ1o7GyEQ9aqHNpJ3EXn87JtiJsBpeligD
 ZKNdgf+oPhX4x/fi55vQ8JadPGsz
X-Google-Smtp-Source: ALg8bN4OylIvzYsu6lv+TJcEYXdAq5m4TieCIexSWAcDAncK2hQXnLcRjTFoGBKetm67Tr7nfRoXHA==
X-Received: by 2002:a19:7d42:: with SMTP id y63mr12603680lfc.47.1548104718689; 
 Mon, 21 Jan 2019 13:05:18 -0800 (PST)
Received: from antec.home ([82.208.124.175])
 by smtp.gmail.com with ESMTPSA id s127sm2485587lfe.8.2019.01.21.13.05.17
 for <bug-automake@HIDDEN>
 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256);
 Mon, 21 Jan 2019 13:05:17 -0800 (PST)
Message-ID: <f346be3cc431727a68b814d0eff79fcc97d573ab.camel@HIDDEN>
Subject: DESTDIR affects distcheck badly.
From: Van de Bugger <van.de.bugger@HIDDEN>
To: bug-automake@HIDDEN
Date: Tue, 22 Jan 2019 00:05:39 +0300
Content-Type: multipart/mixed; boundary="=-KhqOXxoPrGsLHvaxqo0Z"
User-Agent: Evolution 3.30.3 (3.30.3-1.fc29) 
Mime-Version: 1.0
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-Received-From: 2a00:1450:4864:20::134
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
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.0 (/)


--=-KhqOXxoPrGsLHvaxqo0Z
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

Software versions
=================

*   Fedora 29, x86_64
*   autoconf-2.69-28.fc29.noarch
*   automake-1.16.1-5.fc29.noarch


Steps to reproduce
==================

    $ tar xaf distdir.patch.tar.gz
    $ cd distdir.patch
    $ mkdir _build
    $ cd _build
    $ autoreconf -i ..
    $ ../configure
    $ DESTDIR=`pwd`/_install make distcheck


The problem
===========

Note enormously long path in the 'make distcheck' output:

    <...>
    make[2]: Entering directory '/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_build/sub'
    make[2]: Nothing to be done for 'install-exec-am'.
     /usr/bin/mkdir -p '/home/vdb/prj/Alien/destdir/_build/_install/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_inst/share/doc/distdir'
     /usr/bin/install -c -m 644 ../../README '/home/vdb/prj/Alien/destdir/_build/_install/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_inst/share/doc/distdir'
    make[2]: Leaving directory '/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_build/sub'
    make[1]: Leaving directory '/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_build/sub'
    <...>

Namely:

    /home/vdb/prj/Alien/destdir/_build/_install/home/vdb/prj/Alien/distdir.patch/_build/distdir-1.16.1.patch/_inst/share/doc/distdir
    
Note that build directory is doubled.

This is result of interaction between distcheck goal and DESTDIR environment
variable.

In this particular case, path length does not exceed limits, and so distcheck
goal is built successully. However, it could be a real problem in case of
longer build directory path or if DESTDIR points to a non-writable directory.


Proposed solution
=================

See distdir.am.patch.



--=-KhqOXxoPrGsLHvaxqo0Z
Content-Type: application/x-compressed-tar; name="distdir.patch.tar.gz"
Content-Disposition: attachment; filename="distdir.patch.tar.gz"
Content-Transfer-Encoding: base64

H4sIALcyRlwAA+1Ye2/bNhDPv9WnOLRB7czW0684W4YYjdMZa9IidoECWeHREm1zkUWBopykn35H
PRwraWsXS9Nt0UGAZPJ4vOePR3sskh4TRkikOzd3vgtZSJ1OS73tTstef+e0Yzeajt1s2E7T2bFs
u+O0d6D1fdQpUhxJIgB2lt7kq3yb5v+j5BXif97vHZ/2H3oPFeB2u/ml+DecTnMVf1vx2U7b7uyA
9dCKfI6eePyHfCqviKCwpCJiPIi0w7ukaT8BwAn1uCDgdOtwvd8et5vJKIkld3kw1R2j3dWdfWPq
Ol0j4ES48xXDglxS3TbstmHrrQKHpg0lDSOQHAQNBfdil95XADVASbALKlLXZAqFpDVw1Jh9ylhc
rzibDS8ucQTGk5j53i1n4bfSVFBlDOgMDCMbNgxTjbFZLGg2dNwfjo4H54d/hlfen+aYBZhCvg/K
zGRzd07dS7RtNKeARk18utAK1pxxSYEGXCx4HPk34PNgBqjuHFgAEldVirIqwGMZxvIgdcQvhmH8
mnwptgvn4wH0A0kFQyloJnXRkBuomHO+oCbmrRmKv8yez2hgFss9tT8fzEJUnIviSaW4FSo/Vzth
zCaoIw8oTLmASuYGnV5TVyeLSupAMONImBMWmGkI9PALitFEh3zb3Kn/0AYlxYz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225j/eO3Xdb/Y1Dv
1XhwNhhVL7JE+Fi/WP+T5OOehhyv3p6dDF6Pe+8/IC6cVy/GJL5WM6fJWhwfvVUtQ/ViygVls6Cw
6mTwpj+sXuRHSzr39v3o3ftRda+8xJdUUkkllVRSSSWVVFJJJT0S/Q3rEmSfACgAAA==


--=-KhqOXxoPrGsLHvaxqo0Z--





Acknowledgement sent to Van de Bugger <van.de.bugger@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-automake@HIDDEN. Full text available.
Report forwarded to bug-automake@HIDDEN:
bug#34166; 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: 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.