[MacPorts] #45739: submission: reduce: new port submission
#45739: submission: reduce: new port submission ----------------------------+------------------------------------ Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.2 Keywords: maintainer | Port: reduce, reduce-algebra ----------------------------+------------------------------------ A new metaport has been created for reduce, a computer algebra system (CAS). It comprises the following sub-ports: reduce-common: Installs the files that are independent of the Lisp system used. reduce-csl: Installs the Codemist Standard Lisp version of REDUCE. reduce-psl: Installs the Portable Standard Lisp version of REDUCE. reduce-addons: Useful addons for the REDUCE Computer Algebra System. Issuing 'port install reduce' will install all four sub-ports. Otherwise, the user may install each sub-port as desired. Note 1: A separate ticket will be issued to make the reduce-algebra port obsolete. Note 2: This port uses svn for fetch since: 1)I work directly with developers to fix bugs on darwin platform and 2) Binary distributions are not released frequently (the last one was for snow-leopard). Note 3: This submission addresses the following open tickets: #45299, #39483, #34895, #32973, #32648, #32595 and #32583 -- Ticket URL: <https://trac.macports.org/ticket/45739> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Changes (by mf2k@…): * keywords: maintainer => * version: 2.3.2 => * port: reduce, reduce-algebra => reduce -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Comment (by mf2k@…): This looks pretty good. But what is the "BINARY" license? No other port has it and I have never heard of it. Ultimately this port is not distributable via Macports because of that. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Comment (by mf2k@…): I see this error building reduce-csl: {{{ ---> Staging reduce-csl into destroot Error: Failed to destroot reduce-csl: xinstall: Cannot stat: reduce, No such file or directory }}} -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Comment (by mark.brethen@…): Replying to [comment:3 mf2k@…]:
This looks pretty good. But what is the "BINARY" license? No other port has it and I have never heard of it. Ultimately this port is not distributable via Macports because of that. The BINARY license applies to the reduce binaries that are downloaded from sourceforge. I have removed this from the Portfile since it is irrelevent.
-- Ticket URL: <https://trac.macports.org/ticket/45739#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Comment (by mark.brethen@…): Please note: reduce-common fails to install at present. The texlive- htmlxml port is currently broken (see Ticket #49287). This is needed to build the reduce documentation. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:7> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------------- Reporter: mark.brethen@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------------- Comment (by mark.brethen@…): Replying to [comment:5 mf2k@…]:
I see this error building reduce-csl:
{{{ ---> Staging reduce-csl into destroot Error: Failed to destroot reduce-csl: xinstall: Cannot stat: reduce, No such file or directory }}} I have not been able to reproduce this error. It builds for me on Mavericks and recently Yosemite.
-- Ticket URL: <https://trac.macports.org/ticket/45739#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => ryandesign@… * status: new => assigned Old description:
A new metaport has been created for reduce, a computer algebra system (CAS). It comprises the following sub-ports:
reduce-common: Installs the files that are independent of the Lisp system used. reduce-csl: Installs the Codemist Standard Lisp version of REDUCE. reduce-psl: Installs the Portable Standard Lisp version of REDUCE. reduce-addons: Useful addons for the REDUCE Computer Algebra System.
Issuing 'port install reduce' will install all four sub-ports. Otherwise, the user may install each sub-port as desired.
Note 1: A separate ticket will be issued to make the reduce-algebra port obsolete.
Note 2: This port uses svn for fetch since: 1)I work directly with developers to fix bugs on darwin platform and 2) Binary distributions are not released frequently (the last one was for snow-leopard).
Note 3: This submission addresses the following open tickets: #45299, #39483, #34895, #32973, #32648, #32595 and #32583
New description: A new metaport has been created for reduce, a computer algebra system (CAS). It comprises the following sub-ports: - reduce-common: Installs the files that are independent of the Lisp system used. - reduce-csl: Installs the Codemist Standard Lisp version of REDUCE. - reduce-psl: Installs the Portable Standard Lisp version of REDUCE. - reduce-addons: Useful addons for the REDUCE Computer Algebra System. Issuing 'port install reduce' will install all four sub-ports. Otherwise, the user may install each sub-port as desired. Note 1: A separate ticket will be issued to make the reduce-algebra port obsolete. Note 2: This port uses svn for fetch since: 1)I work directly with developers to fix bugs on darwin platform and 2) Binary distributions are not released frequently (the last one was for snow-leopard). Note 3: This submission addresses the following open tickets: #45299, #39483, #34895, #32973, #32648, #32595 and #32583 -- Comment: Is the version correct? This port build svn revision 2744 of the upstream project, which was committed on 2014-10-22, but the version in the portfile says 20101217. Is autoconf really a library dependency? Usually autoconf is only used at build time. There's a comment in the portfile that reads "`Keep the CSL version of Reduce and PSL in sync.`" I'm not sure what's meant by this—what specific action one is supposed to take—since, as far as I can see, there is to be only this one single reduce portfile, and it only has a single version line and a single svn.revision line. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:9> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Replying to [comment:9 ryandesign@…]:
Is the version correct? This port build svn revision 2744 of the upstream project, which was committed on 2014-10-22, but the version in the portfile says 20101217.
[[BR]] They don't use a version numbering system, rather a date. Take a look here: [http://sourceforge.net/projects/reduce-algebra/files/] [[BR]][[BR]]
Is autoconf really a library dependency? Usually autoconf is only used at build time.
[[BR]] It's listed in their README.BUILDING file. [[BR]] [[BR]]
There's a comment in the portfile that reads "`Keep the CSL version of Reduce and PSL in sync.`" I'm not sure what's meant by this—what specific action one is supposed to take—since, as far as I can see, there is to be only this one single reduce portfile, and it only has a single version line and a single svn.revision line. [[BR]] That just means I'm building both flavors of reduce from the same svn version. It can be removed if you feel it's not necessary.
-- Ticket URL: <https://trac.macports.org/ticket/45739#comment:10> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): Replying to [comment:10 mark.brethen@…]:
Replying to [comment:9 ryandesign@…]:
Is the version correct? This port build svn revision 2744 of the upstream project, which was committed on 2014-10-22, but the version in the portfile says 20101217.
According to their source, they don't use a version numbering system, rather a date. Take a look at their binaries: [http://sourceforge.net/projects/reduce-algebra/files/]
Right. So if the revision you're proposing to build with this port was modified on 2014-10-22, shouldn't the port's advertised version be 20141022, not 20101217?
Is autoconf really a library dependency? Usually autoconf is only used at build time.
It's listed in their README.BUILDING file.
Right. So if autoconf is used for building, shouldn't it be in depends_build, not depends_lib?
There's a comment in the portfile that reads "`Keep the CSL version of Reduce and PSL in sync.`" I'm not sure what's meant by this—what specific action one is supposed to take—since, as far as I can see, there is to be only this one single reduce portfile, and it only has a single version line and a single svn.revision line.
That just means I'm building both flavors of reduce from the same svn version. It can be removed if you feel it's not necessary.
Do you feel it's necessary? What action is this comment reminding you to perform? If none, then I would suggest removing the comment. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:11> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Replying to [comment:11 ryandesign@…]:
Replying to [comment:10 mark.brethen@…]:
Replying to [comment:9 ryandesign@…]:
Is the version correct? This port build svn revision 2744 of the upstream project, which was committed on 2014-10-22, but the version in the portfile says 20101217.
According to their source, they don't use a version numbering system, rather a date. Take a look at their binaries: [http://sourceforge.net/projects/reduce-algebra/files/]
Right. So if the revision you're proposing to build with this port was modified on 2014-10-22, shouldn't the port's advertised version be 20141022, not 20101217? [[BR]] I didn't think of it that way, rather the svn modifying the date of the last binary release date. Anyway I've changed the port to reflect the port date.[[BR]]
Is autoconf really a library dependency? Usually autoconf is only used at build time.
It's listed in their README.BUILDING file.
Right. So if autoconf is used for building, shouldn't it be in depends_build, not depends_lib? [[BR]] Also fixed this.[[BR]]
There's a comment in the portfile that reads "`Keep the CSL version of Reduce and PSL in sync.`" I'm not sure what's meant by this—what specific action one is supposed to take—since, as far as I can see, there is to be only this one single reduce portfile, and it only has a single version line and a single svn.revision line.
That just means I'm building both flavors of reduce from the same svn version. It can be removed if you feel it's not necessary.
Do you feel it's necessary? What action is this comment reminding you to perform? If none, then I would suggest removing the comment.[[BR]] Removed comment.[[BR]] [[BR]] I wonder if I should add a comment about previous versions of Texlive breaking reduce-common?
-- Ticket URL: <https://trac.macports.org/ticket/45739#comment:12> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Replaced "eval ... [glob ...]" with "... {*}[glob ...]". {{{ $ port lint reduce ---> Verifying Portfile for reduce ---> 0 errors and 0 warnings found. }}} -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:13> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): reduce-csl failed to build: {{{ Makefile:4249: TRACE: ../include/crlibm.h :: Makefile:584: .deps/asincos.Po: No such file or directory Makefile:585: .deps/atan_accurate.Po: No such file or directory Makefile:586: .deps/atan_fast.Po: No such file or directory Makefile:587: .deps/crlibm_private.Po: No such file or directory Makefile:588: .deps/csh_fast.Po: No such file or directory Makefile:589: .deps/exp-td-standalone.Po: No such file or directory Makefile:590: .deps/exp-td.Po: No such file or directory Makefile:591: .deps/expm1-standalone.Po: No such file or directory Makefile:592: .deps/expm1.Po: No such file or directory Makefile:593: .deps/log-de.Po: No such file or directory Makefile:594: .deps/log.Po: No such file or directory Makefile:595: .deps/log10-td.Po: No such file or directory Makefile:596: .deps/log1p.Po: No such file or directory Makefile:597: .deps/log2-td.Po: No such file or directory Makefile:598: .deps/pow.Po: No such file or directory Makefile:599: .deps/rem_pio2_accurate.Po: No such file or directory Makefile:600: .deps/trigo_accurate.Po: No such file or directory Makefile:601: .deps/trigo_fast.Po: No such file or directory Makefile:602: .deps/trigpi.Po: No such file or directory Makefile:603: .deps/triple-double.Po: No such file or directory make[4]: *** No rule to make target `.deps/triple-double.Po'. Stop. make[3]: *** [../include/crlibm.h] Error 2 make[2]: *** [all] Error 2 make[1]: *** [all] Error 2 Building failed with return code 2 for version cslbuild/x86_64 -mac_unknown_version-darwin15.0.0 make: *** [all] Error 2 }}} Could we use the 2014-11-30 source tarball snapshot available on sourceforge instead of fetching from svn? It would make re-testing this later so much faster. Fetching 500 MB from a Subversion repository every time I rebuild is very slow. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:14> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Are you on Yosemite or El Capitan? -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:15> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): El Capitan, 10.11.1. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:16> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): I suppose we could use the tarball but I don't have a machine with el capitan installed. The svn portions in the portfile will have to be stripped and each stub will download the tarball each time, won't it? -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:17> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): If you specify a file in the distfiles variable, like most ports do, then the file is downloaded only once and cached on the client, not to mention that we can automatically mirror it on our mirror servers. I think the build failure is probably not specific to El Capitan, but rather specific to having the nawk port installed. I've been testing for configure failures in other ports due to nawk. There are many errors in the log like this: {{{ config.status: creating config.h nawk: illegal statement input record number 1, file /opt/local/var/macports/build/_Users_rschmidt_macports_dports_math_reduce /reduce-csl/work/trunk/csl/cslbase/config.h.in source line number 135 config.status: error: could not create config.h }}} I would want to patch the configure script to change the line {{{ for ac_prog in gawk mawk nawk awk }}} to {{{ for ac_prog in gawk mawk awk }}} like I've been doing in many other ports today. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:18> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Should I wait until further instructions? -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:19> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): I'm seeing build errors for reduce-common using the tar.bz2 source. Also I don't have access to the worksource directory. And when I do a "Get Info" on it, only Macports has read/write privilege. What gives? -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:20> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): Ok, for now I'll continue to use the svn-based Portfile you attached here. Assuming it'll build without nawk installed, or with the nawk-avoidance patch added, I'll commit it. Later we can look into upgrading to the latest tarball-based snapshot. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:21> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Why do I not have read permission on the worksource directory? This is unusual, I can't even sudo cd to it? -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:22> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by ryandesign@…): Their tarball might have been created to do that. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:23> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: reduce | -----------------------------+-------------------------- Changes (by ryandesign@…): * status: assigned => closed * resolution: => fixed Comment: r142617 -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:24> MacPorts <https://www.macports.org/> Ports system for OS X
#45739: submission: reduce -----------------------------+-------------------------- Reporter: mark.brethen@… | Owner: ryandesign@… Type: submission | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: reduce | -----------------------------+-------------------------- Comment (by mark.brethen@…): Okay, it looks like they added a build dependency on dvipng, which was causing reduce-common to fail at destroot because the *.png files were nonexistent. -- Ticket URL: <https://trac.macports.org/ticket/45739#comment:25> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts