Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 8 Dec 2009 09:44:51 GMT
From:      Alexander Krasnov <freebsd@tern.ru>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   i386/141273: buildworld fails if WITHOUT_ZFS=yes
Message-ID:  <200912080944.nB89ipma093705@www.freebsd.org>
Resent-Message-ID: <200912080950.nB89o1aq088882@freefall.freebsd.org>

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

>Number:         141273
>Category:       i386
>Synopsis:       buildworld fails if WITHOUT_ZFS=yes
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-i386
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 08 09:50:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Alexander Krasnov
>Release:        7.2-STABLE
>Organization:
>Environment:
FreeBSD bsdev.tern.ru 7.2-STABLE FreeBSD 7.2-STABLE #4: Tue Aug 11 14:52:58 MSD 2009     root@bsdev.tern.ru:/home/dev/obj/usr/src/sys/bsd  i386

>Description:
make buildworld fails with
btxld: zfsboot.ldr: Invalid argument
*** Error code 2

Stop in /usr/src/sys/boot/i386/zfsboot.
*** Error code 1

Stop in /usr/src/sys/boot/i386.

This error occasionally connected to 
WITHOUT_ZFS=yes
(or WITHOUT_CDDL=yes)
option.
Even with these options set build world tries to build zfs boot code
The same problem was noticed in May,2009
(http://docs.freebsd.org/cgi/getmsg.cgi?fetch=169999+0+archive/2009/freebsd-stable/20090531.freebsd-stable)
but I have not found any followup on this

>How-To-Repeat:
here is my full src.conf:
WITHOUT_ASSERT_DEBUG=yes
WITHOUT_ATM=yes
WITHOUT_AUTHPF=yes
WITHOUT_BIND_DNSSEC=yes
WITHOUT_BLUETOOTH=yes
WITHOUT_CALENDAR=yes
WITHOUT_CDDL=yes
WITHOUT_DICT=yes
WITHOUT_EXAMPLES=yes
WITHOUT_GAMES=yes
WITHOUT_GCOV=yes
WITHOUT_GDB=yes
WITHOUT_GPIB=yes
WITHOUT_HTML=yes
WITHOUT_I4B=yes
WITHOUT_INET6=yes
WITHOUT_INET6_SUPPORT=yes
WITHOUT_INFO=yes
WITHOUT_IPX=yes
WITHOUT_IPX_SUPPORT=yes
WITHOUT_LPR=yes
WITHOUT_NCP=yes
WITHOUT_NIS=yes
WITHOUT_NLS_CATALOGS=yes
WITHOUT_PROFILE=yes
WITHOUT_RCMDS=yes
WITHOUT_RCS=yes
WITHOUT_SHAREDOCS=yes
WITHOUT_ZFS=yes
Just make buildworld having the above in the src.conf
Just in case, my make.conf contains 
MODULES_OVERRIDE=acpi


>Fix:
Build with ZFS support
(no WITHOUT_ZFS and WITHOUT_CDDL options)

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



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