NetBSD Problem Report #49026

From www@NetBSD.org  Mon Jul 21 23:04:57 2014
Return-Path: <www@NetBSD.org>
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" (verified OK))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 5ABEDA6AED
	for <gnats-bugs@gnats.NetBSD.org>; Mon, 21 Jul 2014 23:04:57 +0000 (UTC)
Message-Id: <20140721230455.D3D4FA6B0A@mollari.NetBSD.org>
Date: Mon, 21 Jul 2014 23:04:55 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: converters/libfreehand build fails on netbsd-5/i386
X-Send-Pr-Version: www-1.0

>Number:         49026
>Category:       pkg
>Synopsis:       converters/libfreehand build fails on netbsd-5/i386
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jul 21 23:05:00 +0000 2014
>Closed-Date:    Sat Dec 19 00:30:04 +0000 2015
>Last-Modified:  Sat Dec 19 00:30:04 +0000 2015
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.2_STABLE, pkgsrc-2014Q2
>Organization:
>Environment:
NetBSD verthandi.technoskunk.fur 5.2_STABLE NetBSD 5.2_STABLE (VERTHANDI) #18: Tue Jul 15 08:12:12 CDT 2014  sysop@verthandi.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/VERTHANDI i386

>Description:
Attempting to build "converters/libfreehand" (nested dependency of
"misc/libreoffice4") fails as follows:

[...]
===> Building for libfreehand-0.0.0nb1
/usr/bin/make  all-recursive
Making all in build
Making all in win32
Making all in inc
Making all in libfreehand
Making all in src
Making all in lib
  CXX      FreeHandDocument.lo
  CXX      FHCollector.lo
  CXX      FHInternalStream.lo
perl ../../src/lib/gentoken.pl ../../src/lib/tokens.txt  ../../src/lib/tokens.h ../../src/lib/tokens.gperf
/usr/pkg/bin/gperf --compare-strncmp -C -m 20 ../../src/lib/tokens.gperf  | /usr/bin/sed -e "s/(char\*)0/(char\*)0, 0/g" > ../../src/lib/tokenhash.h
  CXX      FHParser.lo
  CXX      FHPath.lo
cc1plus: warnings being treated as errors
FHPath.cpp: In copy constructor 'libfreehand::FHPath::FHPath(const libfreehand::FHPath&)':
FHPath.cpp:266: warning: base class 'class libfreehand::FHPathElement' should be explicitly initialized in the copy constructor

*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/converters/libfreehand/work/libfreehand-0.0.0/src/lib
[...]


Thinking this might another case of native gcc insufficiency, I added
"converters/libfreehand" to my "GCC_REQD+=4.6" list.  This also failed,
but in a different fashion:

[...]
===> Building for libfreehand-0.0.0nb1
/usr/bin/make  all-recursive
Making all in build
Making all in win32
Making all in inc
Making all in libfreehand
Making all in src
Making all in lib
  CXX      FreeHandDocument.lo
In file included from libfreehand_utils.h:44:0,
                 from FreeHandDocument.cpp:16:
/d0/build/pkgsrc/converters/libfreehand/work/.buildlink/gcc46/lib/gcc/i386-unknown-netbsdelf5.2./4.6.4/include/stdint.h:3:3: error: #include_next is a GCC extension [-Werror]
cc1plus: all warnings being treated as errors
*** Error code 1

Stop.
make: stopped in /d0/build/pkgsrc/converters/libfreehand/work/libfreehand-0.0.0/src/lib
[...]
>How-To-Repeat:
Attempt to build "converters/libfreehand" from pkgsrc-2014Q2 on
netbsd-5/i386.
>Fix:

>Release-Note:

>Audit-Trail:
From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/49026 (converters/libfreehand build fails on netbsd-5/i386)
Date: Fri, 18 Dec 2015 16:38:40 -0600 (CST)

 As netbsd-5 is EOL, this PR is no-longer relevant and may be closed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Sat, 19 Dec 2015 00:30:04 +0000
State-Changed-Why:
NetBSD 5 is EOL. Thanks for the update!


>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-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.