Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 8 Jan 2014 03:14:15 GMT
From:      David Cecchin <dcecchin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   misc/185569: devel/ice-3.5.0 cannot be built against databases/db6
Message-ID:  <201401080314.s083EFj5077649@oldred.freebsd.org>
Resent-Message-ID: <201401080320.s083K0A5031045@freefall.freebsd.org>

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

>Number:         185569
>Category:       misc
>Synopsis:       devel/ice-3.5.0 cannot be built against databases/db6
>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 Jan 08 03:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     David Cecchin
>Release:        FreeBSD 9.2-RELEASE
>Organization:
>Environment:
FreeBSD sanction.local 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 22:50:31 UTC 2013     root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
It would appear that devel/ice-3.5.0 cannot be built against databases/db6

This is the error I saw:

gmake[2]: Leaving directory `/usr/ports/devel/ice/work/Ice-3.5.0/cpp/src/IceSSL'
making all in IceBox
gmake[2]: Entering directory `/usr/ports/devel/ice/work/Ice-3.5.0/cpp/src/IceBox'
rm -f ../../include/IceBox/IceBox.h IceBox.cpp
./../bin/slice2cpp --checksum --ice --dll-export ICE_BOX_API --include-dir IceBox -I../../../slice ../../../slice/IceBox/IceBox.ice
mv IceBox.h ../../include/IceBox
clang++ -c -I..  -I./include -I../include -I../../include -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing IceBox.cpp
MapDb.cpp:137:17: error: no matching member function for call to 'set_bt_compare'
                set_bt_compare(&customCompare);
                ^~~~~~~~~~~~~~
/usr/local/include/db6/db_cxx.h:272:14: note: candidate function not viable: no known conversion from 'int (*)(DB *, const DBT *, const DBT *)' to 'bt_compare_fcn_type'
      (aka 'int (*)(DB *, const DBT *, const DBT *, size_t *)') for 1st argument
        virtual int set_bt_compare(bt_compare_fcn_type); /*deprecated*/
                    ^
/usr/local/include/db6/db_cxx.h:273:14: note: candidate function not viable: no known conversion from 'int (*)(DB *, const DBT *, const DBT *)' to
      'int (*)(Db *, const Dbt *, const Dbt *, size_t *)' for 1st argument
        virtual int set_bt_compare(
                    ^
1 error generated.
gmake[2]: *** [MapDb.o] Error 1
gmake[2]: Leaving directory `/usr/ports/devel/ice/work/Ice-3.5.0/cpp/src/Freeze'
gmake[1]: *** [Freeze] Error 2
gmake[1]: *** Waiting for unfinished jobs....
clang++ -c -I..  -I./include -I../include -I../../include -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing Exception.cpp
clang++ -c -I..  -I./include -I../include -I../../include -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing ServiceManagerI.cpp
clang++ -c -I..  -I./include -I../include -I../../include -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing Serviceclang++ -c -I..  -I./include -I../include -I../../include -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing Admin.cpp
rm -f ../../lib/libIceBox.so.3.5.0
clang++ -shared  -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing -L../../lib -o ../../lib/libIceBox.so.3.5.0 -Wl,-h,libIceBox.so.35   IceBox.o Exception.o  -lIce -lIceUtil
rm -f ../../lib/libIceBox.so.35
ln -s libIceBox.so.3.5.0 ../../lib/libIceBox.so.35
rm -f ../../lib/libIceBox.so
ln -s libIceBox.so.35   ../../lib/libIceBox.so
rm -f ../../bin/icebox
clang++  -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing -L../../lib -o ../../bin/icebox ServiceManagerI.o Service.o -lIceBox -lIce -lIceUtil -pthread -L/usr/local/lib -liconv 
rm -f ../../bin/iceboxadmin
clang++  -O2 -pipe -ftemplate-depth-128 -fPIC -DPIC -Wall -D_REENTRANT -I/usr/local/include -DNDEBUG -fno-strict-aliasing -L../../lib -o ../../bin/iceboxadmin Admin.o -lIceBox -lIce -lIceUtil -pthread -L/usr/local/lib -liconv 
gmake[2]: Leaving directory `/usr/ports/devel/ice/work/Ice-3.5.0/cpp/src/IceBox'
gmake[1]: Leaving directory `/usr/ports/devel/ice/work/Ice-3.5.0/cpp/src'
gmake: *** [all] Error 1
===> Compilation failed unexpectedly.
>How-To-Repeat:
1. Install databases/db6
2. Build devel/ice-3.5.0
>Fix:


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



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