Opened 5 years ago

Closed 5 years ago

#58907 closed defect (wontfix)

port @2.5.99 does not build clang-3.9; port @2.5.4 does build it and so does the buildbot

Reported by: snowflake (Dave Evans) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.5.99
Keywords: Cc:
Port:

Description

macports-base commit:

 50f29345cb9208d49a45282aba6a0de37950aa29

Environment:

DEBUG: OS X 10.11 (darwin/15.6.0) arch i386
DEBUG: MacPorts 2.5.99
DEBUG: Xcode 8.2.1
DEBUG: SDK 10.11
DEBUG: MACOSX_DEPLOYMENT_TARGET: 10.11

Compiler output at around 10% of the build:

cd /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/build/projects/compiler-rt/lib/builtins && /usr/bin/clang -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/build/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/llvm-3.9.1.src/projects/compiler-rt/lib/builtins -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/build/include -I/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/llvm-3.9.1.src/include  -DNDEBUG -arch i386    -isysroot -mmacosx-version-min=10.5 -arch i386 -fPIC -O3 -fvisibility=hidden -DVISIBILITY_HIDDEN -Wall -fomit-frame-pointer -o CMakeFiles/clang_rt.eprintf.dir/eprintf.c.o   -c /opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/llvm-3.9.1.src/projects/compiler-rt/lib/builtins/eprintf.c
clang: warning: no such sysroot directory: '-mmacosx-version-min=10.5'
/opt/local/var/macports/build/_Users_davidevans_macports_sources_github.com_macports_macports-ports_lang_llvm-3.9/clang-3.9/work/llvm-3.9.1.src/projects/compiler-rt/lib/builtins/eprintf.c:14:10: fatal error: 'stdio.h' file not found
#include <stdio.h>
         ^
1 error generated.

This shows that the argument to the -isysroot option is missing.

Change History (1)

comment:1 Changed 5 years ago by jmroot (Joshua Root)

Component: baseports
Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.