Page MenuHomeFreeBSD

[PORT REVISION] Fix for ghc in CURRENT
ClosedPublic

Authored by github_evilham.com on Mar 11 2020, 10:30 AM.

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
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

From IRC feedback, don't bump revision.

mikael added a subscriber: mikael.Mar 11 2020, 11:24 AM
mikael added inline comments.
lang/ghc/Makefile
89 ↗(On Diff #69390)

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

lang/ghc/Makefile
89 ↗(On Diff #69390)

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

mikael added inline comments.Mar 11 2020, 12:11 PM
lang/ghc/Makefile
89 ↗(On Diff #69390)

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.

github_evilham.com marked 2 inline comments as done.Mar 11 2020, 2:44 PM
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.