# FOSDEM 2005 talk # # Guillem Jover , 2005. # %deffont "standard" xfont "Arial.TTF" %deffont "thick" xfont "Times.TTF" %deffont "typewriter" xfont "Cour.TTF" %default 1 area 90 90, leftfill, size 2, fore "black", back "white", font "thick" %default 2 size 5.7, vgap 1, prefix " " %default 3 size 2, bar "black", vgap 10 %default 4 size 4.2, fore "black", vgap 30, prefix " ", font "standard" %tab 1 size 4.2, vgap 08, prefix " ", icon box "black" 50 %tab 2 size 4.2, vgap 08, prefix " ", icon box "black" 0 %tab 3 size 3.5, vgap 08, prefix " ", icon arc "black" 50 %tab 4 size 3.5, vgap 08, prefix " ", icon arc "black" 0 %tab 5 size 3, vgap 40, prefix " ", icon delta3 "black" 40 %page %nodefault %fore "black" %back "white" %size 9 %center Porting to Debian GNU variants: Targetting POSIX instead of GNU/Linux %size 7 %center, size 5 by Guillem Jover %center, font "typewriter", size 4 %page Overview Debian GNU variants Build failures System detection (Wrong) Check for specific functionality (Good) Runtime failures Ideal interaction with Porters-Debian-Upstream Questions %page Debian GNU variants GNU/Hurd GNU/kFreeBSD GNU/kNetBSD GNU/Linux %page Build failures ioctls Limiting macros Optional POSIX features Kernel dependencies (linuxisms) mount linuxthreads abuse sys_errlist[] vs. strerror() %page System detection (Wrong) config.{guess,sub} uname CPP system macros Other system checks ... %page Check for specific functionality (Good) autoconf %page Runtime failures /proc /sys devfs on kBSD Missing kernel features (sysv shm) Hardcoded values instead of using macros (open()) Making dirs ending with a slash '/' %page Ideal interaction with Porters-Debian-Upstream Review the patch on the porters list Send it to the BTS Wait for the Maintainer to apply the patch, upload and forward it to upstream Profit! %page Questions %center Guillem Jover