Ticket #69676: main.log

File main.log, 30.4 KB (added by conradkun (Conrad Cardona), 7 months ago)

Output generated by MacPorts when trying to install libdicom

Line 
1version:1
2:debug:clean Starting logging for libdicom @1.1.0_0+universal
3:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch arm
4:debug:sysinfo MacPorts 2.9.3
5:debug:sysinfo Xcode none, CLT 13.4.0.0.1.1651278267
6:debug:sysinfo SDK 12
7:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.7
8:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/science/libdicom/work
9:debug:clean dropping privileges: euid changed to 502, egid changed to 501.
10:debug:main Executing org.macports.main (libdicom)
11:debug:main Privilege de-escalation not attempted as not running as root.
12:debug:archivefetch archivefetch phase started at Fri Apr  5 11:18:47 CET 2024
13:msg:archivefetch --->  Fetching archive for libdicom
14:debug:archivefetch Executing org.macports.archivefetch (libdicom)
15:debug:archivefetch euid/egid changed to: 0/0
16:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
17:debug:archivefetch euid/egid changed to: 502/501
18:info:archivefetch --->  libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
19:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://packages.macports.org/libdicom
20:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
21:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/libdicom
22:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
23:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://nue.de.packages.macports.org/libdicom
24:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
25:debug:archivefetch Privilege de-escalation not attempted as not running as root.
26:debug:fetch fetch phase started at Fri Apr  5 11:18:47 CET 2024
27:notice:fetch --->  Fetching distfiles for libdicom
28:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
29:debug:fetch dropping privileges: euid changed to 502, egid changed to 501.
30:debug:fetch Executing org.macports.fetch (libdicom)
31:info:fetch --->  libdicom-1.1.0.tar.xz does not exist in /opt/local/var/macports/distfiles/libdicom
32:notice:fetch --->  Attempting to fetch libdicom-1.1.0.tar.xz from https://github.com/ImagingDataCommons/libdicom/releases/download/v1.1.0
33:debug:fetch Privilege de-escalation not attempted as not running as root.
34:debug:checksum checksum phase started at Fri Apr  5 11:18:48 CET 2024
35:notice:checksum --->  Verifying checksums for libdicom
36:debug:checksum Executing org.macports.checksum (libdicom)
37:info:checksum --->  Checksumming libdicom-1.1.0.tar.xz
38:debug:checksum Calculated (rmd160) is 02e713211232bada662e496bdc6327bda123c552
39:debug:checksum Correct (rmd160) checksum for libdicom-1.1.0.tar.xz
40:debug:checksum Calculated (sha256) is 058bfaa7653c60a70798e021001d765e3f91ca4df5a8824b7604eaa57376449b
41:debug:checksum Correct (sha256) checksum for libdicom-1.1.0.tar.xz
42:debug:checksum Calculated (size) is 2958208
43:debug:checksum Correct (size) checksum for libdicom-1.1.0.tar.xz
44:debug:checksum Privilege de-escalation not attempted as not running as root.
45:debug:extract extract phase started at Fri Apr  5 11:18:48 CET 2024
46:notice:extract --->  Extracting libdicom
47:debug:extract setting option extract.cmd to /opt/local/bin/xz
48:debug:extract Executing org.macports.extract (libdicom)
49:info:extract --->  Extracting libdicom-1.1.0.tar.xz
50:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/libdicom/libdicom-1.1.0.tar.xz'
51:debug:extract Environment:
52:debug:extract CC_PRINT_OPTIONS='YES'
53:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/.CC_PRINT_OPTIONS'
54:debug:extract CPATH='/opt/local/include'
55:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
56:debug:extract LIBRARY_PATH='/opt/local/lib'
57:debug:extract MACOSX_DEPLOYMENT_TARGET='11.7'
58:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
59:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/libdicom/libdicom-1.1.0.tar.xz' | /usr/bin/tar -xf -
60:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work" && /opt/local/bin/xz -dc '/opt/local/var/macports/distfiles/libdicom/libdicom-1.1.0.tar.xz' | /usr/bin/tar -xf -
61:debug:extract euid/egid changed to: 0/0
62:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work to macports
63:debug:extract euid/egid changed to: 502/501
64:debug:extract Privilege de-escalation not attempted as not running as root.
65:debug:patch patch phase started at Fri Apr  5 11:18:48 CET 2024
66:debug:patch Executing org.macports.patch (libdicom)
67:debug:patch Privilege de-escalation not attempted as not running as root.
68:debug:configure configure phase started at Fri Apr  5 11:18:48 CET 2024
69:notice:configure --->  Configuring libdicom
70:debug:configure Preferred compilers: clang macports-clang-16 macports-clang-15 macports-clang-14 macports-clang-13 macports-clang-12 macports-clang-11
71:debug:configure Using compiler 'Xcode Clang'
72:debug:configure Executing org.macports.configure (libdicom)
73:debug:configure Environment:
74:debug:configure CC='/usr/bin/clang'
75:debug:configure CC_PRINT_OPTIONS='YES'
76:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/.CC_PRINT_OPTIONS'
77:debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
78:debug:configure CPATH='/opt/local/include'
79:debug:configure CPPFLAGS='-I/opt/local/include -I/opt/local/include/uthash -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
80:debug:configure CXX='/usr/bin/clang++'
81:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
82:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
83:debug:configure F90FLAGS='-pipe -Os'
84:debug:configure FCFLAGS='-pipe -Os'
85:debug:configure FFLAGS='-pipe -Os'
86:debug:configure INSTALL='/usr/bin/install -c'
87:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
88:debug:configure LIBRARY_PATH='/opt/local/lib'
89:debug:configure MACOSX_DEPLOYMENT_TARGET='11.7'
90:debug:configure OBJC='/usr/bin/clang'
91:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
92:debug:configure OBJCXX='/usr/bin/clang++'
93:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64'
94:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
95:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/libdicom-1.1.0" && /opt/local/bin/meson setup --prefix=/opt/local -Dtests=false /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/libdicom-1.1.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build --wrap-mode=nofallback
96:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/libdicom-1.1.0" && /opt/local/bin/meson setup --prefix=/opt/local -Dtests=false /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/libdicom-1.1.0 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build --wrap-mode=nofallback
97:info:configure The Meson build system
98:info:configure Version: 1.4.0
99:info:configure Source dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/libdicom-1.1.0
100:info:configure Build dir: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build
101:info:configure Build type: native build
102:info:configure Project name: libdicom
103:info:configure Project version: 1.1.0
104:info:configure C compiler for the host machine: /usr/bin/clang (clang 13.1.6 "Apple clang version 13.1.6 (clang-1316.0.21.2.5)")
105:info:configure C linker for the host machine: /usr/bin/clang ld64 764
106:info:configure Host machine cpu family: aarch64
107:info:configure Host machine cpu: aarch64
108:info:configure Check usable header "utarray.h" : YES
109:info:configure Check usable header "uthash.h" : YES
110:info:configure Has header "io.h" : NO
111:info:configure Has header "unistd.h" : NO
112:info:configure Configuring config.h using configuration
113:info:configure Compiler for C supports arguments -Wformat-security: YES
114:info:configure Compiler for C supports arguments -Wmissing-declarations: YES
115:info:configure Compiler for C supports arguments -Wmissing-prototypes: YES
116:info:configure Compiler for C supports arguments -Wnested-externs: YES
117:info:configure Compiler for C supports arguments -Wstrict-prototypes: YES
118:info:configure Configuring version.h using configuration
119:info:configure Found pkg-config: YES (/opt/local/bin/pkg-config) 0.29.2
120:info:configure Configuring dcm-dump.1 using configuration
121:info:configure Configuring dcm-getframe.1 using configuration
122:info:configure Build targets in project: 7
123:info:configure libdicom 1.1.0
124:info:configure   User defined options
125:info:configure     prefix   : /opt/local
126:info:configure     wrap_mode: nofallback
127:info:configure     tests    : false
128:info:configure Found ninja-1.11.1 at /opt/local/bin/ninja
129:debug:configure Executing portconfigure::configure_finish
130:debug:configure Privilege de-escalation not attempted as not running as root.
131:debug:build build phase started at Fri Apr  5 11:18:51 CET 2024
132:notice:build --->  Building libdicom
133:debug:build Executing org.macports.build (libdicom)
134:debug:build Environment:
135:debug:build CC_PRINT_OPTIONS='YES'
136:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/.CC_PRINT_OPTIONS'
137:debug:build CPATH='/opt/local/include'
138:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
139:debug:build LIBRARY_PATH='/opt/local/lib'
140:debug:build MACOSX_DEPLOYMENT_TARGET='11.7'
141:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
142:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
143:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
144:info:build [1/19] /usr/bin/clang -Idcm-dump.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -MD -MQ dcm-dump.p/tools_dcm-dump.c.o -MF dcm-dump.p/tools_dcm-dump.c.o.d -o dcm-dump.p/tools_dcm-dump.c.o -c ../libdicom-1.1.0/tools/dcm-dump.c
145:info:build [2/19] /usr/bin/clang -Idcm-getframe.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -MD -MQ dcm-getframe.p/tools_dcm-getframe.c.o -MF dcm-getframe.p/tools_dcm-getframe.c.o.d -o dcm-getframe.p/tools_dcm-getframe.c.o -c ../libdicom-1.1.0/tools/dcm-getframe.c
146:info:build [3/19] /usr/bin/clang -Idicom-dict-build.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -MD -MQ dicom-dict-build.p/src_dicom-dict-tables.c.o -MF dicom-dict-build.p/src_dicom-dict-tables.c.o.d -o dicom-dict-build.p/src_dicom-dict-tables.c.o -c ../libdicom-1.1.0/src/dicom-dict-tables.c
147:info:build [4/19] /usr/bin/clang -Idicom-dict-build.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -MD -MQ dicom-dict-build.p/src_dicom-dict-build.c.o -MF dicom-dict-build.p/src_dicom-dict-build.c.o.d -o dicom-dict-build.p/src_dicom-dict-build.c.o -c ../libdicom-1.1.0/src/dicom-dict-build.c
148:info:build [5/19] /usr/bin/clang  -o dicom-dict-build dicom-dict-build.p/src_dicom-dict-build.c.o dicom-dict-build.p/src_dicom-dict-tables.c.o -L/opt/local/lib -I/opt/local/include -I/opt/local/include/uthash -Wl,-dead_strip_dylibs -Wl,-headerpad_max_install_names -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk
149:info:build [6/19] /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build/dicom-dict-build dicom-dict-lookup.c dicom-dict-lookup.h
150:info:build [7/19] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-io.c.o -MF libdicom.1.dylib.p/src_dicom-io.c.o.d -o libdicom.1.dylib.p/src_dicom-io.c.o -c ../libdicom-1.1.0/src/dicom-io.c
151:info:build FAILED: libdicom.1.dylib.p/src_dicom-io.c.o
152:info:build /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-io.c.o -MF libdicom.1.dylib.p/src_dicom-io.c.o.d -o libdicom.1.dylib.p/src_dicom-io.c.o -c ../libdicom-1.1.0/src/dicom-io.c
153:info:build ../libdicom-1.1.0/src/dicom-io.c:57:16: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
154:info:build         (void) close(file->fd);
155:info:build                ^
156:info:build ../libdicom-1.1.0/src/dicom-io.c:127:22: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
157:info:build         bytes_read = read(file->fd, buffer, length);
158:info:build                      ^
159:info:build ../libdicom-1.1.0/src/dicom-io.c:127:22: note: did you mean 'fread'?
160:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdio.h:158:9: note: 'fread' declared here
161:info:build size_t   fread(void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream);
162:info:build          ^
163:info:build ../libdicom-1.1.0/src/dicom-io.c:215:22: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
164:info:build         new_offset = lseek(file->fd, -bytes_ahead, SEEK_CUR);
165:info:build                      ^
166:info:build ../libdicom-1.1.0/src/dicom-io.c:215:22: note: did you mean 'fseek'?
167:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdio.h:162:6: note: 'fseek' declared here
168:info:build int      fseek(FILE *, long, int);
169:info:build          ^
170:info:build ../libdicom-1.1.0/src/dicom-io.c:228:18: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
171:info:build     new_offset = lseek(file->fd, offset, whence);
172:info:build                  ^
173:info:build 4 errors generated.
174:info:build [8/19] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_getopt.c.o -MF libdicom.1.dylib.p/src_getopt.c.o.d -o libdicom.1.dylib.p/src_getopt.c.o -c ../libdicom-1.1.0/src/getopt.c
175:info:build [9/19] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/meson-generated_.._dicom-dict-lookup.c.o -MF libdicom.1.dylib.p/meson-generated_.._dicom-dict-lookup.c.o.d -o libdicom.1.dylib.p/meson-generated_.._dicom-dict-lookup.c.o -c dicom-dict-lookup.c
176:info:build [10/19] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom.c.o -MF libdicom.1.dylib.p/src_dicom.c.o.d -o libdicom.1.dylib.p/src_dicom.c.o -c ../libdicom-1.1.0/src/dicom.c
177:info:build ninja: build stopped: subcommand failed.
178:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
179:info:build Exit code: 1
180:error:build Failed to build libdicom: command execution failed
181:debug:build Error code: CHILDSTATUS 55345 1
182:debug:build Backtrace: command execution failed
183:debug:build     while executing
184:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
185:debug:build     invoked from within
186:debug:build "command_exec -callback portprogress::target_progress_callback build"
187:debug:build     (procedure "portbuild::build_main" line 10)
188:debug:build     invoked from within
189:debug:build "$procedure $targetname"
190:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/main.log for details.
191version:1
192:debug:main Starting logging for libdicom @1.1.0_0+universal
193:debug:sysinfo macOS 12.0.1 (darwin/21.1.0) arch arm
194:debug:sysinfo MacPorts 2.9.3
195:debug:sysinfo Xcode none, CLT 13.4.0.0.1.1651278267
196:debug:sysinfo SDK 12
197:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 11.7
198:debug:main dropping privileges: euid changed to 502, egid changed to 501.
199:debug:main Executing org.macports.main (libdicom)
200:debug:main Privilege de-escalation not attempted as not running as root.
201:debug:archivefetch archivefetch phase started at Fri Apr  5 11:30:35 CET 2024
202:msg:archivefetch --->  Fetching archive for libdicom
203:debug:archivefetch Executing org.macports.archivefetch (libdicom)
204:debug:archivefetch euid/egid changed to: 0/0
205:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
206:debug:archivefetch euid/egid changed to: 502/501
207:info:archivefetch --->  libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
208:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://packages.macports.org/libdicom
209:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
210:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://fra.de.packages.macports.org/libdicom
211:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
212:msg:archivefetch --->  Attempting to fetch libdicom-1.1.0_0+universal.darwin_21.arm64-x86_64.tbz2 from https://nue.de.packages.macports.org/libdicom
213:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
214:debug:archivefetch Privilege de-escalation not attempted as not running as root.
215:debug:archivefetch Skipping completed org.macports.fetch (libdicom)
216:debug:archivefetch Privilege de-escalation not attempted as not running as root.
217:debug:archivefetch Skipping completed org.macports.checksum (libdicom)
218:debug:archivefetch Privilege de-escalation not attempted as not running as root.
219:debug:archivefetch Skipping completed org.macports.extract (libdicom)
220:debug:archivefetch Privilege de-escalation not attempted as not running as root.
221:debug:archivefetch Skipping completed org.macports.patch (libdicom)
222:debug:archivefetch Privilege de-escalation not attempted as not running as root.
223:debug:archivefetch Skipping completed org.macports.configure (libdicom)
224:debug:archivefetch Privilege de-escalation not attempted as not running as root.
225:debug:build build phase started at Fri Apr  5 11:30:36 CET 2024
226:notice:build --->  Building libdicom
227:debug:build Executing org.macports.build (libdicom)
228:debug:build Environment:
229:debug:build CC_PRINT_OPTIONS='YES'
230:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/.CC_PRINT_OPTIONS'
231:debug:build CPATH='/opt/local/include'
232:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
233:debug:build LIBRARY_PATH='/opt/local/lib'
234:debug:build MACOSX_DEPLOYMENT_TARGET='11.7'
235:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk'
236:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
237:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
238:info:build [1/10] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-io.c.o -MF libdicom.1.dylib.p/src_dicom-io.c.o.d -o libdicom.1.dylib.p/src_dicom-io.c.o -c ../libdicom-1.1.0/src/dicom-io.c
239:info:build FAILED: libdicom.1.dylib.p/src_dicom-io.c.o
240:info:build /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-io.c.o -MF libdicom.1.dylib.p/src_dicom-io.c.o.d -o libdicom.1.dylib.p/src_dicom-io.c.o -c ../libdicom-1.1.0/src/dicom-io.c
241:info:build ../libdicom-1.1.0/src/dicom-io.c:57:16: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
242:info:build         (void) close(file->fd);
243:info:build                ^
244:info:build ../libdicom-1.1.0/src/dicom-io.c:127:22: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
245:info:build         bytes_read = read(file->fd, buffer, length);
246:info:build                      ^
247:info:build ../libdicom-1.1.0/src/dicom-io.c:127:22: note: did you mean 'fread'?
248:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdio.h:158:9: note: 'fread' declared here
249:info:build size_t   fread(void * __restrict __ptr, size_t __size, size_t __nitems, FILE * __restrict __stream);
250:info:build          ^
251:info:build ../libdicom-1.1.0/src/dicom-io.c:215:22: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
252:info:build         new_offset = lseek(file->fd, -bytes_ahead, SEEK_CUR);
253:info:build                      ^
254:info:build ../libdicom-1.1.0/src/dicom-io.c:215:22: note: did you mean 'fseek'?
255:info:build /Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk/usr/include/stdio.h:162:6: note: 'fseek' declared here
256:info:build int      fseek(FILE *, long, int);
257:info:build          ^
258:info:build ../libdicom-1.1.0/src/dicom-io.c:228:18: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
259:info:build     new_offset = lseek(file->fd, offset, whence);
260:info:build                  ^
261:info:build 4 errors generated.
262:info:build [2/10] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-dict-tables.c.o -MF libdicom.1.dylib.p/src_dicom-dict-tables.c.o.d -o libdicom.1.dylib.p/src_dicom-dict-tables.c.o -c ../libdicom-1.1.0/src/dicom-dict-tables.c
263:info:build [3/10] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-dict.c.o -MF libdicom.1.dylib.p/src_dicom-dict.c.o.d -o libdicom.1.dylib.p/src_dicom-dict.c.o -c ../libdicom-1.1.0/src/dicom-dict.c
264:info:build [4/10] /usr/bin/clang -Ilibdicom.1.dylib.p -I. -I../libdicom-1.1.0 -I../libdicom-1.1.0/include -I/opt/local/include -I/opt/local/include/uthash -fvisibility=hidden -fdiagnostics-color=always -Wall -Winvalid-pch -Wextra -O2 -g -Wformat-security -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wstrict-prototypes -pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -arch arm64 -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -DBUILDING_LIBDICOM -MD -MQ libdicom.1.dylib.p/src_dicom-data.c.o -MF libdicom.1.dylib.p/src_dicom-data.c.o.d -o libdicom.1.dylib.p/src_dicom-data.c.o -c ../libdicom-1.1.0/src/dicom-data.c
265:info:build ninja: build stopped: subcommand failed.
266:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/work/build" && /opt/local/bin/ninja -j4 -v
267:info:build Exit code: 1
268:error:build Failed to build libdicom: command execution failed
269:debug:build Error code: CHILDSTATUS 55413 1
270:debug:build Backtrace: command execution failed
271:debug:build     while executing
272:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
273:debug:build     invoked from within
274:debug:build "command_exec -callback portprogress::target_progress_callback build"
275:debug:build     (procedure "portbuild::build_main" line 10)
276:debug:build     invoked from within
277:debug:build "$procedure $targetname"
278:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_libdicom/libdicom/main.log for details.