[MacPorts] #20912: wine-devel fails to build on 10.6
#20912: wine-devel fails to build on 10.6 ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: wine freetype | Port: wine-devel ---------------------------------------+------------------------------------ {{{ $ sudo port install wine-devel ---> Computing dependencies for wine-devel ---> Configuring wine-devel Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_wine-devel/work/wine-1.1.28" && ./configure --prefix=/opt/local --x-include=/opt/local/include --x-lib=/opt/local/lib --disable-win16 " returned error 1 Command output: checking for xmlParseMemory in -lxml2... no checking for xmlReadMemory in -lxml2... no checking for xmlNewDocPI in -lxml2... no checking for libxslt/pattern.h... yes checking for libxslt/transform.h... yes checking for -lxslt... not found checking dbus/dbus.h usability... no checking dbus/dbus.h presence... no checking for dbus/dbus.h... no checking hal/libhal.h usability... no checking hal/libhal.h presence... no checking for hal/libhal.h... no checking gnutls/gnutls.h usability... no checking gnutls/gnutls.h presence... no checking for gnutls/gnutls.h... no checking for -lncurses... not found checking for mousemask... no checking for sane-config... no checking sane/sane.h usability... no checking sane/sane.h presence... no checking for sane/sane.h... no checking for gphoto2-config... no checking for gphoto2-port-config... no checking gphoto2-camera.h usability... no checking gphoto2-camera.h presence... no checking for gphoto2-camera.h... no checking for freetype-config... freetype-config checking for -lfreetype... not found configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. Error: Status 1 encountered during processing. }}} {{{ $ port installed | grep freetype freetype @2.3.9_0+macosx (active) }}} I'm guessing the wine port has the same issue, but I haven't tried building it yet. -- Ticket URL: <http://trac.macports.org/ticket/20912> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine-devel fails to build on 10.6 ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: wine freetype snowleopard | Port: freetype wine wine-devel ---------------------------------------+------------------------------------ Changes (by snc@…): * cc: jwa@… (added) * keywords: wine freetype => wine freetype snowleopard * port: wine-devel => freetype wine wine-devel * owner: macports-tickets@… => ryandesign@… Comment: Yes, wine has the same issue. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine-devel fails to build on 10.6 ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: wine freetype snowleopard | Port: freetype wine wine-devel ---------------------------------------+------------------------------------ Comment(by ryandesign@…): There is no issue, really. wine and wine-devel cannot be built 64-bit, so they force themselves to 32-bit. That means you must build all the dependencies 32-bit too, or universal 32-/64-bit -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine-devel fails to build on 10.6 ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: wine freetype snowleopard | Port: freetype wine wine-devel ---------------------------------------+------------------------------------ Comment(by ryandesign@…): So this is to be fixed by MacPorts base. See #20728. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine-devel fails to build when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: wine freetype snowleopard | Port: freetype wine wine-devel ---------------------------------------+------------------------------------ -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * keywords: wine freetype snowleopard => snowleopard * port: freetype wine wine-devel => wine, wine-devel -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by avs@…): Replying to [comment:2 ryandesign@…]:
There is no issue, really. wine and wine-devel cannot be built 64-bit, so they force themselves to 32-bit. That means you must build all the dependencies 32-bit too, or universal 32-/64-bit
I have all wine-devel deps +universal but configure still fails as per the original comment. Is there something more to that? -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by avs@…): Replying to [comment:10 avs@…]:
I have all wine-devel deps +universal but configure still fails as per the original comment. Is there something more to that?
Sorry, fontconfig wasn't +universal, it fails to build if freetype is +universal. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Changes (by toby@…): * cc: macports.users@… (added) -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:13> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by ryandesign@…): Replying to [comment:11 avs@…]:
Replying to [comment:10 avs@…]:
I have all wine-devel deps +universal but configure still fails as per the original comment. Is there something more to that?
Sorry, fontconfig wasn't +universal, it fails to build if freetype is +universal.
It works fine for me. Feel free to file a new bug for fontconfig, or send a message to the macports-users mailing list, either way including the full debug output of your failed fontconfig build attempt. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by macports.users@…): This works too! [[BR]] {{{ # port install wine-devel configure.args=--without-freetype }}} -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:15> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by ryandesign@…): ...but then your wine isn't using freetype, which is presumably beneficial. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by avs@…):
It works fine for me. Feel free to file a new bug for fontconfig, or send a message to the macports-users mailing list, either way including the full debug output of your failed fontconfig build attempt.
I got it to build after doing port selfupdate - I don't know what was wrong for the first time. I upgraded all wine-devel deps to +universal with --enforce-variants and wine-devel now builds smoothly (even with freetype) and works. So just like you said on comment 2. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:17> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by Mills00013@…): Replying to [comment:17 avs@…]:
It works fine for me. Feel free to file a new bug for fontconfig, or send a message to the macports-users mailing list, either way including the full debug output of your failed fontconfig build attempt.
I got it to build after doing port selfupdate - I don't know what was wrong for the first time. I upgraded all wine-devel deps to +universal with --enforce-variants and wine-devel now builds smoothly (even with freetype) and works. So just like you said on comment 2. Would it be possible for you to display your entire command set to get this to work? I am having trouble getting the usage right on the --enforce-varients command. I dont know where or when its appropriate to use it.
-- Ticket URL: <http://trac.macports.org/ticket/20912#comment:18> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Changes (by toby@…): * cc: marco.stankowitz@… (added) -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:19> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by justin.kinglacroix@…): Same issue - all deps are +universal, but get the same error as above. Attached debug log. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:22> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Changes (by ryandesign@…): * cc: justin.kinglacroix@… (added) Comment: Justin, your output: {{{ checking for freetype-config... no checking for freetype2-config... no checking for -lfreetype... libfreetype.6.dylib checking for ft2build.h... no checking for freetype/freetype.h... no checking for freetype/ftglyph.h... no checking for freetype/fttypes.h... no checking for freetype/tttables.h... no checking for freetype/ftsnames.h... no checking for freetype/ttnameid.h... no checking for freetype/ftoutln.h... no checking for freetype/ftwinfnt.h... no checking for freetype/ftmodapi.h... no checking for freetype/ftlcdfil.h... no checking for freetype/internal/sfnt.h... no checking for FT_TrueTypeEngineType... no checking for FT_Load_Sfnt_Table... yes configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. }}} is different than that originally reported in this ticket, which was: {{{ checking for freetype-config... freetype-config checking for -lfreetype... not found configure: error: FreeType 32-bit development files not found. Fonts will not be built. Use the --without-freetype option if you really want this. }}} So you are experiencing a different issue. Somehow it appears that your freetype-config program and all the freetype headers are missing. Try rebuilding your freetype: {{{ sudo port clean freetype sudo port -n upgrade --force freetype }}} Then try wine-devel again: {{{ sudo port clean wine-devel sudo port install wine-devel }}} -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:23> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by avs@…): Replying to [comment:18 Mills00013@…]:
Would it be possible for you to display your entire command set to get this to work? I am having trouble getting the usage right on the --enforce-varients command. I dont know where or when its appropriate to use it.
Sure. There was some sort of problem with building fontconfig, so I uninstalled it and rebuilt it first {{{ sudo port selfupdate sudo port uninstall -f freetype sudo port uninstall -f fontconfig }}} ..Then I upgraded all wine-devel deps {{{ sudo port clean wine-devel sudo port deps wine-devel }}} ..for every dep listed by the above command (I am not sure if you could do this in another way) {{{ sudo port upgrade --enforce-variants <dep-name> +universal }}} ..and finally installed fontconfig and freetype back {{{ sudo port install freetype +universal sudo port install fontconfig +universal sudo port install wine-devel }}} and it worked. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:24> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ---------------------------------------+------------------------------------ Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Keywords: snowleopard | Port: wine, wine-devel ---------------------------------------+------------------------------------ Comment(by justin.kinglacroix@…): Thanks Ryan! Worked a charm. Apologies to all for the spam. -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:25> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ----------------------------------------+----------------------------------- Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: snowleopard Port: wine, wine-devel | ----------------------------------------+----------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:3 ryandesign@…]:
So this is to be fixed by MacPorts base. See #20728. I've worked around it for now in r58381. wine and wine-devel should now alert you if you try to install and a dependency doesn't have the right architectures.
-- Ticket URL: <http://trac.macports.org/ticket/20912#comment:28> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ----------------------------------------+----------------------------------- Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: snowleopard Port: wine, wine-devel | ----------------------------------------+----------------------------------- Comment(by ryandesign@…): * r60835: also check mesa's libGL.dylib * r60836: merge r58381 and r60835 to wine-crossover-games -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:29> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ----------------------------------------+----------------------------------- Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: snowleopard Port: wine, wine-devel | ----------------------------------------+----------------------------------- Comment(by pjkixx@…): i'm having trouble getting this to build as well but i'm getting a different error altogether. i've followed all instructions and have rebuilt all deps using --enforce- variants and +universal with no luck. here is the output i get. ---- {{{ $ sudo port install wine-devel Password: ---> Computing dependencies for wine-devel ---> Building wine-devel Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports .org_release_ports_x11_wine-devel/work/wine-1.1.34" && /usr/bin/make -j1 depend all " returned error 2 Command output: authors.c:772: error: stray '\204' in program authors.c:786: error: stray '\303' in program authors.c:786: error: stray '\251' in program authors.c:821: error: stray '\303' in program authors.c:821: error: stray '\262' in program authors.c:844: error: stray '\303' in program authors.c:844: error: stray '\251' in program authors.c:926: error: stray '\303' in program authors.c:926: error: stray '\274' in program authors.c:937: error: stray '\303' in program authors.c:937: error: stray '\274' in program authors.c:985: error: stray '\303' in program authors.c:985: error: stray '\270' in program authors.c:1123: error: stray '\305' in program authors.c:1123: error: stray '\202' in program authors.c:1133: error: stray '\305' in program authors.c:1133: error: stray '\201' in program authors.c:1133: error: stray '\305' in program authors.c:1133: error: stray '\202' in program authors.c:1155: error: stray '\305' in program authors.c:1155: error: stray '\202' in program authors.c:1172: error: stray '\303' in program authors.c:1172: error: stray '\205' in program authors.c:1172: error: stray '\303' in program authors.c:1172: error: stray '\266' in program authors.c:1173: error: stray '\303' in program authors.c:1173: error: stray '\205' in program make[2]: *** [authors.o] Error 1 make[1]: *** [shell32] Error 2 make: *** [dlls] Error 2 Error: Status 1 encountered during processing. }}} ---- -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:31> MacPorts <http://www.macports.org/> Ports system for Mac OS
#20912: wine, wine-devel: configure failure when freetype is 64-bit ----------------------------------------+----------------------------------- Reporter: dackze+macports@… | Owner: ryandesign@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.0 Resolution: fixed | Keywords: snowleopard Port: wine, wine-devel | ----------------------------------------+----------------------------------- Comment(by ryandesign@…): Replying to [comment:31 pjkixx@…]:
i'm having trouble getting this to build as well but i'm getting a different error altogether.
Please file a new ticket, including complete debug output. (The output you provided above is not sufficient to determine where the problem is.) -- Ticket URL: <http://trac.macports.org/ticket/20912#comment:32> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts