pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/31536: wxGTK24 error makes audacity build fail



>Number:         31536
>Category:       pkg
>Synopsis:       wxGTK24 error makes audacity build fail
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 10 02:45:00 +0000 2005
>Originator:     collver%peak.org@localhost
>Release:        NetBSD 2.0
>Organization:
>Environment:
System: NetBSD sanctum 2.0 NetBSD 2.0 (SANCTUM) #2: Sat Sep 3 19:25:46 PDT 2005 
root@sanctum:/usr/src/sys/arch/i386/compile/SANCTUM i386
Architecture: i386
Machine: i386
>Description:

http://terrorpin.net/~ben/docs/comp/unix/netbsd/pkgstat/20051009.1627/audio/audacity/.broken.html

...

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

...

The wxGTK test in configure resulted in an undefined reference to
`pango_x_get_context' in libwx_gtk2...

This is because wxGTK2 depends on libpangox, which was once brought
in as a dependency for gtk2, prior to gtk2 version 2.8.x.

Curiously, when doing a unicode-enable build, the wxGTK2 configure
script does check for libpangox and adds it as a dependency.

One fix would be to add --enable-unicode to CONFIGURE_ARGS.
Unfortunately, enable-unicode reveals a wxGTK2 problem with strptime.

That problem is described here:
http://lists.wxwidgets.org/archive/wx-dev/msg32579.html

And fixed here:
http://www.freebsd.org/cgi/cvsweb.cgi/ports/x11-toolkits/wxgtk24/files/patch-src-common-datetime.cpp?rev=1.1

However, the enable-unicode option drastically changes the
PLIST in ways that could break other packages.

So a better fix would be to copy the PANGOX test from the unicode
section of the configure script.  This would put the PANGOX test in both
sections of the configure script.  This will probably not be a problem
since the PANGOFT2 test is already in both sections of the configure
script.

I verified that this change fixes the audacity build.
>How-To-Repeat:
        Try to build audacity in current pkgsrc.
>Fix:
        http://terrorpin.net/~ben/docs/comp/unix/netbsd/pkgsrc/wxGTK24.diff




Home | Main Index | Thread Index | Old Index