[MacPorts] #46378: flex-2.5.39 needs -all-static
#46378: flex-2.5.39 needs -all-static ----------------------+-------------------------------- Reporter: rurban@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: ----------------------+-------------------------------- See http://patchwork.openembedded.org/patch/68029/ diff -bu ./Makefile.am~ ./Makefile.am --- ./Makefile.am~ 2014-03-26 13:46:44.000000000 +0100 +++ ./Makefile.am 2015-01-03 11:47:43.000000000 +0100 @@ -73,13 +73,13 @@ libmain.c \ libyywrap.c -libfl_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@ libfl_pic_la_SOURCES = \ libmain.c \ libyywrap.c -libfl_pic_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_pic_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@ noinst_HEADERS = \ flexdef.h \ ./conf.in -- Ticket URL: <https://trac.macports.org/ticket/46378> MacPorts <https://www.macports.org/> Ports system for OS X
#46378: flex-2.5.39 needs -all-static -----------------------+------------------- Reporter: rurban@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: flex | -----------------------+------------------- Changes (by larryv@…): * owner: macports-tickets@… => mww@… * port: => flex Old description:
See http://patchwork.openembedded.org/patch/68029/
diff -bu ./Makefile.am~ ./Makefile.am --- ./Makefile.am~ 2014-03-26 13:46:44.000000000 +0100 +++ ./Makefile.am 2015-01-03 11:47:43.000000000 +0100 @@ -73,13 +73,13 @@ libmain.c \ libyywrap.c
-libfl_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@
libfl_pic_la_SOURCES = \ libmain.c \ libyywrap.c
-libfl_pic_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_pic_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@
noinst_HEADERS = \ flexdef.h \ ./conf.in
New description: See http://patchwork.openembedded.org/patch/68029/ {{{ diff -bu ./Makefile.am~ ./Makefile.am --- ./Makefile.am~ 2014-03-26 13:46:44.000000000 +0100 +++ ./Makefile.am 2015-01-03 11:47:43.000000000 +0100 @@ -73,13 +73,13 @@ libmain.c \ libyywrap.c -libfl_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@ libfl_pic_la_SOURCES = \ libmain.c \ libyywrap.c -libfl_pic_la_LDFLAGS = -no-undefined -version-info @SHARED_VERSION_INFO@ +libfl_pic_la_LDFLAGS = -all-static -no-undefined -version-info @SHARED_VERSION_INFO@ noinst_HEADERS = \ flexdef.h \ ./conf.in }}} -- Comment: Why would we want this? Our `flex` port does not appear to install any shared libraries. -- Ticket URL: <https://trac.macports.org/ticket/46378#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#46378: flex-2.5.39 needs -all-static -----------------------+------------------- Reporter: rurban@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: flex | -----------------------+------------------- Comment (by rurban@…):
Why would we want this?
flex is 2 versions behind. we have still 2.5.37. 2.5.39 requires now this automake patch to compile to static libs only.
Our flex port does not appear to install any shared libraries.
Yes. That's why we need this patch. Upstream also. flex cannot be used as shared lib by design on most platforms. yylex is always external (user-provided), and only some systems allow unresolved symbols in shared libs. -- Ticket URL: <https://trac.macports.org/ticket/46378#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#46378: flex: update to 2.5.39 -----------------------+------------------- Reporter: rurban@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: flex | -----------------------+------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) * type: defect => update Comment:
flex is 2 versions behind. we have still 2.5.37. 2.5.39 requires now this automake patch to compile to static libs only.
So our current flex 2.5.37 works fine, but you would like us to update to 2.5.39, which doesn't work unless it's patched. I propose this: report this problem to the developers of flex so that they can fix it in the appropriate way (because I'm not sure I'm qualified to judge whether the fix you have proposed is the correct one). I see [https://sourceforge.net/p/flex/bugs/182/ one report about this] in the flex bug tracker already, but the fix proposed there is different. When the developers release a new version of flex that once again works on OS X, then we will update the port to that version. -- Ticket URL: <https://trac.macports.org/ticket/46378#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#46378: flex: update to 2.5.39 -----------------------+------------------- Reporter: rurban@… | Owner: mww@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: flex | -----------------------+------------------- Comment (by khindenburg@…): 2.6.0 was just released which reports to fix this issue. -- Ticket URL: <https://trac.macports.org/ticket/46378#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#46378: flex: update to 2.5.39 -----------------------+-------------------- Reporter: rurban@… | Owner: mww@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: fixed | Keywords: Port: flex | -----------------------+-------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Replying to [comment:5 khindenburg@…]:
2.6.0 was just released which reports to fix this issue.
r142999 -- Ticket URL: <https://trac.macports.org/ticket/46378#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts