Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Mar 2012 19:44:47 +0000
From:      FreeBSD Mailing Lists <freebsd@growveg.net>
To:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   make install fails for /usr/ports/security/sudo after downgrade from 9.0-R to 8-STABLE
Message-ID:  <4F51232F.8090105@growveg.net>

Next in thread | Raw E-Mail | Index | Archive | Help
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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4F51232F.8090105>