Bug 229098 - [NEW PORT] math/freefem++: Partial differential equation solver
Summary: [NEW PORT] math/freefem++: Partial differential equation solver
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Rodrigo Osorio
URL:
Keywords: feature, needs-patch, needs-qa
Depends on: 240670
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-18 05:05 UTC by takefu
Modified: 2019-10-11 13:54 UTC (History)
5 users (show)

See Also:
takefu: maintainer-feedback+


Attachments
freefem++-3.60.shar (30.49 KB, application/x-shellscript)
2018-06-18 05:05 UTC, takefu
no flags Details
freefem++-3.60.shar (32.62 KB, application/x-shellscript)
2018-06-21 07:25 UTC, takefu
no flags Details
freefem++-3.60.shar (30.57 KB, application/x-shellscript)
2018-06-22 16:19 UTC, takefu
no flags Details
freefem++-3.60.shar (30.70 KB, application/x-shellscript)
2018-06-22 18:11 UTC, takefu
no flags Details
freefem++-3.6.shar (30.56 KB, text/plain)
2018-06-27 07:21 UTC, takefu
no flags Details
freefem++-3.61.shar (28.52 KB, text/plain)
2018-08-07 06:19 UTC, takefu
takefu: maintainer-approval+
Details
Patch to upgrade math/arpack++ to 2.3.0 (39.62 KB, patch)
2019-09-17 20:25 UTC, Thierry Thomas
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Mathieu Arnold freebsd_committer 2018-06-20 14:51:09 UTC
Could you please write the Makefile according to https://www.freebsd.org/doc/en/books/porters-handbook/porting-order.html ?

It is ok up to the depends block.
Comment 2 Thierry Thomas freebsd_committer 2018-06-20 17:28:28 UTC
Note: this is not a new port, but a resurrection

$ grep freefem++ /usr/ports/MOVED
math/freefem++||2009-08-23|Has expired: unmaintained and consistently unportable
math/bamg||2016-08-14|No longer maintained upstream as is now part of freefem++

Still listed at <https://www.freshports.org/math/freefem++>.
Comment 3 takefu 2018-06-21 07:25:09 UTC
Created attachment 194446 [details]
freefem++-3.60.shar

Is this correct?
Comment 4 takefu 2018-06-22 16:19:16 UTC
Created attachment 194507 [details]
freefem++-3.60.shar
Comment 5 takefu 2018-06-22 18:11:17 UTC
Created attachment 194508 [details]
freefem++-3.60.shar

pkg-dest I forgot to rewrite
Comment 6 takefu 2018-06-27 07:21:47 UTC
Created attachment 194667 [details]
freefem++-3.6.shar

change
  etc/libmap.d -> USE_GCC=yes

see
  users-jp-ML#96244
Comment 7 takefu 2018-06-27 07:26:24 UTC
(In reply to Thierry Thomas from comment #2)

As of today, there is no registration so I issued sendpr as a new port, but should I sendpr by creating a difference from the old skeleton?
Comment 8 Yuri Victorovich freebsd_committer 2018-07-30 04:05:03 UTC
The build breaks on 11.2:

gmake[7]: Leaving directory '/usr/ports/math/freefem++/work/freefem++-3.60/src/libMesh'
test -f ../src/libMesh/libMesh.a
mkdir -p include/libMesh
cp ../src/libMesh/*h  include/libMesh
echo libMesh  LD -L@DIR@/lib -lMesh  > lib/WHERE.libMesh
echo libMesh INCLUDE -I@DIR@/include/libMesh >> lib/WHERE.libMesh
cp ../src/libMesh/libMesh.a lib/libMesh.a
Comment 9 takefu 2018-08-07 06:19:29 UTC
Created attachment 195966 [details]
freefem++-3.61.shar

10.4-RELEASE i386 It seems that it was not possible to build correctly.
Fixed the bug at the same time as update to 3.61.
Comment 10 Yuri Victorovich freebsd_committer 2018-08-08 06:07:29 UTC
Build fails:
> ../build/download https://github.com/hpddm/hpddm/archive/d2c1634c4367f0bd5260cb82cb6d94fcb112f189.zip pkg/hpddm.zip 
> + test -x /usr/bin/wget
> + test -x /usr/bin/wget.exe
> + test -x /opt/local/bin/wget
> + test -x /usr/bin/curl
> + test -x /usr/bin/GET
> + echo FF download: No way to download files from the web
> FF download: No way to download files from the web
> + echo FF download: Please install wget or curl or GET
> FF download: Please install wget or curl or GET
> + exit 1


Build is not supposed to be downloading anything.
Did you build it in poudriere?

Yuri
Comment 11 takefu 2018-08-08 07:07:17 UTC
(In reply to Yuri Victorovich from comment #10)

The build is not allowed to download.
CONFIGURE_ARGS=--disable-download

Poudriere Environment Building does not understand.
Comment 12 Yuri Victorovich freebsd_committer 2018-08-08 08:04:20 UTC
(In reply to takefu from comment #11)

> The build is not allowed to download.
> CONFIGURE_ARGS=--disable-download

This argument is already supplied to configure, but it still breaks.
Comment 13 takefu 2018-08-09 01:35:23 UTC
(In reply to Yuri Victorovich from comment #12)

I can't understand why it breaks.
If what happens in Poudriere(8), I do not know the prescription.
So tell me how to fix it.
Comment 14 Yuri Victorovich freebsd_committer 2018-08-09 01:38:02 UTC
(In reply to takefu from comment #13)

The build breaks on my workstation, I didn't try in poudriere.
Comment 15 takefu 2018-08-09 07:29:25 UTC
(In reply to Yuri Victorovich from comment #14)

My environment is a log.
You can build it correctly.

FreeBSD 11.2-RELEASE-p1 #0: Sun Aug  5 12:04:13 UTC 2018     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC

https://people.freebsd.org/~je3kmz/log.xz
Comment 16 Yuri Victorovich freebsd_committer 2018-08-09 07:42:10 UTC
(In reply to takefu from comment #15)

It doesn't build for me.
Maybe somebody else will take it and will be able to build it.
Comment 17 Matthias Andree freebsd_committer 2019-09-07 20:45:44 UTC
freefem 3.61 does not fetch. Does this need updating for 4.4?
Comment 18 takefu 2019-09-12 06:11:04 UTC
(In reply to Matthias Andree from comment #17)

4.4 There is no time to test the construction :-(

And math/arpack++ is not built.

We're currently making time for arpack++ to be built.
4.4 Can someone help me to build a success?
Comment 19 Thierry Thomas freebsd_committer 2019-09-17 20:25:47 UTC
Created attachment 207586 [details]
Patch to upgrade math/arpack++ to 2.3.0

Previously I updated the port math/arpack++ to the latest 'see the attached patch) - but I do not remember why I did not commit it...
Comment 20 Kubilay Kocak freebsd_committer freebsd_triage 2019-09-18 06:43:25 UTC
(In reply to Thierry Thomas from comment #19)

Could you create a separate issue for fixing math/arpack++ and set this issue to depend on it please. Since the port has no maintainer, feel free to assign yourself to coordinate/resolve
Comment 21 Thierry Thomas freebsd_committer 2019-09-18 16:32:06 UTC
(In reply to Kubilay Kocak from comment #20)

Done!
Comment 22 Rodrigo Osorio freebsd_committer 2019-10-11 13:54:55 UTC
This PR is too old, FreeFem++ is now at v4.4.