Bug 199853 - Update math/reduce to version 20141130
Summary: Update math/reduce to version 20141130
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-01 21:32 UTC by Pedro F. Giffuni
Modified: 2015-05-02 15:49 UTC (History)
1 user (show)

See Also:


Attachments
Port update (2.36 KB, patch)
2015-05-01 21:32 UTC, Pedro F. Giffuni
no flags Details | Diff
Update: including dependency on autoreconf (2.58 KB, patch)
2015-05-02 15:08 UTC, Pedro F. Giffuni
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro F. Giffuni freebsd_committer freebsd_triage 2015-05-01 21:32:33 UTC
Created attachment 156225 [details]
Port update

Update to a recent snapshot. This version supports the CSL build on FreeBSD but I will have to figure out how to package it as it may not build on all archs.

Confirmed to build with both clang and gcc48 on FreeBSD.
Comment 1 Pedro F. Giffuni freebsd_committer freebsd_triage 2015-05-01 21:38:52 UTC
(In reply to Pedro F. Giffuni from comment #0)

I meant PSL ... CSL is the version we are using :).
Comment 2 John Marino freebsd_committer freebsd_triage 2015-05-02 07:15:13 UTC
253 MiB?  This is huge!

Testing now but downloading on a slow connection.
Comment 3 John Marino freebsd_committer freebsd_triage 2015-05-02 11:55:22 UTC
hmm, I forgot that you don't use poudriere.  This don't build, seems to be missing reconf or something:




(CDPATH="${ZSH_VERSION+.}:" && cd /wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30/csl/cslbase/crlibm && /bin/sh /wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30/csl/cslbase/crlibm/missing autoheader)
/wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30/csl/cslbase/crlibm/missing: autoheader: not found
WARNING: 'autoheader' is missing on your system.
         You should only need it if you modified 'acconfig.h' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'autoheader' program is part of the GNU Autoconf package:
         <http://www.gnu.org/software/autoconf/>
         It also requires GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
Makefile:535: recipe for target '/wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30/csl/cslbase/crlibm/crlibm_config.h.in' failed
gmake[6]: *** [/wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30/csl/cslbase/crlibm/crlibm_config.h.in] Error 127
Makefile:647: recipe for target 'install-recursive' failed
gmake[5]: *** [install-recursive] Error 1
Makefile:4237: recipe for target '../include/crlibm.h' failed
gmake[4]: *** [../include/crlibm.h] Error 2
Makefile:990: recipe for target 'all' failed
gmake[3]: *** [all] Error 2
Makefile:602: recipe for target 'all' failed
gmake[2]: *** [all] Error 2
Building failed with return code 2 for version cslbuild/x86_64-unknown-freebsd10.0
Makefile:11: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/math/reduce/work/reduce-src-2014-11-30'
*** Error code 1

Stop.
make: stopped in /usr/ports/math/reduce
build of math/reduce ended at Sat May  2 09:53:59 CEST 2015
build time: 00:42:44
!!! build failure encountered !!!
Comment 4 Pedro F. Giffuni freebsd_committer freebsd_triage 2015-05-02 14:36:18 UTC
Thanks, I see ...

The snapshot somehow omitted some configuration stuff and I didn't notice because I have autotools installed. Unfortunately anything that sets GNU_CONFIGURE breaks staging (no idea why). I will have to do some ugly tweaks.
Comment 5 Pedro F. Giffuni freebsd_committer freebsd_triage 2015-05-02 15:08:12 UTC
Created attachment 156237 [details]
Update: including dependency on autoreconf

This works here.
Comment 6 commit-hook freebsd_committer freebsd_triage 2015-05-02 15:48:14 UTC
A commit references this bug:

Author: marino
Date: Sat May  2 15:48:09 UTC 2015
New revision: 385182
URL: https://svnweb.freebsd.org/changeset/ports/385182

Log:
  math/reduce: upgrade version 20110414 => 20141130

  This version can be built by system compilers (gcc 4.2 & clang) and
  also ports gcc compilers, unlike its predecessor which would segfault
  and even lock up during build.

  PR:		199832, 199853
  Submitted by:	pfg (maintainer)

Changes:
  head/math/reduce/Makefile
  head/math/reduce/distinfo
  head/math/reduce/files/patch-csl_cslbase_headers.h
Comment 7 John Marino freebsd_committer freebsd_triage 2015-05-02 15:49:42 UTC
The last version worked as advertised, thanks!