[MacPorts] #54363: hs-bytestring-show: fails on 10.7

MacPorts noreply at macports.org
Thu Jun 22 07:31:38 UTC 2017


#54363: hs-bytestring-show: fails on 10.7
--------------------+--------------------------------
 Reporter:  mojca   |      Owner:  kencu
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:
 Keywords:          |       Port:  hs-bytestring-show
--------------------+--------------------------------
 Full log is [https://build.macports.org/builders/ports-10.7_x86_64_legacy-
 builder/builds/37061 here]:

 {{{
 --->  Configuring hs-bytestring-show
 DEBUG: Preferred compilers: clang llvm-gcc-4.2 macports-clang-3.4
 macports-llvm-gcc-4.2 apple-gcc-4.2
 DEBUG: Using compiler 'Xcode Clang'
 DEBUG: Executing proc-pre-org.macports.configure-configure-0
 DEBUG: Listing installed haskell packages
 DEBUG: system: /opt/local/bin/ghc-pkg list
 /opt/local/lib/ghc-7.8.3/package.conf.d:
     Cabal-1.18.1.3
     array-0.5.0.0
     base-4.7.0.1
     bin-package-db-0.0.0.0
     binary-0.7.1.0
     rts-1.0
     bytestring-0.10.4.0
     containers-0.5.5.1
     deepseq-1.3.0.2
     directory-1.2.1.0
     filepath-1.3.0.2
     (ghc-7.8.3)
     ghc-prim-0.3.1.0
     haskeline-0.7.1.2
     (haskell2010-1.1.2.0)
     (haskell98-2.0.0.3)
     hoopl-3.10.0.1
     hpc-0.6.0.1
     integer-gmp-0.5.1.0
     old-locale-1.0.0.6
     old-time-1.1.0.2
     pretty-1.1.1.1
     process-1.2.0.0
     template-haskell-2.9.0.0
     terminfo-0.4.0.0
     time-1.4.2
     transformers-0.3.0.0
     unix-2.7.0.1
     xhtml-3000.2.1

 DEBUG: Running ghc-pkg check
 DEBUG: system: /opt/local/bin/ghc-pkg check
 DEBUG: Executing org.macports.configure (hs-bytestring-show)
 DEBUG: Environment:
 CC='/usr/bin/clang'
 CC_PRINT_OPTIONS='YES'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_hs-bytestring-show
 /hs-bytestring-show/work/.CC_PRINT_OPTIONS'
 CFLAGS='-pipe -Os -arch x86_64'
 CPATH='/opt/local/include'
 CPPFLAGS='-I/opt/local/include'
 CXX='/usr/bin/clang++'
 CXXFLAGS='-pipe -Os -stdlib=libstdc++ -arch x86_64'
 F77FLAGS='-m64'
 F90FLAGS='-pipe -Os -m64'
 FCFLAGS='-pipe -Os -m64'
 FFLAGS='-pipe -Os'
 INSTALL='/usr/bin/install -c'
 LDFLAGS='-L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64'
 LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.7'
 OBJC='/usr/bin/clang'
 OBJCFLAGS='-pipe -Os -arch x86_64'
 OBJCXX='/usr/bin/clang++'
 OBJCXXFLAGS='-pipe -Os -stdlib=libstdc++ -arch x86_64'
 Executing:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_hs-bytestring-show
 /hs-bytestring-show/work/bytestring-show-0.3.5.6" && runhaskell Setup
 configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v
 --enable-library-profiling --with-gcc=/usr/bin/clang
 DEBUG: system:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_hs-bytestring-show
 /hs-bytestring-show/work/bytestring-show-0.3.5.6" && runhaskell Setup
 configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v
 --enable-library-profiling --with-gcc=/usr/bin/clang

 Setup.lhs:2:3: Warning:
     Module ‘System.Cmd’ is deprecated: Use "System.Process" instead

 Setup.lhs:4:50: Warning:
     In the use of ‘runTests’
     (imported from Distribution.Simple, but defined in
 Distribution.Simple.UserHooks):
     Deprecated: "Please use the new testing interface instead!"
 Setup: Setup: could not execute: /opt/local/bin/clang-mp-3.4
 Command failed:  cd "/opt/local/var/macports/build
 /_opt_bblocal_var_buildworker_ports_build_ports_devel_hs-bytestring-show
 /hs-bytestring-show/work/bytestring-show-0.3.5.6" && runhaskell Setup
 configure --prefix=/opt/local --with-compiler=/opt/local/bin/ghc -v
 --enable-library-profiling --with-gcc=/usr/bin/clang
 Exit code: 1
 Error: Failed to configure hs-bytestring-show: configure failure: command
 execution failed
 }}}

 Note that the system clang was apparently too old to build `ghc` itself on
 10.7, so maybe some haskell PortGroup could take care of blacklisting some
 compilers?

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


More information about the macports-tickets mailing list