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

wkhtmltopdf build failed on darwin #11861

Closed
davidak opened this issue Dec 21, 2015 · 14 comments
Closed

wkhtmltopdf build failed on darwin #11861

davidak opened this issue Dec 21, 2015 · 14 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 Dec 21, 2015

i have no idea why it builds mariadb and postgresql.

https://gist.github.com/davidak/c2e98780dfb09d0ae398

that mariadb build fails is another issue (#11863).

$ sw_vers -productVersion
10.9.5
$ uname -a
Darwin unibook.local 13.4.0 Darwin Kernel Version 13.4.0: Wed Mar 18 16:20:14 PDT 2015; root:xnu-2422.115.14~1/RELEASE_X86_64 x86_64

@jb55

@vcunat vcunat added the 6.topic: darwin Running or building packages on Darwin label Dec 21, 2015
@davidak
Copy link
Member Author

davidak commented Jan 1, 2016

previous problems fixed. next:

#include <ApplicationServices/ApplicationServices.h>
         ^
1 error generated.
Makefile:315: recipe for target 'pbuilder_pbx.o' failed
make: *** [pbuilder_pbx.o] Error 1
builder for ‘/nix/store/6br54284zm1bzqf8qmv16hk15d50vky6-qt-mod-4.8.6.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/8b1divscwa6gf76l0inl4mddcjv56m49-wkhtmltopdf-0.12.2.4.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/8b1divscwa6gf76l0inl4mddcjv56m49-wkhtmltopdf-0.12.2.4.drv’ failed

@davidak
Copy link
Member Author

davidak commented Jan 1, 2016

"/nix/store/s150x6ps466da9pfmpbvja0vq88542w7-mariadb-10.1.9.drv" -> "/nix/store/6br54284zm1bzqf8qmv16hk15d50vky6-qt-mod-4.8.6.drv"
"/nix/store/nrd3i5d69s65i37myyg49b61apw8slgi-postgresql-9.4.5.drv" -> "/nix/store/6br54284zm1bzqf8qmv16hk15d50vky6-qt-mod-4.8.6.drv"

so mariadb and postgresql are dependencys of qt-mod-4.8.6. that is not needed here

@jb55
Copy link
Contributor

jb55 commented Apr 11, 2016

I updated to the latest version on 16.03, attemping build on my OSX machine now

@jb55
Copy link
Contributor

jb55 commented Apr 11, 2016

gah no luck

@jb55
Copy link
Contributor

jb55 commented Apr 11, 2016

My build is failing at mariadb as well

@jb55
Copy link
Contributor

jb55 commented Apr 12, 2016

I got past the error as well by not depending on mysql, now getting the same error as you:

generators/mac/pbuilder_pbx.cpp:56:10: fatal error: 'ApplicationServices/ApplicationServices.h' file not found
#include <ApplicationServices/ApplicationServices.h>
         ^
1 error generated.
Makefile:315: recipe for target 'pbuilder_pbx.o' failed
make: *** [pbuilder_pbx.o] Error 1
builder for ‘/nix/store/wrs6fhpqlx55bdjmx9z78y143yssvfhq-qt-mod-4.8.7.drv’ failed with exit code 2

looks like qt4 is broken on osx or something similar? /cc @ttuegel @copumpkin

@davidak
Copy link
Member Author

davidak commented Apr 17, 2016

[...]
-- Installing: /nix/store/5zh0msbvn6m7q5zmkh1caj3vdhq3ni9p-mariadb-10.1.9/etc/mysql/my.cnf
error: install_name_tool: no LC_RPATH load command with path: /nix/store/5zh0msbvn6m7q5zmkh1caj3vdhq3ni9p-mariadb-10.1.9/lib found in: /nix/store/v83p66hzck801v8lxp0qzcik2062cgm1-mariadb-10.1.9-lib/lib/libmysqlclient.18.dylib (for architecture x86_64), required for specified option "-delete_rpath /nix/store/5zh0msbvn6m7q5zmkh1caj3vdhq3ni9p-mariadb-10.1.9/lib"
builder for ‘/nix/store/la5n28gac7xmk4iixljnjj6yhr5598l5-mariadb-10.1.9.drv’ failed with exit code 1
cannot build derivation ‘/nix/store/hi3mwxi1b7n0y76yw8wiagsg1jrwmlj2-qt-mod-4.8.7.drv’: 1 dependencies couldn't be built
building path(s) ‘/nix/store/c2wpaa31l02nl8g4n9cp01bxfmvqk5sp-wkhtmltopdf-0.12.3.2-src’
killing process 70923
cannot build derivation ‘/nix/store/56ki634ga22vixr7f2bakzaga71a6gs9-wkhtmltopdf-0.12.3.2.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/56ki634ga22vixr7f2bakzaga71a6gs9-wkhtmltopdf-0.12.3.2.drv’ failed

@wmertens
Copy link
Contributor

It builds a custom qt because they need some patches. The build probably expects the apple compiler, I'm still not clear on how to set that.

/cc @copumpkin @shlevy any pointers?

@NotaseCretagen
Copy link
Contributor

Currently fails on nixos on linking too...

$ time sudo -i nixos-rebuild switch --fallback
...
g++ -Wl,-O1 -o ../../bin/wkhtmltopdf outputter.o manoutputter.o htmloutputter.o textoutputter.o arghandler.o commondocparts.o commandlineparserbase.o commonarguments.o progressfeedback.o loadsettings.o multipageloader.o tempfile.o converter.o websettings.o reflect.o utilities.o pdfsettings.o pdfconverter.o outline.o tocstylesheet.o imagesettings.o imageconverter.o pdf_c_bindings.o image_c_bindings.o wkhtmltopdf.o pdfarguments.o pdfcommandlineparser.o pdfdocparts.o moc_progressfeedback.o moc_multipageloader_p.o moc_converter_p.o moc_pdfconverter_p.o moc_imageconverter_p.o moc_pdf_c_bindings_p.o moc_image_c_bindings_p.o moc_converter.o moc_multipageloader.o moc_utilities.o moc_pdfconverter.o moc_imageconverter.o qrc_wkhtmltopdf.o    -L/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib -L/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/qt4/plugins/codecs -lqcncodecs -L/tmp/nix-build-qt-mod-4.8.7.drv-0/qt-fe194f9dac0b515757392a18f7fc9527c91d45ab-src/lib -L/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib -lqjpcodecs -lqkrcodecs -lqtwcodecs -lQtWebKit -L/var/empty/X11R6/lib -L/nix/store/34f2zjjnw7ynjmkg99wg3pz7p2qrnlnm-freetype-2.6.2/lib -L/nix/store/cxp4gm9dv32m4xqryc81j14bipd07dh4-fontconfig-2.11.1-lib/lib -L/nix/store/40pvvzrgmq59av93g6sgycpy16d7sqjj-glib-2.48.0/lib -lgio-2.0 -L/nix/store/ab1a2n0fc67glkdmn56y0hssac6x4l3h-gstreamer-0.10.36/lib -L/nix/store/xpj4xkxnwn2sbfy1w3rxm7yl68zxa7qj-libxml2-2.9.3/lib -L/nix/store/2pvfx36hwwhspa00r5rfrh4igklb72sq-gst-plugins-base-0.10.36/lib -lgstapp-0.10 -lgstinterfaces-0.10 -lgstpbutils-0.10 -lgstvideo-0.10 -lgstbase-0.10 -lgstreamer-0.10 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -pthread -lglib-2.0 -lxml2 -lQtSvg -lQtXmlPatterns -lQtGui -ljpeg -lpng -lXrender -lfontconfig -lfreetype -lXext -lX11 -lQtNetwork -lQtCore -lz -lm -ldl -lrt -lpthread 
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x2a): undefined reference to `QStandardItemModel::staticMetaObject'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x131): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x13b): undefined reference to `QStandardItem::setEnabled(bool)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x1d7): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x1e3): undefined reference to `QStandardItem::setEnabled(bool)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x1ff): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x272): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtWebKit.a(QtFallbackWebPopup.o): In function `WebCore::QtFallbackWebPopup::populate(QWebSelectData const&)':
(.text._ZN7WebCore18QtFallbackWebPopup8populateERK14QWebSelectData+0x2da): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&)':
(.text+0x5ffb): undefined reference to `QStandardItemModel::staticMetaObject'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&)':
(.text+0x602a): undefined reference to `QStandardItem::QStandardItem(QString const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItem(int, QIcon const&, QString const&, QVariant const&)':
(.text+0x609b): undefined reference to `QStandardItemModel::insertRow(int, QList<QStandardItem*> const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertSeparator(int)':
(.text+0x6d3d): undefined reference to `QStandardItemModel::staticMetaObject'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertSeparator(int)':
(.text+0x6d59): undefined reference to `QStandardItemModel::itemFromIndex(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertSeparator(int)':
(.text+0x6d70): undefined reference to `QStandardItem::flags() const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertSeparator(int)':
(.text+0x6d85): undefined reference to `QStandardItem::setFlags(QFlags<Qt::ItemFlag>)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItems(int, QStringList const&)':
(.text+0x6e92): undefined reference to `QStandardItemModel::staticMetaObject'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItems(int, QStringList const&)':
(.text+0x6eba): undefined reference to `QStandardItemModel::invisibleRootItem() const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItems(int, QStringList const&)':
(.text+0x6f04): undefined reference to `QStandardItem::QStandardItem(QString const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::insertItems(int, QStringList const&)':
(.text+0x6f34): undefined reference to `QStandardItem::insertRows(int, QList<QStandardItem*> const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBoxPrivate::init()':
(.text+0x7b33): undefined reference to `QStandardItemModel::QStandardItemModel(int, int, QObject*)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qcombobox.o): In function `QComboBox::model() const':
(.text+0x7ccb): undefined reference to `QStandardItemModel::QStandardItemModel(int, int, QObject*)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qfiledialog.o): In function `QFileDialogComboBox::showPopup()':
(.text+0x10f6a): undefined reference to `QStandardItemModel::staticMetaObject'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qfiledialog.o): In function `QFileDialogComboBox::showPopup()':
(.text+0x10fbc): undefined reference to `QStandardItemModel::item(int, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qfiledialog.o): In function `QFileDialogComboBox::showPopup()':
(.text+0x10fc7): undefined reference to `QStandardItem::setFlags(QFlags<Qt::ItemFlag>)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::QUrlModel(QObject*)':
(.text+0x155): undefined reference to `QStandardItemModel::QStandardItemModel(QObject*)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setFileSystemModel(QFileSystemModel*)':
(.text+0x25a): undefined reference to `QStandardItemModel::clear()'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::flags(QModelIndex const&) const':
(.text+0x192f): undefined reference to `QStandardItemModel::flags(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setData(QModelIndex const&, QVariant const&, int)':
(.text+0x1a07): undefined reference to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setData(QModelIndex const&, QVariant const&, int)':
(.text+0x1adf): undefined reference to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setData(QModelIndex const&, QVariant const&, int)':
(.text+0x1b75): undefined reference to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setData(QModelIndex const&, QVariant const&, int)':
(.text+0x1bd1): undefined reference to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o): In function `QUrlModel::setData(QModelIndex const&, QVariant const&, int)':
(.text+0x1bff): undefined reference to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(qsidebar.o):(.text+0x1c89): more undefined references to `QStandardItemModel::setData(QModelIndex const&, QVariant const&, int)' follow
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::qt_metacall(QMetaObject::Call, int, void**)':
(.text+0x181): undefined reference to `QStandardItemModel::qt_metacall(QMetaObject::Call, int, void**)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::qt_metacast(char const*)':
(.text+0x157): undefined reference to `QStandardItemModel::qt_metacast(char const*)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::~QUrlModel()':
(.text._ZN9QUrlModelD2Ev[_ZN9QUrlModelD5Ev]+0xb0): undefined reference to `QStandardItemModel::~QStandardItemModel()'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::~QUrlModel()':
(.text._ZN9QUrlModelD2Ev[_ZN9QUrlModelD5Ev]+0x4a): undefined reference to `QStandardItemModel::~QStandardItemModel()'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::~QUrlModel()':
(.text._ZN9QUrlModelD0Ev[_ZN9QUrlModelD5Ev]+0x40): undefined reference to `QStandardItemModel::~QStandardItemModel()'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o): In function `QUrlModel::~QUrlModel()':
(.text._ZN9QUrlModelD0Ev[_ZN9QUrlModelD5Ev]+0xc0): undefined reference to `QStandardItemModel::~QStandardItemModel()'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTI9QUrlModel[_ZTI9QUrlModel]+0x10): undefined reference to `typeinfo for QStandardItemModel'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x70): undefined reference to `QStandardItemModel::index(int, int, QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x78): undefined reference to `QStandardItemModel::parent(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x80): undefined reference to `QStandardItemModel::rowCount(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x88): undefined reference to `QStandardItemModel::columnCount(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x90): undefined reference to `QStandardItemModel::hasChildren(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x98): undefined reference to `QStandardItemModel::data(QModelIndex const&, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xa8): undefined reference to `QStandardItemModel::headerData(int, Qt::Orientation, int) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xb0): undefined reference to `QStandardItemModel::setHeaderData(int, Qt::Orientation, QVariant const&, int)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xb8): undefined reference to `QStandardItemModel::itemData(QModelIndex const&) const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xc0): undefined reference to `QStandardItemModel::setItemData(QModelIndex const&, QMap<int, QVariant> const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xe0): undefined reference to `QStandardItemModel::supportedDropActions() const'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xe8): undefined reference to `QStandardItemModel::insertRows(int, int, QModelIndex const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xf0): undefined reference to `QStandardItemModel::insertColumns(int, int, QModelIndex const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0xf8): undefined reference to `QStandardItemModel::removeRows(int, int, QModelIndex const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x100): undefined reference to `QStandardItemModel::removeColumns(int, int, QModelIndex const&)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro._ZTV9QUrlModel[_ZTV9QUrlModel]+0x120): undefined reference to `QStandardItemModel::sort(int, Qt::SortOrder)'
/nix/store/apjh34x9pgw03920r24szbcl2x8xjvna-qt-mod-4.8.7/lib/libQtGui.a(moc_qsidebar_p.o):(.data.rel.ro+0x20): undefined reference to `QStandardItemModel::staticMetaObject'
collect2: error: ld returned 1 exit status
Makefile:185: recipe for target '../../bin/wkhtmltopdf' failed
make[1]: *** [../../bin/wkhtmltopdf] Error 1
make[1]: Leaving directory '/tmp/nix-build-wkhtmltopdf-0.12.3.2.drv-0/wkhtmltopdf-0.12.3.2-src/src/pdf'
Makefile:77: recipe for target 'sub-src-pdf-make_default-ordered' failed
make: *** [sub-src-pdf-make_default-ordered] Error 2
builder for ‘/nix/store/8d866ihapk5k1r7jmm3n7y9bpfrqw2hz-wkhtmltopdf-0.12.3.2.drv’ failed with exit code 2
cannot build derivation ‘/nix/store/1rl7d6mxys23xfz444nb4j97yhdixyv6-system-path.drv’: 1 dependencies couldn't be built
cannot build derivation ‘/nix/store/vs23v7rmz1qgy9x61vvqqp7nf9p0njm1-nixos-system-vbox1-16.09.git.7e32b83.drv’: 1 dependencies couldn't be built
error: build of ‘/nix/store/vs23v7rmz1qgy9x61vvqqp7nf9p0njm1-nixos-system-vbox1-16.09.git.7e32b83.drv’ failed

real    34m56.120s
user    0m5.600s
sys 0m3.367s

$ nixos-version
16.09.git.32b7b00M (Flounder)

$ nix-env --version
nix-env (Nix) 1.11.2

$ nix-instantiate --eval '<nixpkgs>' -A lib.nixpkgsVersion
"16.09.git.7e32b83"

Attempted to build latest commit: d2dcbd3

@davidak
Copy link
Member Author

davidak commented Mar 25, 2018

Still fails on channel
nixpkgs-18.03-darwin because of #37777 and on
nixpkgs-unstable becuas eof #37779.

@wmertens
Copy link
Contributor

On the plus side, Chromium can now do everything that wkhtmltopdf can, and it does build. You can ask it from CLI to headlessly save to PDF, and there's a whole API that you can access with e.g. puppeteer.

@jb55
Copy link
Contributor

jb55 commented Mar 26, 2018

sry I'm a bad maintainer, I haven't had a chance to look at this yet

@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
jiegec added a commit to jiegec/nixpkgs that referenced this issue Jul 8, 2022
Unbreak wkhtmltopdf on darwin by changing dylib paths.

Fixes issue NixOS#11861.
@jiegec
Copy link
Contributor

jiegec commented Jul 31, 2022

@jiegec jiegec closed this as completed Jul 31, 2022
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

6 participants