Opened 12 years ago

Closed 8 years ago

#34407 closed defect (invalid)

glw: libtool: link: require no space between `-L' and `-lXft'

Reported by: howarth@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch Cc: ryandesign (Ryan Carsten Schmidt)
Port: glw

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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.

Attachments (2)

Portfile.diff (622 bytes) - added by howarth@… 12 years ago.
Portfile hack to work around stray -L
main.log (71.0 KB) - added by howarth@… 12 years ago.
failed build log

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by howarth@…

Attachment: Portfile.diff added

Portfile hack to work around stray -L

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: haspatch added; x11 removed
Owner: changed from macports-tickets@… to css@…
Summary: glw build brokenglw: libtool: link: require no space between `-L' and `-lXft'

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

Changed 12 years ago by howarth@…

Attachment: main.log added

failed build log

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

The lines that say "Skipping completed" show that this was not a clean attempt. Please "sudo port clean glw", then try again, then attach the new main.log.

Please write a comment in the ticket when you do; email notifications are not sent for attachments, only for comments.

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

Jack, we're still waiting for a clean main.log file showing the problem. I am hoping the problem simply goes away if you clean and try again, or if not, that the clean main.log file will shed some light on the problem.

comment:4 Changed 8 years ago by cssdev

Resolution: invalid
Status: newclosed

This appears to be fixed--it's building fine for me right now, so I'm closing the ticket. Reopen if needed.

Note: See TracTickets for help on using tickets.