Discussion:
[OpenIndiana-discuss] gmake REQUIRED_PACKAGES and depends path
Jason Martin
2018-05-25 12:23:16 UTC
Permalink
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'.
/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=libapr-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'.
/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_subr-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'.
make[1]: *** [/export/home/agrellum/oi-userland/make-rules/ips.mk:398:
/export/home/agrellum/oi-userland/components/desktop/gnome3/anjuta/build/.resolved-i386]
Error 1
Michal Nowak
2018-05-25 18:12:40 UTC
Permalink
Post by Jason Martin
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'.
/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=libapr-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'.
/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_subr-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'.
/export/home/agrellum/oi-userland/components/desktop/gnome3/anjuta/build/.resolved-i386]
Error 1
Me far from being an IPS expert but perhaps you miss
developer/versioning/subversion and library/apr in your build environment?

It would be easier to help if you pushed your WIP changes to
https://github.com/OpenIndiana/oi-userland/.

Michal
Jason Martin
2018-05-25 18:48:29 UTC
Permalink
Program will:
gmake build
gmake sample-manifest
gmake install

All OK.

Without building the subversion plugin, Anjuta is up and running and I
have played and tested for days.

I thing Gtk3 and Mate are smooth and lite on Openindiana.

Some things do not work as expected.

Emulated forkpty in Anjuta library code does not seem to be one them yet.

Cannot wrap my head around having multiple compilers, debuggers,
linkers, arch's, libs and pkconfig locations.

Some are bugs in other programs or already known.

I see only two examples of using developer/versioning/subversion
in 96,326 lines of Makefile from 2018-04-02 oi-userland and one of them
is subversion itself.

I will try to start pushing new and changed packages maybe next week.

Just wanted to build everything it comes with as learning experience.
Alan Coopersmith
2018-05-25 22:14:24 UTC
Permalink
Post by Jason Martin
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-
Jason Martin
2018-05-25 23:18:04 UTC
Permalink
re-posted to list so others will see.

Done! Works! Thank You very much!!! Just need to clean things up.
Post by Alan Coopersmith
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
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-
Jason Martin
2018-05-26 00:33:43 UTC
Permalink
Project from Existing Sources

svn plugin just checked out https://svn.code.sf.net/p/regina-rexx/code/
regina-rexx-code


Thanks again

Loading...