Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 07:28:04 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        turutani@scphys.kyoto-u.ac.jp
Subject:   ports/186779: building graphics/libopenraw fails
Message-ID:  <201402142228.s1EMS4gw054377@h120.65.226.10.32118.vlan.kuins.net>
Resent-Message-ID: <201402142230.s1EMU0FG078345@freefall.freebsd.org>

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

>Number:         186779
>Category:       ports
>Synopsis:       building graphics/libopenraw fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 14 22:30:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 8.4-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD h120.65.226.10.32118.vlan.kuins.net 8.4-PRERELEASE FreeBSD 8.4-PRERELEASE #26 r249149: Fri Apr 5 22:13:25 JST 2013 turutani@h120.65.226.10.32118.vlan.kuins.net:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	building graphics/libopenraw fails.
	
>How-To-Repeat:
	% make
	...
	===>  Found saved configuration for libopenraw-0.0.8_4
	===> Fetching all distfiles required by libopenraw-0.0.8_6 for building
	===>  Extracting for libopenraw-0.0.8_6
	=> SHA256 Checksum OK for libopenraw-0.0.8.tar.gz.
	===>  Patching for libopenraw-0.0.8_6
	===>  Applying FreeBSD patches for libopenraw-0.0.8_6
	===>   libopenraw-0.0.8_6 depends on executable: pkgconf - found
	===>   libopenraw-0.0.8_6 depends on file: /usr/local/bin/intltool-extract - found
	===>   libopenraw-0.0.8_6 depends on shared library: libboost_thread.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libjpeg.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libatk-1.0.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libglib-2.0.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libpcre.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libgtk-x11-2.0.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libxml2.so - found
	 - found
	===>   libopenraw-0.0.8_6 depends on shared library: libpango-1.0.so - found
	 - found
	===>  Configuring for libopenraw-0.0.8_6
	configure: loading site script /usr/ports/Templates/config.site
	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... (cached) /bin/mkdir -p
	checking for gawk... (cached) /usr/bin/awk
	checking whether make sets $(MAKE)... yes
	checking whether to enable maintainer-specific portions of Makefiles... no
	checking for gcc... cc
	checking for C compiler default output file name... a.out
	checking whether the C compiler works... yes
	checking whether we are cross compiling... no
	checking for suffix of executables...
	checking for suffix of object files... o
	checking whether we are using the GNU C compiler... yes
	checking whether cc accepts -g... yes
	checking for cc option to accept ISO C89... none needed
	checking for style of include used by make... GNU
	checking dependency style of cc... gcc3
	checking how to run the C preprocessor... cpp
	checking whether we are using the GNU C++ compiler... yes
	checking whether c++ accepts -g... yes
	checking dependency style of c++... gcc3
	checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
	checking build system type... i386-portbld-freebsd8.4
	checking host system type... i386-portbld-freebsd8.4
	checking for a sed that does not truncate output... (cached) /usr/bin/sed
	checking for grep that handles long lines and -e... (cached) /usr/bin/grep
	checking for egrep... (cached) /usr/bin/egrep
	checking for fgrep... (cached) /usr/bin/fgrep
	checking for ld used by cc... /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 whether ln -s works... yes
	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 for /usr/bin/ld option to reload object files... -r
	checking for objdump... objdump
	checking how to recognize dependent libraries... pass_all
	checking for ar... ar
	checking for strip... strip
	checking for ranlib... ranlib
	checking command to parse /usr/bin/nm -B output from cc object... ok
	checking for ANSI C header files... (cached) yes
	checking for sys/types.h... (cached) yes
	checking for sys/stat.h... (cached) yes
	checking for stdlib.h... (cached) yes
	checking for string.h... (cached) yes
	checking for memory.h... (cached) yes
	checking for strings.h... (cached) yes
	checking for inttypes.h... (cached) yes
	checking for stdint.h... (cached) yes
	checking for unistd.h... (cached) yes
	checking for dlfcn.h... (cached) yes
	checking whether we are using the GNU C++ compiler... (cached) yes
	checking whether c++ accepts -g... (cached) yes
	checking dependency style of c++... (cached) gcc3
	checking how to run the C++ preprocessor... c++ -E
	checking for objdir... .libs
	checking if cc supports -fno-rtti -fno-exceptions... no
	checking for cc option to produce PIC... -fPIC -DPIC
	checking if cc PIC flag -fPIC -DPIC works... yes
	checking if cc static flag -static works... yes
	checking if cc supports -c -o file.o... yes
	checking if cc supports -c -o file.o... (cached) yes
	checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
	checking whether -lc should be explicitly linked in... no
	checking dynamic linker characteristics... freebsd8.4 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 for ld used by c++... /usr/bin/ld
	checking if the linker (/usr/bin/ld) is GNU ld... yes
	checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
	checking for c++ option to produce PIC... -fPIC -DPIC
	checking if c++ PIC flag -fPIC -DPIC works... yes
	checking if c++ static flag -static works... yes
	checking if c++ supports -c -o file.o... yes
	checking if c++ supports -c -o file.o... (cached) yes
	checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
	checking dynamic linker characteristics... freebsd8.4 ld.so
	checking how to hardcode library paths into programs... immediate
	checking for Boost headers version >= 1.33.0... /usr/local/include
	checking for Boost's header version... 1_55
	checking for the toolset name used by Boost for c++... gcc42
	checking boost/test/unit_test.hpp usability... yes
	checking boost/test/unit_test.hpp presence... yes
	checking for boost/test/unit_test.hpp... yes
	checking for the Boost unit_test_framework library... no
	configure: error: Could not find the flags to link with Boost unit_test_framework
	===>  Script "configure" failed unexpectedly.
	Please report the problem to ports@FreeBSD.org [maintainer] and attach the
	"/usr/local/work/usr/ports/graphics/libopenraw/work/libopenraw-0.0.8/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/sbin/pkg_info -Ea).
	*** Error code 1
	 
	Stop in /usr/ports/graphics/libopenraw.
	*** Error code 1

	
>Fix:
	I have no idea.
	linking /usr/local/lib/libboost_unit_test_framework.so.1.55.0 as
	/usr/local/lib/libboost_unit_test_framework-d.so can avoid this problem,
	but it is not sane...
	


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



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