From owner-freebsd-questions@FreeBSD.ORG Sat Mar 3 12:32:00 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7B5921065670 for ; Sat, 3 Mar 2012 12:32:00 +0000 (UTC) (envelope-from illoai@gmail.com) Received: from mail-ww0-f42.google.com (mail-ww0-f42.google.com [74.125.82.42]) by mx1.freebsd.org (Postfix) with ESMTP id F15EC8FC16 for ; Sat, 3 Mar 2012 12:31:59 +0000 (UTC) Received: by wgbds11 with SMTP id ds11so222389wgb.1 for ; Sat, 03 Mar 2012 04:31:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=fdEugHYgWZac82f2PibV3sWuFCzQDUAvcTeVD+NH1sU=; b=p4BPMRG1HFaZRpqeL6vIedjXynamyNxHRFpJE+Ri4QY+BffmKlIscQc2ThQdJdRe5p 66j8xetCsZms0GGZkKq93w7qs06VXG2fKGudOxm9X6VmJUtFsguasnSuRbEvnSkYepd7 m1XW9bdlUfO71Zm1meA5VLdmiKeHAQbTeM0nsgRfBB3JNXtfwoBJ9YmXedaeUPMSau4M JwsHKszJCdO1ULkQlDZZ4JrdI8BzvPqH8s/4BcK0xRmn9kIoZ1xdiSWZLQEBb3TCoa4s SASqMnOGR7wiJcV64xHbJ46Vwnop6v3Cfu7n4mqN3t/pJu2I4BUOogOlgty6eYtyUkWo USPA== MIME-Version: 1.0 Received: by 10.180.7.231 with SMTP id m7mr3751157wia.3.1330777918800; Sat, 03 Mar 2012 04:31:58 -0800 (PST) Received: by 10.217.5.142 with HTTP; Sat, 3 Mar 2012 04:31:58 -0800 (PST) In-Reply-To: <4F51232F.8090105@growveg.net> References: <4F51232F.8090105@growveg.net> Date: Sat, 3 Mar 2012 07:31:58 -0500 Message-ID: From: "illoai@gmail.com" To: FreeBSD Mailing Lists Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD Questions Subject: Re: make install fails for /usr/ports/security/sudo after downgrade from 9.0-R to 8-STABLE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 12:32:00 -0000 On 2 March 2012 14:44, FreeBSD Mailing Lists wrote: > Hello list, > > I had to downgrade from 9-R to 8-STABLE. To do this, I did the following: > > 1. rm -rf /usr/obj > 2. pkg_delete -a > 3. rm -rf /usr/ports > 4. mkdir -p /usr/ports/distfiles > 5. rm -rf /usr/src > 6. rm -rf /usr/local/* > 6. csup 8-STABLE sources > 7. csup ports > 8. cd /usr/src && make cleandir && make cleandir && make buildworld && > make buildkernel && make installkernel && mergemaster -p > 9. (merged required files) > 10. make installworld && mergemaster > 11. reboot. > > Practically everything in ports actually builds. I've installed X, > icewm, windowmaker, firefox36, thunderbird, gimp and a few others. I > think I've eliminated all the cruft from 9.0. However, I can't build > sudo (or screen) and I can't work out why. Here is the error: > > # make distclean clean install > > =3D=3D=3D> =A0Cleaning for sudo-1.8.4 > =3D=3D=3D> =A0Deleting distfiles for sudo-1.8.4 > =3D=3D=3D> =A0License sudo accepted by the user > =3D=3D=3D> =A0Found saved configuration for sudo-1.8.3_2 > =3D> sudo-1.8.4p2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > =3D> Attempting to fetch http://www.sudo.ws/sudo/dist/sudo-1.8.4p2.tar.gz > =3D=3D=3D> =A0License sudo accepted by the user > =3D=3D=3D> =A0Found saved configuration for sudo-1.8.3_2 > =3D> sudo-1.8.4p2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. > =3D> Attempting to fetch http://www.sudo.ws/sudo/dist/sudo-1.8.4p2.tar.gz > > [...] > > cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=3Dcore2 > -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE > -DLOCALEDIR=3D\"/usr/local/share/locale\" ./ttyname.c > cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=3Dcore2 > -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE > -DLOCALEDIR=3D\"/usr/local/share/locale\" ./ttysize.c > cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=3Dcore2 > -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE > -DLOCALEDIR=3D\"/usr/local/share/locale\" ./utmp.c > ./utmp.c: In function 'utmp_settime': > ./utmp.c:132: error: dereferencing pointer to incomplete type > ./utmp.c:133: error: dereferencing pointer to incomplete type > ./utmp.c: In function 'utmp_fill': > ./utmp.c:151: error: dereferencing pointer to incomplete type > ./utmp.c:153: error: dereferencing pointer to incomplete type > ./utmp.c:154: error: dereferencing pointer to incomplete type > ./utmp.c:157: error: dereferencing pointer to incomplete type > ./utmp.c:160: error: dereferencing pointer to incomplete type > ./utmp.c:160: error: dereferencing pointer to incomplete type > ./utmp.c:161: error: dereferencing pointer to incomplete type > ./utmp.c:161: error: dereferencing pointer to incomplete type > ./utmp.c:166: error: dereferencing pointer to incomplete type > ./utmp.c:170: error: dereferencing pointer to incomplete type > ./utmp.c: In function 'utmp_login': > ./utmp.c:294: error: storage size of 'utbuf' isn't known > /bin/sh ../libtool --tag=3Ddisable-static --mode=3Dcompile cc -c > -I../include -I.. -I. -I.. -I. -O2 -pipe -march=3Dcore2 > -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE > -DLOCALEDIR=3D\"/usr/local/share/locale\" ./sudo_noexec.c > ./utmp.c: In function 'utmp_logout': > ./utmp.c:343: error: storage size of 'utbuf' isn't known > *** Error code 1 > libtool: compile: =A0cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe > -march=3Dcore2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE > -DLOCALEDIR=3D\"/usr/local/share/locale\" ./sudo_noexec.c =A0-fPIC -DPIC = -o > .libs/sudo_noexec.o > 1 error > *** Error code 2 > 1 error > *** Error code 1 > > Stop in /usr/ports/security/sudo. > *** Error code 1 > > Stop in /usr/ports/security/sudo. > > Can anyone help please? Stale header files in /usr/include maybe? --=20 --