! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
nm in abicheck.sh uses non-standard options
Status:
RESOLVED: FIXED
Product:
Libxfce4ui
Component:
General

Comments

Description Landry Breuil editbugs 2012-04-15 09:40:28 CEST
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.
Comment 1 Nick Schermer editbugs 2012-04-15 14:03:56 CEST
Fixed.
Comment 2 Landry Breuil editbugs 2012-04-18 22:21:28 CEST
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.

Bug #8702

Reported by:
Landry Breuil
Reported on: 2012-04-15
Last modified on: 2012-04-18

People

Assignee:
Nick Schermer
CC List:
1 user

Version

Attachments

run nm on .libs/libxfce4ui-1.so* (941 bytes, patch)
2012-04-18 22:21 CEST , Landry Breuil
landry : review? ( nick )

Additional information