Ticket #36316

qt.m4 bug causes build failure on OS X

오픈 날짜: 2016-05-10 21:28 마지막 업데이트: 2016-05-13 14:49

Reporter:
소유자:
(None)
Type:
Status:
Open
Component:
(None)
MileStone:
(None)
Priority:
5 - Medium
Severity:
5 - Medium
Resolution:
None
File:
None

Details

Soccerwindow2 5.1.0 (soccerwindow2-5.1.0.tar.gz)

Also reported here: https://sourceforge.net/p/sserver/discussion/76440/thread/e61e21e8/

and here: https://sourceforge.net/p/sserver/mailman/message/34765272/

QT4_LDADD="$($PKG_CONFIG --static --libs-only-other $QT4_REQUIRED_MODULES)$($PKG_CONFIG --static --libs-only-l $QT4_REQUIRED_MODULES)"

There needs to be a space between "$QT4_REQUIRED_MODULES)" and "$($PKG_CONFIG" so it should be

QT4_LDADD="$($PKG_CONFIG --static --libs-only-other $QT4_REQUIRED_MODULES) $($PKG_CONFIG --static --libs-only-l $QT4_REQUIRED_MODULES)"

This causes build failure on OS X with errors like "ld: framework not found Security-lz" since it should be "-framework Security -lz" but without the space it thinks it's supposed to find a framework named "Security-lz".

https://github.com/Homebrew/homebrew-core/pull/1044/files/97ef12f6ad7dc4bf7d563d8bf9a6a1d2bd96d3ee#diff-86d6e7935b7060d3f9a9915015f36e1fR19

and

https://github.com/Homebrew/homebrew-core/blob/master/Formula/rcssserver.rb#L70-L77

Ticket History (3/3 Histories)

2016-05-10 21:28 Updated by: ilovezfs
  • New Ticket "qt.m4 bug causes build failure on OS X" created
2016-05-13 14:43 Updated by: akky
댓글 올리기

Thanks for your report. I've fixed the problem in my repository. The fixed version will be released after the World Cup.

2016-05-13 14:49 Updated by: ilovezfs
댓글 올리기

Attachment File List

No attachments

Edit

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » Login