GNU bug report logs - #75604
bootstrap ignores --copy option

Previous Next

Package: coreutils;

Reported by: Bruno Haible <bruno <at> clisp.org>

Date: Thu, 16 Jan 2025 14:50:02 UTC

Severity: normal

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 75604 in the body.
You can then email your comments to 75604 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#75604; Package coreutils. (Thu, 16 Jan 2025 14:50:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Bruno Haible <bruno <at> clisp.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 16 Jan 2025 14:50:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Bruno Haible <bruno <at> clisp.org>
To: bug-coreutils <at> gnu.org
Subject: bootstrap ignores --copy option
Date: Thu, 16 Jan 2025 15:48:55 +0100
Hi,

I want to test a current coreutils from git with clang's UBSAN.
For this, I need to apply a patch to lib/linebuffer.c and lib/mpsort.c
locally.
For this, it is not suitable if 'bootstrap' creates these files as
symbolic links.
So I run

  $ ./bootstrap --copy --no-git --gnulib-srcdir=$GNULIB_SRCDIR

But it *still* creates the symlinks, despite my explicit use of the
'--copy' option.

This comes from bootstrap.conf line 349. It shouldn't pass the option
'--symlink' to gnulib-tool when I passed the '--copy' option.

Bruno







Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Thu, 16 Jan 2025 15:16:02 GMT) Full text and rfc822 format available.

Notification sent to Bruno Haible <bruno <at> clisp.org>:
bug acknowledged by developer. (Thu, 16 Jan 2025 15:16:02 GMT) Full text and rfc822 format available.

Message #10 received at 75604-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 75604-done <at> debbugs.gnu.org
Subject: Re: bug#75604: bootstrap ignores --copy option
Date: Thu, 16 Jan 2025 15:15:00 +0000
[Message part 1 (text/plain, inline)]
On 16/01/2025 14:48, Bruno Haible via GNU coreutils Bug Reports wrote:
> Hi,
> 
> I want to test a current coreutils from git with clang's UBSAN.
> For this, I need to apply a patch to lib/linebuffer.c and lib/mpsort.c
> locally.
> For this, it is not suitable if 'bootstrap' creates these files as
> symbolic links.
> So I run
> 
>    $ ./bootstrap --copy --no-git --gnulib-srcdir=$GNULIB_SRCDIR
> 
> But it *still* creates the symlinks, despite my explicit use of the
> '--copy' option.
> 
> This comes from bootstrap.conf line 349. It shouldn't pass the option
> '--symlink' to gnulib-tool when I passed the '--copy' option.

Right. Since --symlink is the default, we can just drop that I think.
I'll push the attached in a while.

Marking this as done.

cheers,
Pádraig
[bootstrap--copy.patch (text/x-patch, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#75604; Package coreutils. (Thu, 16 Jan 2025 15:23:01 GMT) Full text and rfc822 format available.

Message #13 received at 75604 <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Bruno Haible <bruno <at> clisp.org>, 75604 <at> debbugs.gnu.org
Subject: Re: bug#75604: bootstrap ignores --copy option
Date: Thu, 16 Jan 2025 15:22:40 +0000
On 16/01/2025 15:15, Pádraig Brady wrote:
> On 16/01/2025 14:48, Bruno Haible via GNU coreutils Bug Reports wrote:
>> Hi,
>>
>> I want to test a current coreutils from git with clang's UBSAN.
>> For this, I need to apply a patch to lib/linebuffer.c and lib/mpsort.c
>> locally.
>> For this, it is not suitable if 'bootstrap' creates these files as
>> symbolic links.
>> So I run
>>
>>     $ ./bootstrap --copy --no-git --gnulib-srcdir=$GNULIB_SRCDIR
>>
>> But it *still* creates the symlinks, despite my explicit use of the
>> '--copy' option.
>>
>> This comes from bootstrap.conf line 349. It shouldn't pass the option
>> '--symlink' to gnulib-tool when I passed the '--copy' option.
> 
> Right. Since --symlink is the default, we can just drop that I think.
> I'll push the attached in a while.
> 
> Marking this as done.

Actually gnulib-tool defaults to copying,
so it'll need to be handled differently




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 14 Feb 2025 12:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 27 days ago.

Previous Next


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