-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
@RJVB This is probably upstream bug – or maybe I accidentally caused it somehow – but this stupid error is the reason I gave up on Qt5 last time, I recall, and I bumped into it now.
Qmake generates wrong sed code for plists, for example:
sse2.app/Contents/PkgInfo:
@test -d sse2.app/Contents || mkdir -p sse2.app/Contents
@$(DEL_FILE) sse2.app/Contents/PkgInfo
@echo "APPL????" >sse2.app/Contents/PkgInfo
sse2.app/Contents/Resources/empty.lproj:
@test -d sse2.app/Contents/Resources || mkdir -p sse2.app/Contents/Resources
@touch sse2.app/Contents/Resources/empty.lproj
sse2.app/Contents/Info.plist:
@test -d sse2.app/Contents || mkdir -p sse2.app/Contents
@$(DEL_FILE) sse2.app/Contents/Info.plist
@sed -e "s,@SHORT_VERSION@,-e "s,@ICON@,,g" -e "s,@BUNDLEIDENTIFIER@,com.yourcompany.sse2,g" -e "s,@EXECUTABLE@,sse2,g" -e "s,@TYPEINFO@,????,g" /opt/local/var/macports/build/qt53-kde-1001a98f/work/qt-everywhere-opensource-src-5.3.2/qtbase/mkspecs/macx-g++-32/Info.plist.app >sse2.app/Contents/Info.plist
dist:
@test -d .tmp/sse21.0.0 || mkdir -p .tmp/sse21.0.0
$(COPY_FILE) --parents $(DIST) .tmp/sse21.0.0/ && (cd `dirname .tmp/sse21.0.0` && $(TAR) sse21.0.0.tar sse21.0.0 && $(COMPRESS) sse21.0.0.tar) && $(MOVE) `dirname .tmp/sse21.0.0`/sse21.0.0.tar.gz . && $(DEL_FILE) -r .tmp/sse21.0.0
In result the build fails on every such Makefile:
Running configuration tests...
You have asked to use pkg-config. Please make sure you have
a correctly setup pkg-config environment!
Determining architecture... ()
/opt/local/bin/g++-mp-14 -c -pipe -isysroot / -mmacosx-version-min=10.6 -arch ppc -g -Wall -W -fPIE -I../../../../qt-everywhere-opensource-src-5.3.2/qtbase/mkspecs/macx-g++-32 -I../../../../qt-everywhere-opensource-src-5.3.2/qtbase/config.tests/arch -I. -o arch.o ../../../../qt-everywhere-opensource-src-5.3.2/qtbase/config.tests/arch/arch.cpp
/opt/local/bin/g++-mp-14 -Wl,-syslibroot,/ -mmacosx-version-min=10.6 -headerpad_max_install_names -arch ppc -o arch arch.o
Found architecture in binary
CFG_ARCH="power"
CFG_CPUFEATURES=" altivec"
System architecture: 'power'
Host architecture: 'power'
floatmath auto-detection... ()
Project ERROR: Unknown module(s) in QT: core
floatmath disabled.
sse2 auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: sse2.app/Contents/Info.plist] Error 2
sse2 disabled.
zlib auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: zlib.app/Contents/Info.plist] Error 2
zlib disabled.
libjpeg auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: libjpeg.app/Contents/Info.plist] Error 2
libjpeg disabled.
libpng auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: libpng.app/Contents/Info.plist] Error 2
libpng disabled.
MySQL (thread-safe) auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: mysql_r.app/Contents/Info.plist] Error 2
MySQL (thread-safe) disabled.
MySQL (thread-unsafe) auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: mysql.app/Contents/Info.plist] Error 2
MySQL (thread-unsafe) disabled.
SQLite auto-detection... ()
/bin/sh: -c: line 0: unexpected EOF while looking for matching `"'
/bin/sh: -c: line 1: syntax error: unexpected end of file
gmake: *** [Makefile:144: sqlite.app/Contents/Info.plist] Error 2
SQLite disabled.
SQLite support cannot be enabled due to functionality tests!
Any idea why this may happen?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels