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

2013-01-12 Thread Dirk Eddelbuettel

On 11 January 2013 at 00:31, Guillem Jover wrote:
| On Mon, 2012-12-31 at 17:41:52 +, Steven Chamberlain wrote:
|  On 31/12/12 17:06, Dirk Eddelbuettel wrote:
|   
https://r-forge.r-project.org/scm/viewvc.php/pkg/Rcpp/src/Timer.cpp?root=rcppr1=4182r2=4181pathrev=4182
|  
|  Actually... presence of time.h rather depends on the libc, not the kernel?
|  
|  So __GLIBC__ is perhaps more relevant than __FreeBSD_kernel__ in this
|  case - plus it should work for other GNU/k*BSD variants if/when they exist.
| 
| Well, that's still suboptimal, the ideal solution in this kind of
| cases is to test for the feature at build time, which avoids all this
| ifdef whitelists, and subsequent updates.

Agreed in principle.  This is however an R package and configure sometimes
gets in the way of multiarch builds (on non-Linux platforms).

Luckily, the Timer class is a pretty optional feature.

|  While here, I think I can explain the build failure on GNU/Hurd.  The
|  test for __MACH__ applies to both Apple systems and GNU systems.  I
|  suggest using mach/mach_time.h only for __APPLE__, and then adding
|  __GNU__ to the list for time.h
| 
| For Mac OS X I'd test for __APPLE__  __MACH__, otherwise that could
| trigger on other non Mach-based Apple systems.

Ok. Adjusted.

Thanks,  Dirk
 
| Thanks,
| Guillem

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com  


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20721.27380.899600.524...@max.nulle.part



Re: Bug#694370: [kfreebsd] grub-probe -d fails on msdos logical partitions

2013-01-12 Thread Steven Chamberlain
Control: severity -1 important

Hi,

I just realised that msdos logical partitions are not listed in the
sysctl kern.geom.confxml on GNU/kFreeBSD.

grub-probe uses kern.geom.confxml to get a list of all partitions, and
this is why it is unable to detect and use a logical parition used as /boot

But even if GRUB could detect and use it, the kernel is also probably
unable to use such a partition as a root filesystem.

ZFS might be an exception to this.  GRUB can definitely use it as /boot,
and I *think* the kernel can use it as root even if the physical volumes
are logical partitions.

The FreeBSD distro itself does not allow installation to msdos logical
paritions at all.


So I don't think this is something fixable in the short term.  I'm
downgrading the severity and I think this must be noted in the release
notes or install guide as a limitation.

Adding a detection/warning of this situation into the installer is now
probably not possible, due to string freeze.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50f1bf5c.1020...@pyro.eu.org