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:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 02 01:00:01 +0000 2011
>Closed-Date:    Mon Sep 14 06:05:27 +0000 2015
>Last-Modified:  Mon Sep 14 06:05:27 +0000 2015
>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:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->feedback
State-Changed-By: shattered@NetBSD.org
State-Changed-When: Wed, 09 Sep 2015 18:43:47 +0000
State-Changed-Why:
audacity was recently upgraded to v2.  does this still manifest for you?


From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44309 (audio/audacity configure fails on NetBSD/i386-5.1_STABLE)
Date: Wed, 9 Sep 2015 14:33:32 -0500 (CDT)

 On Wed, 9 Sep 2015, shattered@NetBSD.org wrote:

 > Synopsis: audio/audacity configure fails on NetBSD/i386-5.1_STABLE
 > 
 > State-Changed-From-To: open->feedback
 > State-Changed-By: shattered@NetBSD.org
 > State-Changed-When: Wed, 09 Sep 2015 18:43:47 +0000
 > State-Changed-Why:
 > audacity was recently upgraded to v2.  does this still manifest for you?

 Since filing this PR, I began using the "audacity-devel" package from
 pkgsrc-wip which was 2.0.2 (now 2.0.5 which doesn't compile).  I don't
 recall trying it on netbsd-5, but the main feature was that "audacity-devel"
 used "wxGTK28" which was required by most of the other software I needed
 (namely "cad/kicad").

 I no-longer have any machines running netbsd-5, so cannot test this
 aspect.

 The commit message updating "audio/audacity" was unassuming enough that
 I did not notice that it bumped to v2.x and now surpasses the pkgsrc-wip
 package in version number.

 I will see about updating it soon (netbsd-{6,7,current}/{i386,amd64})
 and see how it behaves.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44309 (audio/audacity configure fails on NetBSD/i386-5.1_STABLE)
Date: Thu, 10 Sep 2015 22:22:38 -0500 (CDT)

 On Wed, 9 Sep 2015, John D. Baker wrote:

 > I will see about updating it soon (netbsd-{6,7,current}/{i386,amd64})
 > and see how it behaves.

 As I have "pkgtools/pkg_rolling-replace" installed, I used the "replace"
 target and "audio/audacity" (and dependencies) built and installed without
 issue on netbsd-7/{i386,amd64}.

 It does not run, however.  Attempting to run 'audacity' produces the
 following:

 $ audacity
 /usr/pkg/bin/audacity: error: `/usr/pkg/bin/.libs/audacity' does not exist
 This script is just a wrapper for audacity.
 See the libtool documentation for more information.


 It looks like part of the build-time paths got into the runtime when
 looking for libraries.

 I will delete the package and do a clean build from the ground up to
 see if that clears up the problem.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,
	jdbaker@mylinuxisp.com
Subject: Re: pkg/44309 (audio/audacity configure fails on
 NetBSD/i386-5.1_STABLE)
Date: Fri, 11 Sep 2015 14:57:28 +0200

 On Fri, Sep 11, 2015 at 03:25:01AM +0000, John D. Baker wrote:
 >  It does not run, however.  Attempting to run 'audacity' produces the
 >  following:
 >  
 >  $ audacity
 >  /usr/pkg/bin/audacity: error: `/usr/pkg/bin/.libs/audacity' does not exist
 >  This script is just a wrapper for audacity.
 >  See the libtool documentation for more information.

 This means that audacity was installed directly when it should be
 prefixed with ${LIBTOOL} --mode=install.

 Joerg

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44309 (audio/audacity configure fails on NetBSD/i386-5.1_STABLE)
Date: Fri, 11 Sep 2015 16:12:18 -0500 (CDT)

 On Fri, 11 Sep 2015, Joerg Sonnenberger wrote:

 >  On Fri, Sep 11, 2015 at 03:25:01AM +0000, John D. Baker wrote:
 >  >  It does not run, however.  Attempting to run 'audacity' produces the
 >  >  following:
 >  >  
 >  >  $ audacity
 >  >  /usr/pkg/bin/audacity: error: `/usr/pkg/bin/.libs/audacity' does not exist
 >  >  This script is just a wrapper for audacity.
 >  >  See the libtool documentation for more information.
 >  
 >  This means that audacity was installed directly when it should be
 >  prefixed with ${LIBTOOL} --mode=install.

 And as such a clean build (pkgsrc-2015Q2) does not remedy the problem.
 It's close enough to the impending freeze that I'll update this package
 to HEAD and see if it was already fixed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44309 (audio/audacity configure fails on NetBSD/i386-5.1_STABLE)
Date: Fri, 11 Sep 2015 17:40:56 -0500 (CDT)

 On Fri, 11 Sep 2015, John D. Baker wrote:

 > It's close enough to the impending freeze that I'll update this package
 > to HEAD and see if it was already fixed.

 Still broken in HEAD.  During the install phase, I did see:

   /bin/sh ../libtool   --mode=install /usr/bin/install -c -s -o sysop -g sysop -m 755 audacity '/d0/build/pkgsrc/audio/audacity/work/.destdir/usr/pkg/bin'

 but the installed package fails to run as before:

 $ audacity               
 /usr/pkg/bin/audacity: error: `/usr/pkg/bin/.libs/audacity' does not exist
 This script is just a wrapper for audacity.
 See the libtool documentation for more information.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

From: "John D. Baker" <jdbaker@mylinuxisp.com>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/44309 (audio/audacity configure fails on NetBSD/i386-5.1_STABLE)
Date: Sun, 13 Sep 2015 22:05:22 -0500 (CDT)

 I cannot test the original issue of the PR as I no-longer run netbsd-5
 on any systems.

 The issues since discovered with audio/audacity are now tracked in PR
 pkg/50239.

 This PR may be closed.

 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645

State-Changed-From-To: feedback->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 14 Sep 2015 06:05:27 +0000
State-Changed-Why:
This problem is gone, a new one is in 50239. Thanks for the update!


>Unformatted:

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-2014 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.