Package Details: scribus-svn 25090-1

Git Clone URL: https://aur.archlinux.org/scribus-svn.git (read-only, click to copy)
Package Base: scribus-svn
Description: A desktop publishing program - Version from SVN
Upstream URL: http://www.scribus.net
Licenses: GPL, LGPL
Conflicts: scribus
Provides: scribus
Submitter: None
Maintainer: haawda
Last Packager: haawda
Votes: 49
Popularity: 0.000000
First Submitted: 2008-04-27 21:07 (UTC)
Last Updated: 2022-05-23 20:37 (UTC)

Pinned Comments

haawda commented on 2022-02-05 11:08 (UTC)

Please build this in a clean chroot. Works for me.

Latest Comments

1 2 3 4 5 6 .. 12 Next › Last »

otula commented on 2022-05-24 18:01 (UTC)

:-(

/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note: candidate: ‘void QGridLayout::addWidget(QWidget*)’
  100 |     inline void addWidget(QWidget *w) { QLayout::addWidget(w); }
      |                 ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note:   candidate expects 1 argument, 5 provided
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note: candidate: ‘void QGridLayout::addWidget(QWidget*, int, int, Qt::Alignment)’
  101 |     void addWidget(QWidget *, int row, int column, Qt::Alignment = Qt::Alignment());
      |          ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note:   candidate expects 4 arguments, 5 provided
/usr/include/qt6/QtWidgets/qgridlayout.h:102:10: note: candidate: ‘void QGridLayout::addWidget(QWidget*, int, int, int, int, Qt::Alignment)’
  102 |     void addWidget(QWidget *, int row, int column, int rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
      |          ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:102:20: note:   no known conversion for argument 1 from ‘ViewerQT*’ to ‘QWidget*’
  102 |     void addWidget(QWidget *, int row, int column, int rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
      |                    ^~~~~~~~~
make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:75: scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o] Chyba 1
make[1]: *** [CMakeFiles/Makefile2:2105: scribus/CMakeFiles/scribus.dir/all] Chyba 2
make: *** [Makefile:156: all] Chyba 2
==> CHYBA: Došlo k chybě v build().
    Rušení...

haawda commented on 2022-02-05 11:08 (UTC)

Please build this in a clean chroot. Works for me.

otula commented on 2022-02-04 18:59 (UTC)

I can confirm ZimbiX's problem. Not exactly the same, but similar:

/home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/include/ui_osgeditor.h:109:32: error: no matching function for call to ‘QGridLayout::addWidget(ViewerQT*&, int, int, int, int)’
  109 |         gridLayout_4->addWidget(drawingarea, 1, 1, 1, 1);
      |         ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtWidgets/QGridLayout:1,
                 from /home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/include/ui_arcvectorbase.h:14,
                 from /home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/EWIEGA46WW/../../ui/arcvectordialog.h:27,
                 from /home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/EWIEGA46WW/../../canvasmode_editarc.h:31,
                 from /home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/EWIEGA46WW/moc_canvasmode_editarc.cpp:10,
                 from /home/ota/abs/scribus-svn/src/scribus/Scribus/scribus/scribus_autogen/mocs_compilation.cpp:14:
/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note: candidate: ‘void QGridLayout::addWidget(QWidget*)’
  100 |     inline void addWidget(QWidget *w) { QLayout::addWidget(w); }
      |                 ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:100:17: note:   candidate expects 1 argument, 5 provided
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note: candidate: ‘void QGridLayout::addWidget(QWidget*, int, int, Qt::Alignment)’
  101 |     void addWidget(QWidget *, int row, int column, Qt::Alignment = Qt::Alignment());
      |          ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:101:10: note:   candidate expects 4 arguments, 5 provided
/usr/include/qt6/QtWidgets/qgridlayout.h:102:10: note: candidate: ‘void QGridLayout::addWidget(QWidget*, int, int, int, int, Qt::Alignment)’
  102 |     void addWidget(QWidget *, int row, int column, int rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
      |          ^~~~~~~~~
/usr/include/qt6/QtWidgets/qgridlayout.h:102:20: note:   no known conversion for argument 1 from ‘ViewerQT*’ to ‘QWidget*’
  102 |     void addWidget(QWidget *, int row, int column, int rowSpan, int columnSpan, Qt::Alignment = Qt::Alignment());
      |                    ^~~~~~~~~
make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:75: scribus/CMakeFiles/scribus.dir/scribus_autogen/mocs_compilation.cpp.o] Chyba 1
make[1]: *** [CMakeFiles/Makefile2:2105: scribus/CMakeFiles/scribus.dir/all] Chyba 2
make: *** [Makefile:156: all] Chyba 2
==> CHYBA: Došlo k chybě v build().

ZimbiX commented on 2022-02-04 00:24 (UTC)

It seems that's not all:

[ 29%] Building CXX object scribus/CMakeFiles/scribus.dir/scribusXml.cpp.o
In file included from /home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scribusXml.cpp:39:
/home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scmimedata.h:69:89: warning: ‘Type’ is deprecated: Use QMetaType::Type instead. [-Wdeprecated-declarations]
   69 |         virtual QVariant retrieveData ( const QString & mimeType, QVariant::Type type ) const;
      |                                                                                         ^~~~~
In file included from /usr/include/qt6/QtCore/qlocale.h:43,
                 from /usr/include/qt6/QtCore/qcalendar.h:46,
                 from /usr/include/qt6/QtCore/qdatetime.h:47,
                 from /usr/include/qt6/QtCore/QDateTime:1,
                 from /home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scfonts.h:11,
                 from /home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scribusXml.h:22,
                 from /home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scribusXml.cpp:15:
/usr/include/qt6/QtCore/qvariant.h:103:70: note: declared here
  103 |     enum QT_DEPRECATED_VERSION_X_6_0("Use QMetaType::Type instead.") Type
      |                                                                      ^~~~
In file included from /home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scribusXml.cpp:57:
/home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scxmlstreamwriter.h:31:14: error: ‘void ScXmlStreamWriter::writeAttribute(const QString&, size_t)’ cannot be overloaded with ‘void ScXmlStreamWriter::writeAttribute(const QString&, uint64_t)’
   31 |         void writeAttribute(const QString & name, size_t value)   { QXmlStreamWriter::writeAttribute(name, QString::number(value)); }
      |              ^~~~~~~~~~~~~~
/home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/scribus/scxmlstreamwriter.h:29:14: note: previous declaration ‘void ScXmlStreamWriter::writeAttribute(const QString&, uint64_t)’
   29 |         void writeAttribute(const QString & name, uint64_t value)   { QXmlStreamWriter::writeAttribute(name, QString::number(value)); }
      |              ^~~~~~~~~~~~~~
make[2]: *** [scribus/CMakeFiles/scribus.dir/build.make:2298: scribus/CMakeFiles/scribus.dir/scribusXml.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2012: scribus/CMakeFiles/scribus.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

ZimbiX commented on 2022-02-01 12:36 (UTC)

I was seeing a build error:

-- Could NOT find Qt6LinguistTools (missing: Qt6LinguistTools_DIR)
CMake Error at CMakeLists_Dependencies.cmake:42 (find_package):
  Found package configuration file:

    /usr/lib/cmake/Qt6/Qt6Config.cmake

  but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT
  FOUND.  Reason given by package:

  Failed to find Qt component "LinguistTools".

  Expected Config file at
  "/usr/lib/cmake/Qt6LinguistTools/Qt6LinguistToolsConfig.cmake" does NOT
  exist



Call Stack (most recent call first):
  CMakeLists.txt:418 (include)


-- Configuring incomplete, errors occurred!
See also "/home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/CMakeFiles/CMakeOutput.log".
See also "/home/brendan/.cache/pikaur/build/scribus-svn/src/scribus/Scribus/CMakeFiles/CMakeError.log".

After installing qt6-tools, I now have the build underway. Looks like this needs to be updated in makedepends

haawda commented on 2022-01-29 17:42 (UTC)

I thought I already did this, but obviously I did not. Anyway, thanks for the hint.

otula commented on 2022-01-29 10:03 (UTC)

Hello Stefan, add "-DWANT_CPP17=ON" to cmake parameters in the PKGBUILD. The package cannot be built without it.

haawda commented on 2022-01-11 15:12 (UTC)

0016717 was fixed, build works again.

haawda commented on 2022-01-08 14:23 (UTC)

Build fails after poppler update to version 22, Upstream bug 0016717 was filed.

haawda commented on 2021-04-28 11:49 (UTC)

Malacology: Cannot confirm, I rebuild this on almost daily basis with plain makepkg.