[MacPorts] #72319: silo fails to build: error: initializer element is not computable at load time

MacPorts noreply at macports.org
Thu Apr 10 16:35:48 UTC 2025


#72319: silo fails to build: error: initializer element is not computable at load
time
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.5
 Keywords:                |       Port:  silo
--------------------------+--------------------
 {{{
 make[4]: Entering directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd/src/hdf5_drv'
 /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../..  -I./../silo -I./../silo   -I/opt/local
 -I/opt/local/include  -pipe -Os -arch ppc -D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdeclaration-after-statement
 -MT silo_hdf5.lo -MD -MP -MF .deps/silo_hdf5.Tpo -c -o silo_hdf5.lo
 silo_hdf5.c
 /bin/sh ../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.2
 -DHAVE_CONFIG_H -I. -I../..  -I./../silo -I./../silo   -I/opt/local
 -I/opt/local/include  -pipe -Os -arch ppc -D_LARGEFILE_SOURCE
 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wdeclaration-after-statement
 -MT H5FDsilo.lo -MD -MP -MF .deps/H5FDsilo.Tpo -c -o H5FDsilo.lo
 H5FDsilo.c
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..
 -I./../silo -I./../silo -I/opt/local -I/opt/local/include -pipe -Os -arch
 ppc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 -Wdeclaration-after-statement -MT silo_hdf5.lo -MD -MP -MF
 .deps/silo_hdf5.Tpo -c silo_hdf5.c  -fno-common -DPIC -o .libs/silo_hdf5.o
 libtool: compile:  /usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I../..
 -I./../silo -I./../silo -I/opt/local -I/opt/local/include -pipe -Os -arch
 ppc -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
 -Wdeclaration-after-statement -MT H5FDsilo.lo -MD -MP -MF
 .deps/H5FDsilo.Tpo -c H5FDsilo.c  -fno-common -DPIC -o .libs/H5FDsilo.o
 H5FDsilo.c:500: warning: initialization makes integer from pointer without
 a cast
 H5FDsilo.c:501: warning: overflow in implicit constant conversion
 H5FDsilo.c:502: warning: initialization makes pointer from integer without
 a cast
 H5FDsilo.c:503: warning: initialization makes integer from pointer without
 a cast
 H5FDsilo.c:503: error: initializer element is not computable at load time
 H5FDsilo.c:503: error: (near initialization for ‘H5FD_silo_g.maxaddr’)
 H5FDsilo.c:504: error: incompatible types in initialization
 H5FDsilo.c:505: warning: initialization from incompatible pointer type
 H5FDsilo.c:509: warning: initialization makes integer from pointer without
 a cast
 H5FDsilo.c:513: warning: initialization makes integer from pointer without
 a cast
 H5FDsilo.c:514: warning: initialization from incompatible pointer type
 H5FDsilo.c:515: warning: initialization from incompatible pointer type
 H5FDsilo.c:516: warning: initialization from incompatible pointer type
 H5FDsilo.c:520: warning: initialization from incompatible pointer type
 H5FDsilo.c:521: warning: initialization from incompatible pointer type
 H5FDsilo.c:522: warning: initialization from incompatible pointer type
 H5FDsilo.c:523: warning: initialization from incompatible pointer type
 H5FDsilo.c:524: warning: initialization from incompatible pointer type
 H5FDsilo.c:525: warning: initialization from incompatible pointer type
 H5FDsilo.c:527: warning: initialization from incompatible pointer type
 H5FDsilo.c:530: warning: braces around scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: initialization makes pointer from integer without
 a cast
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c:530: warning: excess elements in scalar initializer
 H5FDsilo.c:530: warning: (near initialization for
 ‘H5FD_silo_g.write_vector’)
 H5FDsilo.c: In function ‘file_write’:
 H5FDsilo.c:801: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:803: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:809: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:821: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:848: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:848: error: invalid storage class for function ‘file_read’
 H5FDsilo.c: In function ‘file_read’:
 H5FDsilo.c:860: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:862: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:868: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:880: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:910: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:910: error: invalid storage class for function
 ‘file_write_block’
 H5FDsilo.c: In function ‘file_write_block’:
 H5FDsilo.c:924: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:952: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:952: error: invalid storage class for function
 ‘file_read_block’
 H5FDsilo.c: In function ‘file_read_block’:
 H5FDsilo.c:963: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:980: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:980: error: invalid storage class for function
 ‘remove_block_by_index’
 H5FDsilo.c:979: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:1009: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1009: error: invalid storage class for function
 ‘insert_block_by_index’
 H5FDsilo.c:1031: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1031: error: invalid storage class for function
 ‘alloc_block_by_id’
 H5FDsilo.c:1066: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1066: error: invalid storage class for function
 ‘free_block_by_index’
 H5FDsilo.c:1105: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1133: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1162: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c: In function ‘H5Pset_fapl_silo’:
 H5FDsilo.c:1173: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1176: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1178: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1180: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1182: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1185: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1187: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1189: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1191: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1198: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c: In function ‘H5Pset_silo_block_size_and_count’:
 H5FDsilo.c:1206: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1208: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1210: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1217: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c: In function ‘H5Pset_silo_log_stats’:
 H5FDsilo.c:1225: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1227: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1234: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c: In function ‘H5Pset_silo_use_direct’:
 H5FDsilo.c:1242: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1244: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1268: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1268: error: invalid storage class for function
 ‘H5FD_silo_sb_size’
 H5FDsilo.c:1266: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:1295: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1295: error: invalid storage class for function
 ‘H5FD_silo_sb_encode’
 H5FDsilo.c: In function ‘H5FD_silo_sb_encode’:
 H5FDsilo.c:1313: error: expected ‘;’ before ‘return’
 H5FDsilo.c: In function ‘H5Pset_silo_use_direct’:
 H5FDsilo.c:1328: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1328: error: invalid storage class for function
 ‘H5FD_silo_sb_decode’
 H5FDsilo.c: In function ‘H5FD_silo_sb_decode’:
 H5FDsilo.c:1341: error: expected ‘;’ before ‘buf’
 H5FDsilo.c:1347: error: expected ‘;’ before ‘ap’
 H5FDsilo.c: In function ‘H5Pset_silo_use_direct’:
 H5FDsilo.c:1389: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1389: error: invalid storage class for function
 ‘H5FD_silo_open’
 H5FDsilo.c: In function ‘H5FD_silo_open’:
 H5FDsilo.c:1411: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1413: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1415: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1419: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1422: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1424: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1427: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1429: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1447: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1452: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1462: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1468: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1488: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1536: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1536: error: invalid storage class for function
 ‘H5FD_silo_close’
 H5FDsilo.c: In function ‘H5FD_silo_close’:
 H5FDsilo.c:1571: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:1755: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1755: error: invalid storage class for function ‘H5FD_silo_cmp’
 H5FDsilo.c:1753: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:1815: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1815: error: invalid storage class for function
 ‘H5FD_silo_query’
 H5FDsilo.c:1856: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1856: error: invalid storage class for function
 ‘H5FD_silo_get_eoa’
 H5FDsilo.c:1892: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1892: error: invalid storage class for function
 ‘H5FD_silo_set_eoa’
 H5FDsilo.c:1929: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1929: error: invalid storage class for function
 ‘H5FD_silo_get_eof’
 H5FDsilo.c:1951: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1951: error: invalid storage class for function
 ‘H5FD_silo_get_handle’
 H5FDsilo.c:1994: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:1994: error: invalid storage class for function
 ‘H5FD_silo_read’
 H5FDsilo.c: In function ‘H5FD_silo_read’:
 H5FDsilo.c:2015: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2017: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2019: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2125: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:2125: error: invalid storage class for function
 ‘H5FD_silo_write’
 H5FDsilo.c: In function ‘H5FD_silo_write’:
 H5FDsilo.c:2146: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2148: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2150: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2249: error: nested functions are disabled, use -fnested-
 functions to re-enable
 H5FDsilo.c:2249: error: invalid storage class for function
 ‘H5FD_silo_truncate’
 H5FDsilo.c: In function ‘H5FD_silo_truncate’:
 H5FDsilo.c:2290: error: expected ‘;’ before ‘}’ token
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5FD_silo_write’:
 H5FDsilo.c:2247: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5FD_silo_read’:
 H5FDsilo.c:2122: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5FD_silo_close’:
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5FD_silo_open’:
 H5FDsilo.c:1534: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5Pset_silo_use_direct’:
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5Pset_silo_log_stats’:
 H5FDsilo.c:1232: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5Pset_silo_block_size_and_count’:
 H5FDsilo.c:1215: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘H5Pset_fapl_silo’:
 H5FDsilo.c:1196: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘file_read_block’:
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘file_write_block’:
 H5FDsilo.c:951: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘file_read’:
 H5FDsilo.c:909: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c: In function ‘file_write’:
 H5FDsilo.c:847: warning: ISO C90 forbids mixed declarations and code
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 H5FDsilo.c:2302: error: expected declaration or statement at end of input
 make[4]: *** [H5FDsilo.lo] Error 1
 make[4]: *** Waiting for unfinished jobs....
 silo_hdf5.c:4667:2: warning: #warning REMOVED WINDOWS SPECIFIC CHECK
 silo_hdf5.c:4808:2: warning: #warning REMOVED WINDOWS SPECIFIC CHECK
 silo_hdf5.c: In function ‘db_hdf5_initiate_close’:
 silo_hdf5.c:5442: warning: format ‘%d’ expects type ‘int’, but argument 6
 has type ‘hid_t’
 silo_hdf5.c: In function ‘db_hdf5_SortObjectsByOffset’:
 silo_hdf5.c:15779: error: too few arguments to function ‘H5Oget_info3’
 silo_hdf5.c:15783: error: ‘H5O_info2_t’ has no member named ‘addr’
 make[4]: *** [silo_hdf5.lo] Error 1
 make[4]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd/src/hdf5_drv'
 make[3]: *** [all-recursive] Error 1
 make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd/src'
 make[2]: *** [all] Error 2
 make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd'
 make: *** [all] Error 2
 make: Leaving directory
 `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd'
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_silo/silo/work/silo-4.10.2-bsd"
 && /usr/bin/make -j6 -w all
 Exit code: 2
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/72319>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list