public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Matthew R. Wilson" <mwilson@mattwilson.org>
To: Dennis Clarke <dclarke@blastwave.org>
Cc: gcc-help@gcc.gnu.org, mpfr@inria.fr
Subject: Re: one of those annoying little things
Date: Wed, 24 Aug 2022 11:04:23 -0700	[thread overview]
Message-ID: <20220824180423.dubtsnvgropsdtb3@mattwilson.org> (raw)
In-Reply-To: <da7d0f9d-0295-6939-5a02-ae5ed802ae30@blastwave.org>

On 08.24.2022 12:51, Dennis Clarke wrote:
>------------------ From the GCC Help Maillist ------------------
>On 8/24/22 04:27, Matthew R. Wilson wrote:
>>On 08.24.2022 13:20, Xi Ruoyao via Gcc-help wrote:
>>>On Wed, 2022-08-24 at 00:21 -0400, Dennis Clarke via Gcc-help wrote:
>Good day and thank you good folks for the thoughtful reply.  Indeed yes
>I forgot the footnote for the patch :
>
>    https://www.mpfr.org/mpfr-current/#download
>
>>The instructions on the MPFR patch download page
>><https://www.mpfr.org/mpfr-current/> for the cumulative patch against
>>the 4.1.0 release explicitly tell you to use the following patch
>>command:
>>
>>patch -N -Z -p1 < path_to_patches_file
>
>Yes, I see that and also the words :
>
>    The -Z option sets the modification time of the patched files
>    from time stamps given in the patch file, thus avoiding the need
>    of some development utilities (such as autoconf); this may generate
>    a "Not setting time" warning for the PATCHES file, but you can
>    safely ignore it.
>
>Really?  Can I safely ignore it?  Because NetBSD has no such option for
>the patch command therein.

The "you can safely ignore it" applies to specifically the warning when
trying to set the time on the PATCHES file, not that you can safely
ignore the entire -Z option (or lack thereof).

>Seems that we can not safely ignore that option. Perhaps the failure
>here is with the "patch" software in NetBSD?  Maybe GNU patch is what
>is needed to get that -Z option?

If the patch utility that comes with NetBSD does not have the -Z option,
then yes, that seems to be a problem for the workflow you're trying to
accomplish (protected source tree but using an 'unclean' source
distribution of MPFR during the build since the effects of the -Z option
aren't being correctly applied).

-Matthew


  reply	other threads:[~2022-08-24 18:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-24  4:21 Dennis Clarke
2022-08-24  5:20 ` Xi Ruoyao
2022-08-24  8:27   ` Matthew R. Wilson
2022-08-24 16:51     ` Dennis Clarke
2022-08-24 18:04       ` Matthew R. Wilson [this message]
2022-08-24 19:23         ` Vincent Lefevre
2022-08-24 19:43           ` Dennis Clarke
2022-08-24 20:00           ` Vincent Lefevre
2022-08-24 11:26 ` Jonathan Wakely

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20220824180423.dubtsnvgropsdtb3@mattwilson.org \
    --to=mwilson@mattwilson.org \
    --cc=dclarke@blastwave.org \
    --cc=gcc-help@gcc.gnu.org \
    --cc=mpfr@inria.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).