From owner-freebsd-ports@FreeBSD.ORG Wed Mar 21 20:53:31 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5218E16A402 for ; Wed, 21 Mar 2007 20:53:31 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 34F1013C45A for ; Wed, 21 Mar 2007 20:53:31 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id E84B21A3C1C; Wed, 21 Mar 2007 13:53:30 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 48D8B51344; Wed, 21 Mar 2007 16:53:29 -0400 (EDT) Date: Wed, 21 Mar 2007 16:53:29 -0400 From: Kris Kennaway To: Jeremy Messenger Message-ID: <20070321205328.GA58453@xor.obsecurity.org> References: <20070320171622.GA12902@xor.obsecurity.org> <20070320202139.GA16688@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-ports@freebsd.org, Kris Kennaway Subject: Re: [ports-amd64@pointyhat.freebsd.org: linuxdcpp-0.0.1.20070206 failed on amd64 7] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 20:53:31 -0000 On Wed, Mar 21, 2007 at 02:51:31PM -0500, Jeremy Messenger wrote: > On Tue, 20 Mar 2007 15:21:39 -0500, Kris Kennaway > wrote: > > >On Tue, Mar 20, 2007 at 02:55:09PM -0500, Jeremy Messenger wrote: > >>On Tue, 20 Mar 2007 12:16:22 -0500, Kris Kennaway > >>wrote: > >> > >>>Dear Maintainer, > >>> > >>>As you may know, in the near future FreeBSD 7.x will be switching from > >>>the gcc 3.4 compiler to gcc 4.x. Unfortunately your port fails to > >>>build with the new compiler; see the log below. > >>> > >>>To ease the disruption to users and to avoid further work later on, > >>>can you please work (with the upstream developers if necessary) on > >>>fixing this error? > >>> > >>>In many cases it requires only simple code changes, and these may > >>>already have been submitted to the developers by other projects > >>>(thesedays many Linux distributions use gcc 4.1, so chances are they > >>>have fixed the error already), or the patches may be found in their > >>>package repositories. > >>> > >>>You should be able to reproduce it yourself simply by installing the > >>>lang/gcc41 port and then setting the variables > >>> > >>> CC=/usr/local/bin/gcc41 > >>> CXX=/usr/local/bin/g++41 > >>> > >>>in your environment (Note: some ports do not respect these variables > >>>currently, but this is another bug that should be fixed). > >> > >>I can't reproduce it. Any idea why I can't? Thanks. > >> > >># pkg_info | grep gcc > >>gcc-4.1.3_20070312 GNU Compiler Collection 4.1 > >># make -DGCC4 > >>===> Extracting for linuxdcpp-0.0.1.20070206 > >>=> MD5 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2. > >>=> SHA256 Checksum OK for linuxdcpp-0.0.1.20070206.tar.bz2. > >>[...] > >>===> Building for linuxdcpp-0.0.1.20070206 > >>scons: Reading SConscript files ... > >>Checking for /usr/local/bin/g++41 >= 3.4...(cached) yes > >>[...] > >>scons: Building targets ... > >>/usr/local/bin/g++41 -o build/client/AdcCommand.o -c -O2 > >>-fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE > >>-D_FILE_OFFSET_BITS=64 -DICONV_CONST=const > >>-D_DATADIR='"/usr/local/share"' > >>client/AdcCommand.cpp > >>/usr/local/bin/g++41 -o build/client/AdcHub.o -c -O2 > >>-fno-strict-aliasing > >>-pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE > >>-D_FILE_OFFSET_BITS=64 > >>-DICONV_CONST=const -D_DATADIR='"/usr/local/share"' client/AdcHub.cpp > >>/usr/local/bin/g++41 -o build/client/ADLSearch.o -c -O2 > >>-fno-strict-aliasing -pipe -g -I. -I/usr/local/include -I. -D_GNU_SOURCE > >>-D_FILE_OFFSET_BITS=64 -DICONV_CONST=const > >>-D_DATADIR='"/usr/local/share"' > >>client/ADLSearch.cpp > >>[...goes on without failure...] > > > >Is this on amd64? > > No, it's 6.2-STABLE i386. I guess, I can mark it as broken on 7.x amd64. Well it's only broken with the non-imported compiler, so if you're going to go the "mark broken" route then please wait for the import. And also talk to the developers of course. Kris