public inbox for cygwin-apps@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
To: Cygwin Applications <cygwin-apps@cygwin.com>
Cc: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>
Subject: Issue with another downstream over DESTDIR builds
Date: Thu, 29 Sep 2022 13:15:48 -0600	[thread overview]
Message-ID: <4ea3e2fe-a876-52b9-5f9a-f1da51017620@SystematicSw.ab.ca> (raw)
In-Reply-To: <608B851A-90F3-4A75-BB9E-1F972934A995@sk2.org>

Hi folks, [Please Reply All to CC me as ISP blocking Cygwin lists]

I previously submitted a patch upstream to add DESTDIR when creating 
package symlinks so cygport builds work without patches.

Now another downstream is disputing that, requesting the patch be 
reverted, saying that symlink targets are contents and should always be 
from the non-DESTDIR native source as per GNU "rules" in the autobook.

We agreed to request other more experienced opinions on this issue from 
our support groups and report back.

I am asking the perhaps more experienced professional maintainers to 
provide their considered opinion on this issue, demonstrated by the 
reversion patch below.

> The link's target must not include $(DESTDIR), otherwise this ends up
> included in the shipped link. Linking the theoretical target gives the
> correct result.
> 
> --- a/Makefile.in
> +++ b/Makefile.in
> @@ -115,7 +115,7 @@
>    	$(INSTALL_DATA) $(srcdir)/definitions.units $(DESTDIR)@UDAT@definitions.units
>    	-rm -f $(DESTDIR)@UDAT@currency.units
>    	$(INSTALL_DATA) $(srcdir)/currency.units $(DESTDIR)@CDAT@currency.units
> -	if [ $(DESTDIR)@CDAT@ != $(DESTDIR)@UDAT@ ];then ln -sf $(DESTDIR)@CDAT@currency.units $(DESTDIR)@UDAT@currency.units;fi
> +	if [ $(DESTDIR)@CDAT@ != $(DESTDIR)@UDAT@ ];then ln -sf @CDAT@currency.units $(DESTDIR)@UDAT@currency.units;fi
>    	$(INSTALL_DATA) $(srcdir)/locale_map.txt $(DESTDIR)@UDAT@locale_map.txt
>    	if test $(HAVE_PYTHON) = yes; then \
>    	  $(INSTALL_PROGRAM) units_cur_inst $(DESTDIR)$(bindir)/`echo units_cur|sed '$(transform)'`;fi

-- 
Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada

This email may be disturbing to some readers as it contains
too much technical detail. Reader discretion is advised.
[Data in binary units and prefixes, physical quantities in SI.]

       reply	other threads:[~2022-09-29 19:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <dd342dae-2c8d-e670-1921-5a091484eaf7@SystematicSw.ab.ca>
     [not found] ` <Ywf7Jezn6C7C0ANA@alpaca>
     [not found]   ` <61bc8c6e-ed8f-a812-6c05-9e68c4a0a3c7@SystematicSw.ab.ca>
     [not found]     ` <YwwQnK78duF8WCXk@alpaca>
     [not found]       ` <3436aa36-d661-629e-b704-b4887bb0b60f@SystematicSw.ab.ca>
     [not found]         ` <Yw1mwhOneVXk/tPy@alpaca>
     [not found]           ` <b0bef636-e802-4be5-5b58-71f1ad555079@SystematicSw.ab.ca>
     [not found]             ` <c2ccc61a-5189-ce02-e492-369c7885e4fb@SystematicSw.ab.ca>
     [not found]               ` <YxlH9PpgiunNNTMc@alpaca>
     [not found]                 ` <5a2c3997-6274-59ce-fb1a-630418bc49f0@SystematicSw.ab.ca>
     [not found]                   ` <YxqNVUyGDzYGhuAb@alpaca>
     [not found]                     ` <608B851A-90F3-4A75-BB9E-1F972934A995@sk2.org>
2022-09-29 19:15                       ` Brian Inglis [this message]
2022-09-30 12:11                         ` Jon Turney
2022-09-30 18:38                           ` Brian Inglis
2022-10-01  3:41                             ` Brian Inglis

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=4ea3e2fe-a876-52b9-5f9a-f1da51017620@SystematicSw.ab.ca \
    --to=brian.inglis@systematicsw.ab.ca \
    --cc=cygwin-apps@cygwin.com \
    /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).