conf/145233: zfs loader build dependency missing from zfsloader dependencies

Garrett Cooper gcooper at FreeBSD.org
Wed Mar 31 08:20:03 UTC 2010


>Number:         145233
>Category:       conf
>Synopsis:       zfs loader build dependency missing from zfsloader dependencies
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 31 08:20:02 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Garrett Cooper
>Release:        9-CURRENT
>Organization:
Cisco Systems, Inc.
>Environment:
FreeBSD bayonetta.local 9.0-CURRENT FreeBSD 9.0-CURRENT #5 r205310: Sat Mar 20 01:32:51 PDT 2010     gcooper at bayonetta.local:/usr/obj/usr/src/sys/BAYONETTA  amd64
>Description:
Similar to conf/145231, there's a missing build dependency with zfsloader when WITHOUT_ZFS isn't specified and LOADER_WITH_ZFS_SUPPORT is specified:

make: don't know how to make /scratch/freebsd/releng_8/sys/boot/i386/zfsloader/../../zfs/libzfsboot.a. Stop
*** Error code 2

The workaround is:

make -C sys/boot/ficl clean all
make -C sys/boot/zfs clean all
make -C sys/boot/<target> clean depend all

Same as before, I didn't attach a fix for this because this logic really belongs in a new .mk file instead of in the Makefile itself as this loader is replicated for a number of supported targets.
>How-To-Repeat:
make -C sys/boot/ficl clean all
make -C sys/boot/<target> clean depend all
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list