Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Mar 2014 01:46:43 GMT
From:      C Hutchinson <portmaster@bsdforge.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/187268: graphics/libopenraw-0.0.8 fails to build/install during configure stage -- can't find Boost unit_test_framework library
Message-ID:  <201403050146.s251khBW080787@cgiserv.freebsd.org>
Resent-Message-ID: <201403050150.s251o09T074090@freefall.freebsd.org>

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

>Number:         187268
>Category:       misc
>Synopsis:       graphics/libopenraw-0.0.8 fails to build/install during configure stage -- can't find Boost unit_test_framework library
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Mar 05 01:50:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     C Hutchinson
>Release:        8.4-STABLE
>Organization:
>Environment:
FreeBSD ns0 8.4-STABLE FreeBSD 8.4-STABLE #0 r262568: Thu Feb 27 14:27:03 PST 2014     root@ns0:/usr/obj/usr/src/sys/NS0  amd64
>Description:
Any attempt to build graphics/libopenraw fail during the configure stage:

..
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_framewor
k
===>  Script "configure" failed unexpectedly.
Please report the problem to ports@FreeBSD.org [maintainer] and attach the
"/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

Stop in /usr/ports/graphics/libopenraw.

OK. That's BS. I have Boost installed, and many other ports which depend on it
build just fine.

Let's see now:

# ls /usr/local/include/boost/test


auto_unit_test.hpp
debug.hpp
debug_config.hpp
detail
exception_safety.hpp
execution_monitor.hpp
floating_point_comparison.hpp
framework.hpp
impl
included
interaction_based.hpp
logged_expectations.hpp
minimal.hpp
mock_object.hpp
output
output_test_stream.hpp
parameterized_test.hpp
predicate_result.hpp
prg_exec_monitor.hpp
progress_monitor.hpp
results_collector.hpp
results_reporter.hpp
test_case_template.hpp
test_exec_monitor.hpp
test_observer.hpp
test_tools.hpp
unit_test.hpp
unit_test_log.hpp
unit_test_log_formatter.hpp
unit_test_monitor.hpp
unit_test_suite.hpp
unit_test_suite_impl.hpp
utils

Yep. All the needed headers are there. But it was complaining about libs.
Let's see...

# ls /usr/local/lib/libboost_unit*

/usr/local/lib/libboost_unit_test_framework.a
/usr/local/lib/libboost_unit_test_framework.so
/usr/local/lib/libboost_unit_test_framework.so.1.55.0
/usr/local/lib/libboost_unit_test_framework.so.5

Yep. The needed libs are there too. So what exactly is the problem?!

Thank you for any time, and consideration, in this matter

--Chris

>How-To-Repeat:
attempt to build graphics/libopenraw

>Fix:
Beats me?


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



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