illusion:haskell-step-one uplime$ pwd /home/uplime/haskell-step-one illusion:haskell-step-one uplime$ ls Pkgfile illusion:haskell-step-one uplime$ pkgmk -d =======> Downloading 'http://www.haskell.org/ghc/dist/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2'. --2019-07-28 01:36:47-- http://www.haskell.org/ghc/dist/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 Resolving www.haskell.org... 147.75.67.13 Connecting to www.haskell.org|147.75.67.13|:80... connected. HTTP request sent, awaiting response... 301 Moved Permanently Location: https://www.haskell.org/ghc/dist/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 [following] --2019-07-28 01:36:48-- https://www.haskell.org/ghc/dist/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 Connecting to www.haskell.org|147.75.67.13|:443... connected. HTTP request sent, awaiting response... 302 Moved Temporarily Location: https://downloads.haskell.org/~ghc/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 [following] --2019-07-28 01:36:48-- https://downloads.haskell.org/~ghc/6.8.3/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 Resolving downloads.haskell.org... 2a04:4e42::431, 2a04:4e42:200::431, 2a04:4e42:400::431, ... Connecting to downloads.haskell.org|2a04:4e42::431|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 49000076 (47M) [application/octet-stream] Saving to: '/home/uplime/haskell-step-one/ghc-6.8.3-x86_64-unknown-linux.tar.bz2.partial' ghc-6.8.3-x86_64-unknown-linux.tar.bz2.partial 100%[================================================================================================================>] 46.73M 3.16MB/s in 14s 2019-07-28 01:37:02 (3.25 MB/s) - '/home/uplime/haskell-step-one/ghc-6.8.3-x86_64-unknown-linux.tar.bz2.partial' saved [49000076/49000076] =======> WARNING: Signature file not found, falling back to old md5sum checking. =======> WARNING: Packages should be built as root. =======> Building '/home/uplime/haskell-step-one/ghc#6.8.3-1.pkg.tar.gz'. bsdtar -p -o -C /home/uplime/haskell-step-one/work/src -xf /home/uplime/haskell-step-one/ghc-6.8.3-x86_64-unknown-linux.tar.bz2 + build + cd ghc-6.8.3 + ./configure --prefix=/usr checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu Which we'll further canonicalise into: x86_64-unknown-linux checking for path to top of build tree... utils/pwd/pwd: error while loading shared libraries: libgmp.so.3: cannot open shared object file: No such file or directory configure: error: cannot determine current directory =======> ERROR: Building '/home/uplime/haskell-step-one/ghc#6.8.3-1.pkg.tar.gz' failed. illusion:haskell-step-one uplime$