[Pkg-crosswire-devel] Bug#676097: Bug#676097: Bug#676097: sword: FTBFS: CMakeFiles/buildtest.dir/buildtest.cpp.o: could not read symbols: Bad value

Dmitrijs Ledkovs xnox at debian.org
Wed Jun 6 10:46:59 BST 2012


On 06/06/12 10:35, Daniel Glassey wrote:
> tags 676097 pending
> thanks
> 
> On Tue, Jun 5, 2012 at 5:18 AM, Lucas Nussbaum <lucas at lucas-nussbaum.net> wrote:
>> Hi,
>>
>> During a rebuild of all packages in sid, your package failed to build on
>> amd64.
>>
>> Relevant part:
>>> /usr/bin/ld: CMakeFiles/buildtest.dir/buildtest.cpp.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
>>> CMakeFiles/buildtest.dir/buildtest.cpp.o: could not read symbols: Bad value
>>> collect2: error: ld returned 1 exit status
> 
> I'm not set up to deal with bzr and stuff at the mo to do the build
> but the fix that is needed is to modify configure.ac to only get the
> libs to link from icu-config
> 

You can simply do an NMU, bzr is optional. But what does configure.ac
got to do with anything.... if the package uses CMake to build =)

> i.e. ICU_LIBS=`$ICU_CONFIG --ldflags-libsonly`
> 

Thanks for the heads-up.

> The icu package has been fixed to not leak the pie flags so it should
> build ok with the current libicu-dev in sid, but this change is still
> useful.
> 

ok.

> Funnily enough, this helped spot the same problem in grcompiler.
> 

=))))

-- 
Regards,
Dmitrijs.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-crosswire-devel/attachments/20120606/489eb107/attachment.sig>


More information about the Pkg-crosswire-devel mailing list