LinuxQuestions.org
Help answer threads with 0 replies.
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 02-14-2018, 01:28 PM   #211
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 238

Original Poster
Rep: Reputation: 45

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.
 
Old 02-18-2018, 04:30 AM   #212
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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.
 
1 members found this post helpful.
Old 02-18-2018, 05:42 AM   #213
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
Attachment 27020here are the necessary scripts to build SFS, lot of cleanup.
Attached Files
File Type: txt sfsinit-r39-split.sh.txt (22.0 KB, 20 views)
File Type: txt lists_generator-r6.sh.txt (30.1 KB, 12 views)
File Type: txt sources_alteration-r8.sh.txt (24.3 KB, 15 views)
File Type: txt patches_generator-r10.sh.txt (181.9 KB, 15 views)
File Type: txt sfsbuild1-r39.sh.txt (160.5 KB, 17 views)

Last edited by nobodino; 02-18-2018 at 05:55 AM.
 
1 members found this post helpful.
Old 02-18-2018, 05:50 AM   #214
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
I add what's in others for Worsel. It lasts very few external packages to build SFS.
Attached Files
File Type: txt list-others.txt (3.7 KB, 17 views)
 
Old 02-19-2018, 01:21 PM   #215
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 238

Original Poster
Rep: Reputation: 45
There are problems with the scripts I posted on 02-13.
Primarily with make, patch and sed. They compile
intermittently. I'm working on it.
 
Old 02-19-2018, 01:38 PM   #216
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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
Attached Files
File Type: txt chroot_sfs.sh.txt (2.3 KB, 13 views)
File Type: txt sfs-tools-current-r11.sh.txt (24.9 KB, 14 views)
File Type: txt sfs-bootstrap.sh.txt (8.1 KB, 18 views)

Last edited by nobodino; 02-20-2018 at 03:58 PM.
 
1 members found this post helpful.
Old 02-25-2018, 10:15 AM   #217
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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

make[3]: *** [Makefile:435: install-data-local] Error 1
make[3]: Leaving directory '/tmp/adwaita-icon-theme-3.26.1/src/symbolic'
make[2]: *** [Makefile:310: install-am] Error 2
make[2]: Leaving directory '/tmp/adwaita-icon-theme-3.26.1/src/symbolic'
make[1]: *** [Makefile:323: install-recursive] Error 1
make[1]: Leaving directory '/tmp/adwaita-icon-theme-3.26.1/src'
make: *** [Makefile:534: install-recursive] Error 1
---------------------------
Attached Files
File Type: txt diff.txt (23.0 KB, 10 views)

Last edited by nobodino; 02-25-2018 at 10:51 AM.
 
2 members found this post helpful.
Old 02-25-2018, 08:54 PM   #218
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 238

Original Poster
Rep: Reputation: 45
Quote:
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.
 
1 members found this post helpful.
Old 02-26-2018, 12:36 AM   #219
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
this one has bison.
Attached Files
File Type: txt sfs-tools-current-r11.sh.txt (25.3 KB, 18 views)
 
1 members found this post helpful.
Old 02-27-2018, 12:49 PM   #220
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
automake-1.16 breaks SFS.
make-4.2.1 fails to build...
If I take back automake-1.15.1 it works.
 
Old 02-27-2018, 01:18 PM   #221
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 1,907

Rep: Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164Reputation: 6164
Quote:
Originally Posted by nobodino View Post
automake-1.16 breaks SFS.
make-4.2.1 fails to build...
If I take back automake-1.15.1 it works.
Strange... make-4.2.1 is compiling fine on -current with automake-1.16. Must be something specific to the SFS build environment.
 
Old 02-27-2018, 01:21 PM   #222
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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..

Last edited by nobodino; 02-27-2018 at 01:45 PM.
 
Old 02-27-2018, 03:30 PM   #223
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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.
 
Old 02-28-2018, 12:53 AM   #224
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 238

Original Poster
Rep: Reputation: 45
Quote:
this one has bison.
Okay, that got me past glibc. Now I have to find why my attempt to
include bison didn't work. . . tomorrow. Getting late here.

Thanks Nobodino!

Oops, forgot. In sfsbuild1.sh, it looks for glibc in /glibc*
Had to change to /tmp/glibc*

Last edited by worsel; 02-28-2018 at 12:56 AM. Reason: Senility?
 
Old 02-28-2018, 01:13 AM   #225
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 693

Rep: Reputation: 391Reputation: 391Reputation: 391Reputation: 391
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.
 
  


Reply


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] /usr/bin/X11/X11/....... 10 X11 subsets & counting walter74 Linux - General 2 06-07-2015 12:36 AM
How do I get the /etc/X11/X file rebuilt from scratch rickh Debian 4 05-07-2006 11:06 PM
ali aladdin v agp stinks :scratch: :scratch: :scratch: Mr Marmmalade Linux - Hardware 1 07-08-2003 05:11 AM

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

All times are GMT -5. The time now is 05:30 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