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

qt-mod build fails on darwin #37777

Closed
davidak opened this issue Mar 25, 2018 · 3 comments
Closed

qt-mod build fails on darwin #37777

davidak opened this issue Mar 25, 2018 · 3 comments
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: darwin Running or building packages on Darwin

Comments

@davidak
Copy link
Member

davidak commented Mar 25, 2018

Issue description

building path(s) ‘/nix/store/h12xgvwy1h5pbdds463kbv69vjrksqmd-qt-mod-4.8.7-dev’, ‘/nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7’
unpacking sources
unpacking source archive /nix/store/rplan8ayri93d638pm9cavd7kbw71myr-source
source root is source
patching sources
applying patch /nix/store/9lvggxlccy24g59khxzas2yy16sdlhy4-glib-2.32.patch
patching file src/3rdparty/javascriptcore/JavaScriptCore/wtf/Threading.h
Hunk #1 succeeded at 83 (offset -6 lines).
applying patch /nix/store/yba8b3rcs8h9zw3w1a6ldlm9xp3bz619-libressl.patch
patching file src/network/ssl/qsslsocket_openssl_symbols.cpp
patching file src/network/ssl/qsslsocket_openssl.cpp
applying patch /nix/store/nq7zhnwb06m7qam53z3695p3xw0dgxdv-dlopen-absolute-paths.diff
patching file src/corelib/tools/qlocale_icu.cpp
Hunk #1 succeeded at 85 (offset 4 lines).
Hunk #2 succeeded at 115 (offset 4 lines).
patching file src/gui/painting/qcups.cpp
patching file src/gui/painting/qprinterinfo_unix.cpp
patching file src/network/kernel/qhostinfo_unix.cpp
patching file src/plugins/platforms/xcb/qglxintegration.cpp
patching file src/plugins/platforms/xlib/qglxintegration.cpp
patching file src/plugins/platforms/xlib/qxlibstatic.cpp
applying patch /nix/store/s5myi2ym79i461fnzz9i25sj2ync4pc8-dlopen-gtkstyle.diff
patching file src/gui/styles/qgtkstyle_p.cpp
Hunk #3 succeeded at 605 (offset -3 lines).
applying patch /nix/store/inv66igmbwsr9vq0kg3npbwz1zqvy2l8-fix-medium-font.patch
patching file src/gui/text/qfontdatabase_x11.cpp
applying patch /nix/store/c2nqm32ihiyd08fw7dkqw661yn58vsrx-qt4-gcc6.patch
patching file configure
Hunk #1 succeeded at 7734 (offset -10 lines).
Hunk #2 succeeded at 8050 (offset -10 lines).
patching file src/xmlpatterns/api/qcoloroutput_p.h
configuring
fixing libtool script ./src/3rdparty/freetype/builds/unix/ltmain.sh
configure flags: -prefix /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7 -dbus-linked -glib -no-separate-debug-info -openssl-linked -qdbus -v -confirm-license -exceptions -fast -graphicssystem raster -iconv -largefile -no-3dnow -no-accessibility -no-audio-backend -no-avx -no-cups -no-dbus -no-declarative -no-glib -no-gstreamer -no-gtkstyle -no-icu -no-javascript-jit -no-libmng -no-libtiff -nomake demos -nomake docs -nomake examples -nomake tests -nomake tools -nomake translations -no-mitshm -no-mmx -no-multimedia -no-nas-sound -no-neon -no-nis -no-opengl -no-openvg -no-pch -no-phonon -no-phonon-backend -no-qt3support -no-rpath -no-scripttools -no-sm -no-sql-ibase -no-sql-mysql -no-sql-odbc -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-sse -no-sse2 -no-sse3 -no-sse4.1 -no-sse4.2 -no-ssse3 -no-stl -no-xcursor -no-xfixes -no-xinerama -no-xinput -no-xkb -no-xrandr -no-xshape -no-xsync -opensource -release -static -system-libjpeg -system-libpng -system-zlib -webkit -xmlpatterns -docdir /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7/share/doc/qt-4.8.7 -plugindir /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7/lib/qt4/plugins -importdir /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7/lib/qt4/imports -examplesdir /private/tmp/nix-build-qt-mod-4.8.7.drv-0/share/doc/qt-4.8.7/examples -demosdir /private/tmp/nix-build-qt-mod-4.8.7.drv-0/share/doc/qt-4.8.7/demos -datadir /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7/share/qt-4.8.7 -translationdir /nix/store/m5fj1pd1jw7l35ambd4kcld8ci870rii-qt-mod-4.8.7/share/qt-4.8.7/translations
Determining system architecture... (Darwin:14.5.0:x86_64)
    'macosx' is supported
System architecture: 'macosx'
DWARF2 debug symbols disabled.
Xarch support detected
clang-4.0: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
Symbol visibility control enabled.

This is the Qt for Mac OS X Open Source Edition.

...

/tmp/nix-build-qt-mod-4.8.7.drv-0/source/tools/shared -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQLIBRARYINFO_EPOCROOT -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/private/tmp/nix-build-qt-mod-4.8.7.drv-0/source/mkspecs/macx-g++ -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT -DQT_NO_DEPRECATED  /private/tmp/nix-build-qt-mod-4.8.7.drv-0/source/src/corelib/kernel/qcore_mac.cpp
clang++ -o "/private/tmp/nix-build-qt-mod-4.8.7.drv-0/source/bin/qmake" project.o property.o main.o makefile.o unixmake2.o unixmake.o mingw_make.o option.o winmakefile.o projectgenerator.o meta.o makefiledeps.o metamakefile.o xmloutput.o pbuilder_pbx.o borland_bmake.o msvc_vcproj.o msvc_vcxproj.o msvc_nmake.o msvc_objectmodel.o msbuild_objectmodel.o symmake.o initprojectdeploy_symbian.o symmake_abld.o symmake_sbsv2.o symbiancommon.o registry.o epocroot.o gbuild.o qtextcodec.o qutfcodec.o qstring.o qtextstream.o qiodevice.o qmalloc.o qglobal.o qbytearray.o qbytearraymatcher.o qdatastream.o qbuffer.o qlist.o qfile.o qfilesystementry.o qfilesystemengine_unix.o qfilesystemengine.o qfilesystemiterator_unix.o qfsfileengine_unix.o qfsfileengine.o qfsfileengine_iterator.o qregexp.o qvector.o qbitarray.o qdir.o qdiriterator.o quuid.o qhash.o qfileinfo.o qdatetime.o qstringlist.o qabstractfileengine.o qtemporaryfile.o qmap.o qmetatype.o qsettings.o qsystemerror.o qlibraryinfo.o qvariant.o qvsnprintf.o qlocale.o qlocale_tools.o qlocale_unix.o qlinkedlist.o qnumeric.o qcryptographichash.o qxmlstream.o qxmlutils.o qsettings_mac.o qcore_mac.o -headerpad_max_install_names -framework ApplicationServices
ld: warning: object file (/nix/store/0gvrlmkb73hsyi1k5y1l1c6gjwslfja4-Libsystem-osx-10.11.6/lib/crt1.10.5.o) was built for newer OSX version (10.10) than being linked (10.5)
Undefined symbols for architecture x86_64:
  "__Unwind_Resume", referenced from:
      qmake_expandFunctions() in project.o
      void qmakeDeleteCacheClear<QMap<QString, ExpandFunc> >(void*) in project.o
      qmake_testFunctions() in project.o
      ParsableBlock::eval(QMakeProject*, QMap<QString, QStringList>&) in project.o
      QMakeProject::parse(QString const&, QMap<QString, QStringList>&, int) in project.o
      FunctionBlock::exec(QList<QStringList> const&, QMakeProject*, QMap<QString, QStringList>&, QStringList&) in project.o
      QList<QString>::clear() in project.o
      ...
ld: symbol(s) not found for architecture x86_64
clang-4.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [Makefile:104: /private/tmp/nix-build-qt-mod-4.8.7.drv-0/source/bin/qmake] Error 1
builder for ‘/nix/store/j82a4pvyxxyfnx7pr34410f1w979cyxv-qt-mod-4.8.7.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/rh8mksghdgksmq7w8xq8x8f0m190jf0a-wkhtmltopdf-0.12.4.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/rh8mksghdgksmq7w8xq8x8f0m190jf0a-wkhtmltopdf-0.12.4.drv’ failed

Steps to reproduce

nix-env -i wkhtmltopdf

Technical details

  • system: "x86_64-darwin"
  • host os: Darwin 14.5.0, macOS 10.10.5
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 1.11.13
  • channels(davidak): "nixpkgs-18.03-darwin-18.03pre131588.ad027421c38"
  • channels(root): "nixpkgs-18.03pre121255.45a85eaceb"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixpkgs
@pSub pSub added the 6.topic: darwin Running or building packages on Darwin label Mar 25, 2018
@knedlsepp
Copy link
Member

knedlsepp commented May 21, 2018

Maybe somehow related to #36947? Edit: Maybe not, the wkhtmltopdf-packaging is just borked: https://github.com/wkhtmltopdf/packaging

@stale
Copy link

stale bot commented Jun 4, 2020

Thank you for your contributions.

This has been automatically marked as stale because it has had no activity for 180 days.

If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity.

Here are suggestions that might help resolve this more quickly:

  1. Search for maintainers and people that previously touched the related code and @ mention them in a comment.
  2. Ask on the NixOS Discourse.
  3. Ask on the #nixos channel on irc.freenode.net.

@stale stale bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 4, 2020
@zimbatm
Copy link
Member

zimbatm commented Jul 17, 2024

fixed in #327641

@zimbatm zimbatm closed this as completed Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: darwin Running or building packages on Darwin
Projects
None yet
Development

No branches or pull requests

4 participants