SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
mypaint-1.2.0/brushlib/gegl/mypaint-gegl-surface.c
scons: Reading SConscript files ...
building for 'python2.7' (use scons python_binary=xxx to change)
using 'python2.7-config' (use scons python_config=xxx to change)
Delete(["libmypaint-tests.so", "libmypaint-tests.so", "libmypaint.so", "libmypaintlib.so", "libmypaint.a", "libmypaint-tests.a", "lib/_mypaintlib.so"])
Enabling i18n for brushlib in full application build
Could not find 'json-c' pkg-config, trying legacy 'json' instead
Package json was not found in the pkg-config search path.
Perhaps you should add the directory containing `json.pc'
to the PKG_CONFIG_PATH environment variable
No package 'json' found
OSError: 'pkg-config --cflags --libs json ' exited 1:
File "/tmp/SBo/mypaint-1.2.0/SConstruct", line 235:
brushlib = SConscript('./brushlib/SConscript')
File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py", line 604:
return method(*args, **kw)
File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py", line 541:
return _SConscript(self.fs, *files, **subst_kw)
File "/usr/lib64/python2.7/site-packages/SCons/Script/SConscript.py", line 250:
exec _file_ in call_stack[-1].globals
File "/tmp/SBo/mypaint-1.2.0/brushlib/SConscript", line 146:
parse_pkg_config(env, pkg)
File "/tmp/SBo/mypaint-1.2.0/brushlib/SConscript", line 73:
env.ParseConfig(cmd)
File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 1557:
return function(self, self.backtick(command))
File "/usr/lib64/python2.7/site-packages/SCons/Environment.py", line 594:
raise OSError("'%s' exited %d" % (command, status))
I had to use mypaint 1.2.1 because of this issue while running: "Crash on startup to Exception on startup: TypeError: GLib.filename_to_utf8() takes exactly 2 arguments (4 given)" https://github.com/mypaint/mypaint/releases
hi brobr, I just tried to build inkscape and all of its dependencies on a clean install of slackware64-current and everyhting went fine (no patches for gcc7 seem needed): I suppose yours is a local issue...
the one you linked seems not to be the actual error: please try rebuilding also all of the dependencies and see if the error persists.
if it does please paste the full log somewhere like pastebin.com (split it in more parts if there's a size limit).
I did as you advised (reinstalled reportlab, unicovertor; six,BeautifulSoup4, html5lib, lxml; numpy), but no joy. My system follows current and until now no problems. Last compile of inkscape 0.92.1 was 29 April; For now I added a symbolic link for the old libgsl to get my current inkscape-build to work. Not ideal of course; I attached the last section where the error starts; hopefully that is informative.
i just got the same result as Ponce.
inkscape built fine on latest -current update
Code:
numpy:
MD5SUM check for numpy-1.11.1.tar.gz ... OK
Building package numpy-1.11.1-x86_64-1_SBo.tgz ... OK
Installing package numpy-1.11.1-x86_64-1_SBo.tgz ... OK
html5lib:
MD5SUM check for html5lib-python-0.9999999.tar.gz ... OK
Building package html5lib-0.9999999-x86_64-1_SBo.tgz ... OK
Installing package html5lib-0.9999999-x86_64-1_SBo.tgz ... OK
BeautifulSoup4:
MD5SUM check for beautifulsoup4-4.5.3.tar.gz ... OK
Building package BeautifulSoup4-4.5.3-x86_64-1_SBo.tgz ... OK
Installing package BeautifulSoup4-4.5.3-x86_64-1_SBo.tgz ... OK
lxml:
MD5SUM check for lxml-lxml-3.8.0.tar.gz ... OK
Building package lxml-3.8.0-x86_64-1_SBo.tgz ... OK
Installing package lxml-3.8.0-x86_64-1_SBo.tgz ... OK
inkscape:
MD5SUM check for inkscape-0.92.1.tar.bz2 ... OK
Building package inkscape-0.92.1-x86_64-1_SBo.tgz ... OK
Installing package inkscape-0.92.1-x86_64-1_SBo.tgz ... OK
@usuarionuevo: thanks for reminding me
@ponce and willysr: thanks for the feedback. That hinted at the possibility that something was missing from my system or I was using a different source.
Still, after syncing with the latest current, reinstalling all packages in d, l and x, recompiling lxml, numpy and inkscape from scratch (i.e. letting the SlackBuild script download the source) compilation of inkscape-0.92.1 ran into the same errors:
Quote:
ui/tools/flood-tool.cpp:235:49: error: call of overloaded ‘abs(guint32)’ is ambiguous
ui/tools/flood-tool.cpp:237:109: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
ui/tools/flood-tool.cpp:239:109: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
ui/tools/flood-tool.cpp:241:109: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
ui/tools/flood-tool.cpp:251:119: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
ui/tools/flood-tool.cpp:252:119: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
ui/tools/flood-tool.cpp:253:119: error: call of overloaded ‘abs(unsigned int)’ is ambiguous
Something that keeps these gcc7 complaints down seems to be missing at my end:
1) Today's downloaded inkscape-master (which is gcc 7 compliant) compiled fine (with cmake instead of autotools.sh and ./configure in the inkscape.SlackBuild).
2) Changing the ui/tools/flood-tool.cpp in inkscape-0.92.1 to that of the master - as described in that debian bug-report - is sufficient to get 0.92.1 built on my current-box.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.