Opened 12 years ago

Closed 10 years ago

#33706 closed defect (worksforme)

wine 1.4: build failure: Undefined symbols _FT_Init_FreeType etc

Reported by: alkanova@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc: jyrkiwahlstedt
Port: wine

Description

I am trying to build wine on 10.7.3 with Xcode 4.1 I get this error with whichever compiler I try:

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

Attachments (2)

Archive.zip (98.2 KB) - added by alkanova@… 12 years ago.
Logs
config.log.zip (61.6 KB) - added by alkanova@… 12 years ago.

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by alkanova@…

Attachment: Archive.zip added

Logs

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

Cc: jwa@… added
Owner: changed from macports-tickets@… to ryandesign@…
Port: wine added; Wine removed
Summary: Wine @ 2.0.4- build failurewine 1.4: build failure: Undefined symbols _FT_Init_FreeType etc

The archive you attached contains two logs. "main.log" can be ignored because it was not a clean build attempt. "main 2.log" says this:

:info:build Undefined symbols for architecture i386:
:info:build   "_FT_Init_FreeType", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Library_Version", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_New_Face", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Set_Pixel_Sizes", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_wine_cp_get_table", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Load_Sfnt_Table", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Load_Char", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Get_First_Char", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Get_Sfnt_Name_Count", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Get_Sfnt_Name", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Get_Sfnt_Table", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Get_Char_Index", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build   "_FT_Done_Face", referenced from:
:info:build       _main in sfnt2fnt.o
:info:build ld: symbol(s) not found for architecture i386

This looks a great deal like #22917 but that only affected wine-crossover-games...

Could you attach the config.log? Maybe that will provide a clue.

Also please show the output of these commands:

port -v installed freetype
/usr/bin/file /opt/local/lib/libfreetype.6.dylib

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

Also, is there any particular reason you are still using Xcode 4.1 and have not updated to 4.2.x or 4.3.x?

comment:3 Changed 12 years ago by alkanova@…

For the time being I am stuck with a very slow internet, that's why I haven't updated( though i could try leaving it to update a whole night — or day— if needed)

I attached the config.log and here are the outputs

 port -v installed freetype
The following ports are currently installed:
  freetype @2.4.9_0+universal (active) platform='darwin 11' archs='i386 x86_64'
/usr/bin/file /opt/local/lib/libfreetype.6.dylib
/opt/local/lib/libfreetype.6.dylib: Mach-O universal binary with 2 architectures
/opt/local/lib/libfreetype.6.dylib (for architecture i386):	Mach-O dynamically linked shared library i386
/opt/local/lib/libfreetype.6.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64

Changed 12 years ago by alkanova@…

Attachment: config.log.zip added

comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Are you still experiencing this problem with wine 1.6?

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

Resolution: worksforme
Status: newclosed

Please re-open if this is still a problem with the current version of wine.

Note: See TracTickets for help on using tickets.