Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 17 Dec 2012 21:55:14 GMT
From:      Chess Griffin <chess@chessgriffin.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/174528: textproc/libvisio fails at checking gperf version 
Message-ID:  <201212172155.qBHLtEwl050114@red.freebsd.org>
Resent-Message-ID: <201212172200.qBHM00Kd060491@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         174528
>Category:       ports
>Synopsis:       textproc/libvisio fails at checking gperf version
>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:   Mon Dec 17 22:00:00 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Chess Griffin
>Release:        9.0-RELEASE
>Organization:
>Environment:
FreeBSD fbsd 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan  3 07:46:30 UTC 2012     root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
I'm trying to build libreoffice and it fails during the build of libvisio because libvisio thinks the installed version of gperf is too old.  Here is the actual error message:

fbsd# pwd
/usr/ports/textproc/libvisio
fbsd# make install clean
===>   libvisio-0.0.23 depends on file: /usr/local/include/boost/spirit/include/classic_core.hpp - found
===>   libvisio-0.0.23 depends on executable: gmake - found
===>   libvisio-0.0.23 depends on executable: pkgconf - found
===>   libvisio-0.0.23 depends on shared library: wpd-0.9 - found
===>   libvisio-0.0.23 depends on shared library: wpg-0.2 - found
===>  Configuring for libvisio-0.0.23
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... gawk
checking whether gmake sets $(MAKE)... yes
checking whether gmake supports nested variables... yes
checking for style of include used by gmake... GNU
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether clang++ accepts -g... yes
checking dependency style of clang++... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking for gcc... clang
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking dependency style of clang... gcc3
checking how to run the C preprocessor... clang-cpp
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether clang++ accepts -g... (cached) yes
checking dependency style of clang++... (cached) gcc3
checking whether ln -s works... yes
checking whether gmake sets $(MAKE)... (cached) yes
checking build system type... amd64-portbld-freebsd9.0
checking host system type... amd64-portbld-freebsd9.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by clang... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert amd64-portbld-freebsd9.0 file names to amd64-portbld-freebsd9.0 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd9.0 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... no
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if clang supports -fno-rtti -fno-exceptions... yes
checking for clang option to produce PIC... -fPIC -DPIC
checking if clang PIC flag -fPIC -DPIC works... yes
checking if clang static flag -static works... yes
checking if clang supports -c -o file.o... yes
checking if clang supports -c -o file.o... (cached) yes
checking whether the clang linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... clang++ -E
checking for ld used by clang++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking for clang++ option to produce PIC... -fPIC -DPIC
checking if clang++ PIC flag -fPIC -DPIC works... yes
checking if clang++ static flag -static works... yes
checking if clang++ supports -c -o file.o... yes
checking if clang++ supports -c -o file.o... (cached) yes
checking whether the clang++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.0 ld.so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.20... yes
checking for egrep... (cached) /usr/bin/grep -E
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for gperf... /usr/bin/gperf
checking gperf version... configure: error: too old, you need at least 3.0.0
===>  Script "configure" failed unexpectedly.
Please report the problem to office@FreeBSD.org [maintainer] and attach the
"/usr/ports/textproc/libvisio/work/libvisio-0.0.23/config.log" including the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. a
/usr/local/sbin/pkg info -g -Ea).
*** Error code 1

Stop in /usr/ports/textproc/libvisio.



However, I have the latest gperf installed:

fbsd# pkg info | grep gperf
gperf-3.0.3                    Generates perfect hash functions for sets of keywords

Ports tree is updated as of five minutes ago and I reran the build with same error.  I am using clang to build ports.
>How-To-Repeat:

>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212172155.qBHLtEwl050114>