Project

General

Profile

Bug #4137

network/rarp should use 'svc:/system/system-log:default' as a dependency

Added by Piotr Jasiukajtis over 6 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
tools - gate/build tools
Start date:
2013-09-15
Due date:
% Done:

0%

Estimated time:
Difficulty:
Tags:
needs-triage

Description

In an ideal world ON build tools should not use a host services to make a dependency for a packages. It this example a new installed service (system-log:rsyslog) fails a nightly build.

==== package build errors (non-DEBUG) ====

dmake: Warning: Command failed for target `packages.i386/system-boot-network.dep'
dmake: Warning: Target `install' not remade because of errors
$ uname -srv
SunOS 5.11 illumos-69a119c
$ svcs -a | grep system-log
disabled       Sep_12   svc:/system/system-log:rsyslog
online         Aug_28   svc:/system/system-log:default
Generating dependencies for system-boot-network.mog
Unable to generate SMF dependency on svc:/system/system-log declared in /illumos-gcc/illumos-gate/proto/root_i386/lib/svc/manifest/network/rarp.xml by svc:/network/rarp:default: FMRI is delivered by multiple files: set(['/illumos-gcc/illumos-gate/proto/root_i386/lib/svc/manifest/system/system-log.xml', '/lib/svc/manifest/system/rsyslog.xml'])
*** Error code 1
The following command caused the error:
if [ ! -f packages.i386/system-boot-network.nodepend ]; then \\
        pkgdepend generate -m -D 'PLATFORM=i86hvm'  -D 'PLATFORM=i86pc'  -D 'PLATFORM=i86xpv'  -D 'ISALIST=amd64'  -D 'ISALIST=i386' packages.i386/system-boot-network.mog \\
                /illumos-gcc/illumos-gate/proto/root_i386 > packages.i386/system-boot-network.dep; \\
else \\
        /usr/bin/cp -f packages.i386/system-boot-network.mog packages.i386/system-boot-network.dep; \\
fi
dmake: Warning: Command failed for target `packages.i386/system-boot-network.dep'
Current working directory /illumos-gcc/illumos-gate/usr/src/pkg

Also available in: Atom PDF