[MacPorts] #34407: glw: libtool: link: require no space between `-L' and `-lXft' (was: glw build broken)

MacPorts noreply at macports.org
Thu May 10 19:31:44 PDT 2012


#34407: glw: libtool: link: require no space between `-L' and `-lXft'
--------------------------------------+-------------------------------------
 Reporter:  howarth@…                 |       Owner:  css@…           
     Type:  defect                    |      Status:  new             
 Priority:  Normal                    |   Milestone:                  
Component:  ports                     |     Version:  2.0.4           
 Keywords:  haspatch                  |        Port:  glw             
--------------------------------------+-------------------------------------
Changes (by ryandesign@…):

  * owner:  macports-tickets@… => css@…
 * cc: ryandesign@… (added)
  * keywords:  x11 => haspatch


Old description:

> Currently glw fails on 10.7 with...
>
> /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang   -pipe -O2
> -arch x86_64 -I/opt/local/include   -Wall -Wpointer-arith -Wstrict-
> prototypes -Wmissing-prototypes -Wmissing-declarations -Wnested-externs
> -fno-strict-aliasing -Wbad-function-cast -Wold-style-definition
> -Wdeclaration-after-statement -version-info 1:0:0 -no-undefined
> -L/opt/local/lib -arch x86_64 -o libGLw.la -rpath /opt/local/lib
> libGLw_la-GLwDrawA.lo libGLw_la-GLwMDrawA.lo -L/opt/local/lib -lXt -lX11
> -L/opt/local/lib -lGL   -L/opt/local/lib -L/usr/X11R6/lib -lXm -lXt  -L
> -lXft -lXrender -lXext -lX11
> libtool: link: require no space between `-L' and `-lXft'
> make: *** [libGLw.la] Error 1
>
> This issue can be worked around with the attached hack to the glw
> Portfile.

New description:

 Currently glw fails on 10.7 with...

 {{{
 /bin/sh ./libtool  --tag=CC   --mode=link /usr/bin/clang   -pipe -O2 -arch
 x86_64 -I/opt/local/include   -Wall -Wpointer-arith -Wstrict-prototypes
 -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -fno-strict-
 aliasing -Wbad-function-cast -Wold-style-definition -Wdeclaration-after-
 statement -version-info 1:0:0 -no-undefined -L/opt/local/lib -arch x86_64
 -o libGLw.la -rpath /opt/local/lib libGLw_la-GLwDrawA.lo libGLw_la-
 GLwMDrawA.lo -L/opt/local/lib -lXt -lX11    -L/opt/local/lib -lGL
 -L/opt/local/lib -L/usr/X11R6/lib -lXm -lXt  -L -lXft -lXrender -lXext
 -lX11
 libtool: link: require no space between `-L' and `-lXft'
 make: *** [libGLw.la] Error 1
 }}}

 This issue can be worked around with the attached hack to the glw
 Portfile.

--

Comment:

 Could you attach the main.log showing the build failure? It didn't fail
 for me before I committed it...

-- 
Ticket URL: <https://trac.macports.org/ticket/34407#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list