Opened 5 weeks ago

#70568 assigned defect

dateutils fails to build on 10.6

Reported by: barracuda156 Owned by: herbygillot (Herby Gillot)
Priority: Normal Milestone:
Component: ports Version: 2.10.0
Keywords: tiger, leopard, snowleopard Cc:
Port: dateutils

Description

In file included from ltrcc.c:51:
date-core.h: In function 'dt_make_ddur':
date-core.h:585: warning: missing initializer
date-core.h:585: warning: (near initialization for 'res.fix')
In file included from ltrcc.c:52:
time-core.h: At top level:
time-core.h:65: warning: packed attribute is unnecessary for 'u24' [-Wattributes]
time-core.h:76: warning: packed attribute is unnecessary for 'h' [-Wattributes]
time-core.h:95: warning: packed attribute is unnecessary for 'typ' [-Wattributes]
time-core.h:104: warning: packed attribute is unnecessary for 'sdur' [-Wattributes]
ltrcc.c: In function 'pr_line_d':
ltrcc.c:163: error: unknown field 'daisy' specified in initializer
ltrcc.c: In function 'pr_line_t':
ltrcc.c:254: warning: missing braces around initializer
ltrcc.c:254: warning: (near initialization for 't.<anonymous>')
ltrcc.c:254: warning: missing initializer
ltrcc.c:254: warning: (near initialization for 't.<anonymous>.dur')
ltrcc.c:254: warning: missing initializer
ltrcc.c:254: warning: (near initialization for 't.<anonymous>')
ltrcc.c: In function 'pr_file':
ltrcc.c:332: warning: implicit declaration of function 'getline'
In file included from ltrcc.c:405:
ltrcc.yucc: In function 'yuck_parse':
ltrcc.yucc:157: warning: label 'back_from_dashdash' defined but not used
ltrcc.yucc: In function 'yuck_auto_usage':
ltrcc.yucc:358: warning: label 'YUCK_NOCMD' defined but not used
make[2]: *** [ltrcc-ltrcc.o] Error 1
make[2]: *** Waiting for unfinished jobs....
In file included from token.c:47:
date-core.h: In function 'dt_make_ddur':
date-core.h:585: warning: missing initializer
date-core.h:585: warning: (near initialization for 'res.fix')
token.c: In function '__tok_spec':
token.c:59: warning: missing braces around initializer
token.c:59: warning: (near initialization for 'res.<anonymous>')
token.c:59: warning: missing initializer
token.c:59: warning: (near initialization for 'res.<anonymous>.rom')
token.c:59: warning: missing initializer
token.c:59: warning: (near initialization for 'res.spfl')
token.c:227: warning: cast discards qualifiers from pointer target type
strops.c: In function 'strtoi_lim':
strops.c:83: warning: cast discards qualifiers from pointer target type
strops.c: In function 'padstrtoi_lim':
strops.c:107: warning: cast discards qualifiers from pointer target type
strops.c: In function 'strtoi32':
strops.c:128: warning: cast discards qualifiers from pointer target type
strops.c:128: warning: cast discards qualifiers from pointer target type
strops.c: In function 'strtoi64':
strops.c:150: warning: cast discards qualifiers from pointer target type
strops.c:150: warning: cast discards qualifiers from pointer target type
strops.c: In function 'romstrtoi_lim':
strops.c:214: warning: cast discards qualifiers from pointer target type
strops.c: In function '__ordinalp':
strops.c:320: warning: cast discards qualifiers from pointer target type
strops.c: In function 'xstrpbrk':
strops.c:471: warning: cast discards qualifiers from pointer target type
strops.c: In function 'xstrpbrkp':
strops.c:486: warning: cast discards qualifiers from pointer target type
strops.c: In function 'xmempbrk':
strops.c:496: warning: cast discards qualifiers from pointer target type
In file included from date-core.c:52:
date-core.h: In function 'dt_make_ddur':
date-core.h:585: warning: missing initializer
date-core.h:585: warning: (near initialization for 'res.fix')
In file included from date-core.c:664:
date-core-strpf.c: In function '__strpd_std':
date-core-strpf.c:69: warning: missing initializer
date-core-strpf.c:69: warning: (near initialization for 'res.fix')
date-core-strpf.c:70: warning: missing initializer
date-core-strpf.c:70: warning: (near initialization for 'd.m')
date-core-strpf.c:107: warning: comparison between signed and unsigned
date-core-strpf.c:170: warning: cast discards qualifiers from pointer target type
date-core-strpf.c:175: warning: cast discards qualifiers from pointer target type
date-core-strpf.c:177: warning: missing initializer
date-core-strpf.c:177: warning: (near initialization for '(anonymous).fix')
date-core-strpf.c: In function '__strpd_card':
date-core-strpf.c:390: warning: cast discards qualifiers from pointer target type
date-core-strpf.c: In function '__strpd_rom':
date-core-strpf.c:444: warning: cast discards qualifiers from pointer target type
date-core.c: In function '__guess_dtyp':
date-core.c:799: warning: missing initializer
date-core.c:799: warning: (near initialization for 'res.fix')
date-core.c: In function 'dt_strpd':
date-core.c:884: warning: missing initializer
date-core.c:884: warning: (near initialization for 'res.fix')
date-core.c:885: warning: missing initializer
date-core.c:885: warning: (near initialization for 'd.m')
date-core.c:908: warning: cast discards qualifiers from pointer target type
date-core.c:913: warning: cast discards qualifiers from pointer target type
date-core.c:931: warning: cast discards qualifiers from pointer target type
date-core.c:941: warning: cast discards qualifiers from pointer target type
date-core.c: In function 'dt_strfd':
date-core.c:958: warning: missing initializer
date-core.c:958: warning: (near initialization for 'd.m')
date-core.c: In function 'dt_strpddur':
date-core.c:1103: warning: cast discards qualifiers from pointer target type
date-core.c:1149: warning: cast discards qualifiers from pointer target type
date-core.c: In function 'dt_strfddur':
date-core.c:1157: warning: missing initializer
date-core.c:1157: warning: (near initialization for 'd.m')
date-core.c: In function 'dt_dconv':
date-core.c:1372: warning: missing initializer
date-core.c:1372: warning: (near initialization for 'res.fix')
date-core.c:1940:28: error: invalid suffix "b10010111100101111010101111111111U" on integer constant
date-core.c:1941:48: error: invalid suffix "b11U" on integer constant
date-core.c:1942:48: error: invalid suffix "b11U" on integer constant
date-core.c:1943:41: error: invalid suffix "b11U" on integer constant
make[2]: *** [ltrcc-date-core.o] Error 1
In file included from dt-locale.c:54:
date-core.h: In function 'dt_make_ddur':
date-core.h:585: warning: missing initializer
date-core.h:585: warning: (near initialization for 'res.fix')
dt-locale.c: In function 'tokenise':
dt-locale.c:435: warning: large integer implicitly truncated to unsigned type [-Woverflow]
dt-locale.c: In function '__setlocale':
dt-locale.c:507: warning: 'r.long_wday' is used uninitialized in this function
dt-locale.c:462: note: 'r.long_wday' was declared here
dt-locale.c:513: warning: 'r.long_mon' is used uninitialized in this function
dt-locale.c:462: note: 'r.long_mon' was declared here
dt-locale.c:462: warning: 'r.abbr_wday' may be used uninitialized in this function
dt-locale.c:462: note: 'r.abbr_wday' was declared here
dt-locale.c:462: warning: 'r.abbr_mon' may be used uninitialized in this function
dt-locale.c:462: note: 'r.abbr_mon' was declared here
In file included from time-core.c:51:
time-core.h:65: warning: packed attribute is unnecessary for 'u24' [-Wattributes]
time-core.h:76: warning: packed attribute is unnecessary for 'h' [-Wattributes]
time-core.h:95: warning: packed attribute is unnecessary for 'typ' [-Wattributes]
time-core.h:104: warning: packed attribute is unnecessary for 'sdur' [-Wattributes]
In file included from time-core.c:73:
time-core-strpf.c: In function '__strpt_card':
time-core-strpf.c:191: warning: cast discards qualifiers from pointer target type
time-core-strpf.c:196: warning: cast discards qualifiers from pointer target type
time-core.c: In function '__guess_ttyp':
time-core.c:80: warning: missing braces around initializer
time-core.c:80: warning: (near initialization for 'res.<anonymous>')
time-core.c:80: warning: missing initializer
time-core.c:80: warning: (near initialization for 'res.<anonymous>.dur')
time-core.c:80: warning: missing initializer
time-core.c:80: warning: (near initialization for 'res.<anonymous>')
time-core.c: In function 'dt_strpt':
time-core.c:136: warning: missing braces around initializer
time-core.c:136: warning: (near initialization for 'res.<anonymous>')
time-core.c:136: warning: missing initializer
time-core.c:136: warning: (near initialization for 'res.<anonymous>.dur')
time-core.c:136: warning: missing initializer
time-core.c:136: warning: (near initialization for 'res.<anonymous>')
time-core.c:137: warning: missing initializer
time-core.c:137: warning: (near initialization for 'd.m')
time-core.c:155: warning: cast discards qualifiers from pointer target type
time-core.c:165: warning: cast discards qualifiers from pointer target type
time-core.c: In function 'dt_strft':
time-core.c:173: warning: missing initializer
time-core.c:173: warning: (near initialization for 'd.m')
time-core.c: In function 'dt_time':
time-core.c:312: warning: missing braces around initializer
time-core.c:312: warning: (near initialization for 'res.<anonymous>')
time-core.c:312: warning: missing initializer
time-core.c:312: warning: (near initialization for 'res.<anonymous>.dur')
time-core.c:312: warning: missing initializer
time-core.c:312: warning: (near initialization for 'res.<anonymous>')
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_dateutils/dateutils/work/dateutils-0.4.11/lib'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_dateutils/dateutils/work/dateutils-0.4.11/lib'
make: *** [all-recursive] Error 1
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_dateutils/dateutils/work/dateutils-0.4.11'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_sysutils_dateutils/dateutils/work/dateutils-0.4.11" && /usr/bin/make -j6 -w all 
Exit code: 2
Error: Failed to build dateutils: command execution failed

Looks like it fails on buildbots as well.

Change History (0)

Note: See TracTickets for help on using tickets.