LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-31-2018, 09:50 PM   #256
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45

Quote:
I'm still screwd with:
----------------------------
tar (child): lzip: Cannot exec: Too many levels of symbolic links
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
---------------------------
I've read over your script and can't see anything that should cause these problems.

Just a long shot, but in your select statement, use some other word than build:

"select usraction in go-on quit
do "
 
Old 04-01-2018, 01:03 AM   #257
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
Follow up on my last post. I just ran the most recent scripts that you posted.
(well, started them anyway )

So far all is well. Just starting glibc now.
 
Old 04-01-2018, 03:14 AM   #258
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
the problem is when:
- first time: you choose "old", and you build, everything is ok.
- second time: you choose "new", and you try to boostrap a new SFS.
 
Old 04-02-2018, 03:13 AM   #259
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Regression test on slackware64-current (Sun Apr 1 02:53:26 UTC 2018):

Strange failure for "xfce4-panel-4.12.2".

If you build xfce in one batch with the script xfce-build-all.sh it will fail on xfce4-panel: it doesn't see exo installed (see build.log)
-----------------------------
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for exo-1 >= 0.7.2... not found
*** The required package exo-1 was not found on your system.
*** Please install exo-1 (atleast version 0.7.2) or adjust
*** the PKG_CONFIG_PATH environment variable if you
*** installed the package in a nonstandard prefix so that
*** pkg-config is able to find it.
ls: cannot access '/tmp/xfce4-panel-*txz': No such file or directory
----------------------------
If you build it a second time with the same script it will build everything.
On the second pass, it will see it (see second build.log)
----------------------------
checking for pkg-config... (cached) /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for exo-1 >= 0.7.2... 0.12.0
checking EXO_CFLAGS... -pthread -I/usr/include/exo-1 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/xfce4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking EXO_LIBS... -lexo-1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lfontconfig -lfreetype -lxfce4util -lglib-2.0
checking for pkg-config... (cached) /usr/bin/pkg-config
----------------------------

If you build everything by hand each of the package listed in xfce-build-all. sh script it will build normally: xfce4panel will see exo installed??

Everything else ok.

Last edited by nobodino; 04-02-2018 at 03:14 AM.
 
Old 04-03-2018, 03:00 PM   #260
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
Quote:
Strange failure for "xfce4-panel-4.12.2".
I had noticed this using your scripts from 2018-03-13, but thought it was
from some changes I made.

Wonder if it has something to do with this: https://alien.slackbook.org/blog/
 
Old 04-06-2018, 01:12 AM   #261
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Is there somewhere a list of packages which attempt to access network resources at build time?

For example alsa-utils-1.1.6 I had to build with flag --disable-xmlto or else it would try to access a remote location.

The build machine should not have to require network access, that is just bad. IMO it's trading security for convenience.
 
Old 04-06-2018, 11:23 PM   #262
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
Quote:
Is there somewhere a list of packages which attempt to access network resources at build time?
Not that I know of. You might try grepping the slackbuilds for wget, etc.
 
Old 04-07-2018, 12:53 AM   #263
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
the first package needing access network see sfsbuild1 is "esound":
------------
esound )
dhcpcd -t 10 eth0 && updatedb
build $SRCDIR $PACKNAME
[ $? != 0 ] && exit 1 ;;
-------------
after that the access to network is established.
 
Old 04-07-2018, 01:24 AM   #264
elcore
Senior Member
 
Registered: Sep 2014
Distribution: Slackware
Posts: 1,754

Rep: Reputation: Disabled
Quote:
Originally Posted by worsel View Post
Not that I know of. You might try grepping the slackbuilds for wget, etc.
Well it's no problem with SlackBuilds, I always read the packaging script and network dependency is not very common.
But when compressed sources are shipped incomplete and require remote resource, that's when there's a problem.
 
Old 04-07-2018, 12:34 PM   #265
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
I found the culprit for "the too many symlinks".
Attached Files
File Type: txt prep-sfs-tools-r2.txt (3.0 KB, 20 views)
 
Old 04-07-2018, 08:27 PM   #266
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
Quote:
I found the culprit for "the too many symlinks".
Good work. I missed it reading that script and should have seen it.
This is the reason I usually delete the link, then remake it when
I change the tools directory.
 
Old 04-08-2018, 03:36 AM   #267
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Actually, something is broken in -current (since >= 30032018), pkg-config or something else: procps-ng and util-linux don't see "libncursesw.so.6" and I don't what broke this? So I can't even build build1_s.list, I will have to dig in http://cgit.notk.org/adrien/slackwar...t.ext.git/log/ ...
 
Old 04-08-2018, 06:51 PM   #268
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
Quote:
Actually, something is broken in -current (since >= 30032018),. . . .
Yes, Current (64 bit) gets to procps in build1_s.list. The following error(s) were returned.

Quote:
/tools/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find libncursesw.so.6
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:1434: watch] Error 1
make[2]: *** Waiting for unfinished jobs....
libtool: link: gcc -std=gnu99 -Iproc -O2 -fPIC -o lib/test_strutils lib/test_strutils.o lib/strutils.o -ldl
libtool: link: gcc -std=gnu99 -Iproc -O2 -fPIC -o lib/test_fileutils lib/test_fileutils.o lib/fileutils.o -ldl
libtool: link: gcc -std=gnu99 -Iproc -O2 -fPIC -o lib/test_nsutils lib/test_nsutils.o lib/nsutils.o -ldl
make[2]: Leaving directory '/tmp/procps-ng-3.3.13'
make[1]: *** [Makefile:1837: all-recursive] Error 1
make[1]: Leaving directory '/tmp/procps-ng-3.3.13'
make: *** [Makefile:1015: all] Error 2
Error 2 is (I believe) "No such file or directory", so something is missing.
 
Old 04-08-2018, 07:44 PM   #269
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 241

Original Poster
Rep: Reputation: 45
The problem seems to be related to ncurses or ld. ls /lib64/libncur* gives:

Quote:
/lib64/libncurses.so.6 /lib64/libncursesw.so.6
/lib64/libncurses.so.6.1 /lib64/libncursesw.so.6.1
but procps-ng (actually ld) can't seem to find /lib64/libncursesw.so.6.
 
Old 04-09-2018, 01:29 AM   #270
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
Even if you do: ldconfig -v | grep libncursesw.so.6
you will see:
--------------
# ldconfig -v | grep libncursesw.so.6
ldconfig: Ne peut �valuer par stat /usr/x86_64-slackware-linux/lib64: Aucun fichier ou dossier de ce type
ldconfig: Chemin � /lib64 � donn� plus d'une fois
ldconfig: Ne peut �valuer par stat /libx32: Aucun fichier ou dossier de ce type
ldconfig: Chemin � /usr/lib64 � donn� plus d'une fois
ldconfig: Ne peut �valuer par stat /usr/libx32: Aucun fichier ou dossier de ce type
libncursesw.so.6 -> libncursesw.so.6.1
libncursesw.so.6 -> libncursesw.so.6.1
--------------
so it's there but not seen
and /etc/ld.so.conf is ok.

Last edited by nobodino; 04-09-2018 at 01:33 AM.
 
  


Reply



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 07:25 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
Open Source Consulting | Domain Registration