[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-freedink] Bug#578444: address@hidden: Re: install-reloc error on De

From: Sylvain Beucler
Subject: [Bug-freedink] Bug#578444: address@hidden: Re: install-reloc error on Debian-hurd and Debian-kfreebsd]
Date: Tue, 20 Apr 2010 19:24:04 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

Thanks, I already identified the bug and I think I'll make a new
upstream release.

- Sylvain

----- Forwarded message from Bruno Haible <address@hidden> -----

Date: Tue, 20 Apr 2010 00:29:29 +0200
From: Bruno Haible <address@hidden>
To: address@hidden
Cc: Sylvain Beucler <address@hidden>
Subject: Re: install-reloc error on Debian-hurd and Debian-kfreebsd
User-Agent: KMail/1.9.9

Hi Sylvain,

> https://buildd.debian.org/status/package.php?p=freedink
> What happens, apparently, is that 'install-reloc' is called with
> 'RELOC_STRIP_PROG= ' (i.e. == nothing).
> [...]/autotools/install-reloc: 118: : Permission denied
> On line 118 I have:
> test "$strip_prog" = ':' || func_verbose "$strip_prog" "$destprog$exeext" || 
> exit $?
> ($strip_prog comes from earlier strip_prog=$RELOC_STRIP_PROG)

Indeed this empty value of RELOC_STRIP_PROG is the problem. gnulib's NEWS file 
this note:

  2009-01-17  relocatable-prog  In the Makefile.am or Makefile.in, you now also
                              need to set RELOCATABLE_STRIP = :.

This was probably overlooked by some developer. But actually, there is no
need for the maintainer to define this variable, since automake can do it.
I'm applying this followup to

2010-04-19  Bruno Haible  <address@hidden>

        relocatable: Drop the need to define RELOCATABLE_STRIP in Makefile.am.
        * m4/relocatable.m4 (gl_RELOCATABLE_BODY): Set RELOCATABLE_STRIP.
        Reported by Sylvain Beucler <address@hidden>.

--- m4/relocatable.m4.orig      Tue Apr 20 00:24:18 2010
+++ m4/relocatable.m4   Tue Apr 20 00:24:14 2010
@@ -1,4 +1,4 @@
-# relocatable.m4 serial 14
+# relocatable.m4 serial 15
 dnl Copyright (C) 2003, 2005-2007, 2009-2010 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
@@ -76,9 +76,15 @@
   dnl RELOCATABLE_LIBRARY_PATH can be set in configure.ac. Default is empty.
+  dnl Ensure RELOCATABLE_STRIP is defined in Makefiles (at least those
+  dnl generated by automake), with value ':'.
 dnl Determine the platform dependent parameters needed to use relocatability:

----- End forwarded message -----

reply via email to

[Prev in Thread] Current Thread [Next in Thread]