Subject: Re: Dependencies on bl3fied libraries
To: Mike M. Volokhov <mishka@apk.od.ua>
From: Juan RP <juan@xtraeme.unixbsd.org>
List: tech-pkg
Date: 04/21/2004 12:11:37
--Signature=_Wed__21_Apr_2004_12_11_37_+0200_d2w/2RJ11/QCdxhS
Content-Type: text/plain; charset=US-ASCII
Content-Disposition: inline
Content-Transfer-Encoding: 7bit
On Tue, 20 Apr 2004 17:41:15 +0300
"Mike M. Volokhov" <mishka@apk.od.ua> wrote:
> Greetings!
>
> I'm working on yet another package, and it depends on QT. In my Makefile
> I've added:
>
> USE_BUILDLINK3=yes
> .include "../../x11/qt3-libs/buildlink3.mk"
>
> But at the configure (and at any other stages) a really executed command
> is not pass all needed flags to the C compiler.
>
> [*] /build/pkgsrc/wip/djvulibre-gui/work/.buildlink/bin/g++ -o conftest
> -I/usr/p
> kg/include -I/usr/pkg/include/djvulibre -DGLX_GLXEXT_LEGACY -I/usr/include
> -I/us
> r/pkg/include/freetype2 -I/usr/pkg/include -I/usr/pkg/include/djvulibre
> -DGLX_GL
> XEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -pthread
> -DTHREADMODEL=P
> OSIXTHREADS -I/usr/pkg/qt3/include -I/usr/X11R6/include -I/usr/pkg/include
> -I/us
> r/pkg/include/djvulibre -DGLX_GLXEXT_LEGACY -I/usr/include
> -I/usr/pkg/include/fr
> eetype2 -Wl,-R/usr/pkg/qt3/lib -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib
> -Wl, <<<
> -R/usr/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib conftest.cc
> -L/usr/pkg/qt3/lib
> -lqt-mt -L/usr/X11R6/lib -lSM -lICE -lXext -lX11 -lm
> <.> /build/pkgsrc/wip/djvulibre-gui/work/.gcc/bin/g++ -o conftest
> -I/build/pkgsr
> c/wip/djvulibre-gui/work/.buildlink/include
> -I/build/pkgsrc/wip/djvulibre-gui/wo
> rk/.buildlink/include/djvulibre -DGLX_GLXEXT_LEGACY
> -I/build/pkgsrc/wip/djvulibr
> e-gui/work/.buildlink/include/freetype2 -pthread -DTHREADMODEL=POSIXTHREADS
> -I/b
> uild/pkgsrc/wip/djvulibre-gui/work/.buildlink/qt3/include
> -I/build/pkgsrc/wip/dj
> vulibre-gui/work/.x11-buildlink/include -Wl,-R/usr/pkg/lib
> -Wl,-R/usr/X11R6/lib
> conftest.cc -L/build/pkgsrc/wip/djvulibre-gui/work/.buildlink/lib
> -L/build/pkgsr
> c/wip/djvulibre-gui/work/.x11-buildlink/lib
> -L/build/pkgsrc/wip/djvulibre-gui/wo
> rk/.buildlink/qt3/lib -lqt-mt -lSM -lICE -lXext -lX11 -lm
>
> In the example below, the buildlink3 wrapper gots a
> "-Wl,-R/usr/pkg/qt3/lib" flag (take a look to <<< characters on the
> right field), but the executed command don't use it at all. This cause
> to disable QT support for given package so as test program execution was
> failed (qt-mt shared library not found).
>
> Moreover, all other packages which depends on bl3fied libraries caused
> the same problems.
>
> Is this a bug or I have something wrong?
Do you have this output with all bl3 packages? or just qt3?
--
Juan RP <juan@xtraeme.unixbsd.org>
--Signature=_Wed__21_Apr_2004_12_11_37_+0200_d2w/2RJ11/QCdxhS
Content-Type: application/pgp-signature
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)
iD8DBQFAhkjcypkLYVDran0RAnwSAJwOjXQ1COJ5tkLa9+ql9CL8ikyeNwCfYT10
UQYtjbmf1gHI04Wb14v5ico=
=a87c
-----END PGP SIGNATURE-----
--Signature=_Wed__21_Apr_2004_12_11_37_+0200_d2w/2RJ11/QCdxhS--