Subject: pkg/32021: IglooFTP does not build using gcc 3.4.4
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <timo.schoeler@riscworks.net>
List: pkgsrc-bugs
Date: 11/08/2005 21:48:00
>Number: 32021
>Category: pkg
>Synopsis: IglooFTP does not build using gcc 3.4.4
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Nov 08 21:48:00 +0000 2005
>Originator: Timo Schoeler
>Release: 2.1-RELEASE
>Organization:
RISCworks
>Environment:
NetBSD deneb.ts39-bln.riscworks.net 2.1 NetBSD 2.1 (GENERIC) #0: Mon Oct 24 22:35:45 UTC 2005 jmc@faith.netbsd.org:/home/builds/ab/netbsd-2-1-RELEASE/i386/200510241747Z-obj/home/builds/ab/netbsd-2-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
>Description:
(...)
===> Building for IglooFTP-0.6.1nb4
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" main.c `gtk-config --cflags`
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" GTKmisc.c `gtk-config --cflags`
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" menu.c `gtk-config --cflags`
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" toolbar.c `gtk-config --cflags`
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" connectbar.c `gtk-config --cflags`
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" statusbar.c `gtk-config --cflags`
statusbar.c: In function `default_status_message':
statusbar.c:63: warning: implicit declaration of function `strcpy'
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" dirlist.c `gtk-config --cflags`
dirlist.c: In function `update_dirlist':
dirlist.c:423: warning: passing arg 3 of `scandir' from incompatible pointer type
dirlist.c:433: warning: long int format, different type arg (arg 3)
cc -c -O2 -pipe -I/usr/pkg/include -I/usr/pkg/gcc34/include -I/usr/pkg/gcc34/lib/gcc/i386--netbsdelf2.1/3.4.4/include -I/usr/include -Wall -DSHARE_PATH=\"/usr/pkg/share/IglooFTP\" ftplist.c `gtk-config --cflags`
In file included from ftplist.c:34:
ftp_tree.h: In function `FTP_TREE_event_handler':
ftp_tree.h:324: error: label at end of compound statement
ftp_tree.h:328: error: label at end of compound statement
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/IglooFTP/work/IglooFTP-0.6.1/src
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/IglooFTP
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===> * log of the build
===> * /usr/pkgsrc/net/IglooFTP/work/.work.log
===>
*** Error code 1
Stop.
make: stopped in /usr/pkgsrc/net/IglooFTP
>How-To-Repeat:
try to build IglooFTP using gcc 3.4.4, watch it fail. use gcc 3.3.3 and it builds okay.
>Fix: