pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/32021: IglooFTP does not build using gcc 3.4.4



The following reply was made to PR pkg/32021; it has been noted by GNATS.

From: "John R. Shannon" <john%johnrshannon.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: timo.schoeler%riscworks.net@localhost, pkg-manager%netbsd.org@localhost,
        pkgsrc-bugs%netbsd.org@localhost
Subject: Re: pkg/32021: IglooFTP does not build using gcc 3.4.4
Date: Tue, 8 Nov 2005 16:16:14 -0700

 The following patch will fix:
 
 
 $NetBSD$
 
 --- src/ftp_tree.h.orig 1999-04-15 10:05:15.000000000 -0600
 +++ src/ftp_tree.h
 @@ -321,10 +321,12 @@ FTP_TREE_event_handler (GtkWidget * widg
           break;
 
         default:
 +               ;
         }
        break;
 
      default:
 +       ;
      }
    return FALSE;
  }
 
 
 On Tuesday 08 November 2005 02:48 pm, timo.schoeler%riscworks.net@localhost 
wrote:
 > >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@localhost:/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:
 
 -- 
 John R. Shannon, CISSP
 Sr. Software Scientist
 Science Applications International Corporation
 john.r.shannon%saic.com@localhost
 john.r.shannon%us.army.mil@localhost
 john%johnrshannon.com@localhost
 



Home | Main Index | Thread Index | Old Index