NetBSD Problem Report #39379
From is@beverly.kleinbus.org Tue Aug 19 15:05:34 2008
Return-Path: <is@beverly.kleinbus.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 34CE563B853
for <gnats-bugs@gnats.NetBSD.org>; Tue, 19 Aug 2008 15:05:34 +0000 (UTC)
Message-Id: <20080819150528.C64A8208BD@beverly.kleinbus.org>
Date: Tue, 19 Aug 2008 17:05:28 +0200 (CEST)
From: is@beverly.kleinbus.org
Reply-To: is@beverly.kleinbus.org
To: gnats-bugs@gnats.NetBSD.org
Subject: transfig from 2008Q2 doesn't install cleanly (PLIST problem?)
X-Send-Pr-Version: 3.95
>Number: 39379
>Category: pkg
>Synopsis: transfig doesn't install cleanly - wrong PLIST
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Aug 19 15:10:00 +0000 2008
>Closed-Date: Wed Mar 20 15:12:47 +0000 2013
>Last-Modified: Wed Mar 20 15:12:47 +0000 2013
>Originator: Ignatios Souvatzis
>Release: NetBSD 4.0
>Organization:
seal your e-mail: http://www.gnupg.org/
>Environment:
System: NetBSD marie 4.0 NetBSD 4.0 (MARIE) #8: Tue Jan 22 22:07:16 CET 2008 ignatios@random85.cs.uni-bonn.de:/var/itch/sources/4.0/os/sys/arch/shark/compile/MARIE shark
Architecture: arm
Machine: shark
>Description:
make install in transfig seems to miss things, with a resulting
PLIST error.
Detaild log available. Excerpt:
(...)
cc -O2 -fno-strict-aliasing -ansi -Dasm=__asm -fsigned-char
-fomit-frame-pointer -I.. -I/usr/pkg/include -I/usr/X11R6/inc
lude -DCSRG_BASED -DFUNCPROTO=15 -DNARROWPROTO -DNFSS -DUSE_INLINE
-DI18N -DUSE_PNG -DUSE_XPM -DUSE_ICONV -I/usr/pkg/include -I/usr/pkg/include/X1
1 -I/usr/pkg/include -DPNG_NO_ASSEMBLER_CODE -I/usr/pkg/include -I/usr/include
-I/usr/X11R6/include -c trans_spline.c
trans_spline.c:61: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:64: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:65: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:66: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'void'
trans_spline.c:67: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'double'
trans_spline.c:68: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
e 'double'
trans_spline.c:69: error: expected '=', ',', ';', 'asm' or '__attribute__' befor
(...)
===> Installing for transfig-3.2.5
=> Generating pre-install file lists
installing in ./fig2dev...
install -c -s fig2dev /usr/pkg/bin/fig2dev
install: fig2dev: stat: No such file or directory
*** Error code 1
Stop.
make: stopped in /pkg_comp/obj/pkgsrc/print/transfig/default/transfig.3.2.5/fig2
dev
installing in ./transfig...
install -c -s transfig /usr/pkg/bin/transfig
install in transfig done
(...)
(...)
=> Generating post-install file lists
(...)
pkg_create: can't stat `/usr/pkg/bin/fig2dev'
pkg_create: can't stat `/usr/pkg/bin/fig2ps2tex'
pkg_create: can't stat `/usr/pkg/bin/fig2ps2tex.sh'
pkg_create: can't stat `/usr/pkg/bin/pic2tpic'
pkg_create: can't stat `/usr/pkg/lib/X11/xfig/bitmaps/bricks.bmp'
(...)
Line 61 to 69 of trans_spline are:
static INLINE void point_adding();
static INLINE void point_computing();
static INLINE void negative_s1_influence();
static INLINE void negative_s2_influence();
static INLINE void positive_s1_influence();
static INLINE void positive_s2_influence();
static INLINE double f_blend();
static INLINE double g_blend();
static INLINE double h_blend();
>How-To-Repeat:
cd /usr/pkgsrc/print/transfig; make install
>Fix:
not known.
expectd workaround is to downgrade to before 2008Q2 - it used
to build from some 2007ish version.
>Release-Note:
>Audit-Trail:
From: Ignatios Souvatzis <is@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39379 CVS commit: pkgsrc/print/transfig
Date: Wed, 20 Aug 2008 10:25:12 +0000 (UTC)
Module Name: pkgsrc
Committed By: is
Date: Wed Aug 20 10:25:12 UTC 2008
Modified Files:
pkgsrc/print/transfig: Makefile distinfo
pkgsrc/print/transfig/patches: patch-aa
Log Message:
Workaround for my own PR 39379:
Don't -DUSE_INLINE - this creates "static inline", and the imake setup
at least on NetBSD-4/arm calls "cc -ansi", which, as being a c89 compiler,
refuses this c99 code (or so I've been told by C language lawyers).
(Maybe somebody can come up with a patch that does the right thing
wrt. this stuff for all our environments.)
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.36 pkgsrc/print/transfig/Makefile
cvs rdiff -r1.14 -r1.15 pkgsrc/print/transfig/distinfo
cvs rdiff -r1.10 -r1.11 pkgsrc/print/transfig/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: "Tyler R. Retzlaff" <rtr@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/39379 CVS commit: [pkgsrc-2008Q2] pkgsrc/print/transfig
Date: Thu, 21 Aug 2008 11:35:30 +0000 (UTC)
Module Name: pkgsrc
Committed By: rtr
Date: Thu Aug 21 11:35:30 UTC 2008
Modified Files:
pkgsrc/print/transfig [pkgsrc-2008Q2]: Makefile distinfo
pkgsrc/print/transfig/patches [pkgsrc-2008Q2]: patch-aa
Log Message:
pullup ticket #2503 - requested by is
transfig: pullup workaround fix for pr
revisions pulled up:
pkgsrc/print/transfig/Makefile 1.36
pkgsrc/print/transfig/distinfo 1.15
pkgsrc/print/transfig/patches/patch-aa 1.11
Module Name: pkgsrc
Committed By: is
Date: Wed Aug 20 10:25:12 UTC 2008
Modified Files:
pkgsrc/print/transfig: Makefile distinfo
pkgsrc/print/transfig/patches: patch-aa
Log Message:
Workaround for my own PR 39379:
Don't -DUSE_INLINE - this creates "static inline", and the imake setup
at least on NetBSD-4/arm calls "cc -ansi", which, as being a c89 compiler,
refuses this c99 code (or so I've been told by C language lawyers).
(Maybe somebody can come up with a patch that does the right thing
wrt. this stuff for all our environments.)
To generate a diff of this commit:
cvs rdiff -r1.35 -r1.35.4.1 pkgsrc/print/transfig/Makefile
cvs rdiff -r1.14 -r1.14.4.1 pkgsrc/print/transfig/distinfo
cvs rdiff -r1.10 -r1.10.24.1 pkgsrc/print/transfig/patches/patch-aa
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->analyzed
State-Changed-By: is@NetBSD.org
State-Changed-When: Thu, 21 Aug 2008 13:07:13 +0000
State-Changed-Why:
clash between "static inline" and -ansi.
Worked around for the time being by not using -DUSE_INLINE, but some
language/compiler guru should maybe find out how to set -DUSE_INLINE
depending on the available compiler.
This might be an imake system description problem, in reality.
State-Changed-From-To: analyzed->feedback
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Thu, 13 Dec 2012 07:22:20 +0000
State-Changed-Why:
Is there still a problem in -5 or later? I'm pretty sure even imake no
longer spews -ansi.
From: Ignatios Souvatzis <is@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/39379 (transfig doesn't install cleanly - wrong PLIST)
Date: Thu, 13 Dec 2012 13:53:45 +0100
On Thu, Dec 13, 2012 at 07:22:23AM +0000, dholland@NetBSD.org wrote:
> Synopsis: transfig doesn't install cleanly - wrong PLIST
>
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Thu, 13 Dec 2012 07:22:20 +0000
> State-Changed-Why:
> Is there still a problem in -5 or later? I'm pretty sure even imake no
> longer spews -ansi.
tested on 5.1.2_PATCH/arm with my patch removed.
Seems to compile and work fine.
Do you suggest to remove it unconditionally?
-is
--
seal your e-mail: http://www.gnupg.org/
From: David Holland <dholland-pbugs@netbsd.org>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/39379 (transfig doesn't install cleanly - wrong PLIST)
Date: Sat, 15 Dec 2012 07:13:25 +0000
On Thu, Dec 13, 2012 at 12:55:04PM +0000, Ignatios Souvatzis wrote:
> On Thu, Dec 13, 2012 at 07:22:23AM +0000, dholland@NetBSD.org wrote:
> > Synopsis: transfig doesn't install cleanly - wrong PLIST
> >
> > State-Changed-From-To: analyzed->feedback
> > State-Changed-By: dholland@NetBSD.org
> > State-Changed-When: Thu, 13 Dec 2012 07:22:20 +0000
> > State-Changed-Why:
> > Is there still a problem in -5 or later? I'm pretty sure even imake no
> > longer spews -ansi.
>
> tested on 5.1.2_PATCH/arm with my patch removed.
> Seems to compile and work fine.
>
> Do you suggest to remove it unconditionally?
If it's not needed any more, that's probably best.
Even if you want to leave it in, we can still probably close the PR.
--
David A. Holland
dholland@netbsd.org
State-Changed-From-To: feedback->closed
State-Changed-By: is@NetBSD.org
State-Changed-When: Wed, 20 Mar 2013 15:12:47 +0000
State-Changed-Why:
Fixed (at least) in 2012Q4. Patch might be removed.
>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-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.