Opened 5 years ago

Closed 3 years ago

#59659 closed defect (fixed)

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

Reported by: kencu (Ken) Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch powerpc Cc: evanmiller (Evan Miller)
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 (8)

comment:1 in reply to:  description Changed 5 years ago by ryandesign (Ryan Carsten 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 4 years 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 4 years ago by kencu (Ken)

Keywords: haspatch powerpc added

comment:4 Changed 4 years ago by kencu (Ken)

Version 0, edited 4 years ago by kencu (Ken) (next)

comment:5 Changed 3 years ago by mascguy (Christopher Nielsen)

Owner: changed from dbevans to mascguy

Reassign babl-related tickets to me

comment:6 Changed 3 years ago by evanmiller (Evan Miller)

In 0ef4ecc53976cbddb9635ac9e5f3787fc7fd1d71/macports-ports (master):

babl-devel: fix GCC builds

Patches from @kencu's TigerPorts

See: #59658
See: #59659

comment:7 Changed 3 years ago by mascguy (Christopher Nielsen)

Cc: evanmiller added

comment:8 Changed 3 years ago by Christopher Nielsen <mascguy@…>

Resolution: fixed
Status: assignedclosed

In c234fe89edc847df9ff692e4eead0df3c3a88be1/macports-ports (master):

babl: reconcile with babl-devel, including latest patches
Fixes: #59658
Fixes: #59659

Note: See TracTickets for help on using tickets.