Bug#640319: jed: FTBFS: gcc-4.6.real: error: unrecognized option '-V'

peter green plugwash at p10link.net
Fri Dec 23 02:20:24 UTC 2011


tags 640319 +patch
thanks

>Relevant part:
>> gcc version 4.6.1 (Debian 4.6.1-8) 
>> configure:2513: $? = 0
>> configure:2520: x86_64-linux-gnu-gcc -V >&5
>> gcc-4.6.real: error: unrecognized option '-V'
>> gcc-4.6.real: fatal error: no i
umm this doesn't look at all relavent to the actual failure to me, just a configure script feeling out the compiler
(not everything in a configure script that generates an error means the package as a whole is failing)

The real failure appears to be
>configure:11337: checking for the slang library and header files 
>configure:11478: result: no
>configure:11489: error: unable to find the slang library and header file slang.h

And the cause seems to be the configure script being unable to handle multiarch
slang.

Passing in the correct lib and include paths from debian/rules makes the package
build (interestingly passing only the lib path DOES NOT work) unfortunately doing 
so causes the configure script to add a rpath to the generated binaries.

The attatched patch makes debian/rules pass in the include and libary paths
and makes it strip the rpaths out of the built executables. It also adds
appropriate build-dependencies (multiarch slang, dpkg-dev that supports
multiarch variables and chrpath)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: jed.diff
Type: text/x-diff
Size: 1550 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-jed-devel/attachments/20111223/77a0966f/attachment.diff>


More information about the Pkg-jed-devel mailing list