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
F103461828: D24023.diff
Mon, Nov 25, 8:25 AM
Unknown Object (File)
Tue, Nov 12, 12:11 AM
Unknown Object (File)
Thu, Nov 7, 1:51 AM
Unknown Object (File)
Oct 16 2024, 5:09 PM
Unknown Object (File)
Oct 15 2024, 10:00 AM
Unknown Object (File)
Oct 15 2024, 9:59 AM
Unknown Object (File)
Oct 15 2024, 9:58 AM
Unknown Object (File)
Oct 15 2024, 9:58 AM
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
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

From IRC feedback, don't bump revision.

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/

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.

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.