From owner-freebsd-current@FreeBSD.ORG Wed Feb 13 07:09:14 2008 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3581816A417 for ; Wed, 13 Feb 2008 07:09:14 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from munchkin.clue.co.za (munchkin.clue.co.za [66.219.59.160]) by mx1.freebsd.org (Postfix) with ESMTP id D746813C442 for ; Wed, 13 Feb 2008 07:09:13 +0000 (UTC) (envelope-from ianf@clue.co.za) DomainKey-Signature: a=rsa-sha1; q=dns; c=simple; s=20070313; d=clue.co.za; h=Received:Received:Received:To:Subject:From:X-Attribution:Date:Message-Id; b=GSXciW/bDEeSflLenbsH9tjAW0Qcun+5E3Z80MWg6VKtCECoIM8MdqzkorWcW/2mudZDXujgB6swu8p+dLXHYT9EtM3ssP2rarsEM1yNr38bafE6lO5qOdusbBF2zsfJCWgKBdQK0ePfCpaa/CgjdkMGElBr07lN60KHTCTe/BH/ubciDSKFkvQC3chIh69g1VjAC7i5nMSHbPPSrLDbXneYUbGW38M/xvV4a5K/WylkT2+uFvRG0ZGqJhd62rVR; Received: from uucp by munchkin.clue.co.za with local-rmail (Exim 4.67) (envelope-from ) id 1JPBjv-0004Fp-J5 for current@freebsd.org; Wed, 13 Feb 2008 07:09:10 +0000 Received: from ianf.clue.co.za ([10.0.0.6] helo=clue.co.za) by urchin.clue.co.za with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1JPBj6-0000ua-6B for current@freebsd.org; Wed, 13 Feb 2008 07:08:16 +0000 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1JPBj4-0000hY-3C for current@freebsd.org; Wed, 13 Feb 2008 09:08:14 +0200 To: current@freebsd.org From: Ian FREISLICH X-Attribution: BOFH Date: Wed, 13 Feb 2008 09:08:14 +0200 Message-Id: Cc: Subject: [patch] RELENG_7 buildworld failure in sbin/gpt/migrate.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Feb 2008 07:09:14 -0000 Hi Buildworld fails at this point. ZFS info was left out of sys/sys/disklabel.h. ===> sbin/gpt (all) cc -O2 -fno-strict-aliasing -pipe -march=opteron -Wsystem-headers -Wall -Wno-for mat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpoin ter-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-ali gn -Wunused-parameter -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/gpt/ migrate.c /usr/src/sbin/gpt/migrate.c: In function 'migrate_disklabel': /usr/src/sbin/gpt/migrate.c:121: error: 'FS_ZFS' undeclared (first use in this f unction) /usr/src/sbin/gpt/migrate.c:121: error: (Each undeclared identifier is reported only once /usr/src/sbin/gpt/migrate.c:121: error: for each function it appears in.) Patch: RCS file: /home/ncvs/src/sys/sys/disklabel.h,v retrieving revision 1.108 diff -u -d -r1.108 disklabel.h --- disklabel.h 12 May 2006 05:04:46 -0000 1.108 +++ disklabel.h 3 Dec 2008 09:04:01 -0000 @@ -225,6 +225,7 @@ #define FS_VINUM 14 /* Vinum drive */ #define FS_RAID 15 /* RAIDFrame drive */ #define FS_JFS2 21 /* IBM JFS2 */ +#define FS_ZFS 27 /* Sun's ZFS */ #ifdef FSTYPENAMES static const char *fstypenames[] = { @@ -249,6 +250,12 @@ "?", "?", "jfs", + "?", + "?", + "?", + "?", + "?", + "ZFS", NULL }; #define FSMAXTYPES (sizeof(fstypenames) / sizeof(fstypenames[0]) - 1) Ian -- Ian Freislich