From owner-freebsd-bugs@FreeBSD.ORG Sun Jan 4 01:40:41 2015 Return-Path: Delivered-To: freebsd-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4234AB0F for ; Sun, 4 Jan 2015 01:40:41 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0F20F139F for ; Sun, 4 Jan 2015 01:40:41 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id t041eeed031809 for ; Sun, 4 Jan 2015 01:40:40 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 196473] sbin/camcontrol error no member ccb->cgds allocated or queued, during i386 rescue only compile Date: Sun, 04 Jan 2015 01:40:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.1-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dewayne@heuristicsystems.com.au X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Jan 2015 01:40:41 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=196473 Bug ID: 196473 Summary: sbin/camcontrol error no member ccb->cgds allocated or queued, during i386 rescue only compile Product: Base System Version: 10.1-STABLE Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: dewayne@heuristicsystems.com.au While trying to recover an older machine. I tried to build rescue ONLY on a separate i386 server, received this message. cc -O2 -pipe -pipe -O2 -g0 -ggdb0 -DSTRIP_FBSDID -DRESCUE -std=gnu99 -Qunused-arguments -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wold-style-definition -Wmissing-variable-declarations -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable -c /usr/src/sbin/camcontrol/camcontrol.c /usr/src/sbin/camcontrol/camcontrol.c:4472:51: error: no member named 'allocated' in 'struct ccb_getdevstats' fprintf(stdout, "allocated %d\n", ccb->cgds.allocated); ~~~~~~~~~ ^ /usr/src/sbin/camcontrol/camcontrol.c:4474:51: error: no member named 'queued' in 'struct ccb_getdevstats' fprintf(stdout, "queued %d\n", ccb->cgds.queued); ~~~~~~~~~ ^ 2 errors generated. *** Error code 1 Stop. make[3]: stopped in /usr/src/sbin/camcontrol *** Error code 1 Stop. make[2]: stopped in /usr/obj/usr/src/rescue/rescue *** Error code 1 Stop. make[1]: stopped in /usr/src/rescue/rescue *** Error code 1 Commenting out the associated lines enabled a clean compilation of camcontrol. Though I probably should've just reverted https://svnweb.freebsd.org/base/head/sbin/camcontrol/camcontrol.c?r1=268240&r2=271588&sortby=date -- You are receiving this mail because: You are the assignee for the bug.