Ticket #60359: main.log

File main.log, 18.8 KB (added by oojmail-jerry, 5 years ago)

log for hs-zlib build

Line 
1version:1
2:debug:sysinfo macOS 10.15 (darwin/19.4.0) arch i386
3:debug:sysinfo MacPorts 2.6.2
4:debug:sysinfo Xcode 11.4
5:debug:sysinfo SDK 10.15
6:debug:sysinfo MACOSX_DEPLOYMENT_TARGET: 10.15
7:debug:clean epoch: in tree: 0 installed: 0
8:debug:clean ghc 8.8.3_0 exists in the ports tree
9:debug:clean ghc 8.8.3_0  is the latest installed
10:debug:clean ghc 8.8.3_0  is active
11:debug:clean Merging existing variants '' into variants
12:debug:clean new fully merged portvariants:
13:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/lang/ghc
14:debug:clean OS darwin/19.4.0 (macOS 10.15) arch i386
15:debug:clean Sourcing PortGroup gpg_verify 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/gpg_verify-1.0.tcl
16:debug:clean only one arch supported, so not adding the default universal variant
17:debug:clean Running callback portconfigure::add_automatic_compiler_dependencies
18:debug:clean Finished running callback portconfigure::add_automatic_compiler_dependencies
19:debug:clean Running callback portbuild::add_automatic_buildsystem_dependencies
20:debug:clean Finished running callback portbuild::add_automatic_buildsystem_dependencies
21:debug:clean Running callback portstartupitem::add_notes
22:debug:clean Finished running callback portstartupitem::add_notes
23:debug:clean Running callback gpg_verify.add_dependencies
24:debug:clean Finished running callback gpg_verify.add_dependencies
25:debug:clean No need to upgrade! ghc 8.8.3_0 >= ghc 8.8.3_0
26:debug:clean epoch: in tree: 0 installed: 0
27:debug:clean zlib 1.2.11_0 exists in the ports tree
28:debug:clean zlib 1.2.11_0  is the latest installed
29:debug:clean zlib 1.2.11_0  is active
30:debug:clean Merging existing variants '' into variants
31:debug:clean new fully merged portvariants:
32:debug:clean Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/archivers/zlib
33:debug:clean OS darwin/19.4.0 (macOS 10.15) arch i386
34:debug:clean Sourcing PortGroup xcodeversion 1.0 from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
35:debug:clean adding the default universal variant
36:debug:clean Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
37:debug:clean Running callback portconfigure::add_automatic_compiler_dependencies
38:debug:clean Finished running callback portconfigure::add_automatic_compiler_dependencies
39:debug:clean Running callback portbuild::add_automatic_buildsystem_dependencies
40:debug:clean Finished running callback portbuild::add_automatic_buildsystem_dependencies
41:debug:clean Running callback portstartupitem::add_notes
42:debug:clean Finished running callback portstartupitem::add_notes
43:debug:clean No need to upgrade! zlib 1.2.11_0 >= zlib 1.2.11_0
44:msg:clean --->  Computing dependencies for hs-zlib:info:clean .:debug:clean hs-zlib has no conflicts
45:debug:clean Searching for dependency: ghc
46:debug:clean Found Dependency: receipt exists for ghc
47:debug:clean Searching for dependency: zlib
48:debug:clean Found Dependency: receipt exists for zlib
49:debug:main Executing org.macports.main (hs-zlib)
50:debug:main dropping privileges: euid changed to 502, egid changed to 20.
51:debug:archivefetch archivefetch phase started at Thu Apr 16 09:49:17 CST 2020
52:msg:archivefetch --->  Fetching archive for hs-zlib
53:debug:archivefetch Executing org.macports.archivefetch (hs-zlib)
54:debug:archivefetch euid/egid changed to: 0/0
55:debug:archivefetch chowned /opt/local/var/macports/incoming to macports
56:debug:archivefetch euid/egid changed to: 502/20
57:info:archivefetch --->  hs-zlib-0.5.4.1_4.darwin_19.x86_64.tbz2 doesn't seem to exist in /opt/local/var/macports/incoming/verified
58:msg:archivefetch --->  Attempting to fetch hs-zlib-0.5.4.1_4.darwin_19.x86_64.tbz2 from https://pek.cn.packages.macports.org/macports/packages/hs-zlib
59:debug:archivefetch Fetching archive failed: The requested URL returned error: 404
60:msg:archivefetch --->  Attempting to fetch hs-zlib-0.5.4.1_4.darwin_19.x86_64.tbz2 from http://kmq.jp.packages.macports.org/hs-zlib
61:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
62:msg:archivefetch --->  Attempting to fetch hs-zlib-0.5.4.1_4.darwin_19.x86_64.tbz2 from http://aus.us.packages.macports.org/macports/packages/hs-zlib
63:debug:archivefetch Fetching archive failed: The requested URL returned error: 404 Not Found
64:debug:archivefetch Privilege de-escalation not attempted as not running as root.
65:debug:fetch fetch phase started at Thu Apr 16 09:49:23 CST 2020
66:notice:fetch --->  Fetching distfiles for hs-zlib
67:debug:fetch Executing org.macports.fetch (hs-zlib)
68:debug:fetch Privilege de-escalation not attempted as not running as root.
69:debug:checksum checksum phase started at Thu Apr 16 09:49:23 CST 2020
70:notice:checksum --->  Verifying checksums for hs-zlib
71:debug:checksum Executing org.macports.checksum (hs-zlib)
72:info:checksum --->  Checksumming zlib-0.5.4.1.tar.gz
73:debug:checksum Calculated (rmd160) is 9ed49e79e239604958a9c385cca75747fafc2713
74:debug:checksum Correct (rmd160) checksum for zlib-0.5.4.1.tar.gz
75:debug:checksum Calculated (sha256) is cca365e4c52c90be41a5754943134da5ce6c60bb52fa00c128fd118e0505a550
76:debug:checksum Correct (sha256) checksum for zlib-0.5.4.1.tar.gz
77:debug:checksum Privilege de-escalation not attempted as not running as root.
78:debug:extract extract phase started at Thu Apr 16 09:49:23 CST 2020
79:notice:extract --->  Extracting hs-zlib
80:debug:extract Executing org.macports.extract (hs-zlib)
81:info:extract --->  Extracting zlib-0.5.4.1.tar.gz
82:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/haskell-platform/zlib-0.5.4.1.tar.gz'
83:debug:extract Environment:
84:debug:extract CC_PRINT_OPTIONS='YES'
85:debug:extract CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/.CC_PRINT_OPTIONS'
86:debug:extract CPATH='/opt/local/include'
87:debug:extract DEVELOPER_DIR='/Library/Developer/CommandLineTools'
88:debug:extract LIBRARY_PATH='/opt/local/lib'
89:debug:extract MACOSX_DEPLOYMENT_TARGET='10.15'
90:debug:extract SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
91:info:extract Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/haskell-platform/zlib-0.5.4.1.tar.gz' | /usr/bin/tar -xf -
92:debug:extract system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/haskell-platform/zlib-0.5.4.1.tar.gz' | /usr/bin/tar -xf -
93:debug:extract euid/egid changed to: 0/0
94:debug:extract chowned /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work to macports
95:debug:extract euid/egid changed to: 502/20
96:debug:extract Privilege de-escalation not attempted as not running as root.
97:debug:patch patch phase started at Thu Apr 16 09:49:23 CST 2020
98:debug:patch Executing org.macports.patch (hs-zlib)
99:debug:patch Privilege de-escalation not attempted as not running as root.
100:debug:configure configure phase started at Thu Apr 16 09:49:23 CST 2020
101:notice:configure --->  Configuring hs-zlib
102:debug:configure Preferred compilers: clang macports-clang-9.0 macports-clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
103:debug:configure Using compiler 'Xcode Clang'
104:debug:configure Executing proc-pre-org.macports.configure-configure-0
105:debug:configure Listing installed haskell packages
106:debug:configure system: /opt/local/bin/ghc-pkg list
107:info:configure /opt/local/lib/ghc-8.8.3/package.conf.d
108:info:configure     Cabal-3.0.1.0
109:info:configure     array-0.5.4.0
110:info:configure     base-4.13.0.0
111:info:configure     binary-0.8.7.0
112:info:configure     bytestring-0.10.10.0
113:info:configure     containers-0.6.2.1
114:info:configure     deepseq-1.4.4.0
115:info:configure     directory-1.3.6.0
116:info:configure     filepath-1.4.2.1
117:info:configure     (ghc-8.8.3)
118:info:configure     ghc-boot-8.8.3
119:info:configure     ghc-boot-th-8.8.3
120:info:configure     ghc-compact-0.1.0.0
121:info:configure     ghc-heap-8.8.3
122:info:configure     ghc-prim-0.5.3
123:info:configure     ghci-8.8.3
124:info:configure     haskeline-0.7.5.0
125:info:configure     hpc-0.6.0.3
126:info:configure     integer-gmp-1.0.2.0
127:info:configure     libiserv-8.8.3
128:info:configure     mtl-2.2.2
129:info:configure     parsec-3.1.14.0
130:info:configure     pretty-1.1.3.6
131:info:configure     process-1.6.8.0
132:info:configure     rts-1.0
133:info:configure     stm-2.5.0.0
134:info:configure     template-haskell-2.15.0.0
135:info:configure     terminfo-0.4.1.4
136:info:configure     text-1.2.4.0
137:info:configure     time-1.9.3
138:info:configure     transformers-0.5.6.2
139:info:configure     unix-2.7.2.2
140:info:configure     xhtml-3000.2.2.1
141:debug:configure Running ghc-pkg check
142:debug:configure system: /opt/local/bin/ghc-pkg check
143:debug:configure Executing org.macports.configure (hs-zlib)
144:debug:configure Environment:
145:debug:configure CC='/usr/bin/clang'
146:debug:configure CC_PRINT_OPTIONS='YES'
147:debug:configure CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/.CC_PRINT_OPTIONS'
148:debug:configure CFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
149:debug:configure CPATH='/opt/local/include'
150:debug:configure CPPFLAGS='-I/opt/local/include -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
151:debug:configure CXX='/usr/bin/clang++'
152:debug:configure CXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
153:debug:configure DEVELOPER_DIR='/Library/Developer/CommandLineTools'
154:debug:configure F90FLAGS='-pipe -Os -m64'
155:debug:configure FCFLAGS='-pipe -Os -m64'
156:debug:configure FFLAGS='-pipe -Os -m64'
157:debug:configure INSTALL='/usr/bin/install -c'
158:debug:configure LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
159:debug:configure LIBRARY_PATH='/opt/local/lib'
160:debug:configure MACOSX_DEPLOYMENT_TARGET='10.15'
161:debug:configure OBJC='/usr/bin/clang'
162:debug:configure OBJCFLAGS='-pipe -Os -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
163:debug:configure OBJCXX='/usr/bin/clang++'
164:debug:configure OBJCXXFLAGS='-pipe -Os -stdlib=libc++ -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk -arch x86_64'
165:debug:configure SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
166:info:configure Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/zlib-0.5.4.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang
167:debug:configure system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/zlib-0.5.4.1" && runhaskell Setup configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v --enable-library-profiling --with-gcc=/usr/bin/clang
168:info:configure Using Parsec parser
169:info:configure Configuring zlib-0.5.4.1...
170:info:configure Dependency base >=3 && <5: using base-4.13.0.0
171:info:configure Dependency bytestring >=0.9 && <0.12: using bytestring-0.10.10.0
172:info:configure Source component graph: component lib
173:info:configure Configured component graph:
174:info:configure     component zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe
175:info:configure         include base-4.13.0.0
176:info:configure         include bytestring-0.10.10.0
177:info:configure Linked component graph:
178:info:configure     unit zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe
179:info:configure         include base-4.13.0.0
180:info:configure         include bytestring-0.10.10.0
181:info:configure         Codec.Compression.GZip=zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe:Codec.Compression.GZip,Codec.Compression.Zlib=zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe:Codec.Compression.Zlib,Codec.Compression.Zlib.Internal=zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe:Codec.Compression.Zlib.Internal,Codec.Compression.Zlib.Raw=zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe:Codec.Compression.Zlib.Raw
182:info:configure Ready component graph:
183:info:configure     definite zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe
184:info:configure         depends base-4.13.0.0
185:info:configure         depends bytestring-0.10.10.0
186:info:configure Using Cabal-3.0.1.0 compiled by ghc-8.8
187:info:configure Using compiler: ghc-8.8.3
188:info:configure Using install prefix: /opt/local
189:info:configure Executables installed in: /opt/local/bin
190:info:configure Libraries installed in:
191:info:configure /opt/local/lib/x86_64-osx-ghc-8.8.3/zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe
192:info:configure Dynamic Libraries installed in: /opt/local/lib/x86_64-osx-ghc-8.8.3
193:info:configure Private executables installed in:
194:info:configure /opt/local/libexec/x86_64-osx-ghc-8.8.3/zlib-0.5.4.1
195:info:configure Data files installed in: /opt/local/share/x86_64-osx-ghc-8.8.3/zlib-0.5.4.1
196:info:configure Documentation installed in:
197:info:configure /opt/local/share/doc/x86_64-osx-ghc-8.8.3/zlib-0.5.4.1
198:info:configure Configuration files installed in: /opt/local/etc
199:info:configure No alex found
200:info:configure Using ar found on system at: /usr/bin/ar
201:info:configure No c2hs found
202:info:configure No cpphs found
203:info:configure No doctest found
204:info:configure Using gcc version 11.0.3 given by user at: /usr/bin/clang
205:info:configure Using ghc version 8.8.3 given by user at: /opt/local/bin/ghc
206:info:configure Using ghc-pkg version 8.8.3 found on system at: /opt/local/bin/ghc-pkg
207:info:configure No ghcjs found
208:info:configure No ghcjs-pkg found
209:info:configure No greencard found
210:info:configure Using haddock version 2.23.0 found on system at: /opt/local/bin/haddock
211:info:configure No happy found
212:info:configure Using haskell-suite found on system at: haskell-suite-dummy-location
213:info:configure Using haskell-suite-pkg found on system at: haskell-suite-pkg-dummy-location
214:info:configure No hmake found
215:info:configure Using hpc version 0.67 found on system at: /opt/local/bin/hpc
216:info:configure Using hsc2hs version 0.68.5 found on system at: /opt/local/bin/hsc2hs
217:info:configure No hscolour found
218:info:configure No jhc found
219:info:configure Using ld found on system at: /usr/bin/ld
220:info:configure Using pkg-config version 0.29.2 found on system at: /opt/local/bin/pkg-config
221:info:configure Using runghc version 8.8.3 found on system at: /opt/local/bin/runghc
222:info:configure Using strip found on system at: /usr/bin/strip
223:info:configure Using tar found on system at: /usr/bin/tar
224:info:configure No uhc found
225:debug:configure Privilege de-escalation not attempted as not running as root.
226:debug:build build phase started at Thu Apr 16 09:49:24 CST 2020
227:notice:build --->  Building hs-zlib
228:debug:build Executing org.macports.build (hs-zlib)
229:debug:build Environment:
230:debug:build CC_PRINT_OPTIONS='YES'
231:debug:build CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/.CC_PRINT_OPTIONS'
232:debug:build CPATH='/opt/local/include'
233:debug:build DEVELOPER_DIR='/Library/Developer/CommandLineTools'
234:debug:build LIBRARY_PATH='/opt/local/lib'
235:debug:build MACOSX_DEPLOYMENT_TARGET='10.15'
236:debug:build SDKROOT='/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk'
237:info:build Executing:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/zlib-0.5.4.1" && runhaskell Setup build -v
238:debug:build system:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/zlib-0.5.4.1" && runhaskell Setup build -v
239:info:build Component build order: library
240:info:build /opt/local/bin/ghc-pkg init dist/package.conf.inplace
241:info:build creating dist/build
242:info:build creating dist/build/autogen
243:info:build creating dist/build/autogen
244:info:build Preprocessing library for zlib-0.5.4.1..
245:info:build creating dist/build/Codec/Compression/Zlib
246:info:build creating dist/build/Codec/Compression
247:info:build creating dist/build/Codec
248:info:build creating dist/build/Codec/Compression
249:info:build creating dist/build/Codec/Compression/Zlib
250:info:build /opt/local/bin/hsc2hs '@dist/build/Codec/Compression/Zlib/hsc2hs-response50841-2.txt'
251:info:build Building library for zlib-0.5.4.1..
252:info:build creating dist/build
253:info:build /opt/local/bin/ghc --make -fbuilding-cabal-package -O -static -dynamic-too -dynosuf dyn_o -dynhisuf dyn_hi -outputdir dist/build -odir dist/build -hidir dist/build -stubdir dist/build -i -idist/build -i. -idist/build/autogen -idist/build/global-autogen -Idist/build/autogen -Idist/build/global-autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -this-unit-id zlib-0.5.4.1-2P0ibyUcWqz1wicAOFZXSe -hide-all-packages -Wmissing-home-modules -no-user-package-db -package-db dist/package.conf.inplace -package-id base-4.13.0.0 -package-id bytestring-0.10.10.0 -XHaskell98 -XCPP -XForeignFunctionInterface Codec.Compression.GZip Codec.Compression.Zlib Codec.Compression.Zlib.Raw Codec.Compression.Zlib.Internal Codec.Compression.Zlib.Stream -Wall
254:info:build [1 of 5] Compiling Codec.Compression.Zlib.Stream ( dist/build/Codec/Compression/Zlib/Stream.hs, dist/build/Codec/Compression/Zlib/Stream.o )
255:info:build Codec/Compression/Zlib/Stream.hsc:310:3: error:
256:info:build     ‘fail’ is not a (visible) method of class ‘Monad’
257:info:build     |
258:info:build 310 |   fail   = (finalise >>) . failZ
259:info:build     |   ^^^^
260:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/work/zlib-0.5.4.1" && runhaskell Setup build -v
261:info:build Exit code: 1
262:error:build Failed to build hs-zlib: command execution failed
263:debug:build Error code: CHILDSTATUS 50840 1
264:debug:build Backtrace: command execution failed
265:debug:build     while executing
266:debug:build "system {*}$notty {*}$nice $fullcmdstring"
267:debug:build     invoked from within
268:debug:build "command_exec build"
269:debug:build     (procedure "portbuild::build_main" line 8)
270:debug:build     invoked from within
271:debug:build "$procedure $targetname"
272:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_haskell-platform/hs-zlib/main.log for details.