Bug 224528 - devel/hs-ShellCheck: can't be built locally, and it also produces errors in 'pkg install'
Summary: devel/hs-ShellCheck: can't be built locally, and it also produces errors in '...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-22 19:58 UTC by Yuri Victorovich
Modified: 2017-12-25 08:18 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2017-12-22 19:58:22 UTC
While building it locally, I get:
> ===>  Configuring for hs-ShellCheck-0.4.6
> exec: /usr/local/lib/ghc-8.0.2/bin/ghc: not found
> *** Error code 127

It has USE_CABAL, which I don't know anything about.
It is in the framework, so assigning to framework.

---'pkg install' log---
# pkg install hs-ShellCheck
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
Updating database digests format: 100%
The following 3 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
	hs-ShellCheck: 0.4.6
	hs-regex-tdfa: 1.2.2
	hs-json: 0.9.1_1

Number of packages to be installed: 3

The process will require 57 MiB more space.
5 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/3] Fetching hs-ShellCheck-0.4.6.txz: 100%    3 MiB 124.5kB/s    00:25    
[2/3] Fetching hs-regex-tdfa-1.2.2.txz: 100%    2 MiB  75.5kB/s    00:21    
[3/3] Fetching hs-json-0.9.1_1.txz: 100%  268 KiB 274.3kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/3] Installing hs-regex-tdfa-1.2.2...
[1/3] Extracting hs-regex-tdfa-1.2.2: 100%
exec: /usr/local/lib/ghc-8.0.2/bin/haddock: not found
exec: /usr/local/lib/ghc-8.0.2/bin/ghc-pkg: not found
pkg: POST-INSTALL script failed
[2/3] Installing hs-json-0.9.1_1...
[2/3] Extracting hs-json-0.9.1_1: 100%
exec: /usr/local/lib/ghc-8.0.2/bin/haddock: not found
exec: /usr/local/lib/ghc-8.0.2/bin/ghc-pkg: not found
pkg: POST-INSTALL script failed
[3/3] Installing hs-ShellCheck-0.4.6...
Extracting hs-ShellCheck-0.4.6: 100%
exec: /usr/local/lib/ghc-8.0.2/bin/haddock: not found
exec: /usr/local/lib/ghc-8.0.2/bin/ghc-pkg: not found
pkg: POST-INSTALL script failed
Comment 1 Antoine Brodin freebsd_committer freebsd_triage 2017-12-22 20:03:56 UTC
Works perfectly fine here:

# pkg install hs-ShellCheck
Updating FreeBSD repository catalogue...
FreeBSD repository is up to date.
All repositories are up to date.
The following 14 package(s) will be affected (of 0 checked):

New packages to be INSTALLED:
        hs-ShellCheck: 0.4.6
        hs-regex-tdfa: 1.2.2
        hs-regex-base: 0.93.2_15
        ghc: 8.0.2_2
        hs-mtl: 2.2.1_1
        hs-parsec: 3.1.11
        hs-text: 1.2.2.2
        hs-QuickCheck: 2.10.0.1
        hs-tf-random: 0.5_3
        hs-random: 1.1_1
        hs-primitive: 0.6.2.0
        hs-extensible-exceptions: 0.1.1.4_8
        hs-json: 0.9.1_1
        hs-syb: 0.7

Number of packages to be installed: 14

The process will require 1 GiB more space.
91 MiB to be downloaded.

Proceed with this action? [y/N]: y
[1/14] Fetching hs-ShellCheck-0.4.6.txz: 100%    3 MiB   3.1MB/s    00:01    
[2/14] Fetching hs-regex-tdfa-1.2.2.txz: 100%    2 MiB   1.6MB/s    00:01    
[3/14] Fetching hs-regex-base-0.93.2_15.txz: 100%   84 KiB  86.4kB/s    00:01    
[4/14] Fetching ghc-8.0.2_2.txz: 100%   83 MiB  43.8MB/s    00:02    
[5/14] Fetching hs-mtl-2.2.1_1.txz: 100%  148 KiB 151.5kB/s    00:01    
[6/14] Fetching hs-parsec-3.1.11.txz: 100%  309 KiB 316.2kB/s    00:01    
[7/14] Fetching hs-text-1.2.2.2.txz: 100%  953 KiB 975.9kB/s    00:01    
[8/14] Fetching hs-QuickCheck-2.10.0.1.txz: 100%  612 KiB 626.8kB/s    00:01    
[9/14] Fetching hs-tf-random-0.5_3.txz: 100%  101 KiB 103.6kB/s    00:01    
[10/14] Fetching hs-random-1.1_1.txz: 100%  129 KiB 132.4kB/s    00:01    
[11/14] Fetching hs-primitive-0.6.2.0.txz: 100%  237 KiB 242.8kB/s    00:01    
[12/14] Fetching hs-extensible-exceptions-0.1.1.4_8.txz: 100%   27 KiB  27.7kB/s    00:01    
[13/14] Fetching hs-json-0.9.1_1.txz: 100%  268 KiB 274.3kB/s    00:01    
[14/14] Fetching hs-syb-0.7.txz: 100%  144 KiB 147.1kB/s    00:01    
Checking integrity... done (0 conflicting)
[1/14] Installing ghc-8.0.2_2...
[1/14] Extracting ghc-8.0.2_2: 100%
[2/14] Installing hs-mtl-2.2.1_1...
[2/14] Extracting hs-mtl-2.2.1_1: 100%
[3/14] Installing hs-text-1.2.2.2...
[3/14] Extracting hs-text-1.2.2.2: 100%
[4/14] Installing hs-random-1.1_1...
[4/14] Extracting hs-random-1.1_1: 100%
[5/14] Installing hs-primitive-0.6.2.0...
[5/14] Extracting hs-primitive-0.6.2.0: 100%
[6/14] Installing hs-regex-base-0.93.2_15...
[6/14] Extracting hs-regex-base-0.93.2_15: 100%
[7/14] Installing hs-parsec-3.1.11...
[7/14] Extracting hs-parsec-3.1.11: 100%
[8/14] Installing hs-tf-random-0.5_3...
[8/14] Extracting hs-tf-random-0.5_3: 100%
[9/14] Installing hs-extensible-exceptions-0.1.1.4_8...
[9/14] Extracting hs-extensible-exceptions-0.1.1.4_8: 100%
[10/14] Installing hs-syb-0.7...
[10/14] Extracting hs-syb-0.7: 100%
[11/14] Installing hs-regex-tdfa-1.2.2...
[11/14] Extracting hs-regex-tdfa-1.2.2: 100%
[12/14] Installing hs-QuickCheck-2.10.0.1...
[12/14] Extracting hs-QuickCheck-2.10.0.1: 100%
[13/14] Installing hs-json-0.9.1_1...
[13/14] Extracting hs-json-0.9.1_1: 100%
[14/14] Installing hs-ShellCheck-0.4.6...
Extracting hs-ShellCheck-0.4.6: 100%
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2017-12-25 08:18:11 UTC
I think this was a fluke. -)