ports/188498: lang/hiphop-php build failure

Eugene M. Zheganin eugene at zhegan.in
Sat Apr 12 08:40:01 UTC 2014


>Number:         188498
>Category:       ports
>Synopsis:       lang/hiphop-php build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Apr 12 08:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Eugene M. Zheganin
>Release:        FreeBSD 10-STABLE
>Organization:
Enaza LLC
>Environment:
FreeBSD hhvm 10.0-STABLE FreeBSD 10.0-STABLE #0 r262206: Wed Feb 19 17:12:40 MSK 2014     emz at dione:/usr/obj/usr/src/sys/DIONE  amd64
>Description:
Cannot build lang/hiphop-php on FreeBSD 10-STABLE.

The build process complains:

[...]
===>  Performing in-source build
/bin/mkdir -p /usr/ports/lang/hiphop-php/work/hiphop-php-HPHP-2.1
-- CMAKE_PREFIX_PATH was missing, proceeding anyway
-- Using const for input to iconv() call
-- MySQL Include dir: /usr/local/include/mysql  library dir: /usr/local/lib/mysql
-- MySQL client libraries: mysqlclient_r
-- Found GD: /usr/local/lib/libgd.so
-- Found ICU header files in /usr/local/include
-- Found ICU libraries: /usr/local/lib/libicuuc.so
-- Found minimal tcmalloc: /usr/local/lib/libtcmalloc_minimal.so
-- Found Intel TBB
-- Found mcrypt: /usr/local/lib/libmcrypt.so
CMake Error at CMake/HPHPFindLibs.cmake:308 (message):
  You need to install binutils
Call Stack (most recent call first):
  CMake/HPHPSetup.cmake:46 (include)
  hphp/CMakeLists.txt:18 (include)


-- Configuring incomplete, errors occurred!
See also "/usr/ports/lang/hiphop-php/work/hiphop-php-HPHP-2.1/CMakeFiles/CMakeOutput.log".
See also "/usr/ports/lang/hiphop-php/work/hiphop-php-HPHP-2.1/CMakeFiles/CMakeError.log".
*** Signal 11

Stop.
make[1]: stopped in /usr/ports/lang/hiphop-php
*** Error code 1


>From what I see this is because libiberty cannot be found:

===Cut===
FIND_LIBRARY (BFD_LIB bfd)
FIND_LIBRARY (BINUTIL_LIB iberty)

if (NOT BFD_LIB)
        message(FATAL_ERROR "You need to install binutils")
endif()

if (NOT BINUTIL_LIB)
        message(FATAL_ERROR "You need to install binutils")
endif()
===Cut===

libiberty is installed as a part of gcc74:

# pkg info -lx gcc | grep iberty
        /usr/local/lib/gcc47/gcc/x86_64-portbld-freebsd10.0/4.7.3/plugin/include/libiberty.h
        /usr/local/lib/gcc47/libiberty.a

This port also misses a dependency to devel/libinotify and devel/google-perftools (it complains during build but this doesn't lead to a crash).
>How-To-Repeat:
Try to install hiphop-php from fresh ports.
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list