NetBSD Problem Report #51075
From www@NetBSD.org Mon Apr 18 10:09:17 2016
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
(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 6D4AB7A2B1
for <gnats-bugs@gnats.NetBSD.org>; Mon, 18 Apr 2016 10:09:17 +0000 (UTC)
Message-Id: <20160418100916.6C3E47A478@mollari.NetBSD.org>
Date: Mon, 18 Apr 2016 10:09:16 +0000 (UTC)
From: coypu@sdf.org
Reply-To: coypu@sdf.org
To: gnats-bugs@NetBSD.org
Subject: Can't build archivers/zziplib
X-Send-Pr-Version: www-1.0
>Number: 51075
>Category: pkg
>Synopsis: Can't build archivers/zziplib
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Apr 18 10:10:00 +0000 2016
>Closed-Date: Tue Sep 20 20:29:14 +0000 2016
>Last-Modified: Tue Sep 20 20:29:14 +0000 2016
>Originator: coypu
>Release: NetBSD-7.99.27, pkgsrc-current
>Organization:
>Environment:
NetBSD net.Home 7.99.27 NetBSD 7.99.27 (GENERIC) #2: Thu Apr 14 12:13:00 IDT 2016 fly@net.Home:/usr/obj.amd64/sys/arch/amd64/compile/GENERIC amd64
>Description:
Trying to build archivers/zziplib 0.13.59
/bin/sh ../libtool --silent --tag=CC --mode=link cc -I/usr/include -D_USE_MMAP -fomit-frame-pointer -Wall -Wpointer-arith -Wsign-compare -Wmissing-declarations -Wdeclaration-after-statement -Werror-implicit-function-declaration -Wstrict-aliasing -Warray-bounds -Wstrict-prototypes -L/usr/lib -Wl,-R/usr/lib -Wl,-R/home/fly/pkg/lib -o zzipwrap zzipwrap.o libzzipwrap.la
/usr/pkgsrc/archivers/zziplib/work/zziplib-0.13.59/zzip/.libs/libzzip.so: undefined reference to `__zzip_aligned4'
$ ldd /usr/pkgsrc/archivers/zziplib/work/zziplib-0.13.59/zzip/.libs/libzzip.so
/usr/pkgsrc/archivers/zziplib/work/zziplib-0.13.59/zzip/.libs/libzzip.so:
-lz.1 => /usr/lib/libz.so.1
-lc.12 => /usr/lib/libc.so.12
>How-To-Repeat:
>Fix:
no idea
>Release-Note:
>Audit-Trail:
From: coypu@SDF.ORG
To: gnats-bugs@netbsd.org
Cc:
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 10:52:44 +0000
This works:
CFLAGS+="-std=gnu89" bmake install
turning _zzip_inline to static inline gets more errors:
In file included from ../zzip/zzip.h:22:0,
from ../zzip/lib.h:21,
from file.c:15:
../zzip/types.h:38:36: error: C++ style comments are not allowed in ISO C90
typedef unsigned char zzip_byte_t; // especially zlib decoding data
^
../zzip/types.h:38:36: error: (this will be reported only once per input file)
--- fseeko.lo ---
In file included from ../zzip/fseeko.h:20:0,
from fseeko.c:38:
../zzip/types.h:38:36: error: C++ style comments are not allowed in ISO C90
typedef unsigned char zzip_byte_t; // especially zlib decoding data
^
and more...
From: Benny Siegert <bsiegert@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
coypu@sdf.org
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 12:58:55 +0200
Maybe we can update to 0.13.62, released in 2012?
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 11:02:50 +0000
On Mon, Apr 18, 2016 at 11:00:01AM +0000, Benny Siegert wrote:
> The following reply was made to PR pkg/51075; it has been noted by GNATS.
>
> From: Benny Siegert <bsiegert@gmail.com>
> To: gnats-bugs@netbsd.org
> Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
> coypu@sdf.org
> Subject: Re: pkg/51075: Can't build archivers/zziplib
> Date: Mon, 18 Apr 2016 12:58:55 +0200
>
> Maybe we can update to 0.13.62, released in 2012?
>
Should still fix this version because it goes into 2016Q1.
From: Joerg Sonnenberger <joerg@bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
coypu@sdf.org
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 13:56:45 +0200
On Mon, Apr 18, 2016 at 10:55:00AM +0000, coypu@SDF.ORG wrote:
> The following reply was made to PR pkg/51075; it has been noted by GNATS.
>
> From: coypu@SDF.ORG
> To: gnats-bugs@netbsd.org
> Cc:
> Subject: Re: pkg/51075: Can't build archivers/zziplib
> Date: Mon, 18 Apr 2016 10:52:44 +0000
>
> This works:
> CFLAGS+="-std=gnu89" bmake install
>
>
> turning _zzip_inline to static inline gets more errors:
>
> In file included from ../zzip/zzip.h:22:0,
> from ../zzip/lib.h:21,
> from file.c:15:
> ../zzip/types.h:38:36: error: C++ style comments are not allowed in ISO C90
> typedef unsigned char zzip_byte_t; // especially zlib decoding data
> ^
Are you sure it isn't forcing some stupid standard mode i.e. with -ansi?
"C++ style" comments are perfectly valid C99 and that's what should be
active by default (C11 in fact) with GCC 5.x.
Joerg
From: coypu@SDF.ORG
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/51075: Can't build archivers/zziplib
Date: Mon, 18 Apr 2016 16:36:19 +0000
This problem doesn't occur if I run normal `make`
It occurs if I bootstrap and run /usr/pkg/bin/bmake.
You can see the full output of running it here:
http://coypu.sdf.org/zziplib-bmake
State-Changed-From-To: open->closed
State-Changed-By: maya@NetBSD.org
State-Changed-When: Tue, 20 Sep 2016 20:29:14 +0000
State-Changed-Why:
someone fixed it indirectly
>Unformatted:
(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.