Bug 190871 - graphics/graphviz fails to compile v2.36.0 FreeBSD10.0-RELEASE-p3
Summary: graphics/graphviz fails to compile v2.36.0 FreeBSD10.0-RELEASE-p3
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Dirk Meyer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-10 09:40 UTC by Edward Armes
Modified: 2014-06-14 04:10 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Edward Armes 2014-06-10 09:40:08 UTC
attempted to build graphviz received the following compile error. This was a clean build (no previous installs) with only the default config.

gmake[7]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan/demo'
gmake[7]: Nothing to be done for `all-am'.
gmake[7]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan/demo'
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan/demo'
gmake[6]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan'
gmake[6]: Nothing to be done for `all-am'.
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan'
gmake[5]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tclpathplan'
Making all in tkspline
gmake[5]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline'
Making all in demo
gmake[6]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline/demo'
gmake[6]: Nothing to be done for `all'.
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline/demo'
gmake[6]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline'
gmake[6]: Nothing to be done for `all-am'.
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline'
gmake[5]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/tkspline'
Making all in gv
gmake[5]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv'
Making all in demo
gmake[6]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv/demo'
gmake[6]: Nothing to be done for `all'.
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv/demo'
gmake[6]: Entering directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv'
  CC       libgv_php_la-gv_php_init.lo
gv_php_init.c:28:12: error: use of undeclared identifier 'tsrm_ls'
    return PHPWRITE(s, len);
           ^
/usr/local/include/php/main/php_output.h:163:67: note: expanded from macro 'PHPWRITE'
#define PHPWRITE(str, str_len)          php_output_write((str), (str_len) TSRMLS_CC)
                                                                          ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:168:21: note: expanded from macro 'TSRMLS_CC'
#define TSRMLS_CC       , TSRMLS_C
                          ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:167:18: note: expanded from macro 'TSRMLS_C'
#define TSRMLS_C        tsrm_ls
                        ^
gv_php_init.c:33:12: error: use of undeclared identifier 'tsrm_ls'
    return PHPWRITE(s, len);
           ^
/usr/local/include/php/main/php_output.h:163:67: note: expanded from macro 'PHPWRITE'
#define PHPWRITE(str, str_len)          php_output_write((str), (str_len) TSRMLS_CC)
                                                                          ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:168:21: note: expanded from macro 'TSRMLS_CC'
#define TSRMLS_CC       , TSRMLS_C
                          ^
/usr/local/include/php/Zend/../TSRM/TSRM.h:167:18: note: expanded from macro 'TSRMLS_C'
#define TSRMLS_C        tsrm_ls
                        ^
2 errors generated.
gmake[6]: *** [libgv_php_la-gv_php_init.lo] Error 1
gmake[6]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv'
gmake[5]: *** [all-recursive] Error 1
gmake[5]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg/gv'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0/tclpkg'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/graphics/graphviz/work/graphviz-2.36.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/graphviz
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/graphviz
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2014-06-13 04:17:17 UTC
Over to maintainer.
Comment 2 Dirk Meyer freebsd_committer freebsd_triage 2014-06-14 04:10:52 UTC
I can nor reproduce this error:

Cluster builds are okay:
http://portsmon.freebsd.org/portoverview.py?category=&portname=graphviz&wildcard=

The log does not match the claimed "default options."

libgv_php_la-gv_php_init is not build by default.

with option PHP enabled

  CC       libgv_php_la-gv_php_init.lo
libtool: install: (cd /data/image/usr/ports/current/graphviz-full/work/graphviz-2.36.0/tclpkg/gv; /bin/sh /data/image/usr/ports/current/graphviz-full/work/graphviz-2.36.0/libtool  --silent --tag CXX --mode=relink c++ -O2 -pipe -I/usr/local/include/lua52 -DLIBICONV_PLUG -fno-strict-aliasing -DLIBICONV_PLUG -module -avoid-version -L/usr/local/lib -L/usr/local/lib -lm -pthread -L/usr/local/lib -o libgv_php.la -rpath /usr/local/lib/graphviz/php libgv_php_la-gv.lo libgv_php_la-gv_builtins.lo libgv_php_la-gv_php_init.lo libgv_php_la-gv_php.lo ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la ../../lib/cdt/libcdt.la -lc -inst-prefix-dir /data/image/usr/ports/current/graphviz-full/work/stage)

php5-5.4.29.txz

Which Version of PHP do you have installed?