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

qtchan: init at v0.100 #40471

Closed
wants to merge 1 commit into from
Closed

qtchan: init at v0.100 #40471

wants to merge 1 commit into from

Conversation

Chiiruno
Copy link
Contributor

@Chiiruno Chiiruno commented May 14, 2018

Motivation for this change

A fun /g/ project that I think deserves a package.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-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 (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

@matthewbauer
Copy link
Member

@GrahamcOfBorg build qtchan

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: qtchan

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100
shrinking /nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100/bin/qtchan
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100/bin
patching script interpreter paths in /nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100
checking for references to /build in /nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100...
postPatchMkspecs
postPatchMkspecs
/nix/store/fx824g694aj145cjja974y1qhphbpn7r-qtchan-0.100

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: qtchan

Partial log (click to expand)

clang++ -c -pipe -stdlib=libc++ -O2 -O3 -std=gnu++11 -Wall -W -fPIC -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtWidgets.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtGui.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtNetwork.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtCore.framework/Headers -I. -I/nix/store/vdp3s0zdxah8lrhxhb7sjgkdv32zvdf2-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/xxay5i35wkar2r4l5s2nda2gr1yi5mgp-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I. -I/nix/store/5q2jpmnkwlar45c00li5360skzwfj86q-qtbase-5.10.1-dev/mkspecs/macx-clang -F/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib -o moc_treeview.o moc_treeview.cpp
clang++ -c -pipe -stdlib=libc++ -O2 -O3 -std=gnu++11 -Wall -W -fPIC -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtWidgets.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtGui.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtNetwork.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtCore.framework/Headers -I. -I/nix/store/vdp3s0zdxah8lrhxhb7sjgkdv32zvdf2-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/xxay5i35wkar2r4l5s2nda2gr1yi5mgp-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I. -I/nix/store/5q2jpmnkwlar45c00li5360skzwfj86q-qtbase-5.10.1-dev/mkspecs/macx-clang -F/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib -o moc_notificationview.o moc_notificationview.cpp
clang++ -c -pipe -stdlib=libc++ -O2 -O3 -std=gnu++11 -Wall -W -fPIC -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtWidgets.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtGui.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtNetwork.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtCore.framework/Headers -I. -I/nix/store/vdp3s0zdxah8lrhxhb7sjgkdv32zvdf2-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/xxay5i35wkar2r4l5s2nda2gr1yi5mgp-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I. -I/nix/store/5q2jpmnkwlar45c00li5360skzwfj86q-qtbase-5.10.1-dev/mkspecs/macx-clang -F/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib -o moc_archivetab.o moc_archivetab.cpp
clang++ -c -pipe -stdlib=libc++ -O2 -O3 -std=gnu++11 -Wall -W -fPIC -DQT_USE_QSTRINGBUILDER -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtWidgets.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtGui.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtNetwork.framework/Headers -I/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib/QtCore.framework/Headers -I. -I/nix/store/vdp3s0zdxah8lrhxhb7sjgkdv32zvdf2-apple-framework-OpenGL/Library/Frameworks/OpenGL.framework/Headers -I/nix/store/xxay5i35wkar2r4l5s2nda2gr1yi5mgp-apple-framework-AGL/Library/Frameworks/AGL.framework/Headers -I. -I/nix/store/5q2jpmnkwlar45c00li5360skzwfj86q-qtbase-5.10.1-dev/mkspecs/macx-clang -F/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib -o moc_threadformcontext.o moc_threadformcontext.cpp
clang++ -stdlib=libc++ -o qtchan.app/Contents/MacOS/qtchan main.o mainwindow.o threadform.o clickablelabel.o boardtab.o netcontroller.o threadtab.o post.o postform.o filter.o overlay.o threadtabhelper.o treemodel.o treeitem.o settings.o boardtabhelper.o captcha.o threadinfo.o chans.o you.o notificationtray.o treeview.o notificationview.o archivetab.o threadformcontext.o qrc_files.o moc_mainwindow.o moc_threadform.o moc_clickablelabel.o moc_boardtab.o moc_netcontroller.o moc_threadtab.o moc_postform.o moc_overlay.o moc_threadtabhelper.o moc_treeitem.o moc_treemodel.o moc_settings.o moc_boardtabhelper.o moc_captcha.o moc_threadinfo.o moc_notificationtray.o moc_treeview.o moc_notificationview.o moc_archivetab.o moc_threadformcontext.o   -F/nix/store/qmf7d3n7plnra1p06bxqk7cnyhc31xhn-qtbase-5.10.1/lib -framework QtWidgets -F/lib -framework QtGui -framework QtCore -framework DiskArbitration -framework IOKit -framework QtNetwork -framework OpenGL -framework AGL
ld: warning: directory not found for option '-F/lib'
installing
cp: cannot stat 'qtchan': No such file or directory
builder for '/nix/store/dkjgvdplv21h926znzm4h04pbfswvpb7-qtchan-0.100.drv' failed with exit code 1
�[31;1merror:�[0m build of '/nix/store/dkjgvdplv21h926znzm4h04pbfswvpb7-qtchan-0.100.drv' failed

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: qtchan

Partial log (click to expand)

post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100
shrinking /nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100/bin/qtchan
strip is /nix/store/gp7fylxwn18b7pl2c18ks89hsiaxyfvf-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100/bin
patching script interpreter paths in /nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100
checking for references to /build in /nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100...
postPatchMkspecs
postPatchMkspecs
/nix/store/v3g9d01smn2vhad84kb7656vzqiz38p0-qtchan-0.100

@matthewbauer
Copy link
Member

Can you see if qmake install works for the install phase.

@Chiiruno
Copy link
Contributor Author

It doesn't, that's why I manually specified the installPhase.
As for Darwin not building, I'll just set the platform to linux.

@matthewbauer
Copy link
Member

Applied in 8419c34.

@Chiiruno Chiiruno deleted the init/qtchan branch May 16, 2018 06:54
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.

None yet

4 participants