Opened 13 years ago

Closed 12 years ago

#31500 closed defect (wontfix)

wine ports: build failures on Tiger

Reported by: arevirleahcim@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: tiger Cc: jeremyhu (Jeremy Huddleston Sequoia), jyrkiwahlstedt
Port: wine, wine-devel, wine-crossover

Description (last modified by ryandesign (Ryan Carsten Schmidt))

michael-riveras-computer:~ michaelrivera$ sudo port install wine-devel
--->  Computing dependencies for wine-devel
--->  Building wine-devel
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for wine-devel is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_x11_wine-devel/wine-devel/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
michael-riveras-computer:~ michaelrivera$ 

Change History (20)

comment:1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Owner: changed from macports-tickets@… to ryandesign@…
Port: wine-devel added
Priority: HighNormal

Please:

  • use WikiFormatting and preview before submitting
  • fill in the Port field and Cc the maintainer of that port
  • do not set the Priority to High
  • attach the main.log when reporting problems

Without the main.log I can't know for sure, but I'm going to guess this is upstream bug 26643; see also the discussion in our ticket #29909.

comment:2 in reply to:  description Changed 13 years ago by arevirleahcim@…

Here is the log, sorry for not posting correctly.

michael-riveras-computer:~ michaelrivera$ port log --phase build wine       
Error: The following dependencies were not installed: gnutls jpeg lcms tiff libpng libxml2 libxml2 libxslt mesa makedepend xorg-xproto py27-libxml2 python27 db46 openssl python_select sqlite3 libedit python27 tcl xorg-dri2proto xorg-glproto xorg-libXfixes xorg-fixesproto xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-libXdmcp xorg-libxcb xorg-libpthread-stubs xorg-xcb-proto xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXi xorg-libXext xorg-libXmu xorg-libXt xorg-libsm xorg-libice xorg-libXcomposite xorg-compositeproto xorg-libXcursor xorg-renderproto xrender xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto xorg-libXxf86vm xorg-xf86vidmodeproto
Error: Status 1 encountered during processing.

I am now trying to do wine 1.3.15, I've heard wine-devel doesn't work on Tiger. I think you were right with bug 26643, I ran the autoconf and got this:

michael-riveras-computer:~/desktop/wine/wine-1.3.15 michaelrivera$ "autoconf"
configure.ac:160: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
configure.ac:160: the top level
configure.ac:770: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2730: _AC_RUN_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2749: AC_RUN_IFELSE is expanded from...
configure.ac:770: the top level
configure.ac:787: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:89: WINE_TRY_SHLIB_FLAGS is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:787: the top level
configure.ac:794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:794: the top level
configure.ac:794: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:794: the top level
configure.ac:799: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:799: the top level
configure.ac:801: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:801: the top level
configure.ac:805: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:805: the top level
configure.ac:809: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:809: the top level
configure.ac:812: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:812: the top level
configure.ac:812: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:812: the top level
configure.ac:819: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:819: the top level
configure.ac:824: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:824: the top level
configure.ac:839: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:89: WINE_TRY_SHLIB_FLAGS is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:839: the top level
configure.ac:848: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:89: WINE_TRY_SHLIB_FLAGS is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
configure.ac:848: the top level
configure.ac:884: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2591: _AC_COMPILE_IFELSE is expanded from...
../../lib/autoconf/general.m4:2607: AC_COMPILE_IFELSE is expanded from...
configure.ac:884: the top level
configure.ac:1692: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1692: the top level
configure.ac:1693: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1693: the top level
configure.ac:1694: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1694: the top level
configure.ac:1695: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1695: the top level
configure.ac:1696: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1696: the top level
configure.ac:1697: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1697: the top level
configure.ac:1724: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2032: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2053: AC_CACHE_CHECK is expanded from...
aclocal.m4:73: WINE_TRY_CFLAGS is expanded from...
configure.ac:1724: the top level
configure.ac:1759: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1759: the top level
configure.ac:1767: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1767: the top level
configure.ac:1798: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1798: the top level
configure.ac:1798: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1798: the top level
configure.ac:1798: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
../../lib/m4sugar/m4sh.m4:606: AS_IF is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1798: the top level
configure.ac:1828: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body
../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from...
../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from...
../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from...
aclocal.m4:64: WINE_TRY_ASM_LINK is expanded from...
configure.ac:1828: the top level

I'm not sure what to do at this point.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I've just set up a new Intel Tiger environment to test with. Looks like there's a new problem, likely in addition to the Security framework issue I had seen before:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't use -s with -bundle (file must contain at least global symbols, for maximum stripping use -x)

There are some Google results for this; I'll see if I can wade through them and arrive at a solution.

comment:4 in reply to:  3 ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: can't use -s with -bundle (file must contain at least global symbols, for maximum stripping use -x)

I see a patch for this was supplied here:

http://forum.winehq.org/viewtopic.php?t=13600#67534

Applying that patch gets me to:

bison  -p xslpattern_ -o xslpattern.tab.c -d xslpattern.y
xslpattern.y:74: unrecognized: %parse_param
xslpattern.y:74:    Skipping to next %
xslpattern.y:75: unrecognized: %parse_param
xslpattern.y:75:    Skipping to next %
xslpattern.y:76: unrecognized: %lex_param
xslpattern.y:76:    Skipping to next %
make[1]: *** [xslpattern.tab.h] Error 1

which was also discussed in the above thread as being due to an old version of bison. Installing the bison port fixes that. I've committed both those fixes in r85014. That gets us to the original problem on Tiger already reported upstream:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_SSLCopyPeerCertificates

comment:5 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: jeremyhu@… jwa@… added
Keywords: tiger added
Port: wine-crossover wine-crossover-games added
Summary: Wine-devel on Tigerwine ports: build failures on Tiger

wine-crossover 10.0.3 and wine-crossover-games 10.0.0 also have the _SSLCopyPeerCertificates issue.

comment:6 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Looking at my copy on Lion, that symbol comes from Security.framework:

/opt/local/lib/wine $ nm -m secur32.dll.so | grep SSLCopyPeerCertificates
         (undefined) external _SSLCopyPeerCertificates (from Security)

A quick check in my 10.4 SDK shows that this symbol did not exist in Tiger.

comment:7 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Try adding this to the Portfile:

platform darwin 8 {
    configure.env-append ac_cv_header_Security_Security_h=no
}

comment:8 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Ryan, if that works, please feel free to apply the same changes to wine-crossover-* (and bump the version if you are so inclined)

comment:9 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Yes I was planning on adding something like that. Actually I'm seeing if I can write a patch I can attach to the upstream bug report, one that's not MacPorts-specific like that.

comment:10 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Well, that hasn't totally solved it. With wine-devel I now have:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_SecKeychainAddInternetPassword
_SecKeychainFindInternetPassword
_SecKeychainGetUserInteractionAllowed
_SecKeychainItemCopyAttributesAndData
_SecKeychainItemDelete
_SecKeychainItemFreeAttributesAndData
_SecKeychainItemModifyAttributesAndData
_SecKeychainSearchCopyNext
_SecKeychainSearchCreateFromAttributes
_SecKeychainSetUserInteractionAllowed

comment:11 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

SecKeychainAddInternetPassword *IS* in Tiger's Security.framework.

So you want to use Security.framework for what it can offer, but you need to add a check in the sources (rather than configure.ac) which will do:

#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
code that uses SSLCopyPeerCertificates
#else
workaround not having SSLCopyPeerCertificates
#endif

comment:12 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

I have a patch I'm hopeful will work, but it'll take me some hours to build it various ways and test.

comment:13 in reply to:  4 ; Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
_SSLCopyPeerCertificates

I've committed my patch to fix this in r85133 and I'll submit it upstream. wine-crossover and wine-crossover-games needed a slightly different patch than wine-devel.

Now we're left with the following problem with wine-devel @1.3.29_0:

mmdevdrv.c:57:37: error: AudioToolbox/AudioQueue.h: No such file or directory

And the following problem with wine-crossover @10.0.3_0 and wine-crossover-games @10.0.0_3:

icnsformat.c: In function ‘IcnsFrameEncode_WritePixels’:
icnsformat.c:322: error: ‘kIconServices16PixelDataARGB’ undeclared (first use in this function)
icnsformat.c:322: error: (Each undeclared identifier is reported only once
icnsformat.c:322: error: for each function it appears in.)
icnsformat.c:323: error: ‘kIconServices32PixelDataARGB’ undeclared (first use in this function)
icnsformat.c:324: error: ‘kIconServices48PixelDataARGB’ undeclared (first use in this function)
icnsformat.c:325: error: ‘kIconServices128PixelDataARGB’ undeclared (first use in this function)
icnsformat.c:327: error: ‘kIconServices512PixelDataARGB’ undeclared (first use in this function)
make[1]: *** [icnsformat.o] Error 1

That might change though when we update wine-crossover and wine-crossover-games to a newer version.

comment:14 Changed 13 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I don't think that patch is correct.

You should be doing:

#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
use SSLCopyPeerCertificates()
#else
use SSLGetPeerCertificates() instead
#endif

comment:15 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Well I hope my patch was "correct" in that it would detect whether SSLCopyPeerCertificates() was available and fall back on gnutls if not. I can't verify that, since there were subsequent compile errors. But I was not aware that SSLCopyPeerCertificates() used to be called SSLGetPeerCertificates(); if we can use your code to avoid needing gnutls on Tiger as well, then that's better.

comment:16 in reply to:  13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jeremyhu@…:

You should be doing:

#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1050
use SSLCopyPeerCertificates()
#else
use SSLGetPeerCertificates() instead
#endif

r85426.

Replying to ryandesign@…:

icnsformat.c: In function ‘IcnsFrameEncode_WritePixels’:
icnsformat.c:322: error: ‘kIconServices16PixelDataARGB’ undeclared (first use in this function)

I had already filed upstream bug 25778 about this in January and it was "fixed" by disabling this code for Tiger. I'll backport this fix.

comment:17 in reply to:  13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

icnsformat.c: In function ‘IcnsFrameEncode_WritePixels’:
icnsformat.c:322: error: ‘kIconServices16PixelDataARGB’ undeclared (first use in this function)

Fixed in r85517. Now wine-crossover and wine-crossover-games say:

mactext.c: In function ‘OpenAppropriateService’:
mactext.c:411: warning: implicit declaration of function ‘TISSelectInputSource’
mactext.c: In function ‘GetTISInputModeCFS’:
mactext.c:456: warning: implicit declaration of function ‘TISCopyCurrentKeyboardInputSource’
mactext.c:456: warning: assignment makes pointer from integer without a cast
mactext.c:459: warning: implicit declaration of function ‘TISGetInputSourceProperty’
mactext.c:459: error: ‘kTISPropertyInputSourceType’ undeclared (first use in this function)
mactext.c:459: error: (Each undeclared identifier is reported only once
mactext.c:459: error: for each function it appears in.)
mactext.c:459: warning: assignment makes pointer from integer without a cast
mactext.c:473: error: ‘kTISPropertyInputModeID’ undeclared (first use in this function)
mactext.c:473: warning: assignment makes pointer from integer without a cast
mactext.c:482: error: ‘kTISPropertyBundleID’ undeclared (first use in this function)
mactext.c:482: warning: assignment makes pointer from integer without a cast
mactext.c:491: error: ‘kTISPropertyInputSourceLanguages’ undeclared (first use in this function)
mactext.c:491: warning: assignment makes pointer from integer without a cast
mactext.c: In function ‘Off2P’:
mactext.c:1115: warning: ‘GetQDGlobalsScreenBits’ is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:6965)
mactext.c: In function ‘UpdateCandWindow’:
mactext.c:1131: warning: ‘QDFlushPortBuffer’ is deprecated (declared at /System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Quickdraw.h:7341)
make[1]: *** [mactext.o] Error 1

comment:18 in reply to:  13 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

mmdevdrv.c:57:37: error: AudioToolbox/AudioQueue.h: No such file or directory

I've filed upstream bug 28713 about this.

comment:19 Changed 12 years ago by jmroot (Joshua Root)

Port: wine-crossover-games removed

comment:20 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Port: wine added
Resolution: wontfix
Status: newclosed

As of r96845 the Wine ports require Leopard, in accordance with Wine developer statements made in http://bugs.winehq.org/show_bug.cgi?id=31492#c6

Note: See TracTickets for help on using tickets.