=> "/opt/pkg/bin/bmake" ["-C", "/data/jenkins/workspace/pkgsrc-upstream-trunk/geography/cm2gpx", "all", "BATCH=1", "DEPENDS_TARGET=/nonexistent"] WARNING: [license.mk] Every package should define a LICENSE. ===> Building for cm2gpx-1.0.4 --- all --- /opt/pkg/bin/bmake all-recursive --- all-recursive --- Making all in src --- all --- /opt/pkg/bin/bmake all-am --- pdbreader.o --- --- main.o --- --- xmlnode.o --- --- util.o --- --- pdbreader.o --- if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT pdbreader.o -MD -MP -MF ".deps/pdbreader.Tpo" -c -o pdbreader.o pdbreader.cpp; then mv -f ".deps/pdbreader.Tpo" ".deps/pdbreader.Po"; else rm -f ".deps/pdbreader.Tpo"; exit 1; fi --- xmlnode.o --- if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT xmlnode.o -MD -MP -MF ".deps/xmlnode.Tpo" -c -o xmlnode.o xmlnode.cpp; then mv -f ".deps/xmlnode.Tpo" ".deps/xmlnode.Po"; else rm -f ".deps/xmlnode.Tpo"; exit 1; fi --- main.o --- if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT main.o -MD -MP -MF ".deps/main.Tpo" -c -o main.o main.cpp; then mv -f ".deps/main.Tpo" ".deps/main.Po"; else rm -f ".deps/main.Tpo"; exit 1; fi --- util.o --- if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.cpp; then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi --- pdbreader.o --- In file included from pdbreader.h:23, from pdbreader.cpp:21: pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [32]' {aka 'unsigned char [32]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:49:24: note: in expansion of macro 'PACKED' 49 | UInt8 name[32] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'PDBRecordList' {aka '_PDBRecordList'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:61:34: note: in expansion of macro 'PACKED' 61 | PDBRecordList recordList PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:67:26: note: in expansion of macro 'PACKED' 67 | UInt8 attributes PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [3]' {aka 'unsigned char [3]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:68:27: note: in expansion of macro 'PACKED' 68 | UInt8 uniqueID[3] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'char [16][16]' [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:74:33: note: in expansion of macro 'PACKED' 74 | char categoryLabels[16][16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [16]' {aka 'unsigned char [16]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:75:31: note: in expansion of macro 'PACKED' 75 | UInt8 categoryUniqIDs[16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:76:22: note: in expansion of macro 'PACKED' 76 | UInt8 lastUniqID PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:77:21: note: in expansion of macro 'PACKED' 77 | UInt8 reserved1 PACKED; | ^~~~~~ --- main.o --- In file included from pdbreader.h:23, from main.cpp:21: pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [32]' {aka 'unsigned char [32]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:49:24: note: in expansion of macro 'PACKED' 49 | UInt8 name[32] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'PDBRecordList' {aka '_PDBRecordList'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:61:34: note: in expansion of macro 'PACKED' 61 | PDBRecordList recordList PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:67:26: note: in expansion of macro 'PACKED' 67 | UInt8 attributes PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [3]' {aka 'unsigned char [3]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:68:27: note: in expansion of macro 'PACKED' 68 | UInt8 uniqueID[3] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'char [16][16]' [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:74:33: note: in expansion of macro 'PACKED' 74 | char categoryLabels[16][16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [16]' {aka 'unsigned char [16]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:75:31: note: in expansion of macro 'PACKED' 75 | UInt8 categoryUniqIDs[16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:76:22: note: in expansion of macro 'PACKED' 76 | UInt8 lastUniqID PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:77:21: note: in expansion of macro 'PACKED' 77 | UInt8 reserved1 PACKED; | ^~~~~~ --- gpxwriter.o --- if g++ -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT gpxwriter.o -MD -MP -MF ".deps/gpxwriter.Tpo" -c -o gpxwriter.o gpxwriter.cpp; then mv -f ".deps/gpxwriter.Tpo" ".deps/gpxwriter.Po"; else rm -f ".deps/gpxwriter.Tpo"; exit 1; fi --- getopt.o --- if gcc -DHAVE_CONFIG_H -I. -I. -I.. -pipe -O2 -msave-args -fno-aggressive-loop-optimizations -MT getopt.o -MD -MP -MF ".deps/getopt.Tpo" -c -o getopt.o getopt.c; then mv -f ".deps/getopt.Tpo" ".deps/getopt.Po"; else rm -f ".deps/getopt.Tpo"; exit 1; fi getopt.c: In function 'my_index': getopt.c:220:1: warning: old-style function definition [-Wold-style-definition] 220 | my_index (str, chr) | ^~~~~~~~ getopt.c: In function 'exchange': getopt.c:310:1: warning: old-style function definition [-Wold-style-definition] 310 | exchange (argv) | ^~~~~~~~ getopt.c: In function '_getopt_initialize': getopt.c:395:1: warning: old-style function definition [-Wold-style-definition] 395 | _getopt_initialize (argc, argv, optstring) | ^~~~~~~~~~~~~~~~~~ getopt.c:408:21: error: too many arguments to function 'getenv'; expected 0, have 1 408 | posixly_correct = getenv ("POSIXLY_CORRECT"); | ^~~~~~ ~~~~~~~~~~~~~~~~~ getopt.c:216:14: note: declared here 216 | extern char *getenv (); | ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:517:1: warning: old-style function definition [-Wold-style-definition] 517 | _getopt_internal (argc, argv, optstring, longopts, longind, long_only) | ^~~~~~~~~~~~~~~~ *** [getopt.o] Error code 1 bmake[3]: stopped making "all-am" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4/src --- gpxwriter.o --- In file included from pdbreader.h:23, from gpxwriter.h:23, from gpxwriter.cpp:21: pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [32]' {aka 'unsigned char [32]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:49:24: note: in expansion of macro 'PACKED' 49 | UInt8 name[32] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'PDBRecordList' {aka '_PDBRecordList'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:61:34: note: in expansion of macro 'PACKED' 61 | PDBRecordList recordList PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:67:26: note: in expansion of macro 'PACKED' 67 | UInt8 attributes PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [3]' {aka 'unsigned char [3]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:68:27: note: in expansion of macro 'PACKED' 68 | UInt8 uniqueID[3] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'char [16][16]' [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:74:33: note: in expansion of macro 'PACKED' 74 | char categoryLabels[16][16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8 [16]' {aka 'unsigned char [16]'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:75:31: note: in expansion of macro 'PACKED' 75 | UInt8 categoryUniqIDs[16] PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:76:22: note: in expansion of macro 'PACKED' 76 | UInt8 lastUniqID PACKED; | ^~~~~~ pdb.h:30:44: warning: 'packed' attribute ignored for field of type 'UInt8' {aka 'unsigned char'} [-Wattributes] 30 | # define PACKED __attribute__ ((__packed__)); | ^ pdb.h:77:21: note: in expansion of macro 'PACKED' 77 | UInt8 reserved1 PACKED; | ^~~~~~ bmake[3]: 1 error bmake[3]: stopped making "all-am" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4/src *** [all] Error code 2 bmake[2]: stopped making "all" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4/src bmake[2]: 1 error bmake[2]: stopped making "all" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4/src *** [all-recursive] Error code 1 bmake[1]: stopped making "all-recursive" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4 bmake[1]: 1 error bmake[1]: stopped making "all-recursive" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4 *** [all] Error code 2 bmake: stopped making "all" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4 bmake: 1 error bmake: stopped making "all" in /tmp/work/geography/cm2gpx/work/cm2gpx-1.0.4 *** Error code 2 Stop. bmake[1]: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/cm2gpx *** Error code 1 Stop. bmake: stopped making "all" in /data/jenkins/workspace/pkgsrc-upstream-trunk/geography/cm2gpx