Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Monero for upcoming hard fork #48301

Merged
merged 3 commits into from
Oct 17, 2018
Merged

Update Monero for upcoming hard fork #48301

merged 3 commits into from
Oct 17, 2018

Conversation

rnhmjoj
Copy link
Contributor

@rnhmjoj rnhmjoj commented Oct 13, 2018

Motivation for this change

Fix #48294

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change
  • Tested compilation of all pkgs that depend on this change (none)
  • Tested execution of all binary files
  • Determined the impact on package closure size
  • Fits CONTRIBUTING.md.

This should also be backported to stable.

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: monero, xmr-stak

Partial log (click to expand)

shrinking /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin/monero-blockchain-import
shrinking /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin/monerod
shrinking /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin/monero-gen-trusted-multisig
shrinking /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin/monero-wallet-cli
shrinking /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin/monero-wallet-rpc
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/lib  /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2/bin
patching script interpreter paths in /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2
checking for references to /build in /nix/store/xqmk6xs5np2qzksxfabzw0ryasdayp0d-monero-0.13.0.2...
error: build of '/nix/store/c2v8mn9agbqbl8wlinh0k28gx9yqsf9v-xmr-stak-2.5.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: monero

The following builds were skipped because they don't evaluate on x86_64-darwin: xmr-stak

Partial log (click to expand)

-- Installing: /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin/monero-blockchain-export
-- Installing: /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin/monero-blockchain-blackball
-- Installing: /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin/monero-blockchain-usage
-- Installing: /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin/monero-blockchain-ancestry
-- Installing: /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin/monero-blockchain-depth
post-installation fixup
strip is /nix/store/9xjkb4xz0b5lmizij9ppxy7lkxdxhx6b-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/lib  /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2/bin
patching script interpreter paths in /nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2
/nix/store/kd3p1pmghg7zfcs4z6dk5sgcnzhrx47l-monero-0.13.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: monero, xmr-stak

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0
shrinking /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0/bin/xmr-stak
shrinking /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0/bin/libxmrstak_opencl_backend.so
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0/bin
patching script interpreter paths in /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0
checking for references to /build in /nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0...
/nix/store/qk23jisza6mdawj95hgrx41vk9sdvz39-monero-0.13.0.2
/nix/store/758wk1qh168gky41bf496iaqq6f7daja-xmr-stak-2.5.0

@Mic92
Copy link
Member

Mic92 commented Oct 13, 2018

@GrahamcOfBorg build monero-gui

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: monero-gui

Partial log (click to expand)

                                               ^~~
src/libwalletqt/WalletManager.cpp:170:67: warning: unused parameter 'dst' [-Wunused-parameter]
 bool WalletManager::moveWallet(const QString &src, const QString &dst)
                                                                   ^~~
src/libwalletqt/WalletManager.cpp: In member function 'QString WalletManager::walletLanguage(const QString&)':
src/libwalletqt/WalletManager.cpp:176:54: warning: unused parameter 'locale' [-Wunused-parameter]
 QString WalletManager::walletLanguage(const QString &locale)
                                                      ^~~~~~
builder for '/nix/store/pqhaqma7fbhcyxbcn18kqkhvjqfflxil-monero-gui-0.12.3.0.drv' failed with exit code 2
error: build of '/nix/store/pqhaqma7fbhcyxbcn18kqkhvjqfflxil-monero-gui-0.12.3.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-linux (full log)

Attempted: monero-gui

Partial log (click to expand)

src/libwalletqt/Wallet.h:333:21: warning:   'quint64 Wallet::m_daemonBlockChainHeight' [-Wreorder]
     mutable quint64 m_daemonBlockChainHeight;
                     ^~~~~~~~~~~~~~~~~~~~~~~~
src/libwalletqt/Wallet.cpp:842:1: warning:   when initialized here [-Wreorder]
 Wallet::Wallet(Monero::Wallet *w, QObject *parent)
 ^~~~~~
make: *** [Makefile:1627: Wallet.o] Error 1
make: *** Waiting for unfinished jobs....
builder for '/nix/store/8rimwvnlyr533vfxx5gcb7bv473x8r8v-monero-gui-0.12.3.0.drv' failed with exit code 2
error: build of '/nix/store/8rimwvnlyr533vfxx5gcb7bv473x8r8v-monero-gui-0.12.3.0.drv' failed

@Mic92
Copy link
Member

Mic92 commented Oct 13, 2018

I think monero-gui also needs an update. It built before.

@GrahamcOfBorg
Copy link

Timed out, unknown build status on x86_64-darwin (full log)

Attempted: monero-gui

Partial log (click to expand)

                   ^           ~~~~~~~~~~~
1 warning generated.
[ 86%] Linking CXX executable ../../bin/monero-blockchain-usage
clang-5.0: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
[ 86%] Built target blockchain_usage
Scanning dependencies of target blockchain_blackball
[ 86%] Building CXX object src/blockchain_utilities/CMakeFiles/blockchain_blackball.dir/blockchain_blackball.cpp.o
building of '/nix/store/nj7jch6hakvyn1kll4k6jbpgky6kslr4-monero-0.13.0.2.drv' timed out after 1800 seconds
cannot build derivation '/nix/store/29v6mhvliwvhjh6pismwb2pjwsl6f5mg-monero-gui-0.12.3.0.drv': 1 dependencies couldn't be built
error: build of '/nix/store/29v6mhvliwvhjh6pismwb2pjwsl6f5mg-monero-gui-0.12.3.0.drv' failed

@fpletz
Copy link
Member

fpletz commented Oct 13, 2018

There hasn't been a new release of monero-gui yet. I'll check if packaging a commit from master makes sense.

@c0bw3b c0bw3b added the 9.needs: port to stable A PR needs a backport to the stable release. label Oct 13, 2018
@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 13, 2018

This happens everytime there is a hard fork: the gui needs monero core to build so it breaks when the daemon is updated.

@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 14, 2018

The GUI has been updated!

@samueldr
Copy link
Member

@GrahamcOfBorg build monero-gui

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: monero-gui

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2
shrinking /nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2/bin/monero-wallet-gui
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2/bin
patching script interpreter paths in /nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2
checking for references to /build in /nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2...
postPatchMkspecs
postPatchMkspecs
postPatchMkspecs
/nix/store/07l1cjrm5vz27ykb3gq3rya6xb5q0d1g-monero-gui-0.13.0.2

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: monero, monero-gui, xmr-stak

Partial log (click to expand)

/build/source/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_double_main_loop_sandybridge_linux.inc:406: Error: unknown mnemonic `movq' -- `movq xmm0,r8'
/build/source/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_double_main_loop_sandybridge_linux.inc:407: Error: unknown mnemonic `punpcklqdq' -- `punpcklqdq xmm5,xmm0'
/build/source/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_double_main_loop_sandybridge_linux.inc:408: Error: unknown mnemonic `jmp' -- `jmp sqrt_fix_2_ret_sandybridge'
/build/source/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S:36: Error: operand 1 must be an integer or stack pointer register -- `add rsp,48'
/build/source/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S:37: Error: operand 1 must be an integer register -- `ret 0'
make[2]: *** [CMakeFiles/xmr-stak-asm.dir/build.make:63: CMakeFiles/xmr-stak-asm.dir/xmrstak/backend/cpu/crypto/asm/cryptonight_v8_main_loop.S.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:110: CMakeFiles/xmr-stak-asm.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
builder for '/nix/store/qsx9m9778nzxm3qw10r6ndvcl2isxv4k-xmr-stak-2.5.0.drv' failed with exit code 2
error: build of '/nix/store/qsx9m9778nzxm3qw10r6ndvcl2isxv4k-xmr-stak-2.5.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: monero, monero-gui, xmr-stak

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0
shrinking /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0/bin/xmr-stak
shrinking /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0/bin/libxmrstak_opencl_backend.so
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0/bin
patching script interpreter paths in /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0
checking for references to /build in /nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0...
/nix/store/26i11fk4fzw7ljqklf2am0qb9wdlgpsr-monero-0.13.0.2
/nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2
/nix/store/mcp740gy83khanqj3x6hj9cfhigcdd92-xmr-stak-2.5.0

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: monero, monero-gui

The following builds were skipped because they don't evaluate on x86_64-darwin: xmr-stak

Partial log (click to expand)

clang++ -c -pipe -stdlib=libc++ -fPIC -fstack-protector -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security -O2 -std=gnu++11 -pthread -Wall -W -fPIC -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/include -Isrc/libwalletqt -Isrc/QR-Code-generator -Isrc -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/src -isystem /nix/store/qh4075fr9gskckhvz3n50b2ck4pgjp4p-pcsclite-1.8.23-dev/include/PCSC -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQuick -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtWidgets -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtGui -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQml -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtNetwork -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtCore -I. -I/nix/store/3g4wzhjfib648wn8hhvlg3dp3y2f5i1r-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/l2vb6nxpax83ksnzgp0x01vrz3c504z0-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/mkspecs/macx-clang -o moc_MainApp.o moc_MainApp.cpp
clang++ -c -pipe -stdlib=libc++ -fPIC -fstack-protector -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security -O2 -std=gnu++11 -pthread -Wall -W -fPIC -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/include -Isrc/libwalletqt -Isrc/QR-Code-generator -Isrc -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/src -isystem /nix/store/qh4075fr9gskckhvz3n50b2ck4pgjp4p-pcsclite-1.8.23-dev/include/PCSC -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQuick -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtWidgets -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtGui -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQml -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtNetwork -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtCore -I. -I/nix/store/3g4wzhjfib648wn8hhvlg3dp3y2f5i1r-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/l2vb6nxpax83ksnzgp0x01vrz3c504z0-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/mkspecs/macx-clang -o moc_DaemonManager.o moc_DaemonManager.cpp
clang++ -stdlib=libc++ -fstack-protector -fstack-protector-strong -pie -o release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui main.o filter.o clipboardAdapter.o oscursor.o WalletManager.o Wallet.o PendingTransaction.o TransactionHistory.o TransactionInfo.o QRCodeImageProvider.o oshelper.o TranslationManager.o TransactionHistoryModel.o TransactionHistorySortFilterModel.o BitBuffer.o QrCode.o QrSegment.o AddressBookModel.o AddressBook.o SubaddressModel.o Subaddress.o zxcvbn.o UnsignedTransaction.o Logger.o MainApp.o DaemonManager.o qrc_translations.o qrc_qml_qmlcache.o RightPanel_qml.o LeftPanel_qml.o version_js.o MiddlePanel_qml.o main_qml.o wizard_WizardConfigure_qml.o wizard_WizardDaemonSettings_qml.o wizard_WizardCreateViewOnlyWallet_qml.o wizard_WizardPassword_qml.o wizard_WizardPasswordInput_qml.o wizard_WizardMain_qml.o wizard_WizardRecoveryWallet_qml.o wizard_WizardOptions_qml.o wizard_WizardCreateWalletFromDevice_qml.o wizard_WizardManageWalletUI_qml.o wizard_WizardMemoTextInput_qml.o wizard_utils_js.o wizard_WizardWelcome_qml.o wizard_WizardCreateWallet_qml.o wizard_WizardFinish_qml.o wizard_WizardDonation_qml.o wizard_WizardPasswordUI_qml.o tabs_Twitter_qml.o tabs_tweetSearch_js.o tabs_TweetsModel_qml.o components_TipItem_qml.o components_PrivacyLevelSmall_qml.o components_DaemonConsole_qml.o components_RadioButton_qml.o components_InlineButton_qml.o components_DaemonManagerDialog_qml.o components_TickDelegate_qml.o components_TitleBar_qml.o components_NetworkStatusItem_qml.o components_LabelButton_qml.o components_MobileHeader_qml.o components_NewPasswordDialog_qml.o components_PasswordDialog_qml.o components_Scroll_qml.o components_TableDropdown_qml.o components_CheckBox_qml.o components_StandardDialog_qml.o components_PrivacyLevel_qml.o components_Style_qml.o components_LabelSubheader_qml.o components_WarningBox_qml.o components_TableHeader_qml.o components_InputDialog_qml.o components_IconButton_qml.o components_LineEdit_qml.o components_DashboardTable_qml.o components_HistoryTableInnerColumn_qml.o components_Label_qml.o components_DatePicker_qml.o components_StandardDropdown_qml.o components_HistoryTable_qml.o components_SearchInput_qml.o components_InputMulti_qml.o components_ProcessingSplash_qml.o components_RemoteNodeEdit_qml.o components_TextBlock_qml.o components_StandardButton_qml.o components_Notifier_qml.o components_AddressBookTable_qml.o components_HistoryTableMobile_qml.o components_ProgressBar_qml.o components_MenuButton_qml.o components_LineEditMulti_qml.o components_CheckBox2_qml.o components_QRCodeScanner_qml.o components_Input_qml.o js_Windows_js.o js_Utils_js.o js_TxUtils_js.o pages_Transfer_qml.o pages_Mining_qml.o pages_Sign_qml.o pages_AddressBook_qml.o pages_Dashboard_qml.o pages_Keys_qml.o pages_History_qml.o pages_SharedRingDB_qml.o pages_Receive_qml.o pages_TxKey_qml.o pages_settings_SettingsInfo_qml.o pages_settings_Navbar_qml.o pages_settings_Settings_qml.o pages_settings_SettingsLog_qml.o pages_settings_SettingsLayout_qml.o pages_settings_SettingsWallet_qml.o pages_settings_SettingsNode_qml.o qmlcache_loader.o moc_filter.o moc_clipboardAdapter.o moc_oscursor.o moc_WalletManager.o moc_Wallet.o moc_PendingTransaction.o moc_TransactionHistory.o moc_TransactionInfo.o moc_Transfer.o moc_NetworkType.o moc_oshelper.o moc_TranslationManager.o moc_TransactionHistoryModel.o moc_TransactionHistorySortFilterModel.o moc_AddressBookModel.o moc_AddressBook.o moc_SubaddressModel.o moc_Subaddress.o moc_UnsignedTransaction.o moc_MainApp.o moc_DaemonManager.o   -L/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/lib -lwallet_merged -llmdb -lepee -lunbound -leasylogging -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/boost/lib -lboost_serialization -lboost_thread-mt -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_chrono -lboost_program_options -lssl -lsodium -lcrypto -ldl -framework PCSC -L/nix/store/sllhh7fk6nj1lqj2zh5r02c2dlzjfk05-pcsclite-1.8.23/lib -lpcsclite -lQt5Quick -L/lib -framework DiskArbitration -framework IOKit -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -framework OpenGL -framework AGL
clang-5.0: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: directory not found for option '-L/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/lib'
ld: library not found for -lboost_thread-mt
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:512: release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui] Error 1
builder for '/nix/store/8gxvk13hhxvi73jkbv798w05g1jpyhjl-monero-gui-0.13.0.2.drv' failed with exit code 2
error: build of '/nix/store/8gxvk13hhxvi73jkbv798w05g1jpyhjl-monero-gui-0.13.0.2.drv' failed

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: monero-gui

Partial log (click to expand)

/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/bin/moc -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB --include ./moc_predefs.h -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/mkspecs/macx-clang -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/include -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/src/libwalletqt -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/src/QR-Code-generator -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/src -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/src -I/nix/store/qh4075fr9gskckhvz3n50b2ck4pgjp4p-pcsclite-1.8.23-dev/include/PCSC -I/nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQuick -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtWidgets -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtGui -I/nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQml -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtNetwork -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtCore -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include -I/nix/store/w73hr03fq9w3j2xhj8n88xymziz1rv4c-libxml2-2.9.8-dev/include -I/nix/store/jlb4qb3qmi5a4l6hf82rl4381fqj2izw-zlib-1.2.11-dev/include -I/nix/store/sp3fw0g47fz1zkz1rdyg7mrbzy895k58-libxslt-1.1.32-dev/include -I/nix/store/c2i9z44dkk62igp72la3sfi3f9qc0mw5-openssl-1.0.2p-dev/include -I/nix/store/hr0hc92qi1mk7hcafdamrv6qjdmfn38i-sqlite-3.24.0-dev/include -I/nix/store/xhla6wm26p9wq99wvhh7ird3a4m4drxm-harfbuzz-icu-1.8.8-dev/include -I/nix/store/w039cv5cprbzbdai5m6a65k0b76zz00b-graphite2-1.3.6/include -I/nix/store/mah3qcf9slqy8fd7zfmc92frv8x616sp-icu4c-59.1-dev/include -I/nix/store/5fj0n6g16x11zjnr6928wjfwid4vjmky-harfbuzz-1.8.8-dev/include -I/nix/store/p80xkq2bcd414jm2lmip89hkly8p4477-libjpeg-turbo-1.5.3-dev/include -I/nix/store/6yn6bbw5ngcmgn69wcgykk0xsqpqv8gb-libpng-apng-1.6.34-dev/include -I/nix/store/vyykmj7lqj7bc5zv12f6ymq9q4qvpwq0-libtiff-4.0.9-dev/include -I/nix/store/nnvblpfqxd6yqjxk51pxzyz3q1kjk30y-xz-5.2.4-dev/include -I/nix/store/wagbdrax36p1j3srpv4fi1pv2qzmq0s5-pcre2-10.31-dev/include -I/nix/store/mvcizx7jksbj0cxh4j42f20nhff3zvm6-apple-lib-xpc/include -I/nix/store/ccwdlz1drsx3xqkg4392vfwmfd4kzsla-objc4-osx-10.11.6/include -I/nix/store/i4v2msxkyrrn993sv8am1qd4rjq7v3dn-libiconv-osx-10.11.6/include -I/nix/store/1kzcs3f5iga3adn7498s1as1b65jlv28-libc++-5.0.2/include -I/nix/store/qyys9q2hvy8sn11zqcpbfpc8qlp0gxmq-libc++abi-5.0.2/include -I/nix/store/nkqyy24gmf1iinsj2ab5al82209j7v70-compiler-rt-5.0.2-dev/include -I/nix/store/4hcicnak2hs1bnk2v2qa396f547whgsn-qtmultimedia-5.11.1-dev/include -I/nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include -I/nix/store/m0nrbhcxrixx55k75l8gxrwbdby800ly-qtsvg-5.11.1-dev/include -I/nix/store/vvg546yg9vw37wkhcrfdswnk6jrdv3fn-qtxmlpatterns-5.11.1-dev/include -I/nix/store/57bjj5w6ylwahclpcxb66zh868kn22d1-qtlocation-5.11.1-dev/include -I/nix/store/ddfwi0i3i1ajmbsqrxiylbsc30pm1vln-qtquickcontrols2-5.11.1-dev/include -I/nix/store/r1z1xd2f8hw0hsviykbww9jnhj45dkb0-qtwebchannel-5.11.1-dev/include -I/nix/store/vjanq69w1mbzji866jvl9y7dqncdwq9r-libwebp-1.0.0/include -I/nix/store/7ch8z2i1j3b9m0rvjzlxrv61dhdhnf6r-libsrtp-2.2.0/include -I/nix/store/vsb02glkwigcfwlqbxr7xdfniqgz1r4l-libvpx-1.7.0-dev/include -I/nix/store/srs54591p81ap63d4q94ix69qmz6fr1z-libopus-1.2.1-dev/include -I/nix/store/2mj7czh8g0a3qnmn04wqh0wirg010z4g-libevent-2.1.8-dev/include -I/nix/store/d1ar0pgaab18ry9yix2zl0mlr83lwwq3-cctools-port-895-dev/include -I/nix/store/89hr28r00c9j6hw4s6ry8s1c9sh2ibhj-openbsm-1.1/include -I/nix/store/gjdajxkzlf9s7hhyxng9l0lz0n8d5mjy-libunwind-osx-10.11.6/include -I/nix/store/j8v23nvny1jwnkw4m2dzxhagd7vyf2pm-monero-0.13.0.2/include -I/nix/store/h4jlm5gam77jmi4k8xi0x0mjj1m2fnwm-unbound-1.7.3/include -I/nix/store/xmaqclmssh6z350jnfsd94fcmwqsi6fa-readline-6.3p08-dev/include -I/nix/store/qmi28wka5p7lmm0a83pj6v9v89jqm4xn-ncurses-6.1-dev/include -I/nix/store/38ss7455ka9lb3nvz3wa33nnvlw9vziw-boost-1.59.0-dev/include -I/nix/store/zxffpxmwshrkylhf82qgqg69yvbwx2gf-libsodium-1.0.16-dev/include -I/nix/store/qh4075fr9gskckhvz3n50b2ck4pgjp4p-pcsclite-1.8.23-dev/include -I/nix/store/yfmnja8avg1g3ys8l1sxnpihjx9i6d9l-zeromq-4.2.5/include -I/nix/store/1sj6zz9bcpsg9ii3n625l9if608vv319-cppzmq-4.2.3/include -I/nix/store/1kzcs3f5iga3adn7498s1as1b65jlv28-libc++-5.0.2/include/c++/v1 -I/nix/store/j7qjyrvz8c38qb14x8sqjsqh1gij71l8-clang-wrapper-5.0.2/resource-root/include -I/nix/store/6bxjrs5x4hlz149shcpi936lpqsha5g4-Libsystem-osx-10.11.6/include src/daemon/DaemonManager.h -o moc_DaemonManager.cpp
clang++ -c -pipe -stdlib=libc++ -fPIC -fstack-protector -fstack-protector-strong -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -Wformat -Wformat-security -O2 -std=gnu++11 -pthread -Wall -W -fPIC -D_THREAD_SAFE -DQT_NO_DEBUG -DQT_QUICK_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_QML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/include -Isrc/libwalletqt -Isrc/QR-Code-generator -Isrc -I/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/src -isystem /nix/store/qh4075fr9gskckhvz3n50b2ck4pgjp4p-pcsclite-1.8.23-dev/include/PCSC -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQuick -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtWidgets -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtGui -isystem /nix/store/vmnvdn6cfsdpn7rcf9awy3i11c1ff9nj-qtdeclarative-5.11.1-dev/include/QtQml -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtNetwork -isystem /nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/include/QtCore -I. -I/nix/store/3g4wzhjfib648wn8hhvlg3dp3y2f5i1r-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/l2vb6nxpax83ksnzgp0x01vrz3c504z0-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I/nix/store/ifjwfwh1iq3xnn33pv2j2d6253sazjxv-qtbase-5.11.1-dev/mkspecs/macx-clang -o moc_DaemonManager.o moc_DaemonManager.cpp
clang++ -stdlib=libc++ -fstack-protector -fstack-protector-strong -pie -o release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui main.o filter.o clipboardAdapter.o oscursor.o WalletManager.o Wallet.o PendingTransaction.o TransactionHistory.o TransactionInfo.o QRCodeImageProvider.o oshelper.o TranslationManager.o TransactionHistoryModel.o TransactionHistorySortFilterModel.o BitBuffer.o QrCode.o QrSegment.o AddressBookModel.o AddressBook.o SubaddressModel.o Subaddress.o zxcvbn.o UnsignedTransaction.o Logger.o MainApp.o DaemonManager.o qrc_translations.o qrc_qml_qmlcache.o RightPanel_qml.o LeftPanel_qml.o version_js.o MiddlePanel_qml.o main_qml.o wizard_WizardConfigure_qml.o wizard_WizardDaemonSettings_qml.o wizard_WizardCreateViewOnlyWallet_qml.o wizard_WizardPassword_qml.o wizard_WizardPasswordInput_qml.o wizard_WizardMain_qml.o wizard_WizardRecoveryWallet_qml.o wizard_WizardOptions_qml.o wizard_WizardCreateWalletFromDevice_qml.o wizard_WizardManageWalletUI_qml.o wizard_WizardMemoTextInput_qml.o wizard_utils_js.o wizard_WizardWelcome_qml.o wizard_WizardCreateWallet_qml.o wizard_WizardFinish_qml.o wizard_WizardDonation_qml.o wizard_WizardPasswordUI_qml.o tabs_Twitter_qml.o tabs_tweetSearch_js.o tabs_TweetsModel_qml.o components_TipItem_qml.o components_PrivacyLevelSmall_qml.o components_DaemonConsole_qml.o components_RadioButton_qml.o components_InlineButton_qml.o components_DaemonManagerDialog_qml.o components_TickDelegate_qml.o components_TitleBar_qml.o components_NetworkStatusItem_qml.o components_LabelButton_qml.o components_MobileHeader_qml.o components_NewPasswordDialog_qml.o components_PasswordDialog_qml.o components_Scroll_qml.o components_TableDropdown_qml.o components_CheckBox_qml.o components_StandardDialog_qml.o components_PrivacyLevel_qml.o components_Style_qml.o components_LabelSubheader_qml.o components_WarningBox_qml.o components_TableHeader_qml.o components_InputDialog_qml.o components_IconButton_qml.o components_LineEdit_qml.o components_DashboardTable_qml.o components_HistoryTableInnerColumn_qml.o components_Label_qml.o components_DatePicker_qml.o components_StandardDropdown_qml.o components_HistoryTable_qml.o components_SearchInput_qml.o components_InputMulti_qml.o components_ProcessingSplash_qml.o components_RemoteNodeEdit_qml.o components_TextBlock_qml.o components_StandardButton_qml.o components_Notifier_qml.o components_AddressBookTable_qml.o components_HistoryTableMobile_qml.o components_ProgressBar_qml.o components_MenuButton_qml.o components_LineEditMulti_qml.o components_CheckBox2_qml.o components_QRCodeScanner_qml.o components_Input_qml.o js_Windows_js.o js_Utils_js.o js_TxUtils_js.o pages_Transfer_qml.o pages_Mining_qml.o pages_Sign_qml.o pages_AddressBook_qml.o pages_Dashboard_qml.o pages_Keys_qml.o pages_History_qml.o pages_SharedRingDB_qml.o pages_Receive_qml.o pages_TxKey_qml.o pages_settings_SettingsInfo_qml.o pages_settings_Navbar_qml.o pages_settings_Settings_qml.o pages_settings_SettingsLog_qml.o pages_settings_SettingsLayout_qml.o pages_settings_SettingsWallet_qml.o pages_settings_SettingsNode_qml.o qmlcache_loader.o moc_filter.o moc_clipboardAdapter.o moc_oscursor.o moc_WalletManager.o moc_Wallet.o moc_PendingTransaction.o moc_TransactionHistory.o moc_TransactionInfo.o moc_Transfer.o moc_NetworkType.o moc_oshelper.o moc_TranslationManager.o moc_TransactionHistoryModel.o moc_TransactionHistorySortFilterModel.o moc_AddressBookModel.o moc_AddressBook.o moc_SubaddressModel.o moc_Subaddress.o moc_UnsignedTransaction.o moc_MainApp.o moc_DaemonManager.o   -L/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/lib -lwallet_merged -llmdb -lepee -lunbound -leasylogging -L/usr/local/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/boost/lib -lboost_serialization -lboost_thread-mt -lboost_system -lboost_date_time -lboost_filesystem -lboost_regex -lboost_chrono -lboost_program_options -lssl -lsodium -lcrypto -ldl -framework PCSC -L/nix/store/sllhh7fk6nj1lqj2zh5r02c2dlzjfk05-pcsclite-1.8.23/lib -lpcsclite -lQt5Quick -L/lib -framework DiskArbitration -framework IOKit -lQt5Widgets -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -framework OpenGL -framework AGL
clang-5.0: warning: argument unused during compilation: '-pie' [-Wunused-command-line-argument]
ld: warning: directory not found for option '-L/private/tmp/nix-build-monero-gui-0.13.0.2.drv-0/source/monero/lib'
ld: library not found for -lboost_thread-mt
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:512: release/bin/monero-wallet-gui.app/Contents/MacOS/monero-wallet-gui] Error 1
builder for '/nix/store/8gxvk13hhxvi73jkbv798w05g1jpyhjl-monero-gui-0.13.0.2.drv' failed with exit code 2
error: build of '/nix/store/8gxvk13hhxvi73jkbv798w05g1jpyhjl-monero-gui-0.13.0.2.drv' failed

@samueldr
Copy link
Member

monero-gui didn't previously build on Darwin so no regression.

Since the nix log output makes it hard to know for monero:

@GrahamcOfBorg build monero

monero built on Darwin.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: monero

Partial log (click to expand)

/nix/store/26i11fk4fzw7ljqklf2am0qb9wdlgpsr-monero-0.13.0.2

@GrahamcOfBorg
Copy link

Success on x86_64-darwin (full log)

Attempted: monero

Partial log (click to expand)

/nix/store/j8v23nvny1jwnkw4m2dzxhagd7vyf2pm-monero-0.13.0.2

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: monero

Partial log (click to expand)

/nix/store/is16vn1nvpkxxzgsawzzsazc5yxj2mgd-monero-0.13.0.2

Copy link
Member

@samueldr samueldr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It might be of interest to remove darwin and aarch64 from the non-building platforms, but that's not the point of this PR.

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: monero-gui

Partial log (click to expand)

shrinking RPATHs of ELF executables and libraries in /nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2
shrinking /nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2/bin/monero-wallet-gui
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2/bin
patching script interpreter paths in /nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2
checking for references to /build in /nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2...
postPatchMkspecs
postPatchMkspecs
postPatchMkspecs
/nix/store/9xqkskfq6q1wqlcyrpxcfdl58yrm350k-monero-gui-0.13.0.2

@samueldr samueldr merged commit 2ed2877 into NixOS:master Oct 17, 2018
@samueldr
Copy link
Member

Ugh... tried to backport and it looks like something broke; this is on current master:

 $ exec env -i NIXPKGS_ALLOW_UNFREE=1 nix-build -A monero-gui --max-jobs 1
these derivations will be built:
  /nix/store/g0l9rxznmiaiy3dwva9ha7690nh4sp1j-source.drv
  /nix/store/bd6ay96gkrbjk8ph51mg75icicy68wvj-monero-gui-0.13.0.2.drv
building '/nix/store/g0l9rxznmiaiy3dwva9ha7690nh4sp1j-source.drv'...

trying https://github.com/monero-project/monero-gui/archive/v0.13.0.2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   136    0   136    0     0    635      0 --:--:-- --:--:-- --:--:--   632
100 2846k    0 2846k    0     0  1562k      0 --:--:--  0:00:01 --:--:-- 3764k
unpacking source archive /build/v0.13.0.2.tar.gz
fixed-output derivation produced path '/nix/store/f59rc7qmr2b1f1jyychwln3p4nw7lm1w-source' with sha256 hash '17b1ihq52rincix44ldj2k6dfy0qyf5007j32bwly3r1ik511yhx' instead of the expected hash '02419rqi3zfy6yjyw3b3gvkbxh2ypdfpijiiklc7lyblb9nnjr68'
cannot build derivation '/nix/store/bd6ay96gkrbjk8ph51mg75icicy68wvj-monero-gui-0.13.0.2.drv': 1 dependencies couldn't be built
error: build of '/nix/store/bd6ay96gkrbjk8ph51mg75icicy68wvj-monero-gui-0.13.0.2.drv' failed
Command exited with non-zero status 1

 → exit status: 1

Either: the hash wasn't right in this PR (but then what did ofborg build?) or upstream moved the tag (uuuuuuuuggghhhhhh). @rnhmjoj any ideas which of the two happened? Is the new hash expected? Did something happen to monero-gui (and would you know? are you following that project?)

(oh, and all negative feelings are towards the situation, not towards the people here.)

@rnhmjoj
Copy link
Contributor Author

rnhmjoj commented Oct 17, 2018

It really has changed: not sure what happened here. They released a new versione anyway so l'll update it.

@samueldr
Copy link
Member

Touching a tag makes me sad :/. cc me in the new PR, I'll backport with the update. Thanks!

samueldr added a commit that referenced this pull request Oct 20, 2018
Update Monero for upcoming hard fork (backports #48301)
@samueldr samueldr removed the 9.needs: port to stable A PR needs a backport to the stable release. label Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade xmr-stak to v2.5.0 urgent
6 participants