LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-11-2017, 01:07 AM   #841
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198

there must be something in your installation: I just tried to build clamtk and it went fine.

this
Code:
t/CairoFt.t ....... skipped: need Cairo with FreeType support and Font::FreeType
is just a message of a skipped test, it's not blocking.

https://pastebin.com/3VaT8tPZ

Last edited by ponce; 12-11-2017 at 01:20 AM.
 
Old 12-11-2017, 06:58 AM   #842
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 478

Rep: Reputation: 110Reputation: 110
Thanks for the paste-bin output for comparison; I have no clue. The output I get seems comparable to yours although some calls are coming through earlier/later. It actually fails on the last tests:

Quote:
chmod 755 blib/arch/auto/Cairo/Cairo.so
Manifying 1 pod document
"/usr/bin/perl5.26.1" -MExtUtils::Command::MM -e 'cp_nonempty' -- Cairo.bs blib/arch/auto/Cairo/Cairo.bs 644
PERL_DL_NONLAZY=1 "/usr/bin/perl5.26.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-loading.t .... ok
t/Cairo.t ......... ok
t/CairoFont.t ..... ok
t/CairoFt.t ....... skipped: need Cairo with FreeType support and Font::FreeType
t/CairoMatrix.t ... ok
t/CairoPath.t ..... ok
t/CairoPattern.t .. ok
t/CairoRegion.t ... ok
t/CairoSurface.t ..
Failed 47/88 subtests
(less 1 skipped subtest: 40 okay)

Test Summary Report
-------------------
t/CairoSurface.t (Wstat: 11 Tests: 41 Failed: 0)
Non-zero wait status: 11
Parse errors: Bad plan. You planned 88 tests but ran 41.
Files=9, Tests=253, 0 wallclock secs ( 0.03 usr 0.00 sys + 0.29 cusr 0.03 csys = 0.35 CPU)
Result: FAIL
Failed 1/9 test programs. 0/253 subtests failed.
make: *** [Makefile:1140: test_dynamic] Error 255
Cleaning up...
Removing all perl-stuff and reinstall from scratch did not make a difference. It's only for clamtk;

still a bit disappointing...
 
Old 12-11-2017, 02:03 PM   #843
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
sorry, gotta correct myself: it fails for me too with the newer cairo, before it was working because I hadn't updated yet to 1.14.12.
I hadn't found a solution yet (apart the "cheat" of commenting out "make test").
 
Old 12-13-2017, 09:20 AM   #844
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (4.17.4) UEFI enabled
Posts: 486

Rep: Reputation: 154Reputation: 154
using slackware64-current with Changelog dated
Sat Dec 9 00:02:28 UTC 2017
and Ponce's current
and VM using UEFI Qemu

openjdk fails to build looking for fastjar jar

Libreoffice fails can't find UTF8.h with JAVA=jdk and/or JAVA=no (openjdk won't build)

Thanks
John
 
Old 12-13-2017, 09:34 AM   #845
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
try using oracle's jdk: SBo's openjdks won't build anymore on current as they need gcc-java that's not available anymore with the newer gccs.
 
Old 12-13-2017, 09:54 AM   #846
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (4.17.4) UEFI enabled
Posts: 486

Rep: Reputation: 154Reputation: 154
it also failed using Oracle's jdk-8u152-Linux-x64
Built with the Slackbuild in extra

can't find UTF8.h

Some info on error
[CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
[CXX] sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
/tmp/SBo/libreoffice-5.4.3.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:39:10: fatal error: UTF8.h: No such file or directory
#include "UTF8.h"
^~~~~~~~
compilation terminated.
make[1]: *** [/tmp/SBo/libreoffice-5.4.3.2/solenv/gbuild/LinkTarget.mk:290: /tmp/SBo/libreoffice-5.4.3.2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1

looking for UTF8.h
/usr/src/linux-4.9.67/include/config/nls/utf8.h
/usr/src/linux-4.9.66/include/config/nls/utf8.h
/usr/src/linux-4.14.2/include/config/nls/utf8.h
/usr/lib64/perl5/CORE/utf8.h
/usr/include/seamonkey-2.49.1/unicode/utf8.h
/usr/include/unicode/utf8.h
/usr/include/mcabber/utf8.h
/usr/include/pulse/utf8.h
/usr/include/irssi/src/core/utf8.h
/usr/include/cdio/utf8.h
/usr/include/libkarma/utf8.h

Last edited by AlleyTrotter; 12-13-2017 at 10:12 AM.
 
Old 12-13-2017, 10:48 AM   #847
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-14.2.1 on Lenovo Thinkpad W520
Posts: 8,354

Rep: Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122Reputation: 3122
UTF8.h (case matters) is provided by the poppler library on 14.2. That's all I know.

PS Incidentally I can't find it using the Slackware Package Browser https://packages.slackware.com/ however "bzgrep UTF8.h MANIFEST.bz2" run in /slackware64 in a local mirror finds it. I don't know why, as AFAIK poppler has been neither removed nor upgraded on 14.2?

Last edited by Didier Spaier; 12-13-2017 at 10:59 AM.
 
1 members found this post helpful.
Old 12-13-2017, 12:25 PM   #848
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Quote:
Originally Posted by AlleyTrotter View Post
it also failed using Oracle's jdk-8u152-Linux-x64
Built with the Slackbuild in extra

can't find UTF8.h

Some info on error
[CXX] sdext/source/pdfimport/xpdfwrapper/pnghelper.cxx
[CXX] sdext/source/pdfimport/xpdfwrapper/wrapper_gpl.cxx
/tmp/SBo/libreoffice-5.4.3.2/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.cxx:39:10: fatal error: UTF8.h: No such file or directory
#include "UTF8.h"
^~~~~~~~
compilation terminated.
make[1]: *** [/tmp/SBo/libreoffice-5.4.3.2/solenv/gbuild/LinkTarget.mk:290: /tmp/SBo/libreoffice-5.4.3.2/workdir/CxxObject/sdext/source/pdfimport/xpdfwrapper/pdfioutdev_gpl.o] Error 1
try removing "--with-system-poppler" from the configure options (I've checked the upstream libreoffice's git and it seems it's not fixed yet)

http://wiki.linuxfromscratch.org/blfs/ticket/10117

EDIT: I can confirm that it builds this way

Last edited by ponce; 12-13-2017 at 01:13 PM.
 
1 members found this post helpful.
Old 12-13-2017, 01:07 PM   #849
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,222

Rep: Reputation: Disabled
If you're building libreoffice, could just disable java. I suspect most people will not miss it as I think a lot of that functionality is python3 now.
 
Old 12-13-2017, 02:09 PM   #850
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (4.17.4) UEFI enabled
Posts: 486

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by Didier Spaier View Post
UTF8.h (case matters) is provided by the poppler library on 14.2. That's all I know.

PS Incidentally I can't find it using the Slackware Package Browser https://packages.slackware.com/ however "bzgrep UTF8.h MANIFEST.bz2" run in /slackware64 in a local mirror finds it. I don't know why, as AFAIK poppler has been neither removed nor upgraded on 14.2?
All was done on current

I will try to remove "w/poppler' as Ponce suggests

It also fails with JAVA=no
 
Old 12-13-2017, 08:55 PM   #851
AlleyTrotter
Member
 
Registered: Jun 2002
Location: Coal Township PA
Distribution: Slackware64-14.2 (4.17.4) UEFI enabled
Posts: 486

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by ponce View Post
try removing "--with-system-poppler" from the configure options (I've checked the upstream libreoffice's git and it seems it's not fixed yet)

http://wiki.linuxfromscratch.org/blfs/ticket/10117

EDIT: I can confirm that it builds this way
double check builds fine now
Thank You Mr. Ponce

will you inform the maintainer for the required changes?

John
 
Old 12-13-2017, 11:18 PM   #852
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
current is not supported by SBo, so the small change will be just in this repository until current will become stable.
 
Old 12-24-2017, 04:35 PM   #853
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 478

Rep: Reputation: 110Reputation: 110
matplotlib-1.5.2 does not gel with QT-5.7 of SlackBuilds; it generates this error
Quote:
QObject::connect: Cannot connect NavigationToolbar2QT::message(QString) to (null)::_show_message()
exception executing script
TypeError: connect() failed between NavigationToolbar2QT.message[str] and _show_message()

One needs to increase matplotlib to at least 1.5.3 to be able to use matplotlib with QT5.
 
Old 12-25-2017, 02:15 AM   #854
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,277

Original Poster
Rep: Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198Reputation: 2198
Sorry, maybe I'm missing something: qt5 is not listed as a mandatory or optional dependency of matplotlib...
In which situation do you got that error? If you build matplotlib with the provided SlackBuild against an installed qt5?
Does this happen also on stable? In this case you should report it to the maintainer and to the SBo mailing list, not here...
 
Old 12-26-2017, 10:21 AM   #855
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 478

Rep: Reputation: 110Reputation: 110
The QT-connection becomes important with respect to the backend that gets set; when set with "backend : qt5agg" in /usr/lib64/python2.7/site-packages/matplotlib/mpl-data/matplotlibrc above error can be obtained.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration