bugGnash - The GNU Flash player - Bugs: bug #29151, configure --disable-rpath is...

 
 

bug #29151: configure --disable-rpath is ignored

Submitted by:  Martin Jacobs <mjacobs_de>
Submitted on:  Tue 09 Mar 2010 09:42:39 PM UTC  
 
Category: release 0.8.7Severity: 3 - Normal
Release: NoneStatus: Need Info
Privacy: PublicAssigned to: Rob Savoye <rsavoye>
Open/Closed: Open

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 04 Feb 2016 09:10:49 AM UTC, comment #4:

--disable-rpath does not work on Ubuntu with libtool version 2.4.2
Same on Mac OS X.

Is one supposed to add something specific in the configure.ac ? Here is the configure.ac I use: http://cgit.freedesktop.org/gstreamer/gstreamer/tree/configure.ac

Also see this bug http://sourceforge.net/p/opendkim/bugs/189/. It seems that some started to patch libtool at configure time due to this issue.

See also Debian wiki about rpath issue: https://wiki.debian.org/RpathIssue

Julien Isorce <julienisorce>
Thu 11 Mar 2010 08:30:36 PM UTC, comment #3:

This is complete configure command line:

./configure --target i586-suse-linux --host i586-suse-linux-gnu --build i586-suse-linux-gnu --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --enable-gui=gtk --enable-media=ffmpeg
--enable-renderer=agg --disable-rpath --with-plugins-install=system --with-npapi-install=system --with-npapi-plugindir=/usr/lib/firefox/plugins

I give autogen.sh a chance ... (libtoolize is version 2.2.6)

Running libtoolize 2.2.6 --force --copy --ltdl libltdl --quiet --recursive ...
processing .
Running aclocal -I cygnal -I macros ...
Running autoheader...
Running automake --add-missing --copy ...
Running autoconf ...

Then running configure as shown above gives exactly the same result. Example from libbase/Makefile:

libgnashbase.la: $(libgnashbase_la_OBJECTS) $(libgnashbase_la_DEPENDENCIES)
$(libgnashbase_la_LINK) -rpath $(pkglibdir) $(libgnashbase_la_OBJECTS) $(libgnashbase_la_LIBADD) $(LIBS)

Any idea, how to fix that?

Martin Jacobs <mjacobs_de>
Wed 10 Mar 2010 09:02:41 PM UTC, comment #2:

the -rpath is inserted by libtool, which is also what is --disable-rpath is supposed to disable. Did you use --disable-rpath ? What happens if you run ./autogen.sh instead of autoreconf ?

Rob Savoye <rsavoye>
Project AdministratorIn charge of this item.
Wed 10 Mar 2010 08:56:24 PM UTC, comment #1:

Even if I run autoreconf (2.63) before running configure, I find in most of the Makfiles lines like this one (taken from libbase/Makefile):

libgnashbase.la: $(libgnashbase_la_OBJECTS) $(libgnashbase_la_DEPENDENCIES)
$(libgnashbase_la_LINK) -rpath $(pkglibdir) $(libgnashbase_la_OBJECTS) $(libgnashbase_la_LIBADD) $(LIBS)

Martin Jacobs <mjacobs_de>
Tue 09 Mar 2010 09:42:39 PM UTC, original submission:

I'm on GNU/Linux, gcc-3.4.6.

Building rpm from gnash 0.8.6 worked fine.
Now with gnash 0.8.7 I wanted to switch to a build without rpath and had to discover that configure accepts this option but all Makefiles still use rpath as link option.
Both versions (0.8.6 and 0.8.7) are affected,

Martin Jacobs <mjacobs_de>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by julienisorce (Posted a comment)
  • -unavailable- added by rsavoye (Posted a comment)
  • -unavailable- added by mjacobs_de (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 10 Mar 2010 09:02:41 PM UTCrsavoyeStatusNone=>Need Info
      Assigned toNone=>rsavoye

    Back to the top


    Powered by Savane 3.1-cleanup1