Opened 11 months ago

Last modified 7 months ago

#59659 assigned defect

babl @ 0.1.72: Build fails on PPC: ERROR: Problem encountered: You should use Clang/Clang++ on OSX.

Reported by: kencu (Ken) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch powerpc Cc:
Port: babl

Description

WARNING: Unknown CPU family 'power macintosh', please report this at https://github.com/mesonbuild/meson/issues/new with theoutput of `uname -a` and `cat /proc/cpuinfo`
Build machine cpu family: power macintosh
Build machine cpu: power macintosh
Message: Architecture: power macintosh
meson.build:106: WARNING: Unknown host architecture
Message: Host os: darwin

meson.build:119:4: ERROR: Problem encountered: You should use Clang/Clang++ on OSX.

Change History (3)

comment:1 in reply to:  description Changed 11 months ago by ryandesign (Ryan Schmidt)

Replying to kencu:

WARNING: Unknown CPU family 'power macintosh', please report this at https://github.com/mesonbuild/meson/issues/new with theoutput of `uname -a` and `cat /proc/cpuinfo`

Please do this.

comment:2 Changed 7 months ago by kencu (Ken)

just stripping the test out works nicely on PPC on MacPorts:

$ diff -u meson.build.orig meson.build
--- meson.build.orig	2020-03-26 14:41:45.000000000 -0700
+++ meson.build	2020-03-26 14:42:23.000000000 -0700
@@ -108,11 +108,6 @@
                   host_os.startswith('windows'))
 
 platform_osx = host_os.startswith('darwin')
-if platform_osx
-  if cc.get_id() != 'clang'
-    error('You should use Clang/Clang++ on OSX.')
-  endif
-endif
 
 platform_android = host_os.contains('android')
 

comment:3 Changed 7 months ago by kencu (Ken)

Keywords: haspatch powerpc added
Note: See TracTickets for help on using tickets.