Opened 7 years ago

Closed 7 years ago

#53987 closed defect (fixed)

wine, wine-devel: Build error with flex 2.6.3

Reported by: mf2k (Frank Schima) Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 2.4.99
Keywords: Cc: jyrkiwahlstedt
Port: wine, wine-devel

Description

MacOS 10.12.4. Xcode 8.3.1.

:info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_x11_wine-devel/wine-devel/work/wine-2.5/programs/xcopy'
:info:build /usr/bin/clang -m32 -c -o xcopy.o xcopy.c -I. -I../../include -I../../include/msvcrt -D__WINESRC__ -D_REENTRANT -fPIC \
:info:build   -fno-builtin -Wall -pipe -fno-strict-aliasing -Wdeclaration-after-statement -Wempty-body \
:info:build   -Wignored-qualifiers -Wstrict-prototypes -Wtype-limits -Wvla -Wwrite-strings -Wpointer-arith \
:info:build   -fno-omit-frame-pointer -I/opt/local/include -pipe -Os -arch i386 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0
:info:build ../../tools/wrc/wrc -o wordpad.res -m32 --nostdinc -I. -I../../include -I../../include/msvcrt -D__WINESRC__ \
:info:build   --po-dir=../../po wordpad.rc
:info:build Undefined symbols for architecture i386:
:info:build   "_yywrap", referenced from:
:info:build       _yylex in macro.lex.yy.o
:info:build ld: symbol(s) not found for architecture i386
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Attachments (1)

main.log.zip (295.7 KB) - added by mf2k (Frank Schima) 7 years ago.

Download all attachments as: .zip

Change History (5)

Changed 7 years ago by mf2k (Frank Schima)

Attachment: main.log.zip added

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

I see this with wine @2.0.1 also.

There was a change to flex recently to address a yywrap issue. Maybe that is the cause. See [684234e168010ebc93cb5a78bddea7ff23cf65a8/macports-ports].

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

wine fails to build with flex @2.6.3_2, @2.6.3_1, @2.6.3_0. @2.6.3_1 was supposed to fix this problem but did not. See https://github.com/westes/flex/issues/162.

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

Port: wine added
Status: newaccepted
Summary: wine-devel: Build errorwine, wine-devel: Build error with flex 2.6.3

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

Resolution: fixed
Status: acceptedclosed
Note: See TracTickets for help on using tickets.