Subject: pkg/32209: When i try install rrdtool via pkgsrc (update), the system return an error
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <joao@jaf-studio.net>
List: pkgsrc-bugs
Date: 12/01/2005 20:08:01
>Number:         32209
>Category:       pkg
>Synopsis:       When i try install rrdtool via pkgsrc (update), the system return an error
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 01 20:08:01 +0000 2005
>Originator:     Joao Ferreira
>Release:        NetBSD 3.0
>Organization:
JAF-Studio
>Environment:
NetBSD Saint.AerealNetwork 3.0_BETA NetBSD 3.0_BETA (GENERIC) #0: Sat Aug 13 13:26:54 UTC 2005  builds@works.netbsd.org:/home/builds/ab/netbsd-3/i386/200508120000Z-obj/home/builds/ab/netbsd-3/src/sys/arch/i386/compile/GENERIC i386

>Description:
tclrrd.c:210: error: ISO C forbids data definition with no type or storage class
tclrrd.c:211: error: parse error before '*' token
tclrrd.c:211: warning: type defaults to `int' in declaration of `interp'
tclrrd.c:211: error: ISO C forbids data definition with no type or storage class
tclrrd.c:214: error: parse error before '{' token
tclrrd.c:218: error: parse error before '*' token
tclrrd.c:218: warning: type defaults to `int' in declaration of `listPtr'
tclrrd.c:218: error: conflicting types for `listPtr'
tclrrd.c:182: error: previous declaration of `listPtr'
tclrrd.c:218: error: ISO C forbids data definition with no type or storage class
tclrrd.c:219: error: conflicting types for `argv2'
tclrrd.c:178: error: previous declaration of `argv2'
tclrrd.c:221: warning: type defaults to `int' in declaration of `calcpr'
tclrrd.c:221: warning: initialization makes integer from pointer without a cast
tclrrd.c:221: error: ISO C forbids data definition with no type or storage class
tclrrd.c:223: warning: type defaults to `int' in declaration of `argv2'
tclrrd.c:223: error: conflicting types for `argv2'
tclrrd.c:219: error: previous declaration of `argv2'
tclrrd.c:223: error: ISO C forbids data definition with no type or storage class
tclrrd.c:224: error: parse error before "if"
tclrrd.c:226: error: parse error before '(' token
tclrrd.c:227: error: parse error before '(' token
tclrrd.c:240: warning: type defaults to `int' in declaration of `getopt_cleanup'
tclrrd.c:240: warning: parameter names (without types) in function declaration
tclrrd.c:240: error: ISO C forbids data definition with no type or storage class
tclrrd.c:242: error: parse error before "if"
tclrrd.c:245: warning: type defaults to `int' in declaration of `rrd_clear_error'
tclrrd.c:245: error: ISO C forbids data definition with no type or storage class
tclrrd.c:246: error: parse error before "return"
tclrrd.c:256: error: parse error before "ClientData"
tclrrd.c:256: warning: type defaults to `int' in declaration of `clientData'
tclrrd.c:256: error: ISO C forbids data definition with no type or storage class
tclrrd.c:257: error: parse error before '*' token
tclrrd.c:257: warning: type defaults to `int' in declaration of `interp'
tclrrd.c:257: error: ISO C forbids data definition with no type or storage class
tclrrd.c:260: error: parse error before '{' token
tclrrd.c:263: warning: type defaults to `int' in declaration of `argv2'
tclrrd.c:263: warning: initialization makes integer from pointer without a cast
tclrrd.c:263: error: initializer element is not constant
tclrrd.c:263: error: ISO C forbids data definition with no type or storage class
tclrrd.c:264: warning: type defaults to `int' in declaration of `rrd_tune'
tclrrd.c:264: warning: parameter names (without types) in function declaration
tclrrd.c:264: error: ISO C forbids data definition with no type or storage class
tclrrd.c:265: warning: type defaults to `int' in declaration of `getopt_cleanup'
tclrrd.c:265: warning: parameter names (without types) in function declaration
tclrrd.c:265: error: ISO C forbids data definition with no type or storage class
tclrrd.c:267: error: parse error before "if"
tclrrd.c:270: warning: type defaults to `int' in declaration of `rrd_clear_error'
tclrrd.c:270: error: ISO C forbids data definition with no type or storage class
tclrrd.c:271: error: parse error before "return"
tclrrd.c:281: error: parse error before "ClientData"
tclrrd.c:281: warning: type defaults to `int' in declaration of `clientData'
tclrrd.c:281: error: ISO C forbids data definition with no type or storage class
tclrrd.c:282: error: parse error before '*' token
tclrrd.c:282: warning: type defaults to `int' in declaration of `interp'
tclrrd.c:282: error: ISO C forbids data definition with no type or storage class
tclrrd.c:285: error: parse error before '{' token
tclrrd.c:288: warning: type defaults to `int' in declaration of `argv2'
tclrrd.c:288: error: redefinition of `argv2'
tclrrd.c:263: error: `argv2' previously defined here
tclrrd.c:288: warning: initialization makes integer from pointer without a cast
tclrrd.c:288: error: initializer element is not constant
tclrrd.c:288: error: ISO C forbids data definition with no type or storage class
tclrrd.c:289: warning: type defaults to `int' in declaration of `rrd_resize'
tclrrd.c:289: warning: parameter names (without types) in function declaration
tclrrd.c:289: error: ISO C forbids data definition with no type or storage class
tclrrd.c:290: warning: type defaults to `int' in declaration of `getopt_cleanup'
tclrrd.c:290: warning: parameter names (without types) in function declaration
tclrrd.c:290: error: ISO C forbids data definition with no type or storage class
tclrrd.c:292: error: parse error before "if"
tclrrd.c:295: warning: type defaults to `int' in declaration of `rrd_clear_error'
tclrrd.c:295: error: ISO C forbids data definition with no type or storage class
tclrrd.c:296: error: parse error before "return"
tclrrd.c:306: error: parse error before "ClientData"
tclrrd.c:306: warning: type defaults to `int' in declaration of `clientData'
tclrrd.c:306: error: ISO C forbids data definition with no type or storage class
tclrrd.c:307: error: parse error before '*' token
tclrrd.c:307: warning: type defaults to `int' in declaration of `interp'
tclrrd.c:307: error: ISO C forbids data definition with no type or storage class
tclrrd.c:310: error: parse error before '{' token
tclrrd.c:313: warning: type defaults to `int' in declaration of `argv2'
tclrrd.c:313: error: redefinition of `argv2'
tclrrd.c:288: error: `argv2' previously defined here
tclrrd.c:313: warning: initialization makes integer from pointer without a cast
tclrrd.c:313: error: initializer element is not constant
tclrrd.c:313: error: ISO C forbids data definition with no type or storage class
tclrrd.c:314: warning: type defaults to `int' in declaration of `rrd_restore'
tclrrd.c:314: warning: parameter names (without types) in function declaration
tclrrd.c:314: error: ISO C forbids data definition with no type or storage class
tclrrd.c:315: warning: type defaults to `int' in declaration of `getopt_cleanup'
tclrrd.c:315: warning: parameter names (without types) in function declaration
tclrrd.c:315: error: ISO C forbids data definition with no type or storage class
tclrrd.c:317: error: parse error before "if"
tclrrd.c:320: warning: type defaults to `int' in declaration of `rrd_clear_error'
tclrrd.c:320: error: ISO C forbids data definition with no type or storage class
tclrrd.c:321: error: parse error before "return"
tclrrd.c:335: error: parse error before "Tcl_CmdProc"
tclrrd.c:335: warning: no semicolon at end of struct or union
tclrrd.c:336: warning: type defaults to `int' in declaration of `CmdInfo'
tclrrd.c:336: error: ISO C forbids data definition with no type or storage class
tclrrd.c:338: error: parse error before "rrdCmds"
tclrrd.c:338: warning: type defaults to `int' in declaration of `rrdCmds'
tclrrd.c:339: warning: braces around scalar initializer
tclrrd.c:339: warning: (near initialization for `rrdCmds[0]')
tclrrd.c:339: warning: initialization makes integer from pointer without a cast
tclrrd.c:339: error: `Rrd_Create' undeclared here (not in a function)
tclrrd.c:339: warning: excess elements in scalar initializer
tclrrd.c:339: warning: (near initialization for `rrdCmds[0]')
tclrrd.c:340: warning: braces around scalar initializer
tclrrd.c:340: warning: (near initialization for `rrdCmds[1]')
tclrrd.c:340: warning: initialization makes integer from pointer without a cast
tclrrd.c:340: error: `Rrd_Dump' undeclared here (not in a function)
tclrrd.c:340: warning: excess elements in scalar initializer
tclrrd.c:340: warning: (near initialization for `rrdCmds[1]')
tclrrd.c:341: warning: braces around scalar initializer
tclrrd.c:341: warning: (near initialization for `rrdCmds[2]')
tclrrd.c:341: warning: initialization makes integer from pointer without a cast
tclrrd.c:341: error: `Rrd_Last' undeclared here (not in a function)
tclrrd.c:341: warning: excess elements in scalar initializer
tclrrd.c:341: warning: (near initialization for `rrdCmds[2]')
tclrrd.c:342: warning: braces around scalar initializer
tclrrd.c:342: warning: (near initialization for `rrdCmds[3]')
tclrrd.c:342: warning: initialization makes integer from pointer without a cast
tclrrd.c:342: error: `Rrd_Update' undeclared here (not in a function)
tclrrd.c:342: warning: excess elements in scalar initializer
tclrrd.c:342: warning: (near initialization for `rrdCmds[3]')
tclrrd.c:343: warning: braces around scalar initializer
tclrrd.c:343: warning: (near initialization for `rrdCmds[4]')
tclrrd.c:343: warning: initialization makes integer from pointer without a cast
tclrrd.c:343: error: `Rrd_Fetch' undeclared here (not in a function)
tclrrd.c:343: warning: excess elements in scalar initializer
tclrrd.c:343: warning: (near initialization for `rrdCmds[4]')
tclrrd.c:344: warning: braces around scalar initializer
tclrrd.c:344: warning: (near initialization for `rrdCmds[5]')
tclrrd.c:344: warning: initialization makes integer from pointer without a cast
tclrrd.c:344: error: `Rrd_Graph' undeclared here (not in a function)
tclrrd.c:344: warning: excess elements in scalar initializer
tclrrd.c:344: warning: (near initialization for `rrdCmds[5]')
tclrrd.c:345: warning: braces around scalar initializer
tclrrd.c:345: warning: (near initialization for `rrdCmds[6]')
tclrrd.c:345: warning: initialization makes integer from pointer without a cast
tclrrd.c:345: error: `Rrd_Tune' undeclared here (not in a function)
tclrrd.c:345: warning: excess elements in scalar initializer
tclrrd.c:345: warning: (near initialization for `rrdCmds[6]')
tclrrd.c:346: warning: braces around scalar initializer
tclrrd.c:346: warning: (near initialization for `rrdCmds[7]')
tclrrd.c:346: warning: initialization makes integer from pointer without a cast
tclrrd.c:346: error: `Rrd_Resize' undeclared here (not in a function)
tclrrd.c:346: warning: excess elements in scalar initializer
tclrrd.c:346: warning: (near initialization for `rrdCmds[7]')
tclrrd.c:347: warning: braces around scalar initializer
tclrrd.c:347: warning: (near initialization for `rrdCmds[8]')
tclrrd.c:347: warning: initialization makes integer from pointer without a cast
tclrrd.c:347: error: `Rrd_Restore' undeclared here (not in a function)
tclrrd.c:347: warning: excess elements in scalar initializer
tclrrd.c:347: warning: (near initialization for `rrdCmds[8]')
tclrrd.c:348: warning: braces around scalar initializer
tclrrd.c:348: warning: (near initialization for `rrdCmds[9]')
tclrrd.c:348: warning: initialization makes integer from pointer without a cast
tclrrd.c:348: error: `Tcl_CmdProc' undeclared here (not in a function)
tclrrd.c:348: error: parse error before ')' token
tclrrd.c:349: error: ISO C forbids data definition with no type or storage class
tclrrd.c:355: error: parse error before "Tcl_Interp"
tclrrd.c:355: warning: type defaults to `int' in declaration of `interp'
tclrrd.c:355: error: ISO C forbids data definition with no type or storage class
tclrrd.c:357: error: parse error before '{' token
tclrrd.c:359: warning: type defaults to `int' in declaration of `info'
tclrrd.c:359: error: ISO C forbids data definition with no type or storage class
tclrrd.c:365: error: parse error before string constant
tclrrd.c:365: warning: type defaults to `int' in declaration of `Tcl_SetVar2'
tclrrd.c:365: error: ISO C forbids data definition with no type or storage class
tclrrd.c:378: error: parse error before '->' token
tclrrd.c:379: error: parse error before numeric constant
tclrrd.c:309: warning: array `argv' assumed to have one element
tclrrd.c:68: warning: `getopt_cleanup' defined but not used
{standard input}: Assembler messages:
{standard input}:59: Error: symbol `argv2' is already defined
{standard input}:79: Error: symbol `argv2' is already defined
{standard input}:85: Error: symbol `argv2' is already defined
gmake[3]: *** [tclrrd.o] Error 1
gmake[3]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings/tcl'
gmake[3]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings'
cd perl-piped && /usr/pkg/bin/gmake
gmake[4]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings/perl-piped'
gmake[4]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings/perl-piped'
cd perl-shared && /usr/pkg/bin/gmake RPATH=/usr/pkg/lib
gmake[4]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings/perl-shared'
gmake[4]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings/perl-shared'
gmake[3]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/bindings'
Making all in doc
gmake[2]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/doc'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/doc'
Making all in examples
gmake[2]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/examples'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11/examples'
gmake[2]: Entering directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11'
gmake[2]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/databases/rrdtool/work/rrdtool-1.2.11'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/databases/rrdtool

===> 
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/databases/rrdtool/work/.work.log
===> 
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/rrdtool
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/databases/rrdtool
[root@Saint:/usr/pkgsrc/databases/rrdtool]#
>How-To-Repeat:

>Fix: