[MacPorts] #44726: fswatch @1.4.1.1 update

MacPorts noreply at macports.org
Thu Aug 21 09:30:59 PDT 2014


#44726: fswatch @1.4.1.1 update
------------------------------------+---------------------------------
  Reporter:  enrico.m.crisostomo@…  |      Owner:  macports-tickets@…
      Type:  update                 |     Status:  closed
  Priority:  Normal                 |  Milestone:
 Component:  ports                  |    Version:  2.3.1
Resolution:  fixed                  |   Keywords:  haspatch maintainer
      Port:  fswatch                |
------------------------------------+---------------------------------

Comment (by enrico.m.crisostomo@…):

 Replying to [comment:2 cal@…]:
 > Lion and Mountain Lion are all green now, but Snow Leopard failed with
 yet another error:
 > {{{
 > libtool: compile:  /opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libstdc++ -std=c++11
 -Wall -MT c/libfswatch_log.lo -MD -MP -MF c/.deps/libfswatch_log.Tpo -c
 c/libfswatch_log.cpp -o c/libfswatch_log.o >/dev/null 2>&1
 > Assertion failed: (EST != EST_Unevaluated && EST != EST_Uninstantiated),
 function isNothrow, file
 /opt/local/var/macports/build/_opt_mports_dports_lang_llvm-3.4/clang-3.4/work/llvm-3.4.2.src/tools/clang/lib/AST/../../include/clang/AST/Type.h,
 line 3020.
 > 0  libLLVM-3.4.dylib 0x00000001030b3025
 llvm::sys::PrintStackTrace(__sFILE*) + 37
 > 1  libLLVM-3.4.dylib 0x00000001030b3402 SignalHandler(int) + 278
 > 2  libSystem.B.dylib 0x00007fff820f61ba _sigtramp + 26
 > 3  libSystem.B.dylib 0x00000a2e30323033 _sigtramp + 2921516691
 > 4  libLLVM-3.4.dylib 0x000000010262b2f6 abort + 14
 > 5  libLLVM-3.4.dylib 0x000000010262b35a
 __static_initialization_and_destruction_0(int, int) + 0
 > 6  clang             0x00000001009c24f7
 clang::FunctionProtoType::isNothrow(clang::ASTContext const&) const + 53
 > 7  clang             0x0000000100196376
 clang::CodeGen::CodeGenModule::ConstructAttributeList(clang::CodeGen::CGFunctionInfo
 const&, clang::Decl const*, llvm::SmallVector<llvm::AttributeSet, 8u>&,
 unsigned int&, bool) + 454
 > 8  clang             0x0000000100252b0c
 clang::CodeGen::CodeGenModule::SetLLVMFunctionAttributes(clang::Decl
 const*, clang::CodeGen::CGFunctionInfo const&, llvm::Function*) + 100
 > 9  clang             0x0000000100258bdc
 clang::CodeGen::CodeGenModule::SetFunctionAttributes(clang::GlobalDecl,
 llvm::Function*, bool) + 130
 > 10 clang             0x0000000100258fe9
 clang::CodeGen::CodeGenModule::GetOrCreateLLVMFunction(llvm::StringRef,
 llvm::Type*, clang::GlobalDecl, bool, llvm::AttributeSet) + 567
 > 11 clang             0x000000010018d056
 clang::CodeGen::CodeGenModule::GetAddrOfCXXDestructor(clang::CXXDestructorDecl
 const*, clang::CXXDtorType, clang::CodeGen::CGFunctionInfo const*,
 llvm::FunctionType*) + 178
 > 12 clang             0x000000010019daf0
 clang::CodeGen::CodeGenFunction::EmitCXXDestructorCall(clang::CXXDestructorDecl
 const*, clang::CXXDtorType, bool, bool, llvm::Value*) + 150
 > 13 clang             0x000000010019dc48
 clang::CodeGen::CodeGenFunction::destroyCXXObject(clang::CodeGen::CodeGenFunction&,
 llvm::Value*, clang::QualType) + 130
 > 14 clang             0x00000001001b8f6b
 clang::CodeGen::CodeGenFunction::emitDestroy(llvm::Value*,
 clang::QualType, void (*)(clang::CodeGen::CodeGenFunction&, llvm::Value*,
 clang::QualType), bool) + 79
 > 15 clang             0x00000001001a46ea
 EmitCleanup(clang::CodeGen::CodeGenFunction&,
 clang::CodeGen::EHScopeStack::Cleanup*,
 clang::CodeGen::EHScopeStack::Cleanup::Flags, llvm::Value*) + 259
 > 16 clang             0x00000001001a668a
 clang::CodeGen::CodeGenFunction::PopCleanupBlock(bool) + 3742
 > 17 clang             0x00000001001a693e
 clang::CodeGen::CodeGenFunction::PopCleanupBlocks(clang::CodeGen::EHScopeStack::stable_iterator)
 + 72
 > 18 clang             0x00000001001a6977
 clang::CodeGen::CodeGenFunction::PopCleanupBlocks(clang::CodeGen::EHScopeStack::stable_iterator,
 unsigned long) + 29
 > 19 clang             0x00000001001fad01 (anonymous
 namespace)::ScalarExprEmitter::VisitExprWithCleanups(clang::ExprWithCleanups*)
 + 157
 > 20 clang             0x00000001001f49be
 clang::StmtVisitorBase<clang::make_ptr, (anonymous
 namespace)::ScalarExprEmitter, llvm::Value*>::Visit(clang::Stmt*) + 6062
 > 21 clang             0x00000001001f56a3
 clang::CodeGen::CodeGenFunction::EmitScalarExpr(clang::Expr const*, bool)
 + 137
 > 22 clang             0x00000001001bb19f
 clang::CodeGen::CodeGenFunction::EmitScalarInit(clang::Expr const*,
 clang::ValueDecl const*, clang::CodeGen::LValue, bool) + 77
 > 23 clang             0x00000001001bbca6
 clang::CodeGen::CodeGenFunction::EmitExprAsInit(clang::Expr const*,
 clang::ValueDecl const*, clang::CodeGen::LValue, bool) + 410
 > 24 clang             0x00000001001bc079
 clang::CodeGen::CodeGenFunction::EmitAutoVarInit(clang::CodeGen::CodeGenFunction::AutoVarEmission
 const&) + 537
 > 25 clang             0x00000001001bc50c
 clang::CodeGen::CodeGenFunction::EmitAutoVarDecl(clang::VarDecl const&) +
 48
 > 26 clang             0x00000001001bc85d
 clang::CodeGen::CodeGenFunction::EmitDecl(clang::Decl const&) + 535
 > 27 clang             0x000000010023bc17
 clang::CodeGen::CodeGenFunction::EmitDeclStmt(clang::DeclStmt const&) + 71
 > 28 clang             0x0000000100242032
 clang::CodeGen::CodeGenFunction::EmitSimpleStmt(clang::Stmt const*) + 210
 > 29 clang             0x000000010023f792
 clang::CodeGen::CodeGenFunction::EmitStmt(clang::Stmt const*) + 48
 > 30 clang             0x0000000100241d64
 clang::CodeGen::CodeGenFunction::EmitCompoundStmtWithoutScope(clang::CompoundStmt
 const&, bool, clang::CodeGen::AggValueSlot) + 72
 > 31 clang             0x00000001002503f6
 clang::CodeGen::CodeGenFunction::GenerateCode(clang::GlobalDecl,
 llvm::Function*, clang::CodeGen::CGFunctionInfo const&) + 856
 > 32 clang             0x00000001002595fa
 clang::CodeGen::CodeGenModule::EmitGlobalFunctionDefinition(clang::GlobalDecl)
 + 654
 > 33 clang             0x0000000100267be4
 clang::CodeGen::CodeGenModule::EmitGlobalDefinition(clang::GlobalDecl) +
 316
 > 34 clang             0x0000000100267e05
 clang::CodeGen::CodeGenModule::EmitGlobal(clang::GlobalDecl) + 463
 > 35 clang             0x000000010026860d
 clang::CodeGen::CodeGenModule::EmitTopLevelDecl(clang::Decl*) + 1757
 > 36 clang             0x000000010028359d (anonymous
 namespace)::CodeGeneratorImpl::HandleTopLevelDecl(clang::DeclGroupRef) +
 77
 > 37 clang             0x000000010024b7c1
 clang::BackendConsumer::HandleTopLevelDecl(clang::DeclGroupRef) + 145
 > 38 clang             0x0000000100293a36 clang::ParseAST(clang::Sema&,
 bool, bool) + 297
 > 39 clang             0x000000010024adad
 clang::CodeGenAction::ExecuteAction() + 1229
 > 40 clang             0x0000000100055c6f clang::FrontendAction::Execute()
 + 153
 > 41 clang             0x0000000100036a64
 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 540
 > 42 clang             0x00000001000096e9
 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2793
 > 43 clang             0x0000000100003e25 cc1_main(char const**, char
 const**, char const*, void*) + 585
 > 44 clang             0x0000000100007037 main + 822
 > 45 clang             0x0000000100003b68 start + 52
 > Stack dump:
 > 0.    Program arguments: /opt/local/libexec/llvm-3.4/bin/clang -cc1
 -triple x86_64-apple-macosx10.6.0 -emit-obj -disable-free -main-file-name
 libfswatch.cpp -mrelocation-model pic -pic-level 2 -mdisable-fp-elim
 -masm-verbose -munwind-tables -target-cpu core2 -target-linker-version 136
 -coverage-file
 /opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1/libfswatch/c/.libs/libfswatch.o
 -resource-dir /opt/local/libexec/llvm-3.4/bin/../lib/clang/3.4.2
 -dependency-file c/.deps/libfswatch.Tpo -sys-header-deps -MP -MT
 c/libfswatch.lo -D HAVE_CONFIG_H -D PIC -I . -I /opt/local/include
 -I/opt/local/include -stdlib=libstdc++ -Os -Wall -std=c++11 -fdeprecated-
 macro -fdebug-compilation-dir
 /opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1/libfswatch
 -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign
 -fblocks -fobjc-runtime=macosx-10.6.0 -fencode-extended-block-signature
 -fcxx-exceptions -fexceptions -fno-common -fdiagnostics-show-option
 -vectorize-loops -vectorize-slp -o c/.libs/libfswatch.o -x c++
 c/libfswatch.cpp
 > 1.    c/libfswatch.cpp:194:1: current parser token 'int'
 > 2.    c/libfswatch.cpp:151:12: LLVM IR generation of declaration
 'fsw_init_session'
 > 3.    c/libfswatch.cpp:151:12: Generating code for declaration
 'fsw_init_session'
 > clang: error: unable to execute command: Illegal instruction
 > clang: error: clang frontend command failed due to signal (use -v to see
 invocation)
 > clang version 3.4.2 (tags/RELEASE_34/dot2-final)
 > Target: x86_64-apple-darwin10.8.0
 > Thread model: posix
 > clang: note: diagnostic msg: PLEASE submit a bug report to
 http://llvm.org/bugs/ and include the crash backtrace, preprocessed
 source, and associated run script.
 > libtool: compile:  /opt/local/bin/clang++-mp-3.4 -DHAVE_CONFIG_H -I.
 -I/opt/local/include -pipe -Os -arch x86_64 -stdlib=libstdc++ -std=c++11
 -Wall -MT c++/kqueue_monitor.lo -MD -MP -MF c++/.deps/kqueue_monitor.Tpo
 -c c++/kqueue_monitor.cpp -o c++/kqueue_monitor.o >/dev/null 2>&1
 > clang: note: diagnostic msg:
 > ********************
 >
 > PLEASE ATTACH THE FOLLOWING FILES TO THE BUG REPORT:
 > Preprocessed source(s) and associated run script(s) are located at:
 > clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/.tmp
 /libfswatch-c2d5aa.cpp
 > clang: note: diagnostic msg:
 /opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/.tmp
 /libfswatch-c2d5aa.sh
 > clang: note: diagnostic msg:
 >
 > ********************
 > make[3]: *** [c/libfswatch.lo] Error 1
 > make[3]: *** Waiting for unfinished jobs....
 > make[3]: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1/libfswatch'
 > make[2]: *** [all] Error 2
 > make[2]: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1/libfswatch'
 > make[1]: *** [all-recursive] Error 1
 > make[1]: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1'
 > make: *** [all] Error 2
 > make: Leaving directory
 `/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1'
 > Command failed:  cd
 "/opt/local/var/macports/build/_opt_mports_dports_sysutils_fswatch/fswatch/work/fswatch-1.4.1.1"
 && /usr/bin/make -j8 -w all
 > Exit code: 2
 > Error: org.macports.build for port fswatch returned: command execution
 failed
 > }}}
 >
 > I could blacklist the clang 3.4 compiler to see if clang 3.5 fixes that.
 Not sure if that's going to help, though.

 Thanks Cal!

 Well, I agree on blacklisting CLang 3.4 and see what happens:
 troubleshooting this one will be tough without an SL box.

-- 
Ticket URL: <https://trac.macports.org/ticket/44726#comment:3>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list