Subject: pkg/33532: x11/wxGTK build failure on MacOS X 10.4.6
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <jdbaker@mylinuxisp.com>
List: pkgsrc-bugs
Date: 05/23/2006 05:30:01
>Number:         33532
>Category:       pkg
>Synopsis:       x11/wxGTK build failure on MacOS X 10.4.6
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue May 23 05:30:00 +0000 2006
>Originator:     John D. Baker
>Release:        MacOS X 10.4.6, pkgsrc-current
>Organization:
>Environment:
Darwin pm8500.technoskunk.fur 8.6.0 Darwin Kernel Version 8.6.0: Tue Mar  7 16:58:48 PST 2006; root:xnu-792.6.70.obj~1/RELEASE_PPC Power Macintosh powerpc
>Description:
Building x11/wxGTK on MacOS X 10.4.6 w/XCode Tools 2.2.1 fails as follows:

[...]
libtool  --mode=link --tag=CC ./bk-deps gcc -pipe -rpath /usr/pkg/lib -o lib/libwxregex-2.6.la wxregex_regcomp.lo  wxregex_regexec.lo  wxregex_regerror.lo  wxregex_regfree.lo -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib  -framework IOKit -framework CoreServices -framework System -framework ApplicationServices  -install_name  /usr/pkg/lib/libwxregex-2.6.la -version-number 0:3:1
mkdir lib/.libs
libtool: link: cannot find the library `/libtool  --mode=link --tag=CC ./bk-deps gcc -pipe -rpath /usr/pkg/lib -o lib/libwxregex-2.6.la wxregex_regcomp.lo  wxregex_regexec.lo  wxregex_regerror.lo  wxregex_regfree.lo -L/usr/pkg/lib -L/usr/lib -L/usr/X11R6/lib  -framework IOKit -framework CoreServices -framework System -framework ApplicationServices  -install_name  /usr/pkg/lib/libwxregex-2.6.la -version-number 0:3:1
mkdir lib/.libs
libtool: link: cannot find the library `/usr/pkg/lib/libwxregex-2.6.la' or unhandled argument `/usr/pkg/lib/libwxregex-2.6.la'
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/tmp/pkgsrc/x11/wxGTK/work/wxGTK-2.6.3
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/wxGTK
' or unhandled argument `/usr/pkg/lib/libwxregex-2.6.la'
*** Error code 1

Stop.
bmake: stopped in /Volumes/NetBSD/tmp/pkgsrc/x11/wxGTK/work/wxGTK-2.6.3
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/x11/wxGTK
[...]

>How-To-Repeat:
On MacOS X 10.4.6 w/XCode Tools 2.2.1 do:

cd .../x11/wxGTK

bmake
>Fix:
The file /usr/pkg/lib/libwxregex-2.6.la doesn't exist, of course, since
that's the file we're trying to link/create at the time of failure.
More libtool insanity on MacOS X?