From owner-freebsd-questions@FreeBSD.ORG Fri Mar 2 19:44:20 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 603EA1065670 for ; Fri, 2 Mar 2012 19:44:20 +0000 (UTC) (envelope-from freebsd@growveg.net) Received: from smtp1.servage.net (smtp1.servage.net [IPv6:2a01:3b0:1:fb:1::2001]) by mx1.freebsd.org (Postfix) with ESMTP id A8EA18FC0A for ; Fri, 2 Mar 2012 19:44:19 +0000 (UTC) Received: from potato.growveg.org (potato.growveg.org [62.49.247.163]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp1.servage.net (Postfix) with ESMTPSA id 5E26B321DE for ; Fri, 2 Mar 2012 20:06:34 +0000 (UTC) Message-ID: <4F51232F.8090105@growveg.net> Date: Fri, 02 Mar 2012 19:44:47 +0000 From: FreeBSD Mailing Lists User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.27) Gecko/20120228 Thunderbird/3.1.19 MIME-Version: 1.0 To: FreeBSD Questions Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: 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: Fri, 02 Mar 2012 19:44:20 -0000 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 ===> Cleaning for sudo-1.8.4 ===> Deleting distfiles for sudo-1.8.4 ===> License sudo accepted by the user ===> Found saved configuration for sudo-1.8.3_2 => sudo-1.8.4p2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch http://www.sudo.ws/sudo/dist/sudo-1.8.4p2.tar.gz ===> License sudo accepted by the user ===> Found saved configuration for sudo-1.8.3_2 => sudo-1.8.4p2.tar.gz doesn't seem to exist in /usr/ports/distfiles/. => 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=core2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" ./ttyname.c cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=core2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" ./ttysize.c cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=core2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE -DLOCALEDIR=\"/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=disable-static --mode=compile cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=core2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE -DLOCALEDIR=\"/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: cc -c -I../include -I.. -I. -I.. -I. -O2 -pipe -march=core2 -I/usr/local/include -fno-strict-aliasing -D_BSD_SOURCE -DLOCALEDIR=\"/usr/local/share/locale\" ./sudo_noexec.c -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? -- freebsd at growveg dot net