NetBSD Problem Report #44309

From www@NetBSD.org  Sun Jan  2 00:58:49 2011
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by www.NetBSD.org (Postfix) with ESMTP id 99FA163B89F
	for <gnats-bugs@gnats.NetBSD.org>; Sun,  2 Jan 2011 00:58:49 +0000 (UTC)
Message-Id: <20110102005849.4E12C63B87A@www.NetBSD.org>
Date: Sun,  2 Jan 2011 00:58:49 +0000 (UTC)
From: jdbaker@mylinuxisp.com
Reply-To: jdbaker@mylinuxisp.com
To: gnats-bugs@NetBSD.org
Subject: audio/audacity configure fails on NetBSD/i386-5.1_STABLE
X-Send-Pr-Version: www-1.0

>Number:         44309
>Category:       pkg
>Synopsis:       audio/audacity configure fails on NetBSD/i386-5.1_STABLE
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 02 01:00:01 +0000 2011
>Originator:     John D. Baker
>Release:        NetBSD/i386-5.1_STABLE, pkgsrc-current (pre-pkgsrc-2010Q4)
>Organization:
>Environment:
NetBSD plextwo.technoskunk.fur 5.1_STABLE NetBSD 5.1_STABLE (PLEXOR) #30: Thu Dec 23 22:50:30 CST 2010  sysop@6gun.technoskunk.fur:/d0/build/netbsd-5/obj/i386/sys/arch/i386/compile/PLEXOR i386

>Description:
Building audio/audacity fails during the configure phase with:

[...]
configure: configuring in lib-src/soundtouch
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--without-xaudio' '--with-id3=system' '--with-libmad=system' '--with-libsndfile=system' '--with-portaudio=system' '--with-vorbis=system' '--x-includes=/usr/X11R7/include' '--x-libraries=/usr/X11R7/lib' '--without-libintl-prefix' '--without-libiconv-prefix' '--prefix=/usr/pkg' '--build=i386--netbsdelf' '--host=i386--netbsdelf' '--mandir=/usr/pkg/man' 'CC=cc' 'CFLAGS=-O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2' 'CPPFLAGS=-I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2' 'CXXFLAGS=-O2 -pthread -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/usr/X11R7/include/freetype2' 'CXX=c++' 'LDFLAGS=-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -pthread' 'PKG_CONFIG=/d0/build/pkgsrc/audio/audacity/work/.tools/bin/pkg-config' 'build_alias=i386--netbsdelf' 'host_alias=i386--netbsde
 lf' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking for i386--netbsdelf-g++... c++
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for lib-src/soundtouch
*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/audio/audacity
*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/audio/audacity


The relevant portion of ".../lib-src/soundtouch/config.log" appears to
point to another instance of the "pixman problem":

[...]
configure:2120: checking for C++ compiler default output file name
configure:2123: c++  -I/usr/pkg/include -I/usr/include -I/usr/X11R7/include -I/u
sr/X11R7/include/freetype2 -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/u
sr/lib -L/usr/X11R7/lib -Wl,-R/usr/X11R7/lib -pthread conftest.cc  -lsndfile -lm
ad -lvorbisenc -lvorbisfile -lvorbis -logg -lid3tag -L/usr/pkg/lib -pthread -L/u
sr/pkg/lib -L/usr/X11R7/lib -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -lwx_gtk2 -W
l,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib -L/usr/X11R7/lib -
lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXext -lXrender -lXineram
a -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0
 -lgio-2.0 -lXfixes -lcairo -lX11 -lpng14 -lpango-1.0 -lm -lfreetype -lz -lfontc
onfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -lpng14 -ljpeg
 -ltiff -lz -Wl,-R/usr/pkg/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib -L/u
sr/X11R7/lib -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lz -lfontconfig -lgobjec
t-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -Wl,-R/usr/pkg/lib -R/usr/X1
1R7/lib -Wl,-R/usr/X11R7/lib -pthread -L/usr/pkg/lib -L/usr/X11R7/lib -lpangox-1
.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -l
intl -lportaudio >&5
/d0/build/pkgsrc/audio/audacity/work/.buildlink/lib/libcairo.so: undefined refer
ence to `pixman_image_set_destroy_function'
/d0/build/pkgsrc/audio/audacity/work/.buildlink/lib/libcairo.so: undefined refer
ence to `pixman_image_composite32'
/d0/build/pkgsrc/audio/audacity/work/.buildlink/lib/libcairo.so: undefined refer
ence to `pixman_image_fill_boxes'
configure:2126: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "SoundTouch"
| #define PACKAGE_TARNAME "soundtouch"
| #define PACKAGE_VERSION "1.3.1"
| #define PACKAGE_STRING "SoundTouch 1.3.1"
| #define PACKAGE_BUGREPORT "http://www.surina.net/soundtouch"
| #define PACKAGE "soundtouch"
| #define VERSION "1.3.1"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2164: error: C++ compiler cannot create executables
See `config.log' for more details.
[...]


>How-To-Repeat:
Attempt to build audio/audacity on NetBSD/i386-5.1_STABLE (other arches?)
(but see also pkg/44304 to get x11/wxGTK24 to build) and pkgsrc as of
201101020030Z.  NetBSD/i386-current did not exhibit a problem when last
attempted.
>Fix:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.