Opened 10 years ago

Closed 10 years ago

#47384 closed defect (fixed)

hs-missingh: build fails

Reported by: lpsinger (Leo Singer) Owned by: neverpanic (Clemens Lang)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: haspatch Cc:
Port: hs-missingh

Description

Sorry, I don't know any haskell at all. The relevant part of the log file (attached) seems to be:

:info:build Component build order: library
:info:build creating dist/build
:info:build creating dist/build/autogen
:info:build Building MissingH-1.2.0.2...
:info:build Preprocessing library MissingH-1.2.0.2...
:info:build Building library...
:info:build /opt/local/bin/ghc --info
:info:build /opt/local/bin/ghc --info
:info:build creating dist/build
: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 -isrc -idist/build/autogen -Idist/build/autogen -Idist/build -optP-include -optPdist/build/autogen/cabal_macros.h -package-name MissingH-1.2.0.2 -hide-all-packages -no-user-package-db -package-db dist/package.conf.inplace -package-id HUnit-1.2.5.2-5968ced93139d48b488414df902b5d37 -package-id array-0.5.0.0-98aa445e59f3eb0c886795ff07406d84 -package-id base-4.7.0.1-c64d224738ec7af4085e89ca9c12c37b -package-id containers-0.5.5.1-23e2a2b94d6e452c773209f31d8672c5 -package-id directory-1.2.1.0-bfdf4eb032907ecaf13c26632da610b8 -package-id filepath-1.3.0.2-1580a61d3226e4be45fe2130dc2881e3 -package-id hslogger-1.2.1-b00af7219bff52fcc1d03b748b21b4e6 -package-id mtl-2.1.3.1-8bcc0591131896cfc8761a93703d4c61 -package-id network-2.4.2.3-32a5aa3090556d5576d97b8fb39cd2fb -package-id old-locale-1.0.0.6-09baf1dbc5be8338e5eba7c5bb515505 -package-id old-time-1.1.0.2-eab97c1e6d2cda84575b30ce4bfcfaf2 -package-id parsec-3.1.5-7f68e462a44d5c23f85ca591fdbef7e5 -package-id process-1.2.0.0-4870cdb503fdbb301e26c7b926e216b2 -package-id random-1.0.1.1-9be8483f214a02e705ff87b8bb47191a -package-id regex-compat-0.95.1-8788bbd7c1919ab7ed5bf0201a773ef6 -package-id time-1.4.2-bf925e935c287d0b75398fe297453c28 -package-id unix-2.7.0.1-f08a326ca9af10483c3b264aeb4b091c -XHaskell98 -XExistentialQuantification -XOverlappingInstances -XUndecidableInstances -XCPP -XRank2Types -XMultiParamTypeClasses -XFlexibleInstances -XFlexibleContexts -XScopedTypeVariables Data.String.Utils System.IO.Utils System.IO.Binary Data.List.Utils System.Daemon Text.ParserCombinators.Parsec.Utils Network.Email.Mailbox Control.Concurrent.Thread.Utils Network.Email.Sendmail Data.CSV System.Cmd.Utils Data.BinPacking Data.Progress.Tracker Data.Progress.Meter Data.Quantity Data.Map.Utils System.Path System.Path.NameManip System.Path.WildMatch System.Path.Glob System.Time.Utils System.Time.ParseDate Network.Utils Network.SocketServer Data.Either.Utils Data.Maybe.Utils Data.Tuple.Utils Data.Bits.Utils Data.Hash.CRC32.Posix Data.Hash.CRC32.GZip Data.Hash.MD5 Data.Hash.MD5.Zord64_HARD Data.Compression.Inflate System.FileArchive.GZip System.IO.HVFS System.IO.HVFS.Combinators System.IO.HVFS.InstanceHelpers System.IO.HVFS.Utils System.IO.HVIO System.IO.StatCompat System.IO.WindowsCompat System.IO.PlafCompat System.Posix.Consts System.Debian System.Debian.ControlParser Data.MIME.Types System.Console.GetOpt.Utils
:info:build [26 of 47] Compiling System.Cmd.Utils ( src/System/Cmd/Utils.hs, dist/build/System/Cmd/Utils.o )
:info:build 
:info:build src/System/Cmd/Utils.hs:328:23:
:info:build     Constructor ‘Terminated’ should have 2 arguments, but has been given 1
:info:build     In the pattern: Terminated sig
:info:build     In the pattern: Just (Terminated sig)
:info:build     In a case alternative:
:info:build         Just (Terminated sig)
:info:build           -> warnfail fp args $ "Terminated by signal " ++ show sig
:info:build 
:info:build src/System/Cmd/Utils.hs:354:13:
:info:build     Constructor ‘Terminated’ should have 2 arguments, but has been given 1
:info:build     In the pattern: Terminated s
:info:build     In a case alternative:
:info:build         Terminated s -> cmdsignalled "safeSystem" command args s
:info:build     In a stmt of a 'do' block:
:info:build       case ec of {
:info:build         Exited ExitSuccess -> return ()
:info:build         Exited (ExitFailure fc) -> cmdfailed "safeSystem" command args fc
:info:build         Terminated s -> cmdsignalled "safeSystem" command args s
:info:build         Stopped s -> cmdsignalled "safeSystem" command args s }

Attachments (2)

main.log (38.3 KB) - added by lpsinger (Leo Singer) 10 years ago.
Full build log
patch-Portfile.diff (681 bytes) - added by lpsinger (Leo Singer) 10 years ago.
Proposed change to Portfile

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by lpsinger (Leo Singer)

Attachment: main.log added

Full build log

comment:1 Changed 10 years ago by lpsinger (Leo Singer)

Note that updating to the latest version, 1.3.0.1, allows the build to complete. See attached patch.

Changed 10 years ago by lpsinger (Leo Singer)

Attachment: patch-Portfile.diff added

Proposed change to Portfile

comment:2 Changed 10 years ago by lpsinger (Leo Singer)

Keywords: haspatch added

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

Feel free to commit this, if it works for you.

comment:4 Changed 10 years ago by lpsinger (Leo Singer)

Resolution: fixed
Status: newclosed

Fixed in r134912.

Note: See TracTickets for help on using tickets.