pkgsrc-Users archive

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

Build failure in x11/kde-workspace4 after the recent native xorg upgrade.



Hi,

On NetBSD-current amd64 native X (with the latest native xorg updates) 
x11/kde-workspace4 fails to build with the error:

Linking CXX shared library ../../../lib/libkfontinstui.so
ld: 
/usr/pkgsrc/x11/kde-workspace4/work.x86_64/.buildlink/lib/libXft.a(xftfont.o): 
relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a 
shared object; recompile with -fPIC
/usr/pkgsrc/x11/kde-workspace4/work.x86_64/.buildlink/lib/libXft.a: could not 
read symbols: Bad value
gmake[2]: *** [lib/libkfontinstui.so.4.10.3] Error 1

Repointing the symbolic link, 
x11/kde-workspace4/work.x86_64/.buildlink/lib/libXft.a from 
/usr/pkg/share/x11-links/lib/libXft.a to /usr/X11R7/lib/libXft_pic.a makes the 
build work. /usr/pkg/share/x11-links/lib/libXft.a points to 
/usr/X11R7/lib/libXft.a.

Assuming this is not particular to my system, someone with more knowledge than 
me will have provide a proper fix.

Regards,
Sverre



Home | Main Index | Thread Index | Old Index