as can be seen on http://buildbot.xfce.org/builders/libxfce4ui-openbsd/builds/332/steps/gmake%20distcheck/logs/stdio nm doesn't have -D on OpenBSD (-P neither), see http://www.openbsd.org/cgi-bin/man.cgi?query=nm A solution would be to use plain nm output (which defaults to "bsd format") and use awk just to match on the symbol types. nm /usr/local/lib/libxfce4ui-1.so.0.1 |awk '/ [DRTG] / {print $3}' seems to produce the same result here and on a linux box.
Fixed.
Created attachment 4343 run nm on .libs/libxfce4ui-1.so* Unfortunately gmake distcheck still fails because on OpenBSD, our libtool already versions the lib by default as .libs/libxfce4ui-1.so.0.0. Attached patch makes gmake distcheck pass abicheck.sh fine.