From owner-freebsd-ports@FreeBSD.ORG Sat Jul 29 22:12:50 2006 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A43DA16A4DF; Sat, 29 Jul 2006 22:12:50 +0000 (UTC) (envelope-from mezz7@cox.net) Received: from centrmmtao04.cox.net (centrmmtao04.cox.net [70.168.83.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id EC6E143D45; Sat, 29 Jul 2006 22:12:49 +0000 (GMT) (envelope-from mezz7@cox.net) Received: from mezz.mezzweb.com ([24.255.149.218]) by centrmmtao04.cox.net (InterMail vM.6.01.06.01 201-2131-130-101-20060113) with ESMTP id <20060729221247.CTGP14774.centrmmtao04.cox.net@mezz.mezzweb.com>; Sat, 29 Jul 2006 18:12:47 -0400 Date: Sat, 29 Jul 2006 17:13:06 -0500 To: =?utf-8?Q?G=C3=A1bor_K=C3=B6vesd=C3=A1n?= From: "Jeremy Messenger" Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 References: <44C9DB7A.6030101@gmx.de> <20060728233514.GB17551@nagual.pp.ru> <20060729182049.GA36524@nagual.pp.ru> <44CBA87C.8080102@gmx.de> <20060729202002.GA37671@nagual.pp.ru> <20060729210238.GA38118@nagual.pp.ru> <44CBCE1C.30509@FreeBSD.org> Content-Transfer-Encoding: 8bit Message-ID: In-Reply-To: <44CBCE1C.30509@FreeBSD.org> User-Agent: Opera Mail/9.00 (Linux) Cc: "\[LoN\]Kamikaze" , freebsd-ports@freebsd.org Subject: Re: graphics/png - CC 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: Sat, 29 Jul 2006 22:12:50 -0000 On Sat, 29 Jul 2006 16:07:40 -0500, Gábor Kövesdán wrote: > Andrey Chernov wrote: >> On Sat, Jul 29, 2006 at 03:54:44PM -0500, Jeremy Messenger wrote: >> >>>> It will be hack for reason unknown, I prefer to avoid that. >>>> >>> It is not a hack and it is known reason that you need to honor CC. >>> >> >> It is not a reason, it is a goal. The reason is the bug true nature >> discovered. >> >> >>>> I normally set CC to anything and it honors. >>>> >>> How did you set? The graphics/png doesn't honor it when you add >>> CC=foobar in make.conf or graphics/png/Makefile. >>> >> >> /usr/ports/graphics/png ttyp2 73_# setenv CC "gcc -g" >> /usr/ports/graphics/png ttyp2 74_# make >> ===> Extracting for png-1.2.12_1 >> => MD5 Checksum OK for libpng-1.2.12.tar.bz2. >> => SHA256 Checksum OK for libpng-1.2.12.tar.bz2. >> ===> Patching for png-1.2.12_1 >> ===> Applying FreeBSD patches for png-1.2.12_1 >> ===> Configuring for png-1.2.12_1 >> ===> Building for png-1.2.12_1 >> gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 >> -c png.c >> ^^^^^^ >> gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 >> -c pngset.c >> gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 >> -c pngget.c >> gcc -g -O2 -fno-strict-aliasing -pipe -march=pentium4 -march=pentium4 >> -c pngrutil.c >> ^C >> >> >>>> You should inspect your build path step by step to find real reason of >>>> that bag, only after that we can find the real fix. >>>> >>> I already have gave you a solution. If you don't like it then it's >>> your job to figure another solution as you are maintaining for this >>> port. >>> >> >> Solution for what? You don't describe where the bug is exactly. >> Since I can't reproduce this situation on my machine, I can only relay >> upon your inspecting to maintain this port in this matter. >> >> > I can't reproduce it either. Forgive me, guys..... I mixed up with between my system and jail make.conf. Now I can't reproduce it. # cat /etc/make.conf | grep CC CC=gcc # pwd /usr/ports/graphics/png # make ===> Extracting for png-1.2.12_1 => MD5 Checksum OK for libpng-1.2.12.tar.bz2. => SHA256 Checksum OK for libpng-1.2.12.tar.bz2. ===> Patching for png-1.2.12_1 ===> Applying FreeBSD patches for png-1.2.12_1 ===> Configuring for png-1.2.12_1 ===> Building for png-1.2.12_1 gcc -O2 -fno-strict-aliasing -pipe -g -c png.c [...] Cheers, Mezz > [root@server /home/tux/wrk/ports/graphics/png]# cat /etc/make.conf | > head -n 6 > PERL_VER=5.8.8 > PERL_VERSION=5.8.8 > > > # Kernel & Userland > CC=/usr/local/bin/gcc42 > [root@server /home/tux/wrk/ports/graphics/png]# make > ===> Extracting for png-1.2.8_3 > => MD5 Checksum OK for libpng-1.2.8.tar.bz2. > => SHA256 Checksum OK for libpng-1.2.8.tar.bz2. > ===> Patching for png-1.2.8_3 > ===> Applying FreeBSD patches for png-1.2.8_3 > ===> Configuring for png-1.2.8_3 > ===> Building for png-1.2.8_3 > /usr/local/bin/gcc42 -O -pipe -I. -DPNG_USE_PNGGCCRD > -DPNG_NO_ASSEMBLER_CODE -c png.c > /usr/local/bin/gcc42 -O -pipe -I. -DPNG_USE_PNGGCCRD > -DPNG_NO_ASSEMBLER_CODE -c pngset.c > /usr/local/bin/gcc42 -O -pipe -I. -DPNG_USE_PNGGCCRD > -DPNG_NO_ASSEMBLER_CODE -c pngget.c > /usr/local/bin/gcc42 -O -pipe -I. -DPNG_USE_PNGGCCRD > -DPNG_NO_ASSEMBLER_CODE -c pngrutil.c > [...snip...] -- mezz7@cox.net - mezz@FreeBSD.org FreeBSD GNOME Team - FreeBSD Multimedia Hat (ports, not src) http://www.FreeBSD.org/gnome/ - gnome@FreeBSD.org http://wiki.freebsd.org/multimedia - multimedia@FreeBSD.org