From owner-freebsd-current@FreeBSD.ORG Sun Jan 10 16:44:08 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A11011065694 for ; Sun, 10 Jan 2010 16:44:08 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-bw0-f213.google.com (mail-bw0-f213.google.com [209.85.218.213]) by mx1.freebsd.org (Postfix) with ESMTP id 340A58FC1D for ; Sun, 10 Jan 2010 16:44:07 +0000 (UTC) Received: by bwz5 with SMTP id 5so13257288bwz.3 for ; Sun, 10 Jan 2010 08:44:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=iymvJQq25RSKAoQLrPvolK3FdcjjBYDsXL3BJspucHw=; b=OObhzJYo47DBFQ/Np20Dof5OSH64+L/rg+cHGZJlcA/MEG2nAHYF+cJC3QHt8DnOmH Y0p663DxFhLvEa1rIiGsF4QIHDrScMg2QhIbXr7U8OAbnaZcKFarR/SFBQNo2cxBAwSV nnDgmFRnR0R4RtTBCd+lxq+jp331LQZWgaHH8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=PE+93G7WWEDzN3UarrvFr8LnBNb/+ECQEmi607q/4jwsJRCwkHFyQIo5zLAc+bChvm Ni9kF2b6XzkPe6x3z3fLIpvLmyynRldhHTN+TTepL+2J+pdn6/dFU1mOTnCl2Qgc/ug8 AyfOpIK68Lv78iJMOu3cvNdGszw2QeuuomHEk= MIME-Version: 1.0 Received: by 10.204.10.19 with SMTP id n19mr1398051bkn.19.1263141840747; Sun, 10 Jan 2010 08:44:00 -0800 (PST) In-Reply-To: <201001101827.09631.dima_bsd@inbox.lv> References: <201001101526.49411.dima_bsd@inbox.lv> <201001101827.09631.dima_bsd@inbox.lv> Date: Sun, 10 Jan 2010 19:44:00 +0300 Message-ID: From: pluknet To: Dmitriy Demidov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-current@freebsd.org Subject: Re: Help test softupdates journaling (SUJ) 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: Sun, 10 Jan 2010 16:44:08 -0000 2010/1/10 Dmitriy Demidov : > On Sunday 10 January 2010, pluknet wrote: >> After looking on line numbers I'd suggest you to check >> if you've applied the patch two times (so suj.c "duplicates" itself). >> [...] > cc -O0 -pipe -I/usr/src/sbin/fsck_ffs -I/usr/src/sbin/fsck_ffs/../mount -g -DRESCUE -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /usr/src/sbin/fsck_ffs/suj.c > cc1: warnings being treated as errors > /usr/src/sbin/fsck_ffs/suj.c:397: warning: 'ino_isfree' defined but not used > *** Error code 1 > You've patched correctly. The problem is in source itself: the ino_isfree() function was used in an earlier patch but #if 0'defed out in the current one. You should comment out ino_isfree() body to silent the compiler and try again. -- wbr, pluknet