Skip to content
Permalink
Browse files

libtorrent-rasterbar: blacklist failing clang versions

Only Apple clang 900.0.39.2 or better seems to work with this port.
  • Loading branch information...
dbevans committed Aug 13, 2019
1 parent 3e5adc4 commit bdaa737509eaded48e0b5e3bf8ccf9bc26178029
Showing with 2 additions and 1 deletion.
  1. +2 −1 net/libtorrent-rasterbar/Portfile
@@ -36,7 +36,8 @@ depends_lib port:boost \
patchfiles patch-configure.ac.diff

# don't overwrite any existing blacklist
compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 300}
# Apple clang less than 900.0.39.2 fails to build
compiler.blacklist-append *gcc-3.* *gcc-4.* {clang < 900.0.39.2}

configure.args --disable-silent-rules \
--enable-python-binding \

3 comments on commit bdaa737

@cjones051073

This comment has been minimized.

Copy link
Contributor

replied Aug 14, 2019

Build is still failing on some older systems.

https://build.macports.org/builders/ports-10.8_x86_64_legacy-builder/builds/100345/steps/install-port/logs/stdio

Looks like part of the build is not respecting the compiler selection and still using /usr/bin/clang

@cjones051073

This comment has been minimized.

Copy link
Contributor

replied Aug 14, 2019

Same thing in other ok builds.

https://build.macports.org/builders/ports-10.10_x86_64-builder/builds/92288/steps/install-port/logs/stdio

See how second half of the build is still using /usr/bin/clang

@dbevans

This comment has been minimized.

Copy link
Contributor Author

replied Aug 14, 2019

Yes, the compiler is not being properly set when building the python extension. It's just a coincidence that 10.9+ build successfully. I have a few ideas on what's going wrong and will give it a closer examination in the morning. Thanks for your input.

Please sign in to comment.
You can’t perform that action at this time.