Op 06-08-2011 14:02, Rene Ladan schreef: > Op 04-08-2011 23:55, Henk van Oers schreef: >> >> I have updated all my ports today on 2 machines. >> A new workstation running FreeBSD 8.2 had no problem. >> An older one running FreeBSD 7.4 has this problem: >> >> CXX(target) >> out/Release/obj.target/base/base/files/file_path_watcher_freebsd.o >> base/files/file_path_watcher_freebsd.cc: In static member function 'static >> int base::files::<unnamed>::FilePathWatcherImpl::EventsForPath(FilePath, >> std::vector<kevent, std::allocator<kevent> >*)': >> base/files/file_path_watcher_freebsd.cc:159: error: 'EV_RECEIPT' was not >> declared in this scope >> gmake: *** >> [out/Release/obj.target/base/base/files/file_path_watcher_freebsd.o] >> Error 1 >> *** Error code 1 >> >> Stop in /usr/ports/www/chromium. >> *** Error code 1 >> >> Stop in /usr/ports/www/chromium. >> >> ===>>> make failed for www/chromium >> >> What can I do? >> > I have the same error in a 7.4-i386 virtual box, it seems to be an error > in the port itself. > After grepping the port sources and the kernel sources for 7.4, 8.1, and 9.0, the actual problem seems that EV_RECEIPT is not declared in 7.4, i.e. "grep -r EV_RECEIPT /usr/src" returns nothing. On 8.1/9.0 :
/usr/src/lib/libc/sys/kqueue.2:.It EV_RECEIPT /usr/src/sys/kern/kern_event.c: if (error || (kevp->flags & EV_RECEIPT)) { /usr/src/sys/sys/event.h:#define EV_RECEIPT 0x0040 /* force EV_ERROR on success, data=0 */ So it looks that for 7.X the port has to do something else. Regards, René -- http://www.rene-ladan.nl:8080/ GPG fingerprint = ADBC ECCD EB5F A6B4 549F 600D 8C9E 647A E564 2BFC (subkeys.pgp.net) _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"