Page MenuHomeFreeBSD

[PORT REVISION] Fix for ghc in CURRENT
ClosedPublic

Authored by github_evilham.com on Mar 11 2020, 10:30 AM.
Tags
None
Referenced Files
F163385388: D24023.id69393.diff
Wed, Jul 22, 5:52 PM
F163355478: D24023.id69396.diff
Wed, Jul 22, 11:09 AM
Unknown Object (File)
Tue, Jul 21, 3:24 AM
Unknown Object (File)
Tue, Jul 21, 12:21 AM
Unknown Object (File)
Mon, Jul 20, 12:48 AM
Unknown Object (File)
Sun, Jul 19, 2:20 PM
Unknown Object (File)
Sun, Jul 19, 1:23 PM
Unknown Object (File)
Sat, Jul 4, 6:15 PM
Subscribers

Details

Summary

It looks like moving the patch after .include <bsd.port.pre.mk> made it not work in a way that I didn't notice yesterday.

This was the error message, maybe due to BUILD_DEPENDS= replacing that from USES=gmake:

****************************************************
Configuration done, ready to 'make install'
(see README and INSTALL files for more info.)
****************************************************
cd /wrkdirs/usr/ports/lang/ghc/work/ghc-8.6.5-boot && PACKAGES='' gmake install
/bin/sh: gmake: not found
*** Error code 127

Stop.
make: stopped in /usr/ports/lang/ghc
=>> Cleaning up wrkdir
===>  Cleaning for ghc-8.6.5_5
build of lang/ghc | ghc-8.6.5_5 ended at Wed Mar 11 10:55:58 CET 2020
build time: 00:00:22
!!! build failure encountered !!
Test Plan

Same as D24014.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 29877
Build 27697: arc lint + arc unit

Event Timeline

From IRC feedback, don't bump revision.

mikael added inline comments.
lang/ghc/Makefile
89

Can you remove the ARCH check, it's also a problem on arm.

lang/ghc/Makefile
89

Sadly misc/compat12x only supports these archs ATM
https://www.freshports.org/misc/compat12x/

Remove arch check for the added misc/compat12x dependency.

If the that port is not available for a given arch, build may fail
anyway and D24024 adds support for other archs to misc/compat12x.

This revision was not accepted when it landed; it landed in state Needs Review.Mar 11 2020, 5:46 PM
This revision was automatically updated to reflect the committed changes.