From owner-freebsd-ports@freebsd.org Fri Jun 9 06:11:15 2017 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ECFFEB94CBB; Fri, 9 Jun 2017 06:11:15 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: from mail-pg0-x234.google.com (mail-pg0-x234.google.com [IPv6:2607:f8b0:400e:c05::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AB9467FD32; Fri, 9 Jun 2017 06:11:15 +0000 (UTC) (envelope-from koobs.freebsd@gmail.com) Received: by mail-pg0-x234.google.com with SMTP id v18so23320578pgb.1; Thu, 08 Jun 2017 23:11:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:reply-to:subject:to:references:from:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=evZ1XQ1eLWhqSBoOxU+NFfpMirj+j9IHy7I/SC/9JiY=; b=WRJkVIuEMHjf/YVMacmD026c6S7lB4nknICYQhTu1Q47My0+Tk28/KnA2IK1pSiflJ nQPBVXy0uDVz599fjWNkt51b9FKSbtQnbZGq2ivhOuttbwaPrtZzuuQcX4AU9MdpU9iJ 2M+9LZC7hIKK05dFyfI/zVSqCPcNHAt5Tf/OdyeRWLeuMgEsZLXP02UFepEglU+Ki9Ge HnZDHsnBTlveDHs9ftTeuM/U1gg0nOmr/Q3Bt3/57krW+WwjHbH6WImeRJVwudeeCJ9U I62PlLli21a6PH1cHuaVxTNQ/X1BTH2vq5vFcr6++I52T321MgWHwBm7m/ATLdRyNxoD aoug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:reply-to:subject:to:references:from:cc :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=evZ1XQ1eLWhqSBoOxU+NFfpMirj+j9IHy7I/SC/9JiY=; b=TggLeWRtkgLIzEpZqMx0qIaf/nwuI4M63Li5VQ2u2qsuKR4t7q48JtIUU16XkM/ChW UPaS0LT/ZmqPcoQitkEQsuBsseDRMEUU+0d9hvPwccWpRziDqdEGcqZQ4R7jjFESjGRU tvmv79lrFyeHaRtZJrCha5VIQkhTI6OyLFY+udMmIyNSR69UUz2CAFImjzvdYHkd1mUW 4bqP4mbQ0v6QX94QmMMmLrAfyGD6auj1zU6csfGFKpzGXnc2vZKmKJImYBLobqKyWsBB TZnIda/hSIjym5h6NQQ9GvRdv2bD0XFPoTFw8t563KOoD1IjAS1pe4oul88t15edlA4R Ob+w== X-Gm-Message-State: AODbwcBkpiw/GIUmvA1tQ+tQVr98BW6ftDipl0IxHJfKS8/FtpcfmEVE 5K+mo9jYpI+6SMP4Zd0= X-Received: by 10.99.96.81 with SMTP id u78mr35607710pgb.101.1496988674595; Thu, 08 Jun 2017 23:11:14 -0700 (PDT) Received: from ?IPv6:2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c? (2001-44b8-31ae-7b01-2042-03e8-d7ce-9b9c.static.ipv6.internode.on.net. [2001:44b8:31ae:7b01:2042:3e8:d7ce:9b9c]) by smtp.gmail.com with ESMTPSA id t77sm412797pfg.102.2017.06.08.23.11.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 08 Jun 2017 23:11:14 -0700 (PDT) Sender: Kubilay Kocak Reply-To: koobs@FreeBSD.org Subject: Re: autoreconf missing boost? To: blubee blubeeme , FreeBSD current References: From: Kubilay Kocak Cc: Koop Mast , FreeBSD Ports List Message-ID: Date: Fri, 9 Jun 2017 16:06:34 +1000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:54.0) Gecko/20100101 Thunderbird/54.0a2 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-AU Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Jun 2017 06:11:16 -0000 On 6/9/17 2:52 AM, blubee blubeeme wrote: > I forgot to add this in my last email, here's the boost packages that I > have installed. > > me@blubee:~ % pkg info | grep boost > boost-jam-1.64.0 Build tool from the boost.org > boost-libs-1.64.0 Free portable C++ libraries (without > Boost.Python) > boost-python-libs-1.62.0 Framework for interfacing Python and C++ > boost_build-2.0.m12_4 Extensible cross-platform build tool suite > > > On Thu, Jun 8, 2017 at 11:56 PM, blubee blubeeme > wrote: > >> Hi >> >> I'm running a autoreconf trying to port a project; some printer code. >> Having a bit of trouble. >> >> I ran autoreconf -fi >> >> then I do: >> ./configure --with-ltdl-include=/usr/local/share/libtool --with-gnu-ld >> --with-libintl-prefix=/usr/local >> >> that goes straight forward. >> >> Then when I run gmake, it seems to fail at linking boost or something like >> that. Here's the output of gmake, i've tried both make and gmake: >> me@blubee:~/Downloads/Epson/ut % gmake >> gmake all-recursive >> gmake[1]: Entering directory '/usr/home/blubee/Downloads/Epson/ut' >> Making all in . >> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut' >> gmake[2]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut' >> Making all in lib >> gmake[2]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib' >> Making all in . >> gmake[3]: Entering directory '/usr/home/blubee/Downloads/Epson/ut/lib' >> CXX connexion.lo >> In file included from connexion.cpp:32:0: >> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/ >> include-fixed/sys/types.h:266:9: error: '__vm_ooffset_t' does not name a >> type >> typedef __vm_ooffset_t vm_ooffset_t; >> ^ >> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/ >> include-fixed/sys/types.h:268:9: error: '__vm_pindex_t' does not name a >> type >> typedef __vm_pindex_t vm_pindex_t; >> ^ >> In file included from /usr/local/lib/gcc49/include/c++/cstdlib:72:0, >> from /usr/local/include/boost/core/demangle.hpp:39, >> from /usr/local/include/boost/core/typeinfo.hpp:119, >> from /usr/local/include/boost/detail/sp_typeinfo.hpp:20, >> from /usr/local/include/boost/ >> smart_ptr/detail/sp_counted_base_gcc_x86.hpp:27, >> from /usr/local/include/boost/ >> smart_ptr/detail/sp_counted_base.hpp:54, >> from /usr/local/include/boost/ >> smart_ptr/detail/shared_count.hpp:29, >> from /usr/local/include/boost/ >> smart_ptr/shared_ptr.hpp:28, >> from /usr/local/include/boost/shared_ptr.hpp:17, >> from /usr/local/include/boost/filesystem/path.hpp:29, >> from /usr/local/include/boost/filesystem.hpp:16, >> from connexion.cpp:40: >> /usr/local/lib/gcc49/gcc/x86_64-portbld-freebsd12.0/4.9.4/include-fixed/stdlib.h:192:46: >> error: expected initializer before '__nonnull' >> int posix_memalign(void **, size_t, size_t) __nonnull(1); /* (ADV) */ >> ^ >> In file included from /usr/local/lib/gcc49/include/ >> c++/x86_64-portbld-freebsd12.0/bits/gthr.h:148:0, >> from /usr/local/lib/gcc49/include/c++/ext/atomicity.h:35, >> from /usr/local/lib/gcc49/include/c++/bits/ios_base.h:39, >> from /usr/local/lib/gcc49/include/c++/ios:42, >> from /usr/local/lib/gcc49/include/c++/ostream:38, >> from /usr/local/lib/gcc49/include/c++/iostream:39, >> from connexion.cpp:38: >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:101:1: >> error: 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_once) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:102:1: >> error: 'void* __gthrw_pthread_getspecific(pthread_key_t)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_getspecific) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:103:1: >> error: 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_setspecific) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:105:1: >> error: 'int __gthrw_pthread_create(pthread**, pthread_attr* const*, void* >> (*)(void*), void*)' declared 'static' but never defined >> [-Werror=unused-function] >> __gthrw(pthread_create) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:106:1: >> error: 'int __gthrw_pthread_join(pthread_t, void**)' declared 'static' >> but never defined [-Werror=unused-function] >> __gthrw(pthread_join) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:107:1: >> error: 'int __gthrw_pthread_equal(pthread_t, pthread_t)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_equal) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:108:1: >> error: 'pthread* __gthrw_pthread_self()' declared 'static' but never >> defined [-Werror=unused-function] >> __gthrw(pthread_self) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:109:1: >> error: 'int __gthrw_pthread_detach(pthread_t)' declared 'static' but >> never defined [-Werror=unused-function] >> __gthrw(pthread_detach) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:111:1: >> error: 'int __gthrw_pthread_cancel(pthread_t)' declared 'static' but >> never defined [-Werror=unused-function] >> __gthrw(pthread_cancel) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:113:1: >> error: 'int __gthrw_sched_yield()' declared 'static' but never defined >> [-Werror=unused-function] >> __gthrw(sched_yield) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:115:1: >> error: 'int __gthrw_pthread_mutex_lock(pthread_mutex**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutex_lock) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:116:1: >> error: 'int __gthrw_pthread_mutex_trylock(pthread_mutex**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutex_trylock) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:118:1: >> error: 'int __gthrw_pthread_mutex_timedlock(pthread_mutex**, const >> timespec*)' declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutex_timedlock) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:120:1: >> error: 'int __gthrw_pthread_mutex_unlock(pthread_mutex**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutex_unlock) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:121:1: >> error: 'int __gthrw_pthread_mutex_init(pthread_mutex**, >> pthread_mutex_attr* const*)' declared 'static' but never defined >> [-Werror=unused-function] >> __gthrw(pthread_mutex_init) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:122:1: >> error: 'int __gthrw_pthread_mutex_destroy(pthread_mutex**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutex_destroy) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:124:1: >> error: 'int __gthrw_pthread_cond_init(pthread_cond**, pthread_cond_attr* >> const*)' declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_cond_init) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:125:1: >> error: 'int __gthrw_pthread_cond_broadcast(pthread_cond**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_cond_broadcast) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:126:1: >> error: 'int __gthrw_pthread_cond_signal(pthread_cond**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_cond_signal) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:127:1: >> error: 'int __gthrw_pthread_cond_wait(pthread_cond**, pthread_mutex**)' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_cond_wait) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:128:1: >> error: 'int __gthrw_pthread_cond_timedwait(pthread_cond**, >> pthread_mutex**, const timespec*)' declared 'static' but never defined >> [-Werror=unused-function] >> __gthrw(pthread_cond_timedwait) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:129:1: >> error: 'int __gthrw_pthread_cond_destroy(pthread_cond**)' declared >> 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_cond_destroy) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:131:1: >> error: 'int __gthrw_pthread_key_create(pthread_key_t*, void (*)(void*))' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_key_create) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:132:1: >> error: 'int __gthrw_pthread_key_delete(pthread_key_t)' declared 'static' >> but never defined [-Werror=unused-function] >> __gthrw(pthread_key_delete) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:133:1: >> error: 'int __gthrw_pthread_mutexattr_init(pthread_mutex_attr**)' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutexattr_init) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:134:1: >> error: 'int __gthrw_pthread_mutexattr_settype(pthread_mutex_attr**, int)' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutexattr_settype) >> ^ >> /usr/local/lib/gcc49/include/c++/x86_64-portbld-freebsd12.0/bits/gthr-default.h:135:1: >> error: 'int __gthrw_pthread_mutexattr_destroy(pthread_mutex_attr**)' >> declared 'static' but never defined [-Werror=unused-function] >> __gthrw(pthread_mutexattr_destroy) >> ^ >> cc1plus: all warnings being treated as errors >> gmake[3]: *** [Makefile:667: connexion.lo] Error 1 >> gmake[3]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut/lib' >> gmake[2]: *** [Makefile:688: all-recursive] Error 1 >> gmake[2]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut/lib' >> gmake[1]: *** [Makefile:605: all-recursive] Error 1 >> gmake[1]: Leaving directory '/usr/home/blubee/Downloads/Epson/ut' >> gmake: *** [Makefile:513: all] Error 2 >> me@blubee:~/Downloads/Epson/ut % >> >> >> ==================================== >> is this a glang vs gcc thing or something else? >> I feel like I'm getting close to porting this software but this is a >> little bit above me. >> >> Any help would be helpful. >> >> Best, >> Owen >> Hi Owen, freebsd-ports (CC'd) is probably the better place for this question (currently). CC Koop (kwm@) given recent update [1] to boost-python-libs, though not necessarily implicated. You may want to additionally consider CC'ing freebsd-office in replies given (office@) is the current maintainer. [1] http://svnweb.freebsd.org/changeset/ports/442853 ./koobs