Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Mar 2010 08:12:58 GMT
From:      Garrett Cooper <gcooper@FreeBSD.org>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   conf/145233: zfs loader build dependency missing from zfsloader dependencies
Message-ID:  <201003310812.o2V8Cw44084157@www.freebsd.org>
Resent-Message-ID: <201003310820.o2V8K2Q2063427@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003310812.o2V8Cw44084157>