Opened 2 hours ago

#71346 new defect

p5.34-future-xs @0.130.0 does not build on PPC Tiger, Mac OS X 10.4.11, because of 'struct FutureXSCallback' has neither member named 'seq' nor 'code'

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.4
Keywords: tiger ppc Cc: devans@…
Port: p5-future-xs

Description

Executing:  cd "/opt/local/var/macports/build/_Volumes_BSD-Linux_MacPorts-distfiles_ports_perl_p5-future-xs/p5.34-future-xs/work/Future-XS-0.13" && /opt/local/bin/perl5.34 Build build 
Building Future-XS
/opt/local/bin/gcc-apple-4.2 -Isrc/ -I/opt/local/lib/perl5/5.34/darwin-thread-multi-2level/CORE -Iinclude -Ihax -ggdb -std=c99 -DHAVE_DMD_HELPER -I. -c -fno-common -DPERL_DARWIN -pipe -Os -fno-strict-aliasing -I/opt/local/include -D_FORTIFY_SOURCE=2 -DPERL_USE_SAFE_PUTENV -Wno-error=implicit-function-declaration -o src/future.o src/future.c
In file included from src/future.c:21:
./DMD_helper.h:72: warning: declaration does not declare anything
src/future.c:70: warning: declaration does not declare anything
src/future.c: In function 'Future_new':
src/future.c:170: warning: format '%d' expects type 'int', but argument 3 has type 'line_t'
src/future.c: In function 'S_clear_callback':
src/future.c:248: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:249: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:250: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:251: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:254: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'Future_destroy':
src/future.c:295: warning: format '%d' expects type 'int', but argument 5 has type 'line_t'
src/future.c:301: warning: format '%d' expects type 'int', but argument 5 has type 'line_t'
src/future.c: In function 'S_push_callback':
src/future.c:383: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:383: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:384: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:384: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:385: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:385: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:386: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:386: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:389: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:389: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'S_invoke_seq_callback':
src/future.c:438: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:439: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:442: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:445: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:474: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c: In function 'S_invoke_callback':
src/future.c:533: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:549: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:578: error: unknown field 'code' specified in initializer
src/future.c:578: warning: excess elements in struct initializer
src/future.c:578: warning: (near initialization for 'cb2')
src/future.c:587: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'S_make_sequence':
src/future.c:720: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:721: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:721: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:722: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:723: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:723: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:724: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c: In function 'S_CvNAME_FILE_LINE':
src/future.c:747: warning: format '%d' expects type 'int', but argument 3 has type 'line_t'
src/future.c: In function 'Future_on_ready':
src/future.c:929: error: unknown field 'code' specified in initializer
src/future.c:929: warning: excess elements in struct initializer
src/future.c:929: warning: (near initialization for 'cb')
src/future.c:935: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:935: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'Future_on_done':
src/future.c:953: error: unknown field 'code' specified in initializer
src/future.c:953: warning: excess elements in struct initializer
src/future.c:953: warning: (near initialization for 'cb')
src/future.c:959: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:959: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'Future_on_fail':
src/future.c:977: error: unknown field 'code' specified in initializer
src/future.c:977: warning: excess elements in struct initializer
src/future.c:977: warning: (near initialization for 'cb')
src/future.c:983: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:983: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c: In function 'Future_get_result_av':
src/future.c:1069: warning: format '%d' expects type 'int', but argument 4 has type 'line_t'
src/future.c: In function 'Future_then':
src/future.c:1186: error: unknown field 'seq' specified in initializer
src/future.c:1186: warning: excess elements in struct initializer
src/future.c:1186: warning: (near initialization for 'cb')
src/future.c:1187: error: unknown field 'seq' specified in initializer
src/future.c:1187: warning: excess elements in struct initializer
src/future.c:1187: warning: (near initialization for 'cb')
src/future.c: In function 'Future_followed_by':
src/future.c:1199: error: unknown field 'seq' specified in initializer
src/future.c:1199: warning: excess elements in struct initializer
src/future.c:1199: warning: (near initialization for 'cb')
src/future.c:1200: error: unknown field 'seq' specified in initializer
src/future.c:1200: warning: excess elements in struct initializer
src/future.c:1200: warning: (near initialization for 'cb')
src/future.c: In function 'Future_thencatch':
src/future.c:1210: error: unknown field 'seq' specified in initializer
src/future.c:1210: warning: excess elements in struct initializer
src/future.c:1210: warning: (near initialization for 'cb')
src/future.c:1211: error: unknown field 'seq' specified in initializer
src/future.c:1211: warning: excess elements in struct initializer
src/future.c:1211: warning: (near initialization for 'cb')
src/future.c:1212: error: unknown field 'seq' specified in initializer
src/future.c:1212: warning: excess elements in struct initializer
src/future.c:1212: warning: (near initialization for 'cb')
src/future.c: In function 'dumpstruct_callback':
src/future.c:1764: error: unknown field 'n' specified in initializer
src/future.c:1764: warning: excess elements in struct initializer
src/future.c:1764: warning: (near initialization for '(anonymous)[0]')
src/future.c:1764: error: unknown field 'ptr' specified in initializer
src/future.c:1764: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:1764: warning: excess elements in struct initializer
src/future.c:1764: warning: (near initialization for '(anonymous)[1]')
src/future.c:1764: error: unknown field 'ptr' specified in initializer
src/future.c:1764: error: 'struct FutureXSCallback' has no member named 'code'
src/future.c:1764: warning: excess elements in struct initializer
src/future.c:1764: warning: (near initialization for '(anonymous)[2]')
src/future.c:1774: error: unknown field 'n' specified in initializer
src/future.c:1774: warning: excess elements in struct initializer
src/future.c:1774: warning: (near initialization for '(anonymous)[0]')
src/future.c:1774: error: unknown field 'ptr' specified in initializer
src/future.c:1774: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:1774: warning: excess elements in struct initializer
src/future.c:1774: warning: (near initialization for '(anonymous)[1]')
src/future.c:1774: error: unknown field 'ptr' specified in initializer
src/future.c:1774: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:1774: warning: excess elements in struct initializer
src/future.c:1774: warning: (near initialization for '(anonymous)[2]')
src/future.c:1774: error: unknown field 'ptr' specified in initializer
src/future.c:1774: error: 'struct FutureXSCallback' has no member named 'seq'
src/future.c:1774: warning: excess elements in struct initializer
src/future.c:1774: warning: (near initialization for '(anonymous)[3]')
src/future.c: In function 'dumpstruct_revocation':
src/future.c:1788: error: unknown field 'ptr' specified in initializer
src/future.c:1788: warning: excess elements in struct initializer
src/future.c:1788: warning: (near initialization for '(anonymous)[0]')
src/future.c:1788: error: unknown field 'ptr' specified in initializer
src/future.c:1788: warning: excess elements in struct initializer
src/future.c:1788: warning: (near initialization for '(anonymous)[1]')
src/future.c: In function 'dumpstruct':
src/future.c:1805: error: unknown field 'b' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[0]')
src/future.c:1805: error: unknown field 'b' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[1]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[2]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[3]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[4]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[5]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[6]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[7]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[8]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[9]')
src/future.c:1805: error: unknown field 'ptr' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[10]')
src/future.c:1805: error: unknown field 'n' specified in initializer
src/future.c:1805: warning: excess elements in struct initializer
src/future.c:1805: warning: (near initialization for '(anonymous)[11]')
error building src/future.o from 'src/future.c' at /opt/local/lib/perl5/vendor_perl/5.34/ExtUtils/CBuilder/Base.pm line 186.

It's kind of a private port that corrects path name of perl binary in test files:

    post-patch {
        reinplace "s|/usr/bin/perl|perl|" {*}[glob ${worksrcpath}/t/*.t]
    }

Change History (0)

Note: See TracTickets for help on using tickets.