Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Mar 2012 07:31:58 -0500
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        FreeBSD Mailing Lists <freebsd@growveg.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: make install fails for /usr/ports/security/sudo after downgrade from 9.0-R to 8-STABLE
Message-ID:  <CAHHBGkohtL%2BdPeLA-NT9HUnGuNDB71oWUTgzqjfu0J6nEb2Mcw@mail.gmail.com>
In-Reply-To: <4F51232F.8090105@growveg.net>
References:  <4F51232F.8090105@growveg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2 March 2012 14:44, FreeBSD Mailing Lists <freebsd@growveg.net> 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
--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHHBGkohtL%2BdPeLA-NT9HUnGuNDB71oWUTgzqjfu0J6nEb2Mcw>