[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#697032: rcpp: FTBFS[kfreebsd]: #error "Rcpp::Timer not supported by your OS."


Dirk Eddelbuettel <edd@debian.org> writes:
> On 30 December 2012 at 16:15, Christoph Egger wrote:
> | Package: src:rcpp
> | Version: 0.10.2-1
> | Severity: serious
> | User: debian-bsd@lists.debian.org
> | Usertags: kfreebsd
> | X-Debbugs-Cc: debian-bsd@lists.debian.org
> | Justification: fails to build from source (but built successfully in the past)
> | 
> | Hi!
> | 
> | Your package failed to build on the kfreebsd-* buildds:
> Yup. Rainer Hurling, an active R user on *BSD, already told me about it and
> provided a patch for FreeBSD (as I happen to be upstream and Debian maintainer).
> How do I best get "all BSDs" at once?  Currently we do 
> #elif defined(linux) || defined(__linux) || defined(__FreeBSD__)
> in two place.  If memory serves, there were a) similar handles for NetBSD and
> OpenBSD I should add.   And which one do you guys need for the BSD kernel on
> Debian?

Jep I'm seeing __NetBSD__ and __OpenBSD__ in lots of source. kFreeBSD
uses __FreeBSD_kernel__ which -- if memory serves me correctly -- be
also defined in newer FreeBSDs.



Reply to: