| Summary: | math/cln: cln-1.2.2 doesn't build on amd64 | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Sam Sirlin <swsirlin> |
| Component: | Individual Port(s) | Assignee: | Marcelo Araujo <araujo> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Responsible Changed From-To: freebsd-ports-bugs->araujo Over to maintainer. State Changed From-To: open->feedback This port runs fine in AMD64, please you can see all log files at: http://tb3.droso.net/logs/8.0-araujo/cln-1.2.2.log http://tb3.droso.net/logs/7-araujo/cln-1.2.2.log http://tb3.droso.net/logs/6-araujo/cln-1.2.2.log Can I close this PR? I found the trouble. Apparently cln-1.2.2 probably grabs includes from the system before itself, and so won't build if an older, incompatible version is installed. Both portupgrade and make in the port directory failed. But cd /usr/ports/math/cln make deinstall make make install worked! Sam Sirlin State Changed From-To: feedback->closed It's a usual problem. |
running portupgrade on cln, I get .. c++ -O -pipe -fPIC -I/usr/local/include -I../include -I../include -I./base -c . /base/input/cl_read_bad_syntax_exception.cc -fPIC -DPIC -o .libs/cl_read_bad_sy ntax_exception.o ./base/input/cl_read_bad_syntax_exception.cc:28: error: 'read_number_bad_syntax_ exception' has not been declared ./base/input/cl_read_bad_syntax_exception.cc:28: error: ISO C++ forbids declarat ion of 'read_number_bad_syntax_exception' with no type ./base/input/cl_read_bad_syntax_exception.cc: In function 'int cln::read_number_ bad_syntax_exception(const char*, const char*)': ./base/input/cl_read_bad_syntax_exception.cc:29: error: only constructors take b ase initializers gmake[3]: *** [cl_read_bad_syntax_exception.lo] Error 1 gmake[3]: Leaving directory `/usr1/sam/tmp/usr/ports/math/cln/work/cln-1.2.2/src ' gmake[2]: *** [base/input.target_all] Error 2 gmake[2]: Leaving directory `/usr1/sam/tmp/usr/ports/math/cln/work/cln-1.2.2/src ' gmake[1]: *** [base.target_all] Error 2 gmake[1]: Leaving directory `/usr1/sam/tmp/usr/ports/math/cln/work/cln-1.2.2/src ' gmake: *** [all] Error 2 ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.65754.0 en v UPGRADE_TOOL=portupgrade UPGRADE_PORT=cln-1.1.13 UPGRADE_PORT_VER=1.1.13 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! math/cln (cln-1.1.13) (bad C++ code) How-To-Repeat: make in math/cln