Date: Sat, 06 Aug 2011 18:16:02 +0200 From: Rene Ladan <rene@freebsd.org> To: Henk van Oers <henk@signature.nl> Cc: freebsd-ports@freebsd.org Subject: Re: www/chromium builds OK on FB 8.2 but not on 7.4 Message-ID: <4E3D68C2.3040603@freebsd.org> In-Reply-To: <4E3D2D49.6060607@freebsd.org> References: <alpine.BSF.2.00.1108042345270.17753@dee.signature.nl> <4E3D2D49.6060607@freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4E3D68C2.3040603>