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
Unknown Object (File)
Fri, May 3, 3:11 PM
Unknown Object (File)
Fri, May 3, 12:51 AM
Unknown Object (File)
Wed, May 1, 4:12 PM
Unknown Object (File)
Sat, Apr 27, 2:12 AM
Unknown Object (File)
Wed, Apr 24, 12:34 PM
Unknown Object (File)
Sat, Apr 20, 5:10 PM
Unknown Object (File)
Fri, Apr 12, 10:02 AM
Unknown Object (File)
Mar 29 2024, 6:39 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.