pkgsrc-Users archive

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

Re: rpath relative to WRKDIR on 5.99.49 but not netbsd-5



On 27 April 2011 16:22, David Brownlee <abs%absd.org@localhost> wrote:
> Have another (seemlingly) random difference between a netbsd-5 and
> 5.99.49 current amd64 box with updated pkgsrc.
>
> graphics/gdk-pixbuf2-xlib, x11/qt4-libs and devel/GConf are failing to
> build on my 5.99.49 box with an error of the form:
>
> => Checking for missing run-time search paths in gdk-pixbuf2-xlib-2.22.1nb1
> ERROR: lib/libgdk_pixbuf_xlib-2.0.so: rpath relative to WRKDIR
> ERROR: lib/libgdk_pixbuf_xlib-2.0.so.0: rpath relative to WRKDIR
> ERROR: lib/libgdk_pixbuf_xlib-2.0.so.0.2200.1: rpath relative to WRKDIR
>
>
> after build on current box:
>
> % readelf -d 
> work/gdk-pixbuf-2.22.1/contrib/gdk-pixbuf-xlib/.libs/libgdk_pixbuf_xlib-2.0.so|grep
> RPATH
>  0x000000000000000f (RPATH)              Library rpath:
> [/var/obj/pkg/graphics/gdk-pixbuf2-xlib/work/.buildlink/lib:/usr/pkg/lib]
>
>
> after build on netbsd-5 box:
>
> % readelf -d 
> work/gdk-pixbuf-2.22.1/contrib/gdk-pixbuf-xlib/.libs/libgdk_pixbuf_xlib-2.0.so|grep
> RPATH
>  0x000000000000000f (RPATH)              Library rpath: [/usr/pkg/lib]
>
> Anyone else seeing anything similar?
>

All this and *much* *much* more pain caused by having ENV set to a
.shinit which resets PATH. See other thread "Unsetting ENV in pkgsrc"
re pkgsrc not sanitising ENV


Home | Main Index | Thread Index | Old Index