Bug 232563 - devel/yaml-cpp03: fix build with GCC-based architectures
Summary: devel/yaml-cpp03: fix build with GCC-based architectures
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: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-10-23 15:58 UTC by Piotr Kubaj
Modified: 2018-11-05 20:06 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (tim)


Attachments
patch (411 bytes, patch)
2018-10-23 15:58 UTC, Piotr Kubaj
no flags Details | Diff
v2 (1.37 KB, patch)
2018-10-23 16:43 UTC, Piotr Kubaj
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Piotr Kubaj freebsd_committer freebsd_triage 2018-10-23 15:58:04 UTC
Created attachment 198502 [details]
patch

Generated build.ninja is wrong and causes build failure (at least on powerpc64):
https://talos.anongoth.pl/data/powerpc64-default/2018-10-23_15h24m27s/logs/errors/yaml-cpp03-0.3.0.log

Switch to USES=cmake:noninja to fix this issue.

Hardware sponsored by IntegriCloud.
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 2018-10-23 16:43:16 UTC
Created attachment 198505 [details]
v2

I found a better fix, replacing $(MAKE) with make in CMakeLists.txt helps.
Comment 2 commit-hook freebsd_committer freebsd_triage 2018-11-05 20:06:24 UTC
A commit references this bug:

Author: linimon
Date: Mon Nov  5 20:05:43 UTC 2018
New revision: 484214
URL: https://svnweb.freebsd.org/changeset/ports/484214

Log:
  Generated build.ninja is wrong on powerpc64.  Replace $(MAKE) with
  "make" in CMakeLists.txt.

  PR:		232563
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Changes:
  head/devel/yaml-cpp03/Makefile
  head/devel/yaml-cpp03/files/patch-CMakeLists.txt