Subject: Re: pkg/31020 (package wm/icecc does not build)
To: None <gnats-bugs@netbsd.org>
From: A L Meyers <me@privacy.net>
List: pkgsrc-bugs
Date: 01/21/2006 10:04:58
Roland Illig wrote:
> The following reply was made to PR pkg/31020; it has been noted by GNATS.
> 
> From: Roland Illig <rillig@NetBSD.org>
> To: mc0@databaar.ch
> Cc: gnats-bugs@netbsd.org
> Subject: Re: pkg/31020 (package wm/icecc does not build)
> Date: Thu, 12 Jan 2006 23:55:45 +0100
> 
>  A L Meyers wrote:
>  > [root@localhost icecc]# /usr/pkg/bin/bmake; make debug | less
>  > bmake: "../../mk/../../mk/pkgsrc.debug.mk" line 59: Malformed
>  > conditional (!empty(CONFIGURE_DIRS:M*))
>  
>  This is very weird. Have you included pkgsrc.debug.mk at the _end_ of 
>  bsd.pkg.mk? Appending it to you mk.conf does not work.
>  
>  Roland
>  
> 

Hello Roland,

Had included pkgsrc.debug.mk in a section with similar entries
towards the beginning of bsd.pkg.mk.  Have moved it to the end.
Here is the current build error output:

===> Building for icecc-2.9nb1
g++ -c -pipe -Wall -W -O2 -fomit-frame-pointer -pipe -march=i586
-mtune=pentiumpro -D_REENTRANT  -DVERSION=\"2.9\"
-DPREFIX=\"/usr/pkg\" -DQT_NO_DEBUG -DQT_THREAD_SUPPORT
-DQT_SHARED -I/usr/lib/qt3/mkspecs/default -I.
-I/usr/pkg/qt3/include -o icecc.o icecc.cpp
cc1plus: error: invalid option `tune=pentiumpro'
make: *** [icecc.o] Error 1
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/wm/icecc
===>
===> There was an error during the ``build'' phase.
===> Please investigate the following for more information:
===>      * log of the build
===>      * /usr/pkgsrc/wm/icecc/work/.work.log
===>
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/wm/icecc
[root@localhost icecc]#

If I recall correctly, something similar occurred several months
ago with another package but I do not remember where or how to fix it.

Thanks and best regards,

lux