[OpenIndiana-discuss] gmake REQUIRED_PACKAGES and depends path

Alan Coopersmith alan.coopersmith at oracle.com
Fri May 25 22:14:24 UTC 2018


On 05/25/18 05:23 AM, Jason Martin wrote:
> What do I need to do in my build so that depend path includes
> 
> usr/lib/svn/amd64 and usr/apr/lib/amd64
> 
> 
> /export/home/agrellum/oi-userland/components/desktop/gnome3/anjuta/build/manifest-i386-anjuta.depend
> has unresolved dependency '
>     depend type=require fmri=__TBD pkg.debug.depend.file=libsvn_client-1.so.0 \
> pkg.debug.depend.reason=usr/lib/amd64/anjuta/libanjuta-subversion.so \
>         pkg.debug.depend.type=elf \
>         pkg.debug.depend.path=lib/64 \
>         pkg.debug.depend.path=usr/gcc/6/lib/amd64 \
>         pkg.debug.depend.path=usr/lib/64'.

You need to ensure that -R /usr/lib/svn/amd64 -R /usr/apr/lib/amd64 are passed
to the linker when building those components.

Some examples that may or may not work depending on the build tool in use are:

https://github.com/OpenIndiana/oi-userland/blob/1522ea203f807319de8eb760adc0580cff3d7f7c/components/sysutils/fsvs/Makefile#L44
https://github.com/OpenIndiana/oi-userland/blob/f66857d190658752d5992bea2ea2680756e42184/components/developer/subversion/Makefile#L117-L125
https://github.com/OpenIndiana/oi-userland/blob/8370eb10ecdd7fa558b996353eab56822ca17201/components/sysutils/rsyslog/Makefile#L43-L45

	-alan-



More information about the openindiana-discuss mailing list