pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/55430: net/libcmis build failure



>Number:         55430
>Category:       pkg
>Synopsis:       net/libcmis build failure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jun 28 17:15:00 +0000 2020
>Originator:     HAYASAKA Ryo
>Release:        NetBSD 9.99.68
>Organization:
>Environment:
System: NetBSD bonnie.ryohlab.net 9.99.68 NetBSD 9.99.68 (GENERIC) #0: Mon Jun 22 20:15:25 UTC 2020 mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
Architecture: x86_64
Machine: amd64
>Description:
libcmis fails to build as follows:

$ make
=> Bootstrap dependency digest>=20010302: found digest-20190127
=> Checksum SHA1 OK for libcmis-0.5.2.tar.gz
=> Checksum RMD160 OK for libcmis-0.5.2.tar.gz
=> Checksum SHA512 OK for libcmis-0.5.2.tar.gz
===> depends-message [libcmis-0.5.2nb9] ===> Installing dependencies for libcmis-0.5.2nb9
==========================================================================
The following variables will affect the build process of this package,
libcmis-0.5.2nb9.  Their current value is shown below:

        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
=> Tool dependency libtool-base>=2.4.2nb9: found libtool-base-2.4.6nb2
=> Tool dependency gmake>=3.81: found gmake-4.2.1nb1
=> Tool dependency pkgconf-[0-9]*: found pkgconf-1.6.0
=> Tool dependency ccache-[0-9]*: found ccache-3.7.9
=> Tool dependency checkperms>=1.1: found checkperms-1.12
=> Build dependency boost-headers-1.73.*: found boost-headers-1.73.0nb1
=> Build dependency cwrappers>=20150314: found cwrappers-20180325
=> Full dependency boost-libs-1.73.*: found boost-libs-1.73.0nb1
=> Full dependency boost-libs>=1.73.0: found boost-libs-1.73.0nb1
=> Full dependency cppunit>=1.10.2nb5: found cppunit-1.15.1
=> Full dependency libxml2>=2.9.10nb2: found libxml2-2.9.10nb2
=> Full dependency curl>=7.70.0nb2: found curl-7.71.0
...
configure:

libcmis 0.5.2:
              Prefix: /usr/pkg
            Compiler: c++
      Compiler flags: -O2 -D_FORTIFY_SOURCE=2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/cppunit -Wall -pedantic -Weffc++ -Wshadow -Wendif-labels -Wextra -Wsign-promo -Woverloaded-virtual -Wn
on-virtual-dtor -Wsign-promo
              client: yes
              werror: no
               tests: yes
       test coverage: no
                mans: no
...
/usr/pkgsrc/net/libcmis/work/.buildlink/include/boost/iterator/iterator_facade.hpp:703:17: warning: postfix 'Derived boost::iterators::detail::iterator_facade_base<Derived, Value, CategoryOrTraversal, Reference
, Difference, true, false>::operator--(int) [with Derived = boost::iterators::transform_iterator<boost::algorithm::detail::to_lowerF<char>, __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<c
har> >, boost::use_default, boost::use_default>; Value = char; CategoryOrTraversal = boost::iterators::random_access_traversal_tag; Reference = char; Difference = long int]' should return 'boost::iterators::det
ail::iterator_facade_base<boost::iterators::transform_iterator<boost::algorithm::detail::to_lowerF<char>, __gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> >, boost::use_default, boost:
:use_default>, char, boost::iterators::random_access_traversal_tag, char, long int, true, false>' [-Weffc++]
         Derived operator--(int)
                 ^~~~~~~~
In file included from /usr/include/g++/bits/stl_algobase.h:63,
                 from /usr/include/g++/memory:62,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/unicode/localpointer.h:45,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/unicode/uenum.h:23,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/unicode/ucnv.h:53,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/encoding.h:31,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/parser.h:810,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/globals.h:18,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/threads.h:35,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/xmlmemory.h:218,
                 from /usr/pkgsrc/net/libcmis/work/.buildlink/include/libxml2/libxml/tree.h:1307,
                 from ../../inc/libcmis-c/repository.h:35,
                 from repository.cxx:29:
/usr/include/g++/ext/numeric_traits.h:54:3: error: template with C linkage
   template<typename _Value>
   ^~~~~~~~

>How-To-Repeat:
$ make
>Fix:


Home | Main Index | Thread Index | Old Index