From owner-freebsd-ports-bugs@FreeBSD.ORG Mon Jul 23 00:00:14 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 09D8316A419 for ; Mon, 23 Jul 2007 00:00:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id E135D13C468 for ; Mon, 23 Jul 2007 00:00:13 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6N00D2U087191 for ; Mon, 23 Jul 2007 00:00:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6N00Dha087190; Mon, 23 Jul 2007 00:00:13 GMT (envelope-from gnats) Date: Mon, 23 Jul 2007 00:00:13 GMT Message-Id: <200707230000.l6N00Dha087190@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org From: SIEGERSTEIN Cc: Subject: Re: ports/114801: [patch] fix audio/openal build failure X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: SIEGERSTEIN List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jul 2007 00:00:14 -0000 The following reply was made to PR ports/114801; it has been noted by GNATS. From: SIEGERSTEIN To: bug-followup@FreeBSD.org, siegerstein@pochta.ru Cc: Subject: Re: ports/114801: [patch] fix audio/openal build failure Date: Mon, 23 Jul 2007 02:53:23 +0300 The bug was in two files with the same name: [siegerstein@siegerstein /]$ ls -l /usr/include/sys/soundcard.h -r--r--r-- 1 root wheel 50851 12 янв 2007 /usr/include/sys/soundcard.h [siegerstein@siegerstein /]$ ls -l /usr/local/include/sys/soundcard.h -r--r--r-- 1 root wheel 75728 16 июл 06:13 /usr/local/include/sys/soundcard.h [siegerstein@siegerstein /]$ The fist file is native, second is from oss package: perl script: wf.pl #!/usr/bin/perl my $tree = '/var/db/pkg'; @array = `ls $tree`; for ($i = 0; $i < (scalar(@array)); ++$i) { chomp($array[$i]); $exec = `pkg_info -L \"$array[$i]\" | grep soundcard.h`; if ($exec) { print "$array[$i]\n"; print `pkg_info -L \"$array[$i]\" | grep --color=always soundcard.h`; print "\n\n"; } } 1; $./wf.pl oss-4.0.b1004 /usr/local/include/sys/soundcard.h The probles was in oss package, whi has the file whith the same name, but different func. Fix: pkg_delete -f oss-\* Then did not fix line 356 in previos report, just fiox line 410: replace return; with return AL_FALSE; Or if you dont want to delete oss package, just mv /usr/local/include/sys/soundcard.h /usr/local/include/sys/soundcard.h.old And other port, wich recuire of this lib, will build seccess from native lib (/usr/local/include/sys/soundcard.h) - Alex Ivasyuv aka SIEGERSEIN