Re: make install fails for /usr/ports/security/sudo after downgrade from 9.0-R to 8-STABLE

2012-03-03 Thread FreeBSD Mailing Lists

On 03/03/12 12:31, ill...@gmail.com wrote:

Stale header files in /usr/include maybe?


Hi,

Yes that's it. It seems utmp.h got changed to utmpx.h between 8.2 
and 9.0. Fixed by csup of 9.0-R and doing the buildworld buildkernel etc.


thanks,
--
freebsd at growveg dot net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


make install fails for /usr/ports/security/sudo after downgrade from 9.0-R to 8-STABLE

2012-03-02 Thread FreeBSD Mailing Lists
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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: odd SDcard behaviour in freebsd-9.0-R

2012-02-27 Thread FreeBSD Mailing Lists

On 27/02/2012 17:55, Michael Sierchio wrote:

Forgive the naive question, but on one of my Nikons, it is possible to
present the device itself, or the SD card as a USD drive.  Which are
you doing?  No doubt there is no driver for the D50 in the kernel, but
the generic umass driver should handle the device.


Hi,

Yes, on freebsd 8.2 the camera has only ever presented itself as storage 
and it has only ever been the sd card within the camera that has been 
visible to freebsd. On 9.0 I can see umass output in /var/log/messages 
but not any corresponding disk descriptor like /dev/da5s1 so I have no 
way of accessing the sd card.


--
freebsd at growveg dot net
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org