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.
however, for some reason, the actual file is named "downloadfile.php?file=profont-x11.zip" and clicking on the link displays a funny image and text that reads, "OMG! You broke teh Interweb!"
So I think either the file in Ponce's repo needs to be renamed to profont-x11.zip or the download link should be http://ponce.cc/slackware/sources/re...rofont-x11.zip (possibly with some escapes or quoting) with instructions to rename it to work with the SlackBuild script.
I was able to grab the file. Just wanted to let Ponce know about the issue.
yep, my fault, I scripted fixing dowload links some time ago and that slipped...
thanks for reporting!
python3-PyYAML does not build due c code compilation issues (Even though its using setup.py...), I updated it to the current stable 3.13 and now it builds again.
Hi , i encounter opencv problem , it have python3=3.6 , then files goes to 3.6 not under 3.7 (python3 now is 3.7 branch.
I no understand , why not get branch , with something like this
Please , change at least 3.6 to 3.7 in to the fixed variable.
Thanks!
A change has been pushed to better address the different python versions/locations in both stable and current environments. It should be part of the next round of SBo updates.
openjdk fails to build in current.
looking for jar or fastjar
these are not in the current build of gcc-8.3.0 and are required.
I would presume that openjdk6 and openjdk8 suffer the same consequence.
john
NOTE: using slackware64-current and Alien's Plasma5
in alternative to gcc-java, not shipped anymore since gcc-7.x, you can install jdk to bootstrap openjdk...
then, when you have the openjdk package available, you can remove jdk and install that one.
in alternative to gcc-java, not shipped anymore since gcc-7.x, you can install jdk to bootstrap openjdk...
then, when you have the openjdk package available, you can remove jdk and install that one.
openjdk fails to build in current.
looking for jar or fastjar
With Oracle JDK installed, this error was solved.
However, then the build failed with:
Code:
checking for a JDK home directory... /usr/lib64/jvm
configure: error: "A JDK home directory could not be found. Try specifying one using --with-jdk-home=<DIR>"
In ‘openjdk.SlackBuild’, I edited the “BOOT_JAVA” setting as follows:
Code:
BOOT_JAVA=/usr/lib${LIBDIRSUFFIX}/java
The next error was:
Code:
checking attr/xattr.h usability... no
checking attr/xattr.h presence... no
checking for attr/xattr.h... no
configure: error: Could not find required system headers; install the appropriate files from glibc-headers, libc6-dev and/or libattr-devel, libattr1-dev or use --disable-compile-against-syscalls if necessary.
Since I had no idea what else I could do, I added the “--disable-compile-against-syscalls” option to the “configure” command line in the SlackBuild script.
Still no success:
Code:
BUILD FAILED
/tmp/SBo/openjdk/icedtea-build/openjdk-boot/langtools/make/build.xml:659: java.lang.NoSuchMethodError: com.sun.tools.javac.tree.JCTree$JCLiteral.<init>(ILjava/lang/Object;)V
at GenStubs$StubMaker$9.<init>(Unknown Source)
at GenStubs$StubMaker.visitVarDef(Unknown Source)
at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:852)
at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at com.sun.tools.javac.tree.TreeTranslator.visitClassDef(TreeTranslator.java:134)
at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:70)
at com.sun.tools.javac.tree.TreeTranslator.visitTopLevel(TreeTranslator.java:120)
at GenStubs$StubMaker.visitTopLevel(Unknown Source)
at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:518)
at com.sun.tools.javac.tree.TreeTranslator.translate(TreeTranslator.java:58)
at GenStubs$StubMaker.translate(Unknown Source)
at GenStubs.makeStub(Unknown Source)
at GenStubs.run(Unknown Source)
at GenStubs$Ant.execute(Unknown Source)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:99)
at org.apache.tools.ant.Task.perform(Task.java:350)
at org.apache.tools.ant.Target.execute(Target.java:449)
at org.apache.tools.ant.Target.performTasks(Target.java:470)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1388)
at org.apache.tools.ant.Project.executeTarget(Project.java:1361)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
at org.apache.tools.ant.Main.runBuild(Main.java:834)
at org.apache.tools.ant.Main.startAnt(Main.java:223)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:284)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:101)
Total time: 13 seconds
gmake[3]: *** [Makefile:206: build] Error 1
gmake[3]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot/langtools/make'
gmake[2]: *** [make/langtools-rules.gmk:39: langtools-build] Error 2
gmake[2]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot'
gmake[1]: *** [Makefile:251: build_product_image] Error 2
gmake[1]: Leaving directory '/tmp/SBo/openjdk/icedtea-build/openjdk-boot'
make: *** [Makefile:2742: stamps/icedtea-boot.stamp] Error 2
I’m afraid I’m out of ideas now.
EDIT: At first glance, it appears to me that the JDK11 SlackBuilds (i.e., ‘adoptopenjdk’ and ‘zulu-openjdk-lts’) should build successfully. They only support 64-bit systems, though. I will look into these later.
SBo version for irqbalance (v1.0.9) crashed my -current system under load; upgrading to the more recent v1.5.0 of irqbalance does not.
can you get in touch with the maintainer and ask him if he's willing to update it on SBo?
I'm pretty sure that also 14.2 user will benefit of the newer version...
I thought compilers (like Rust or Java) were required to build themselves in Slackware.
Why do we need Oracle Java installed to build openjdk java?
Or did I miss something?
john
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.