Alembic Theme GitHub Page: Here
Theme Elements Page: Here
An R package for running cell-based models
Hi,
The build of CancerInSilico fails on Linux at Bioconductor since a while:
g++ -std=gnu++17 -I"/home/biocbuild/bbs-3.18-bioc/R/include" -DNDEBUG -I'/home/biocbuild/bbs-3.18-bioc/R/site-library/Rcpp/include' -I'/home/biocbuild/bbs-3.18-bioc/R/site-library/BH/include' -I/usr/local/include -fpic -g -O2 -Wall -c test-runner.cpp -o test-runner.o
In file included from /usr/include/signal.h:328,
from Tests/catch.h:6450,
from test-runner.cpp:2:
Tests/catch.h:6473:33: error: size of array ‘altStackMem’ is not an integral constant-expression
6473 | static char altStackMem[SIGSTKSZ];
| ^~~~~~~~
Tests/catch.h:6524:45: error: size of array ‘altStackMem’ is not an integral constant-expression
6524 | char FatalConditionHandler::altStackMem[SIGSTKSZ] = {};
| ^~~~~~~~
make: *** [/home/biocbuild/bbs-3.18-bioc/R/etc/Makeconf:198: test-runner.o] Error 1
ERROR: compilation failed for package ‘CancerInSilico’
It is because SIGSTKSZ is no longer a constant in glibc 2.34+, so it cannot be used as a size of an array allocation.
Some people solved the problem by dynamically allocate the array: doctest/doctest@8ee91f3
Please let me know if you'd be interested in applying such fix and I can send it as a Pull Request!
Thank you!
Hi, CancerInSilico is very helpful for my research. But there is a compilation problem when I try to install CancerInSilico on M1 chip.
Tests/Core/test-CellType.cpp:18:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type0.name() == "DEFAULT");
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:19:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type0.id() == 0);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:20:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type0.size() == 1.0);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:21:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type0.minCycle() == 48);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:22:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type0.cycleLength() == 48);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:28:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type1.name() == "DOUBLE_SIZE");
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:29:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type1.id() == 1);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:30:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type1.size() == 2.0);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:31:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type1.minCycle() == 48);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
Tests/Core/test-CellType.cpp:32:9: error: unrecognized instruction mnemonic, did you mean: bit, cnt, hint, ins, not?
REQUIRE(type1.cycleLength() == 48);
^
Tests/Core/../catch.h:11513:25: note: expanded from macro 'REQUIRE'
#define REQUIRE( expr ) INTERNAL_CATCH_TEST( "REQUIRE", Catch::ResultDisposition::Normal, expr )
^
Tests/Core/../catch.h:2162:9: note: expanded from macro 'INTERNAL_CATCH_TEST'
INTERNAL_CATCH_REACT( __catchResult ) \
^
Tests/Core/../catch.h:2146:44: note: expanded from macro 'INTERNAL_CATCH_REACT'
if( resultBuilder.shouldDebugBreak() ) CATCH_BREAK_INTO_DEBUGGER(); \
^
Tests/Core/../catch.h:2082:75: note: expanded from macro 'CATCH_BREAK_INTO_DEBUGGER'
#define CATCH_BREAK_INTO_DEBUGGER() if( Catch::isDebuggerActive() ) { CATCH_TRAP(); }
^
Tests/Core/../catch.h:2060:38: note: expanded from macro 'CATCH_TRAP'
#define CATCH_TRAP() __asm__("int $3\n" : : /* NOLINT */ )
^
<inline asm>:1:2: note: instantiated into assembly here
int $3
^
10 errors generated.
make: *** [Tests/Core/test-CellType.o] Error 1
ERROR: compilation failed for package ‘CancerInSilico’
* removing ‘/Library/Frameworks/R.framework/Versions/4.2-arm64/Resources/library/CancerInSilico’
Warning message:
In i.p(...) :
installation of package ‘/var/folders/1l/xmc98tgx0m37wxtbtwnl6h7c0000gn/T//RtmpsRqpug/file7ca6a7ccde7/CancerInSilico_2.5.0.tar.gz’ had non-zero exit status
Could you please help me solve this problem? Thanks very much!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.