unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Carl Worth <cworth@cworth.org>
To: notmuch@notmuchmail.org, David Bremner <bremner@debian.org>
Subject: Re: debian: Override RPATH_LDFLAGS
Date: Thu, 23 Jun 2011 14:38:42 -0700	[thread overview]
Message-ID: <87k4ccdy8t.fsf@yoom.home.cworth.org> (raw)
In-Reply-To: <20110623014835.13916431FD0@olra.theworths.org>

[-- Attachment #1: Type: text/plain, Size: 1795 bytes --]

On Wed, 22 Jun 2011 18:48:34 -0700 (PDT), (David Bremner) wrote:
>     Probably there is a nicer way to do this; perhaps it should be a
>     configure option.
>     (cherry picked from commit 387dc520dd68cc805e390f3a1399f85b5d5bd83a)

This nicer way involved automatic detection of when rpath is
needed. That was the intent always, but it was broken for a while,
(leading to this patch I believe).

The automatic detection should actually be working now. See the commit
referenced below.

So, you'll want to test it, of course, but I think you can (and should)
drop this override of RPATH_LDFLAGS from the Debian packaging now.

-Carl

commit 574f408816e636f677b14384c18cc2e388991411
Author: Carl Worth <cworth@cworth.org>
Date:   Wed Jun 1 13:02:58 2011 -0700

    configure: Fix detection of libdir in ldconfig configuration
    
    Ever since commit b4b5e9ce4dac62111ec11da6d22b7e618056801f the
    detection of libdir in the ldconfig configuration has been broken,
    resulting in RPATH being set when not needed and not wanted.
    
    The cause was a change from an IFS setting of:
    
    	IFS="$(printf '\n\t')"
    
    to a new setting of:
    
    	IFS="$(printf '\n')"
    
    That looks desirable since we want to split the output of ldconfig
    based on newlines, (and not split on any filename that might have an
    embedded tab in it). The subtle bug in the above is that the shell
    trims any trailing newlines when performing command substitution so
    the final statement above was equivalent to:
    
    	IFS=''
    
    which prevented any splitting of the ldconfig output at all.
    
    Fix this by avoiding command substitution and just using a literal
    newline in the source file for setting this variable.

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

       reply	other threads:[~2011-06-23 21:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20110623014835.13916431FD0@olra.theworths.org>
2011-06-23 21:38 ` Carl Worth [this message]
2011-06-24  1:06   ` debian: Override RPATH_LDFLAGS David Bremner

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

  List information: https://notmuchmail.org/

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

  git send-email \
    --in-reply-to=87k4ccdy8t.fsf@yoom.home.cworth.org \
    --to=cworth@cworth.org \
    --cc=bremner@debian.org \
    --cc=notmuch@notmuchmail.org \
    /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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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).