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.
This is an ancillary issue but I think is relevant. While hunting for an odd behavior in my box, I realized that I had some perl SBo modules from the 14.1 era which were retired in 14.2:
These modules were removed because 14.2 Perl already included them so these were redundant.
The problem is that there was no such mention of the removal in the SBo ChangeLog *or* Slackware ChangeLog *or* CHANGES_AND_HINTS.TXT. The only way to realize about their removal was, as @wilysr pointed out, to look into git history:
I submit that this is not clear not obvious, and it is not documented in any way as a way to properly follow and maintain changes in SBo. So I would request that whenever a new Slack version is released, the SBo ChangeLog could state the redundant packages without the need to resort to these methods. I don't know how to handle git; I'm just a regular user with no coding knowledge and this is not clear for me in any way.
Anyway, it's just a proposal. Thanks for bearing with me.
For perl packages, it's always a good idea to rebuilt everything on a new version of Slackware. The changes were too big and we have to check perldoc for every perl releases between 14.1 and 14.2. Even then, we still missed some packages and remove it later after the 14.2 repository has been opened for public. But it was a good suggestion. Let's see if we can list them and post it on the slackbuilds-users mailing list instead of the changelog for the next release.
As for git, we stopped accepting submission around January and 14.2 gets released in July. In that 6 months, there are like more than 2800+ commits in the git repository. When a new repository is released, we import them all from master to a new branch so no changelog is given except for the announcement.
As for perl, you are right. My box's odd behavior was due to some old perl modules. Upon a rebuilding, everything went smooth.
As for the removed packages, I think your idea is very good. The point is, as you guessed, not necessarily to include these in the ChangeLog, but just to have a more visible way to learn about these removals than seeking some git history which would not be easy to get by non-coders. This would benefit not only -current users, but also stock 14.2 users who upgraded from 14.1 and followed UPGRADE.TXT and CHANGES_AND_HINTS.TXT at the time of the release. Thanks again!!
As for the removed packages, I think your idea is very good. The point is, as you guessed, not necessarily to include these in the ChangeLog, but just to have a more visible way to learn about these removals than seeking some git history which would not be easy to get by non-coders. This would benefit not only -current users, but also stock 14.2 users who upgraded from 14.1 and followed UPGRADE.TXT and CHANGES_AND_HINTS.TXT at the time of the release. Thanks again!!
I have started to make some notes about changes from 5.22.2 to 5.24.0 and hopefully it will be updated periodically once a new perl gets released and included in -current.
I have started to make some notes about changes from 5.22.2 to 5.24.0 and hopefully it will be updated periodically once a new perl gets released and included in -current.
Maybe some script could automatically create a txt-file from SBo-git-log on every public update,
containing
Code:
Since slackware 14.2 was released, following builds were
-added:
packagex
packagey
-removed:
packagea
packageb
, containing also some static info about special cases like the perl-upgrade issues discussed here,
and then be put on the SBo-website.
Hi , im not sure , because i have some slakcbuilds packages, but
slackware64-14.2 + updates
openjdk --> compiled fine
openjdk8 --> error
last 10 lines when try to compile
Quote:
/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk.build-boot/jdk/objs/libverify/check_code.o: In function `verify_method':
/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk-boot/jdk/src/share/native/common/check_code.c:1033: undefined reference to `JVM_IsVMGeneratedMethodIx'
collect2: error: ld returned 1 exit status
lib/CoreLibraries.gmk:91: recipe for target '/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk.build-boot/jdk/lib/amd64/libverify.so' failed
gmake[3]: *** [/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk.build-boot/jdk/lib/amd64/libverify.so] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory '/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk-boot/jdk/make'
BuildJdk.gmk:70: recipe for target 'libs-only' failed
gmake[2]: *** [libs-only] Error 2
gmake[2]: Leaving directory '/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk-boot/jdk/make'
/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk-boot//make/Main.gmk:115: fallo en las instrucciones para el objetivo 'jdk-only'
gmake[1]: *** [jdk-only] Error 2
gmake[1]: se sale del directorio '/usr/src/slapt-src/development/openjdk8/openjdk8/icedtea-build/openjdk.build-boot'
Makefile:2479: fallo en las instrucciones para el objetivo 'stamps/icedtea-boot.stamp'
make: *** [stamps/icedtea-boot.stamp] Error 2
sh openjdk8.SlackBuild Error
Last edited by USUARIONUEVO; 11-13-2016 at 04:21 PM.
my first guess reading your error message is probably a race condition
i'm still building in VM, but to start with, you can try to limit the number of CPUs being used to compile OpenJDK8
I am able to build openjdk8 without issue here using sbopkg
Code:
apache-ant:
MD5SUM check for apache-ant-1.9.7-bin.tar.bz2 ... OK
Building package apache-ant-1.9.7-noarch-2_SBo.tgz ... OK
Installing package apache-ant-1.9.7-noarch-2_SBo.tgz ... OK
openjdk:
MD5SUM check for icedtea-2.6.7.tar.xz ... OK
MD5SUM check for openjdk.tar.bz2 ... OK
MD5SUM check for corba.tar.bz2 ... OK
MD5SUM check for jaxp.tar.bz2 ... OK
MD5SUM check for jaxws.tar.bz2 ... OK
MD5SUM check for jdk.tar.bz2 ... OK
MD5SUM check for langtools.tar.bz2 ... OK
MD5SUM check for hotspot.tar.bz2 ... OK
Building package openjdk-7u111b01-x86_64-1_SBo.tgz ... OK
Installing package openjdk-7u111b01-x86_64-1_SBo.tgz ... OK
openjdk8:
MD5SUM check for icedtea-3.1.0.tar.xz ... OK
MD5SUM check for openjdk.tar.xz ... OK
MD5SUM check for corba.tar.xz ... OK
MD5SUM check for jaxp.tar.xz ... OK
MD5SUM check for jaxws.tar.xz ... OK
MD5SUM check for jdk.tar.xz ... OK
MD5SUM check for langtools.tar.xz ... OK
MD5SUM check for nashorn.tar.xz ... OK
MD5SUM check for hotspot.tar.xz ... OK
Building package openjdk8-8u101b13-x86_64-1_SBo.tgz ... OK
Installing package openjdk8-8u101b13-x86_64-1_SBo.tgz ... OK
so my initial guess is probably right. It probably has to do with race condition
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.