Bug 691039

Summary: use of brackets confuses autotools
Product: [Fedora] Fedora Reporter: Louis Lagendijk <louis>
Component: spandspAssignee: Rex Dieter <rdieter>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: high    
Version: 15CC: alekcejk, itamar, jeff, olivier.crete, rdieter
Target Milestone: ---Keywords: EasyFix, Patch
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: spandsp-0.0.6-0.5.pre18.fc15 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-07 22:59:42 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Updated specfile
none
patch for configure.ac
none
Updated specfile, corrected
none
linphone-3.5.0 build failed with enabled spandsp-devel none

Description Louis Lagendijk 2011-03-26 11:37:23 UTC
Description of problem:
Building a package using the spandsp.pc package config file fails as autotools seems to escape the round brackets with \( and \). Use of the curly brackets fixes the problem

Version-Release number of selected component (if applicable):
spandsp.x86_64 0:0.0.6-0.1.pre12.fc12

How reproducible:
On ffgtk (svn version) I run a rebuild:

Steps to Reproduce:
1.autoconf -i -f
2../configure
3.make
  
Actual results:
.
.
.
../libtool: line 5324: cd: (exec_prefix)/lib64: No such file or directory
libtool: link: cannot determine absolute directory name of `(exec_prefix)/lib64'
make[2]: *** [ffgtk] Error 1


Expected results:
Make without errors

Additional info:
The generated Makefile has:
SPANDSP_CFLAGS =
SPANDSP_LIBS = -L\$\(exec_prefix\)/lib64 -lspandsp -ltiff -lm
as you can see, the brackets got escaped, causing variable substitution to fail

Comment 1 Louis Lagendijk 2011-03-26 11:39:21 UTC
Forgot to mention: the same problem exists on the latest --pre18 version.

Comment 2 Louis Lagendijk 2011-06-11 13:48:18 UTC
ping, any news on fixes?

Comment 3 Louis Lagendijk 2011-06-11 19:41:18 UTC
Created attachment 504268 [details]
Updated specfile

Comment 4 Louis Lagendijk 2011-06-11 19:42:38 UTC
Created attachment 504269 [details]
patch for configure.ac

Comment 5 Louis Lagendijk 2011-06-11 19:52:48 UTC
I fixed the issue for me locally, patch file and updated spec file attached. As I corrected configure.ac I had to run autogen.sh before configure

Comment 6 Louis Lagendijk 2011-06-11 19:58:59 UTC
Created attachment 504272 [details]
Updated specfile, corrected

Sorry, added a spec file without the autogen.sh invocation

Comment 7 Louis Lagendijk 2011-08-10 20:36:36 UTC
Ping, any news?

Comment 8 Olivier CrĂȘte 2011-09-08 20:55:56 UTC
Was this sent upstream ? And can we get it into F15 please ?

Comment 9 nucleo 2011-12-26 05:12:59 UTC
Created attachment 549539 [details]
linphone-3.5.0 build failed with enabled spandsp-devel

Any news here?
Bug is still actual for Rawhide (F17).

Comment 10 Rex Dieter 2011-12-27 21:25:55 UTC
Fix looks easy and simple enough, I'll take care of applying it.

Comment 11 Fedora Update System 2011-12-27 21:51:39 UTC
spandsp-0.0.6-0.5.pre18.fc15 has been submitted as an update for Fedora 15.
https://admin.fedoraproject.org/updates/spandsp-0.0.6-0.5.pre18.fc15

Comment 12 Fedora Update System 2011-12-27 21:52:10 UTC
spandsp-0.0.6-0.5.pre18.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/spandsp-0.0.6-0.5.pre18.fc16

Comment 13 nucleo 2011-12-27 22:03:51 UTC
linphone-3.5.0 builds fine with spandsp-0.0.6-0.5.pre18.fc17.

Comment 14 Fedora Update System 2011-12-28 22:19:49 UTC
Package spandsp-0.0.6-0.5.pre18.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing spandsp-0.0.6-0.5.pre18.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-17506/spandsp-0.0.6-0.5.pre18.fc16
then log in and leave karma (feedback).

Comment 15 Fedora Update System 2012-01-07 22:59:42 UTC
spandsp-0.0.6-0.5.pre18.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2012-01-07 23:08:12 UTC
spandsp-0.0.6-0.5.pre18.fc15 has been pushed to the Fedora 15 stable repository.  If problems still persist, please make note of it in this bug report.