[OmniOS-discuss] [developer] HEADS UP -- illumos-gate can now be built on OmniOS r151014 or later

Andy Fiddaman omnios at citrus-it.net
Fri Jul 10 13:39:54 UTC 2015


On Thu, 9 Jul 2015, Dan McDonald wrote:

; Are you missing these files?  That's the explanation off the top of my head.
;
; Otherwise I'd have to look at the whole nightly.log, and I won't be able to do that at all today, possibly this week.

I am not getting much further with finding the root cause of this. It does
seem to be a fault in the build process but in that case I don't understand
why I don't see it when building on OI. I might have to try and recover my
OI machine to compare.

Here's what I've found so far:

Once nightly is finished, the OpenSSL licence file is present in
proto/root_i386/licenses/usr/src/common/openssl/LICENSE

and the nightly log says that it failed to build it once then didn't need
to after that:

build-env# (154) grep openssl/LICEN ~/log/log.2015-07-10.12:47/nightly.log
dmake: Warning: Don't know how to make target `/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE'
make: Warning: Don't know how to make target `/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE.descrip'
`/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE' is up to date.
`/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE.descrip' is up to date.
`/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE' is up to date.
`/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE.descrip' is up to date.

If I run the make command that builds the file by hand, it says it is
up-to-date:

build-env# (146) pwd
/root/illumos/illumos-gate/usr/src/pkg
build-env# (147) make -e -f Makefile.lic \
    PKGDEBUG= LICROOT=$PARENT_WS/proto/root_i386/licenses \
    $PARENT_WS/proto/root_i386/licenses/usr/src/common/openssl/LICENSE
`/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE' is up to date.

but if I remove it and attempt to rebuild it:

build-env# (148) rm /root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE
build-env# (149) make -e -f Makefile.lic \
    PKGDEBUG= LICROOT=$PARENT_WS/proto/root_i386/licenses \
    $PARENT_WS/proto/root_i386/licenses/usr/src/common/openssl/LICENSE
make: Fatal error: Don't know how to make target `/root/illumos/illumos-gate/proto/root_i386/licenses/usr/src/common/openssl/LICENSE'

This is because the stage-licenses target just tries to copy the licence
file from the usr/src tree and there is no usr/src/common/openssl in the
gate.

So I understand why it is failing but not yet what process ends up creating
proto/root_i386/licenses/usr/src/common/openssl/LICENSE nor why I am not
getting a clean build here. It looks like it might be the order in which
things are built - it would be interesting to see the output of
grep openssl/LIC from someone else's nightly.log to compare.

I'll keep digging but any help appreciated,

Thanks,

Andy

-- 
Citrus IT Limited | +44 (0)870 199 8000 | enquiries at citrus-it.co.uk
Rock House Farm | Green Moor | Wortley | Sheffield | S35 7DQ
Registered in England and Wales | Company number 4899123



More information about the OmniOS-discuss mailing list