NetBSD Problem Report #49693

From oster@cs.usask.ca  Tue Feb 24 14:23:24 2015
Return-Path: <oster@cs.usask.ca>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.netbsd.org", Issuer "Postmaster NetBSD.org" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 27BCFA5B2E
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 24 Feb 2015 14:23:24 +0000 (UTC)
Message-Id: <20150224142215.1677E87D46@mickey.usask.ca>
Date: Tue, 24 Feb 2015 08:22:15 -0600 (CST)
From: oster@netbsd.org
Reply-To: oster@netbsd.org
To: gnats-bugs@gnats.NetBSD.org
Subject: libreoffice-4.4.0.3 fails to build on NetBSD 6.1.5/amd64
X-Send-Pr-Version: 3.95

>Number:         49693
>Category:       pkg
>Synopsis:       libreoffice-4.4.0.3 fails to build on NetBSD 6.1.5/amd64
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Feb 24 14:25:00 +0000 2015
>Originator:     Greg Oster
>Release:        NetBSD 6.1.5
>Organization:
>Environment:


System: NetBSD mickey 6.1.5 NetBSD 6.1.5 (QUAD) #0: Tue Sep 30 09:10:25 CST 2014 oster@quad:/u1/builds/build254/src/obj/amd64/u1/builds/build254/src/sys/arch/amd64/compile/QUAD amd64
Architecture: x86_64
Machine: amd64
>Description:

Attempt to build libreoffice-4.4.0.3 on NetBSD 6.1.5/amd64.  Observe
the following error:

...
/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3/comphelper/source/misc/threadpool.cxx: In member function 'boost::shared_ptr<comphelper::ThreadPool> comphelper::ThreadPoolStatic::operator()()':
/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3/comphelper/source/misc/threadpool.cxx:118:45: error: 'std::thread' has not been declared
/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3/solenv/gbuild/LinkTarget.mk:189: recipe for target '/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3/workdir/CxxObject/comphelper/source/misc/threadpool.o' failed
gmake[1]: *** [/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3/workdir/CxxObject/comphelper/source/misc/threadpool.o] Error 1
gmake[1]: Leaving directory '/usr/pkgsrc/misc/libreoffice4/work.mickey/libreoffice-4.4.0.3'
Makefile:237: recipe for target 'build' failed
gmake: *** [build] Error 2
*** Error code 2
...

>How-To-Repeat:

  cd /usr/pkgsrc/misc/libreoffice4
  make install package

>Fix:

 Please.  I also tried building with gcc 4.7, 4.8, and 4.9, and those died
 with different errors in other places.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.