From nobody@FreeBSD.org  Sat Mar 15 14:36:05 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 2C559106566B
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Mar 2008 14:36:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 1C8F68FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Mar 2008 14:36:05 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m2FEWgw8069638
	for <freebsd-gnats-submit@FreeBSD.org>; Sat, 15 Mar 2008 14:32:42 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m2FEWfC9069637;
	Sat, 15 Mar 2008 14:32:41 GMT
	(envelope-from nobody)
Message-Id: <200803151432.m2FEWfC9069637@www.freebsd.org>
Date: Sat, 15 Mar 2008 14:32:41 GMT
From: Kenneth Lind <exil@solace.miun.se>
To: freebsd-gnats-submit@FreeBSD.org
Subject: audio/cmt fails build with USE_GMAKE=yes
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         121738
>Category:       ports
>Synopsis:       audio/cmt fails build with USE_GMAKE=yes
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    rafan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar 15 14:40:03 UTC 2008
>Closed-Date:    Fri Mar 21 01:19:00 UTC 2008
>Last-Modified:  Fri Mar 21 01:19:00 UTC 2008
>Originator:     Kenneth Lind
>Release:        6.2-RELEASE
>Organization:
>Environment:
FreeBSD zappa 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Aug 31 16:01:42 CEST 2007     root@hendrix:/misc/shared/FreeBSD/6.2/src/sys/amd64/compile/HENDRIX  amd64
>Description:
audio/cmt fails build with USE_GMAKE=yes

output:

===>  Extracting for cmt-1.16
=> MD5 Checksum OK for cmt_src_1.16.tgz.
=> SHA256 Checksum OK for cmt_src_1.16.tgz.
===>  Patching for cmt-1.16
===>   cmt-1.16 depends on file: /usr/local/include/ladspa.h - found
===>   cmt-1.16 depends on executable: gmake - found
===>  Configuring for cmt-1.16
===>  Building for cmt-1.16
gmake: invalid option -- a
gmake: invalid option -- c
gmake: invalid option -- =
gmake: invalid option -- a
Usage: gmake [options] [target] ...

etc...



>How-To-Repeat:
cd /usr/ports/audio/cmt && make
>Fix:
Remove USE_GMAKE=yes from /usr/ports/audio/cmt/Makefile

Patch attached with submission follows:

23d22
< USE_GMAKE=	yes


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->rafan 
Responsible-Changed-By: rafan 
Responsible-Changed-When: Wed Mar 19 13:08:16 UTC 2008 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121738 
State-Changed-From-To: open->feedback 
State-Changed-By: rafan 
State-Changed-When: Wed Mar 19 13:08:18 UTC 2008 
State-Changed-Why:  
I can build it just fine. Please show us your /etc/make.conf 
and any other settings if any (like portconf). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121738 

From: Kenneth Lind <exil@solace.miun.se>
To: rafan@FreeBSD.org, bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/121738: audio/cmt fails build with USE_GMAKE=yes
Date: Wed, 19 Mar 2008 17:35:46 +0100 (CET)

 On Wed, 19 Mar 2008 rafan@FreeBSD.org wrote:
 
 > Synopsis: audio/cmt fails build with USE_GMAKE=yes
 
 > http://www.freebsd.org/cgi/query-pr.cgi?pr=121738
 
 Here comes:
 
 [root@zappa /usr/ports/audio/cmt]# cat /etc/make.conf
 X_WINDOW_SYSTEM=xorg
 
 # build-stuff
 USE_GCC=4.2+
 CFLAGS+=-fPIC -march=athlon64
 CXXFLAGS+=-fPIC -march=athlon64
 A4=yes
 PAPERSIZE=a4
 GHOSTSCRIPT_PORT=print/ghostscript-gpl
 IPFW2=TRUE
 WITHOUT_SAMBA=yes
 WITHOUT_MDNS=yes
 #NO_OPENSSH=TRUE
 #WITH_MOZILLA=mozilla # firefox
 #WITH_GECKO=mozilla  #firefox
 #WITH_MOZILLA=seamonkey # firefox
 #WITH_MOZILLA=firefox mozilla
 #WITH_GECKO=firefox mozilla
 WITH_GECKO=seamonkey  #firefox
 
 # added by use.perl 2007-11-07 16:59:55
 PERL_VER=5.8.8
 PERL_VERSION=5.8.8
 
 

From: Rong-En Fan <rafan@FreeBSD.org>
To: Kenneth Lind <exil@solace.miun.se>
Cc: rafan@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: ports/121738: audio/cmt fails build with USE_GMAKE=yes
Date: Thu, 20 Mar 2008 09:53:29 +0800

 Hmm, really strange, I use your make.conf,
 it still builds fine on my 6.3-STABLE
 
 ===>  Extracting for cmt-1.16
 => MD5 Checksum OK for cmt_src_1.16.tgz.
 => SHA256 Checksum OK for cmt_src_1.16.tgz.
 ===>  Patching for cmt-1.16
 ===>   cmt-1.16 depends on file: /usr/local/include/ladspa.h - found
 ===>   cmt-1.16 depends on executable: gmake - found
 ===>   cmt-1.16 depends on executable: gcc42 - found
 ===>  Configuring for cmt-1.16
 ===>  Building for cmt-1.16
 g++42 -O2 -fno-strict-aliasing -pipe -fPIC -march=athlon64 -fPIC
 -march=athlon64 -fPIC -I/usr/local/include   -c -o am.o am.cpp
 g++42 -O2 -fno-strict-aliasing -pipe -fPIC -march=athlon64 -fPIC
 -march=athlon64 -fPIC -I/usr/local/include   -c -o ambisonic.o
 ambisonic.cpp
 [...]
 
 I think do
 
 make -V MAKE_ENV
 make -V MAKE_FLAGS
 make -V MAKE_ARGS
 make -V MAKEFILE
 make -V ALL_TARGET
 
 under audio/cmt will help us to figure out this issue.

From: Kenneth Lind <exil@solace.miun.se>
To: Rong-En Fan <rafan@FreeBSD.org>
Cc: bug-followup@FreeBSD.org, exil@solace.miun.se
Subject: Re: ports/121738: audio/cmt fails build with USE_GMAKE=yes
Date: Thu, 20 Mar 2008 21:39:50 +0100 (CET)

 On Thu, 20 Mar 2008, Rong-En Fan wrote:
 
 > Hmm, really strange, I use your make.conf,
 > it still builds fine on my 6.3-STABLE
 
 Hmm.. It does here to now. I just suffered from a (in
 retrospect, not so unexpected) freeze* of the entire system,
 rebooted, and afterwards it builds just fine. So I guess
 this PR can be closed now. Along with ports/121739, also.
 
 Unfortunatly, the pre-freeze environment is gone. Otherwise
 I find that it would interesting to look closer at the
 matter, because I must admit that I don't understand the
 "How & Whys" of it. But I also don't want to waste any more
 of your time.
 
 A big Thank You for your time and attention.
 
   /Kenneth Lind
 
 * I updated xterm and a few drivers recently and had not
 at that time restarted X. What triggered the freeze was
 probably my mounting and trying to 'umount -f' of a non-
 existing msdos filesystem on a USB-device (an ALi Corp
 mp3-player) with a UFS filesystem, during an attempt to
 read from the filesystem.
 Yes, I know how to f*ck things up. Sometimes, at least ;-)
 
 
State-Changed-From-To: feedback->closed 
State-Changed-By: rafan 
State-Changed-When: Fri Mar 21 01:18:59 UTC 2008 
State-Changed-Why:  
Close at submitter's request. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=121738 
>Unformatted:
