X2Go Bug report logs - #973
X2Go Client Build Issue(s) on Mac

version graph

Package: x2goclient; Maintainer for x2goclient is X2Go Developers <x2go-dev@lists.x2go.org>; Source for x2goclient is src:x2goclient.

Reported by: David Laxer <davidl@softintel.com>

Date: Mon, 21 Dec 2015 15:20:02 UTC

Severity: normal

Tags: pending

Found in version 4.0.5.0

Fixed in version 4.0.5.1

Done: X2Go Release Manager <git-admin@x2go.org>

Bug is archived. No further changes may be made.

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.x2go.org
Subject: Bug#973: X2Go Client Build Issue(s) on Mac
Reply-To: David Laxer <davidl@softintel.com>, 973@bugs.x2go.org
Resent-From: David Laxer <davidl@softintel.com>
Resent-To: x2go-dev@lists.x2go.org
Resent-CC: owner@bugs.x2go.org
X-Loop: owner@bugs.x2go.org
Resent-Date: Mon, 21 Dec 2015 15:20:02 +0000
Resent-Message-ID: <handler.973.B.14507110607385@bugs.x2go.org>
Resent-Sender: owner@bugs.x2go.org
X-X2Go-PR-Message: report 973
X-X2Go-PR-Package: x2go client
X-X2Go-PR-Keywords: 
Received: via spool by submit@bugs.x2go.org id=B.14507110607385
          (code B); Mon, 21 Dec 2015 15:20:02 +0000
Received: (at submit) by bugs.x2go.org; 21 Dec 2015 15:17:40 +0000
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on
	ymir.das-netzwerkteam.de
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE,
	URIBL_BLOCKED autolearn=ham version=3.3.2
X-Greylist: delayed 45275 seconds by postgrey-1.34 at ymir.das-netzwerkteam.de; Mon, 21 Dec 2015 16:17:36 CET
Received: from smtpb.spamarrest.com (smtpb.spamarrest.com [74.86.119.220])
	by ymir.das-netzwerkteam.de (Postfix) with ESMTPS id 915EB5DA52
	for <submit@bugs.x2go.org>; Mon, 21 Dec 2015 16:17:36 +0100 (CET)
Received: from [192.168.1.3] (71-95-132-120.dhcp.snlo.ca.charter.com [71.95.132.120])
	(Authenticated sender: davidl8)
	by smtpb.spamarrest.com (Postfix) with ESMTPA id A5A84FBC15A
	for <submit@bugs.x2go.org>; Mon, 21 Dec 2015 09:17:31 -0600 (CST)
From: David Laxer <davidl@softintel.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_DD2D0011-E512-4415-9504-22A1C65729F9"
Message-Id: <984A01A1-369C-466F-86EB-E486FB9D8D9E@softintel.com>
Date: Mon, 21 Dec 2015 07:17:20 -0800
To: submit@bugs.x2go.org
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
X-Mailer: Apple Mail (2.3112)
[Message part 1 (text/plain, inline)]
Package: X2Go Client
Version:  4.0.5.0

I’m trying to build X2GoClient from source and the ./macbuild.sh has build errors:

g++: error: unrecognized command line option '--stdlib=libstdc++'
g++: error: unrecognized command line option '-Xarch_x86_64'
g++: error: unrecognized command line option '--stdlib=libstdc++'
g++: error: unrecognized command line option '-Xarch_x86_64'


E.g. - macbuild.sh  (w/ set +x)

./macbuild.sh 
+ MATCH_HELP='(^((-h)|(--help))([ 	]|$))|([ 	]+((-h)|(--help))([ 	]|$))'
+ '[' -n '' ']'
+ NAME=x2goclient
++ dirname ./macbuild.sh
+ TOP_DIR=.
+ [[ . == /* ]]
+ TOP_DIR=/Users/davidlaxer/x2goclient/.
+ BUILD_DIR=/Users/davidlaxer/x2goclient/./client_build
+ APPBUNDLE=/Users/davidlaxer/x2goclient/./client_build/x2goclient.app
+ DMGFILE=/Users/davidlaxer/x2goclient/./client_build/x2goclient.dmg
+ PROJECT=/Users/davidlaxer/x2goclient/./x2goclient.pro
+ PKG_DMG=/Users/davidlaxer/x2goclient/./pkg-dmg
++ which nxproxy
+ NXPROXY=/opt/local/bin/nxproxy
+ : /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
+ : 10.7
+ : 0
+ : 1
+ : 1
++ make_boolean 0
++ OPTION=0
++ case "${OPTION}" in
++ OPTION=0
++ printf 0
+ DEBUG=0
++ make_boolean 1
++ OPTION=1
++ case "${OPTION}" in
++ OPTION=1
++ printf 1
+ BUNDLE=1
++ make_boolean 1
++ OPTION=1
++ case "${OPTION}" in
++ OPTION=1
++ printf 1
+ UNIVERSAL=1
+ '[' 0 -eq 0 ']'
+ BUILD_MODE=release
+ BUILD_ARCH=x86_64
+ '[' 1 -eq 1 ']'
+ BUILD_ARCH='x86_64 x86'
++ /usr/bin/perl -pe 's#.*?10\.(\d+).*?\.sdk$#\1#'
+ SDK_MINOR_VERSION=7
+ MATCH_NUMBERS='^[0-9]+$'
+ [[ 7 =~ ^[0-9]+$ ]]
+ '[' 7 -gt 6 ']'
+ STDLIB=libstdc++
+ '[' 7 -gt 8 ']'
+ set -e
+ phase Cleaning
+ echo

+ echo '***'
***
+ echo '*** Cleaning...'
*** Cleaning...
+ echo '***'
***
+ echo

+ make clean
rm -fr /Users/davidlaxer/x2goclient/client_build
rm -fr /Users/davidlaxer/x2goclient/plugin_build
make -f Makefile.man2html clean
rm -Rf .build_man2html
find . -maxdepth 3 -name '*.o' -exec rm -vf {} + -type f
find . -maxdepth 3 -name 'moc_*.cpp' -exec rm -vf {} + -type f
find . -maxdepth 3 -name 'ui_*.h' -exec rm -vf {} + -type f
find . -maxdepth 3 -name 'qrc_*.cpp' -exec rm -vf {} + -type f
rm -f x2goclient
rm -f x2goclient.tag
rm -f res/txt/changelog
rm -f res/txt/git-info
+ git --no-pager log --since '2 years ago' '--format=%ai %aN (%h) %n%n%x09*%w(68,0,10) %s%d%n'
+ mv ChangeLog.gitlog res/txt/git-info
+ cp -a debian/changelog res/txt/
+ '[' -e /Users/davidlaxer/x2goclient/./client_build ']'
+ mkdir /Users/davidlaxer/x2goclient/./client_build
+ pushd /Users/davidlaxer/x2goclient/./client_build
~/x2goclient/client_build ~/x2goclient
+ phase 'Running lrelease'
+ echo

+ echo '***'
***
+ echo '*** Running lrelease...'
*** Running lrelease...
+ echo '***'
***
+ echo

+ lrelease /Users/davidlaxer/x2goclient/./x2goclient.pro
Project MESSAGE: if you want to build x2goplugin you should export X2GO_CLIENT_TARGET=pluginProject MESSAGE: Configuring with --git-infoProject MESSAGE: Configuring with --changelogProject MESSAGE: building x2goclient x2goplugin with ldap and cupsUpdating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_de.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_da.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_es.qm'...
    Generated 564 translation(s) (564 finished and 0 unfinished)
    Ignored 4 untranslated source text(s)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_et.qm'...
    Generated 564 translation(s) (564 finished and 0 unfinished)
    Ignored 4 untranslated source text(s)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_fi.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_fr.qm'...
    Generated 252 translation(s) (199 finished and 53 unfinished)
    Ignored 316 untranslated source text(s)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_nb_no.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_nl.qm'...
    Generated 568 translation(s) (566 finished and 2 unfinished)
Warning: dropping duplicate messages in '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_pt.qm':

* Context: EditConnectionDialog
* Source: &Session

Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_pt.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 568 untranslated source text(s)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_ru.qm'...
    Generated 554 translation(s) (545 finished and 9 unfinished)
    Ignored 14 untranslated source text(s)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_sv.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_tr.qm'...
    Generated 566 translation(s) (566 finished and 0 unfinished)
Updating '/Users/davidlaxer/x2goclient/res/i18n/x2goclient_zh_tw.qm'...
    Generated 395 translation(s) (370 finished and 25 unfinished)
    Ignored 173 untranslated source text(s)
+ MACPORTS_PREFIX=/opt/local
+ phase 'Running qmake'
+ echo

+ echo '***'
***
+ echo '*** Running qmake...'
*** Running qmake...
+ echo '***'
***
+ echo

+ qmake -config release -spec macx-g++ /Users/davidlaxer/x2goclient/./x2goclient.pro 'CONFIG+=x86_64 x86' QMAKE_MAC_SDK=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk QMAKE_MACOSX_DEPLOYMENT_TARGET=10.7 OSX_STDLIB=libstdc++ MACPORTS_INCLUDE_PATH=/opt/local/include MACPORTS_LIBRARY_PATH=/opt/local/lib
Project MESSAGE: if you want to build x2goplugin you should export X2GO_CLIENT_TARGET=plugin
Project MESSAGE: Configuring with --git-info
Project MESSAGE: Configuring with --changelog
Project MESSAGE: building x2goclient with ldap and cups
+ phase 'Running make'
+ echo

+ echo '***'
***
+ echo '*** Running make...'
*** Running make...
+ echo '***'
***
+ echo

+ make -j2
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_de.ts
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_da.ts
Updating '../res/i18n/x2goclient_de.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_es.ts
Updating '../res/i18n/x2goclient_da.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_et.ts
Updating '../res/i18n/x2goclient_es.qm'...
    Generated 564 translation(s) (564 finished and 0 unfinished)
    Ignored 4 untranslated source text(s)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_fi.ts
Updating '../res/i18n/x2goclient_et.qm'...
    Generated 564 translation(s) (564 finished and 0 unfinished)
    Ignored 4 untranslated source text(s)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_fr.ts
Updating '../res/i18n/x2goclient_fi.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_nb_no.ts
Updating '../res/i18n/x2goclient_fr.qm'...
    Generated 252 translation(s) (199 finished and 53 unfinished)
    Ignored 316 untranslated source text(s)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_nl.ts
Updating '../res/i18n/x2goclient_nb_no.qm'...
    Generated 568 translation(s) (568 finished and 0 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_pt.ts
Updating '../res/i18n/x2goclient_nl.qm'...
    Generated 568 translation(s) (566 finished and 2 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_ru.ts
Warning: dropping duplicate messages in '../res/i18n/x2goclient_pt.qm':

* Context: EditConnectionDialog
* Source: &Session

Updating '../res/i18n/x2goclient_pt.qm'...
    Generated 0 translation(s) (0 finished and 0 unfinished)
    Ignored 568 untranslated source text(s)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_sv.ts
Updating '../res/i18n/x2goclient_ru.qm'...
Updating '../res/i18n/x2goclient_sv.qm'...
    Generated 554 translation(s) (545 finished and 9 unfinished)
    Ignored 14 untranslated source text(s)
    Generated 568 translation(s) (568 finished and 0 unfinished)
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_tr.ts
/Users/davidlaxer/anaconda/bin/lrelease ../res/i18n/x2goclient_zh_tw.ts
Updating '../res/i18n/x2goclient_tr.qm'...
    Generated 566 translation(s) (566 finished and 0 unfinished)
Updating '../res/i18n/x2goclient_zh_tw.qm'...
    Generated 395 translation(s) (370 finished and 25 unfinished)
    Ignored 173 untranslated source text(s)
/Users/davidlaxer/anaconda/bin/uic ../src/ui/cupsprintsettingsdialog.ui -o ui_cupsprintsettingsdialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/cupsprintwidget.ui -o ui_cupsprintwidget.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/printdialog.ui -o ui_printdialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/printercmddialog.ui -o ui_printercmddialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/printwidget.ui -o ui_printwidget.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/xsettingsui.ui -o ui_xsettingsui.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/brokerpassdialog.ui -o ui_brokerpassdialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/contest.ui -o ui_contest.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/appdialog.ui -o ui_appdialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/helpdialog.ui -o ui_helpdialog.h
/Users/davidlaxer/anaconda/bin/uic ../src/ui/folderexplorer.ui -o ui_folderexplorer.h
g++ -c -pipe --stdlib=libstdc++ -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch i386 -Wall -W -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -DCFGCLIENT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../anaconda/mkspecs/macx-g++ -I../../x2goclient -I../../anaconda/include/QtCore -I../../anaconda/include/QtNetwork -I../../anaconda/include/QtGui -I../../anaconda/include/QtSvg -I../../anaconda/include -I../src -I/opt/local/include -I. -I. -I../../x2goclient -I. -o sharewidget.o ../src/sharewidget.cpp
g++ -c -pipe --stdlib=libstdc++ -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.5 -arch i386 -Wall -W -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk -DCFGCLIENT -DQT_NO_DEBUG -DQT_SVG_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I../../anaconda/mkspecs/macx-g++ -I../../x2goclient -I../../anaconda/include/QtCore -I../../anaconda/include/QtNetwork -I../../anaconda/include/QtGui -I../../anaconda/include/QtSvg -I../../anaconda/include -I../src -I/opt/local/include -I. -I. -I../../x2goclient -I. -o settingswidget.o ../src/settingswidget.cpp
g++: error: unrecognized command line option '--stdlib=libstdc++'
g++: error: unrecognized command line option '-Xarch_x86_64'
g++: error: unrecognized command line option '--stdlib=libstdc++'
g++: error: unrecognized command line option '-Xarch_x86_64'
make: *** [settingswidget.o] Error 1
make: *** Waiting for unfinished jobs....
make: *** [sharewidget.o] Error 1
David-Laxers-MacBook-Pro:x2goclient davidlaxer$ ./macbuild.sh 
[Message part 2 (text/html, inline)]

Send a report that this bug log contains spam.


X2Go Developers <owner@bugs.x2go.org>. Last modified: Tue Apr 23 17:05:35 2024; Machine Name: ymir.das-netzwerkteam.de

X2Go Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.