Changes between Version 1 and Version 4 of Ticket #60232


Ignore:
Timestamp:
Mar 24, 2020, 3:48:15 PM (4 years ago)
Author:
mf2k (Frank Schima)
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #60232

    • Property Status changed from new to assigned
    • Property Owner set to dbevans
  • Ticket #60232 – Description

    v1 v4  
    11Under Mac OS 10.13 and 10.11, while configuring `gdk-pixbuf2` @2.40.0_1 with `+universal` variant set, the build tool `meson` tries to detect the libraries JPEG and jasper by launching clang on a minimal C program involving only proprocessor directives:
    22
    3 `Command line:  /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build
     3{{{
     4Command line:  /usr/bin/clang -I/opt/local/include /opt/local/var/macports/build
    45/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_po
    56rts_graphics_gdk-pixbuf2/gdk-pixbuf2/work/build/meson-private/tmp9kj3a3pw/testfi
    6 le.c -pipe -E -P -Os -arch x86_64 -arch i386 -P -O0 -std=c99`
     7le.c -pipe -E -P -Os -arch x86_64 -arch i386 -P -O0 -std=c99
     8}}}
    79
    810Since clang is launched with the flags `-E -arch x86_64 -arch i386`, it fails with message `clang: error: cannot use 'cpp-output' output with multiple -arch options` and meson concludes erroneously that the jpeg library is absent.