Created attachment 174485 [details] diff Bring changes from three upstream releases: https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.5.txt https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.6.txt https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.7.txt (Mostly bug fixes). Regenerate the diffs.
The build failed on FreeBSD-9. wen
Port is unmaintained, reporter is committer. Assign accordingly
(In reply to Wen Heping from comment #1) Hmm ... if I could see the relevant part of the log, I could evaluate if it makes sense to work on it or if we should just deprecate it for 9.x.
Created attachment 174923 [details] Updated diff Don't spend time on FreeBSD 9.x (at least for now). Move the Tcl/TK broken message to GiNac since it's broken/outdated. Tcl/Tk seems to build with newer Tcl/Tk but remains untested.
Created attachment 174924 [details] Updated diff (minor space issue)
Created attachment 175110 [details] Updated patch I was able to fix the build on FreeBSD-9 by using C++11-lib.
Fails to configure when MPI=on: http://people.freebsd.org/~pawel/buildlogs/mbdyn-1.7.1-11amd64.log
(In reply to Pawel Pekala from comment #7) Ugh ... I can reproduce :-/. I am checking what is wrong witrh "configure" but it appears MPI support is broken: http://mail.mbdyn.org/pipermail/mbdyn-users/2011-July/001026.html Perhaps we should just remove it along with the GiNac support.
Created attachment 175208 [details] Updated patch Tag MPI as broken. Unfortunately the multithreaded support requires a linux-specific HP extension (atomic_ops).
Created attachment 175211 [details] Updated patch - enable multithreads More surprises: -Enable multithreaded support with devel/libatomic_ops - Remove tcl option it's not supported by configure at all.
Created attachment 175213 [details] Updated patch - enable multithreads Some more "fun": - add a dependency to libltdl found by stage-qa
Created attachment 175215 [details] Updated patch - enable multithreads Minor cleanup (sorry): finish removing the TCL option. For the record .. I gave a try at adding netcdf support but we are missing a header and I just couldn't find it.
I think we should remove broken options unless there is chance they will be fixed in near future. With recent changes port fails to configure on FreeBSD 9.x again for me: http://people.freebsd.org/~pawel/buildlogs/mbdyn-1.7.1-9amd64.log
Created attachment 175237 [details] patch - multithreads with cpp change reverted Sorry, this should fix it. Explanation: the configure script hardcodes the "cpp" value. This appears to be harmless but in the previous patch I tried to change it to the cpp that comes with GCC but there doesn't seem to be a consistent value on FreeBSD 9.x. I again undid the change leaving the hardcoded value: it's strange but it still works. I agree the broken options are ugly. GiNac seems fixable but in general the port has some ugly brokenness: the PAM option doesn't work either.
A commit references this bug: Author: pawel Date: Thu Sep 29 20:01:41 UTC 2016 New revision: 422945 URL: https://svnweb.freebsd.org/changeset/ports/422945 Log: - Update to version 1.7.1 [1] - Enable multithreaded support with devel/libatomic_ops [1] - Remove not supported TCL option [1] - Add LICENSE_FILE - Convert to options helpers https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.5.txt https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.6.txt https://www.mbdyn.org/userfiles/downloads/CHANGELOG-1.7.txt PR: 212464 [1] Submitted by: pfg [1] Changes: head/science/mbdyn/Makefile head/science/mbdyn/distinfo head/science/mbdyn/files/patch-include__ac__mpi.h head/science/mbdyn/files/patch-mbdyn__base__invsolver.cc head/science/mbdyn/files/patch-mbdyn__base__solver.cc head/science/mbdyn/files/patch-mbdyn__mbdyn.h head/science/mbdyn/pkg-plist