Ticket #68989: main.log

File main.log, 33.6 KB (added by apua (Apua Juan), 11 months ago)

Log of failure to build Alex

Line 
1version:1
2:debug:clean Starting logging for alex @3.3.0.0_0+haskell_cabal_use_prebuilt
3:debug:sysinfo macOS 14.0 (darwin/23.0.0) arch arm
4:debug:sysinfo MacPorts 2.8.1
5:debug:sysinfo Xcode 15.0, CLT none
6:debug:sysinfo SDK 14
7:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
8:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/alex/work
9:debug:clean dropping privileges: euid changed to 505, egid changed to 501.
10:debug:main Executing org.macports.main (alex)
11:debug:main Privilege de-escalation not attempted as not running as root.
12:debug:archivefetch archivefetch phase started at Tue Nov  7 10:50:37 CST 2023
13:msg:archivefetch --->  Fetching archive for alex
14:debug:archivefetch Executing org.macports.archivefetch (alex)
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: 505/501
18:info:archivefetch --->  alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
19:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from https://kmq.jp.packages.macports.org/alex
20:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
21:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/alex
22:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
23:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from https://packages.macports.org/alex
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 Tue Nov  7 10:50:38 CST 2023
27:notice:fetch --->  Fetching distfiles for alex
28:debug:fetch elevating privileges for fetch: euid changed to 0, egid changed to 0.
29:debug:fetch dropping privileges: euid changed to 505, egid changed to 501.
30:debug:fetch Executing org.macports.fetch (alex)
31:info:fetch --->  alex-3.3.0.0.tar.gz does not exist in /opt/local/var/macports/distfiles/alex
32:notice:fetch --->  Attempting to fetch alex-3.3.0.0.tar.gz from http://cjj.kr.distfiles.macports.org/alex
33:debug:fetch Privilege de-escalation not attempted as not running as root.
34:debug:checksum checksum phase started at Tue Nov  7 10:50:39 CST 2023
35:notice:checksum --->  Verifying checksums for alex
36:debug:checksum Executing org.macports.checksum (alex)
37:info:checksum --->  Checksumming alex-3.3.0.0.tar.gz
38:debug:checksum Calculated (rmd160) is 508066e37fb34de97b450f50250e5ab35f00767d
39:debug:checksum Correct (rmd160) checksum for alex-3.3.0.0.tar.gz
40:debug:checksum Calculated (sha256) is 810f8e85ea6b87c37cba10f7660d7f1aa0ba251c1275e3a18c312964bb329a63
41:debug:checksum Correct (sha256) checksum for alex-3.3.0.0.tar.gz
42:debug:checksum Calculated (size) is 86004
43:debug:checksum Correct (size) checksum for alex-3.3.0.0.tar.gz
44:debug:checksum Privilege de-escalation not attempted as not running as root.
45:debug:extract extract phase started at Tue Nov  7 10:50:39 CST 2023
46:notice:extract --->  Extracting alex
47:debug:extract Executing org.macports.extract (alex)
48:info:extract --->  Extracting alex-3.3.0.0.tar.gz
49:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/alex/alex-3.3.0.0.tar.gz'
50:debug:extract Environment:
51:debug:extract CC_PRINT_OPTIONS='YES'
52:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.CC_PRINT_OPTIONS'
53:debug:extract CPATH='/opt/local/include'
54:debug:extract DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'
55:debug:extract LIBRARY_PATH='/opt/local/lib'
56:debug:extract MACOSX_DEPLOYMENT_TARGET='14.0'
57:debug:extract SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk'
58:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/alex/alex-3.3.0.0.tar.gz' | /usr/bin/tar -xf -
59:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/alex/alex-3.3.0.0.tar.gz' | /usr/bin/tar -xf -
60:debug:extract euid/egid changed to: 0/0
61:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work to macports
62:debug:extract euid/egid changed to: 505/501
63:debug:extract Executing proc-post-org.macports.extract-extract-0
64:info:extract xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0)
65:info:extract xinstall: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/alex/files/Paths_NAME.hs -> ./src/Paths_alex.hs
66:info:extract --->  Patching Paths_alex.hs: s|@PREFIX@|/opt/local|g
67:debug:extract Executing reinplace: /usr/bin/sed s|@PREFIX@|/opt/local|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs >@file16
68:debug:extract euid/egid changed to: 0/0
69:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs to macports
70:debug:extract euid/egid changed to: 505/501
71:debug:extract euid/egid changed to: 0/0
72:debug:extract setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs
73:debug:extract euid/egid changed to: 505/501
74:info:extract --->  Patching Paths_alex.hs: s|@NAME@|alex|g
75:debug:extract Executing reinplace: /usr/bin/sed s|@NAME@|alex|g </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs >@file16
76:debug:extract euid/egid changed to: 0/0
77:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs to macports
78:debug:extract euid/egid changed to: 505/501
79:debug:extract euid/egid changed to: 0/0
80:debug:extract setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs
81:debug:extract euid/egid changed to: 505/501
82:info:extract --->  Patching Paths_alex.hs: s|(Version[[:space:]]+)\[[[:digit:]]+(,[[:digit:]]+){1,4}\]|\1[3,3,0,0]|
83:debug:extract Executing reinplace: /usr/bin/sed -E {s|(Version[[:space:]]+)\[[[:digit:]]+(,[[:digit:]]+){1,4}\]|\1[3,3,0,0]|} </opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs >@file16
84:debug:extract euid/egid changed to: 0/0
85:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs to macports
86:debug:extract euid/egid changed to: 505/501
87:debug:extract euid/egid changed to: 0/0
88:debug:extract setting attributes on /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0/src/Paths_alex.hs
89:debug:extract euid/egid changed to: 505/501
90:debug:extract Privilege de-escalation not attempted as not running as root.
91:debug:patch patch phase started at Tue Nov  7 10:50:39 CST 2023
92:debug:patch Executing org.macports.patch (alex)
93:debug:patch Executing proc-post-org.macports.patch-patch-0
94:info:patch xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal
95:debug:patch Executing proc-post-org.macports.patch-patch-1
96:info:patch xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin
97:debug:patch Privilege de-escalation not attempted as not running as root.
98:debug:configure configure phase started at Tue Nov  7 10:50:43 CST 2023
99:notice:configure --->  Configuring alex
100:debug:configure Preferred compilers: clang macports-clang-16 macports-clang-15 macports-clang-14 macports-clang-11
101:debug:configure Using compiler 'Xcode Clang'
102:debug:configure Executing proc-pre-org.macports.configure-configure-0
103:debug:configure system -W /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0: env CABAL_CONFIG=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config GHC=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin/ghc PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config update
104:info:configure Downloading the latest package list from hackage.haskell.org
105:info:configure Package list of hackage.haskell.org has been updated.
106:info:configure The index-state is set to 2023-11-06T18:44:48Z.
107:debug:configure Executing org.macports.configure (alex)
108:debug:configure Environment:
109:debug:configure CABAL_CONFIG='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config'
110:debug:configure CC='/usr/bin/clang'
111:debug:configure CC_PRINT_OPTIONS='YES'
112:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.CC_PRINT_OPTIONS'
113:debug:configure CFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64'
114:debug:configure CPATH='/opt/local/include'
115:debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk'
116:debug:configure CXX='/usr/bin/clang++'
117:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64'
118:debug:configure DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'
119:debug:configure F90FLAGS='-pipe -Os -m64'
120:debug:configure FCFLAGS='-pipe -Os -m64'
121:debug:configure FFLAGS='-pipe -Os -m64'
122:debug:configure GHC='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin/ghc'
123:debug:configure INSTALL='/usr/bin/install -c'
124:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64'
125:debug:configure LIBRARY_PATH='/opt/local/lib'
126:debug:configure MACOSX_DEPLOYMENT_TARGET='14.0'
127:debug:configure OBJC='/usr/bin/clang'
128:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64'
129:debug:configure OBJCXX='/usr/bin/clang++'
130:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk -arch arm64'
131:debug:configure PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
132:debug:configure SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk'
133:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config configure
134:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config configure
135:debug:configure Executing portconfigure::configure_finish
136:debug:configure Privilege de-escalation not attempted as not running as root.
137:debug:build build phase started at Tue Nov  7 10:52:00 CST 2023
138:notice:build --->  Building alex
139:debug:build Executing org.macports.build (alex)
140:debug:build Environment:
141:debug:build CABAL_CONFIG='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config'
142:debug:build CC_PRINT_OPTIONS='YES'
143:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.CC_PRINT_OPTIONS'
144:debug:build CPATH='/opt/local/include'
145:debug:build DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'
146:debug:build GHC='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin/ghc'
147:debug:build LIBRARY_PATH='/opt/local/lib'
148:debug:build MACOSX_DEPLOYMENT_TARGET='14.0'
149:debug:build PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
150:debug:build SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk'
151:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
152:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
153:info:build Resolving dependencies...
154:info:build Build profile: -w ghc-9.6.3 -O1
155:info:build In order, the following will be built (use -v for more details):
156:info:build  - alex-3.3.0.0 (exe:alex) (first run)
157:info:build Configuring executable 'alex' for alex-3.3.0.0..
158:info:build Preprocessing executable 'alex' for alex-3.3.0.0..
159:info:build Building executable 'alex' for alex-3.3.0.0..
160:info:build [ 1 of 22] Compiling Data.Ranged.Boundaries ( src/Data/Ranged/Boundaries.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Data/Ranged/Boundaries.o )
161:info:build [ 2 of 22] Compiling Data.Ranged.Ranges ( src/Data/Ranged/Ranges.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Data/Ranged/Ranges.o )
162:info:build [ 3 of 22] Compiling Data.Ranged.RangedSet ( src/Data/Ranged/RangedSet.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Data/Ranged/RangedSet.o )
163:info:build [ 4 of 22] Compiling Data.Ranged      ( src/Data/Ranged.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Data/Ranged.o )
164:info:build [ 5 of 22] Compiling Map              ( src/Map.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Map.o )
165:info:build [ 6 of 22] Compiling Paths_alex       ( src/Paths_alex.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Paths_alex.o )
166:info:build [ 7 of 22] Compiling Set              ( src/Set.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Set.o )
167:info:build [ 8 of 22] Compiling DFS              ( src/DFS.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/DFS.o )
168:info:build [ 9 of 22] Compiling Sort             ( src/Sort.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Sort.o )
169:info:build [10 of 22] Compiling UTF8             ( src/UTF8.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/UTF8.o )
170:info:build [11 of 22] Compiling CharSet          ( src/CharSet.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/CharSet.o )
171:info:build [12 of 22] Compiling Util             ( src/Util.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Util.o )
172:info:build [13 of 22] Compiling AbsSyn           ( src/AbsSyn.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/AbsSyn.o )
173:info:build [14 of 22] Compiling ParseMonad       ( src/ParseMonad.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/ParseMonad.o )
174:info:build src/ParseMonad.hs:53:35: warning: [GHC-62161] [-Wincomplete-uni-patterns]
175:info:build     Pattern match(es) are non-exhaustive
176:info:build     In a pattern binding: Patterns of type ‘[Word8]’ not matched: []
177:info:build    |
178:info:build 53 |                                   (b:bs) = UTF8.encode c
179:info:build    |                                   ^^^^^^^^^^^^^^^^^^^^^^
180:info:build [15 of 22] Compiling Scan             ( src/Scan.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Scan.o )
181:info:build [16 of 22] Compiling Parser           ( src/Parser.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Parser.o )
182:info:build [17 of 22] Compiling Output           ( src/Output.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Output.o )
183:info:build [18 of 22] Compiling NFA              ( src/NFA.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/NFA.o )
184:info:build [19 of 22] Compiling Info             ( src/Info.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Info.o )
185:info:build [20 of 22] Compiling DFAMin           ( src/DFAMin.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/DFAMin.o )
186:info:build [21 of 22] Compiling DFA              ( src/DFA.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/DFA.o )
187:info:build [22 of 22] Compiling Main             ( src/Main.hs, /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex-tmp/Main.o )
188:info:build [23 of 23] Linking /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex
189:info:build ld: warning: ignoring duplicate libraries: '-lm'
190:info:build ld: warning: search path '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib' not found
191:info:build ld: Undefined symbols:
192:info:build   _iconv, referenced from:
193:info:build       _hs_iconv in libHSbase-4.18.1.0.a[5](iconv.o)
194:info:build   _iconv_close, referenced from:
195:info:build       _hs_iconv_close in libHSbase-4.18.1.0.a[5](iconv.o)
196:info:build   _iconv_open, referenced from:
197:info:build       _hs_iconv_open in libHSbase-4.18.1.0.a[5](iconv.o)
198:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
199:info:build ghc: `clang' failed in phase `Linker'. (Exit code: 1)
200:info:build Error: cabal-prebuilt: Failed to build exe:alex from alex-3.3.0.0.
201:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
202:info:build Exit code: 1
203:error:build Failed to build alex: command execution failed
204:debug:build Error code: CHILDSTATUS 31817 1
205:debug:build Backtrace: command execution failed
206:debug:build     while executing
207:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
208:debug:build     invoked from within
209:debug:build "command_exec -callback portprogress::target_progress_callback build"
210:debug:build     (procedure "portbuild::build_main" line 8)
211:debug:build     invoked from within
212:debug:build "$procedure $targetname"
213:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/main.log for details.
214version:1
215:debug:clean Starting logging for alex @3.3.0.0_0+haskell_cabal_use_prebuilt
216:debug:sysinfo macOS 14.0 (darwin/23.0.0) arch arm
217:debug:sysinfo MacPorts 2.8.1
218:debug:sysinfo Xcode 15.0, CLT none
219:debug:sysinfo SDK 14
220:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 14.0
221:debug:clean Attempting ln -sf /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/devel/alex/work
222:debug:clean dropping privileges: euid changed to 505, egid changed to 501.
223:debug:main Executing org.macports.main (alex)
224:debug:main Privilege de-escalation not attempted as not running as root.
225:debug:archivefetch archivefetch phase started at Thu Dec 28 05:15:44 CST 2023
226:msg:archivefetch --->  Fetching archive for alex
227:debug:archivefetch Executing org.macports.archivefetch (alex)
228:debug:archivefetch euid/egid changed to: 0/0
229:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
230:debug:archivefetch euid/egid changed to: 505/501
231:info:archivefetch --->  alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
232:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from https://packages.macports.org/alex
233:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
234:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from http://jog.id.packages.macports.org/macports/packages/alex
235:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
236:msg:archivefetch --->  Attempting to fetch alex-3.3.0.0_0+haskell_cabal_use_prebuilt.darwin_23.arm64.tbz2 from https://kmq.jp.packages.macports.org/alex
237:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
238:debug:archivefetch Privilege de-escalation not attempted as not running as root.
239:debug:archivefetch Skipping completed org.macports.fetch (alex)
240:debug:archivefetch Privilege de-escalation not attempted as not running as root.
241:debug:archivefetch Skipping completed org.macports.checksum (alex)
242:debug:archivefetch Privilege de-escalation not attempted as not running as root.
243:debug:archivefetch Skipping completed org.macports.extract (alex)
244:debug:archivefetch Privilege de-escalation not attempted as not running as root.
245:debug:archivefetch Skipping completed org.macports.patch (alex)
246:debug:archivefetch Privilege de-escalation not attempted as not running as root.
247:debug:archivefetch Skipping completed org.macports.configure (alex)
248:debug:archivefetch Privilege de-escalation not attempted as not running as root.
249:debug:build build phase started at Thu Dec 28 05:15:51 CST 2023
250:notice:build --->  Building alex
251:debug:build Executing org.macports.build (alex)
252:debug:build Environment:
253:debug:build CABAL_CONFIG='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config'
254:debug:build CC_PRINT_OPTIONS='YES'
255:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.CC_PRINT_OPTIONS'
256:debug:build CPATH='/opt/local/include'
257:debug:build DEVELOPER_DIR='/Applications/Xcode.app/Contents/Developer'
258:debug:build GHC='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin/ghc'
259:debug:build LIBRARY_PATH='/opt/local/lib'
260:debug:build MACOSX_DEPLOYMENT_TARGET='14.0'
261:debug:build PATH='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/bin:/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin'
262:debug:build SDKROOT='/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.sdk'
263:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
264:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
265:info:build Warning: The package list for 'hackage.haskell.org' is 50 days old.
266:info:build Run 'cabal update' to get the latest list of available packages.
267:info:build Resolving dependencies...
268:info:build Build profile: -w ghc-9.6.3 -O1
269:info:build In order, the following will be built (use -v for more details):
270:info:build  - alex-3.3.0.0 (exe:alex) (configuration changed)
271:info:build Configuring executable 'alex' for alex-3.3.0.0..
272:info:build Preprocessing executable 'alex' for alex-3.3.0.0..
273:info:build Building executable 'alex' for alex-3.3.0.0..
274:info:build [23 of 23] Linking /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist/build/aarch64-osx/ghc-9.6.3/alex-3.3.0.0/x/alex/build/alex/alex
275:info:build ld: warning: ignoring duplicate libraries: '-lm'
276:info:build ld: warning: search path '/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/lib' not found
277:info:build ld: Undefined symbols:
278:info:build   _iconv, referenced from:
279:info:build       _hs_iconv in libHSbase-4.18.1.0.a[5](iconv.o)
280:info:build   _iconv_close, referenced from:
281:info:build       _hs_iconv_close in libHSbase-4.18.1.0.a[5](iconv.o)
282:info:build   _iconv_open, referenced from:
283:info:build       _hs_iconv_open in libHSbase-4.18.1.0.a[5](iconv.o)
284:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
285:info:build ghc: `clang' failed in phase `Linker'. (Exit code: 1)
286:info:build Error: cabal-prebuilt: Failed to build exe:alex from alex-3.3.0.0.
287:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/alex-3.3.0.0" && /opt/local/bin/cabal-prebuilt --config-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/.home/.cabal/config build alex -j8 --builddir=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/work/dist --prefix=/opt/local --enable-relocatable --bindir=/opt/local/bin --datadir=/opt/local/share/alex
288:info:build Exit code: 1
289:error:build Failed to build alex: command execution failed
290:debug:build Error code: CHILDSTATUS 2423 1
291:debug:build Backtrace: command execution failed
292:debug:build     while executing
293:debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring"
294:debug:build     invoked from within
295:debug:build "command_exec -callback portprogress::target_progress_callback build"
296:debug:build     (procedure "portbuild::build_main" line 8)
297:debug:build     invoked from within
298:debug:build "$procedure $targetname"
299:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_alex/alex/main.log for details.