Changing to gcc 5.0

The default compiler in DragonFly is going to change over from GCC 4.7 to GCC 5.x very soon, to match the GCC 5.1 release.  This means that packages built for DragonFly-master won’t be compatible with the old ones.  You will need to reinstall packages when you next ‘pkg install’.  John Marino has an extensive writeup detailing what’s needed, and the actual change is some days off.

If you are using DragonFly 4.0.x (the release), this doesn’t affect you at all.

Periodic reports on DragonFly

I have had trouble with my daily/weekly periodic reports never making it to my GMail account.  Sascha Wildner pointed out to me that periodic.conf has its own answer already:

daily_output=”/var/log/daily.log”
daily_status_security_output=”/var/log/security.log”
weekly_output=”/var/log/weekly.log”
monthly_output=”/var/log/monthly.log”

… and newsyslog is already set to take care of them.  There’s more in the periodic.conf man page.

 

Hammer and Hammer2 details

I haven’t been drawing enough attention to it, but there’s been a bunch of HAMMER filesystem activity lately: First, Tomohiro Kusumi has been working on HAMMER – these posts are a small subset of his commits.  Second, Matthew Dillon has been working full steam ahead on HAMMER2.  The HAMMER2 design document has been updated (read this!), and he’s already accomplished master->slave disk syncing.

It’s not ready for production, of course, which you may already realize, so don’t install it unless you want to work on the code.

In Other BSDs for 2015/04/04

If you’re part of a BSD user group, please let me know your schedule.  I’m able to catch NYCBUG announcements cause I’m on their announce@ mailing list – but I could use more.

A PHP upgrade note

The other day, I updated some packages using pkg.  The default version of PHP went from 5.4 to 5.6.  I ended up doing what /usr/dports/UPGRADING says and making a list of all PHP packages on my system, before removing PHP and its dependencies.  I then reinstalled the packages that used PHP, bringing the needed packages back in at the right version.  pkg 1.4 didn’t handle the transition cleanly, unfortunately.  I also had to specify mod_php56 because pkg was trying to get the 5.4 version despite it not being default.

None of these are insurmountable problems, but it never hurts to be forewarned.  pkg 1.5 is on the horizon and may have an easier time with sorting these types of dependency/version changes.  This may apply to FreeBSD in addition to DragonFly.