pkgsrc-Users archive

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

Re: Build of x11/py-qt4 fails



On Sat, 13 Jun 2009 19:19:08 -0600
Sverre Froyen <sverre%viewmark.com@localhost> wrote:

> Hi,
> 
> I'm attempting to build wip/kde4 with the just updated qt-4.5.1.  x11/py-qt4, 
> a dependency of wip/kdebindings4-python, fails with
> 
> ld: /usr/pkgsrc/x11/py-qt4/work.x86_64/PyQt-x11-
> gpl-4.5/qpy/QtCore/libqpycore.a(qpycore_init.o): relocation R_X86_64_32 
> against `qpycore_pyqtWrapperType_Type' can not be used when making a shared 
> object; recompile with -fPIC                
> /usr/pkgsrc/x11/py-qt4/work.x86_64/PyQt-x11-gpl-4.5/qpy/QtCore/libqpycore.a: 
> could not read symbols: Bad value                                             
>      
> gmake[1]: *** [QtCore.so] Error 1                                             
>   
> gmake[1]: Leaving directory `/usr/pkgsrc/x11/py-qt4/work.x86_64/PyQt-x11-
> gpl-4.5/QtCore'                                                               
>          
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop.
> make: stopped in /usr/pkgsrc/x11/py-qt4
> *** Error code 1
> 
> I have PYTHON_VERSION_DEFAULT=25 in my /etc/mk.conf (from before in order to 
> prevent the building of multiple versions of python).
> 
> Adding -fPIC to CXXFlags in x11/py-qt4/work.x86_64/PyQt-x11-
> gpl-4.5/qpy/QtCore/Makefile and x11/py-qt4/work.x86_64/PyQt-x11-
> gpl-4.5/qpy/QtGui/Makefile makes the build complete but I have no idea if 
> that 
> is even remotely the correct fix or why this used to build OK.
> This is on NetBSD-current amd64.
> 
> Regards,
> Sverre
> 

I see this too.

-- 
Adam Hoka <Adam.Hoka%Gmail.com@localhost>
Adam Hoka <ahoka%NetBSD.org@localhost>
Adam Hoka <ahoka%MirBSD.de@localhost>


Home | Main Index | Thread Index | Old Index