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.
Thank you for the compliment, Nobodino. How ever, I only consider myself to be a coder.
The difference is: a programmer is equivalent to an engineer, a coder to a tech (or engineering) aide.
Forgot to mention: I had trouble getting make to compile. The is a sed for configure in make_build to correct this.
"sed -i 's/if _GNU_GLOB_INTERFACE_VERSION == GLOB_INTERFACE_VERSION/if _GNU_GLOB_INTERFACE_VERSION >= GLOB_INTERFACE_VERSION/' configure"
Got it off the gentoo site.
Last edited by worsel; 02-14-2018 at 07:08 PM.
Reason: Forgotten item.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Thanks to FTBSlog and the cleaning of the source tree SFS builds like a charm now, it's a big step, near perfection, here is enclosed the result of what's left behind:
----------------------------------------------------------------
--- list-slackware.txt 2018-02-18 11:04:06.413669462 +0100
+++ list-sfs.txt 2018-02-18 11:24:05.907542771 +0100
@@ -233,7 +233,7 @@
d/patchelf-0.9-x86_64-1.txz
d/perl-5.26.1-x86_64-4.txz
d/pkg-config-0.29.2-x86_64-1.txz
-d/pmake-1.111-x86_64-3.txz
+d/pmake-1.111-x86_64-4.txz
d/python-2.7.14-x86_64-1.txz
d/python3-3.6.4-x86_64-1.txz
d/python-pip-9.0.1-x86_64-1.txz
@@ -981,6 +981,9 @@
n/yptools-2.14-x86_64-9.txz
n/ytalk-3.3.0-x86_64-3.txz
n/zd1211-firmware-1.5-fw-1.txz
+others/bash-completion-2.7-noarch-2.txz
+others/flex-2.5.39-x86_64-1_sfs.txz
+others/jdk-8u162-x86_64-1_SBo.tgz
tcl/expect-5.45.3-x86_64-2.txz
tcl/hfsutils-3.2.6-x86_64-5.txz
tcl/tcl-8.6.8-x86_64-2.txz
@@ -1008,7 +1011,7 @@
xap/gnuplot-5.2.2-x86_64-1.txz
xap/gparted-0.30.0-x86_64-1.txz
xap/gucharmap-10.0.3-x86_64-1.txz
-xap/gv-3.7.4-x86_64-1.txz
+xap/gv-3.7.4-x86_64-2.txz
xap/hexchat-2.12.4-x86_64-2.txz
xap/mozilla-firefox-58.0.2-x86_64-1.txz
xap/mozilla-thunderbird-52.6.0-x86_64-1.txz
----------------
Just two packages with a small tag difference: pmake and gv
A great job done by the dev team.
Thanks to all of them.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
Now I can bootstrap Slackware completely from source for x86 and x86_64 for current version.
Replace sfsinit.sh by sfs-bootstrap.sh and follow the instructions.
I added a new script which allow to chroot at the end of the tools built (sfs-chroot.sh)
sfs-tools-current.sh is not run by itself, it's called by sfs-bootstrap.sh
All the other scripts are compatible.
The only script to run from the beginning till the end is: sfs-bootstrap.sh
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
I bootstrapped slackware-current for x86 up to 24022018.
It's nearly perfect, the only discordances are between the tag "i486" on the binaries and "i586" in the SlackBuild, except for gv (small discordance).
Every package can be built without any patch, except the 2 pass packages because of circular dependancies.
Only few external packages are necessary to build the complete gcc packages, rust and ksh93:
- jdk from SBo.
- rust packages from SBo
- gnat-gpl for x86 and x86_64
- ksh93 from slackware-14.2
Everything else has been removed.
Every package can be built within the chroot environment (1383 packages), except one: "adwaita-icon-theme" which has to be built in real world:
---------------------------------------------------------------------------------------------------------------------------------------------
for file in `cd ../../Adwaita/scalable; find . -name "*.svg"`; do \
context="`dirname $file`"; \
/usr/bin/mkdir -p /tmp/package-adwaita-icon-theme/usr/share/icons/Adwaita/scalable/$context; \
/bin/sh /tmp/adwaita-icon-theme-3.26.1/install-sh -c -m 644 ../../Adwaita/scalable/$file /tmp/package-adwaita-icon-theme/usr/share/icons/Adwaita/scalable/$file; \
for size in 16x16 24x24 32x32 48x48 64x64 96x96; do \
/usr/bin/mkdir -p /tmp/package-adwaita-icon-theme/usr/share/icons/Adwaita/$size/$context; \
/usr/bin/gtk-encode-symbolic-svg ../../Adwaita/scalable/$file $size -o /tmp/package-adwaita-icon-theme/usr/share/icons/Adwaita/$size/$context; \
done \
done
Can't load file: Unrecognized image file format
Can't load file: Unrecognized image file format
Can't load file: Unrecognized image file format
Every package can be built without any patch, except the 2 pass packages because of circular dependancies.
Only few external packages are necessary to build the complete gcc packages, rust and ksh93:
Way to, Nobodino!
I'm having problems with the X86_64 builds. Ypur scripts of 2-19 won't build the 64 bit tools here. They
bomb out on gcc pass 2, with an error number 2 (No such file or directory, I think) and a reference to bison.
My scripts build the tools directory, but bomb out when I run list 1 and hit glibc. Same error. I've been
comparing the two programs and have, so far, found no differences that should cause either script to fail.
Starting to get a flat spot on my forehead from beating it against the desktop.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
I know, that's the reason why I will try to boostrap all from the beginning. I've checked it builds on slackware-current so far. Within 2 hours some news..
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
same problem:
----------------
config.status: creating build.sh
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/make-4.2.1/config/missing aclocal-1.15 -I config
/tmp/make-4.2.1/config/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [Makefile:569: aclocal.m4] Error 127
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /tmp/make-4.2.1/config/missing aclocal-1.15 -I config
/tmp/make-4.2.1/config/missing: line 81: aclocal-1.15: command not found
WARNING: 'aclocal-1.15' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make: *** [Makefile:569: aclocal.m4] Error 127
----------------------------------------------
I look at it tommorrow.
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564
Rep:
I found a trick which may not be a final solution:
----------------------
diff -aurN make-4.2.1/configure.ac make-4.2.1-mod/configure.ac
--- make-4.2.1/configure.ac 2016-06-06 14:27:31.000000000 +0200
+++ make-4.2.1-mod/configure.ac 2018-02-28 07:38:40.029336162 +0100
@@ -29,7 +29,7 @@
# We have to enable "foreign" because ChangeLog is auto-generated
# We cannot enable -Werror because gettext 0.18.1 has invalid content
# When we update gettext to 0.18.3 or better we can add it again.
-AM_INIT_AUTOMAKE([1.15 foreign -Werror -Wall])
+AM_INIT_AUTOMAKE([1.16 foreign -Werror -Wall])
# Checks for programs.
AC_USE_SYSTEM_EXTENSIONS
-------------------------
There may be another cleaner solution, modify order of building packages.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.