LinuxQuestions.org
Review your favorite Linux distribution.
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 07-21-2020, 12:27 PM   #721
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393

regression test up to "Fri Jul 17 18:42:24 UTC 2020": (x86_64 version)
- plasma-nm: fail
- libnm-qt: fail
- phonon: fail, should be replaced by phonon-qt4 from plasma/deps
- phonon-gstreamer: fail, should be replaced by phonon-qt4-gstreamer from plasma/deps
- phonon from plasma/deps builds fine (Qt5)
- phonon-gstreamer from plasma/deps builds fine (Qt5)
- kppp: fail
- pykde4: fail
- gwenview: fail
- amarok: fail
- dolphin-plugins: fail
- seamonkey: fail
- firefox: fail
- thunderbird: fail
-----------------
 
Old 08-06-2020, 05:09 AM   #722
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
On the "road" to build SFS with:
- glibc: 2.32
- gcc: 1.02.0
- binutils: 2.35
 
Old 08-07-2020, 12:57 AM   #723
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Building SFS with the new chain tool is not so bad:
- building the tools is ok
- the first package which is broken is tcp_wrapper (glibc-2.32: sys_nerr and sys_errlist are deprecated)
-----------------------
percent_m.c: In function 'percent_m':
percent_m.c:35:18: error: 'sys_nerr' undeclared (first use in this function)
35 | if (errno < sys_nerr && errno > 0) {
| ^~~~~~~~
percent_m.c:35:18: note: each undeclared identifier is reported only once for each function it appears in
percent_m.c:36:14: error: 'sys_errlist' undeclared (first use in this function)
36 | strcpy(bp, sys_errlist[errno]);
| ^~~~~~~~~~~
make[1]: *** [Makefile:681: percent_m.o] Error 1
make[1]: Leaving directory '/tmp/tcp_wrappers-7.6/tcp_wrappers_7.6'
make: *** [Makefile:152: linux] Error 2
---------------------
 
Old 08-11-2020, 08:59 AM   #724
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
I made a comparison between the building of SFS with:
- 1/ binutils-2.35, glibc-2.32 and gcc-10.2
- 2/ binutils-2.35, glibc-2.31 and gcc-10.2

Concerning the 1/ try (glibc-2.32):
-----------------------
- building the tools is ok
- the first package which is broken is tcp_wrappers (glibc-2.32: sys_nerr and sys_errlist are deprecated)
-----------------------
percent_m.c: In function 'percent_m':
percent_m.c:35:18: error: 'sys_nerr' undeclared (first use in this function)
35 | if (errno < sys_nerr && errno > 0) {
| ^~~~~~~~
percent_m.c:35:18: note: each undeclared identifier is reported only once for each function it appears in
percent_m.c:36:14: error: 'sys_errlist' undeclared (first use in this function)
36 | strcpy(bp, sys_errlist[errno]);
| ^~~~~~~~~~~
make[1]: *** [Makefile:681: percent_m.o] Error 1
make[1]: Leaving directory '/tmp/tcp_wrappers-7.6/tcp_wrappers_7.6'
make: *** [Makefile:152: linux] Error 2
---------------------
I managed (nearly to make it built), by adding (see the following line added to the SlackBuild, to modify the Makefile):
---------------------
....
sh extract-and-patch.sh
cd tcp_wrappers_$VERSION || exit 1
# add -DHAVE_STRERROR to linux Makefile to solve glibc-2.32 deprecated sys_errlist and sys_nerr (from fedora 33 mas rebuild spec)
sed -i -e 's/-DHAVE_WEAKSYMS/-DHAVE_WEAKSYMS -DHAVE_STRERROR/' Makefile
make REAL_DAEMON_DIR=/usr/sbin linux
strip tcpd safe_finger tcpdchk tcpdmatch try-from
....
--------------------
but another error occured: libnsl from glibc-2.32 is not seen by tcp_wrappers (don't know why?):
--------------------
ranlib libwrap.a
cc -DFACILITY=LOG_AUTHPRIV -DHOSTS_ACCESS -DNETGROUP -DDAEMON_UMASK=022 -DREAL_DAEMON_DIR="/usr/sbin" -DPROCESS_OPTIONS -DKILL_IP_OPTIONS -DSEVERITY=LOG_INFO -DRFC931_TIMEOUT=10 -DHOSTS_DENY="/etc/hosts.deny" -DHOSTS_ALLOW="/etc/hosts.allow" -fPIC -DPIC -D_REENTRANT -DSYS_ERRLIST_DEFINED -DBROKEN_SO_LINGER -DINET6=1 -Dss_family=__ss_family -Dss_len=__ss_len -DHAVE_WEAKSYMS -DHAVE_STRERROR -DAPPEND_DOT -o tcpd tcpd.o libwrap.a -lnsl
/usr/bin/ld: cannot find -lnsl
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:735: tcpd] Error 1
make[1]: Leaving directory '/tmp/tcp_wrappers-7.6/tcp_wrappers_7.6'
make: *** [Makefile:152: linux] Error 2

real 0m0.683s
user 0m0.529s
sys 0m0.171s
-------------------
but libnsl is built in glibc-2.32:
-------------------
root@drakstart64:/sources# ldconfig -v | grep libnsl*
ldconfig: Path `/lib64' given more than once
(from <builtin>:0 and /etc/ld.so.conf:2)
ldconfig: Can't stat /libx32: No such file or directory
ldconfig: Path `/usr/lib64' given more than once
(from <builtin>:0 and /etc/ld.so.conf:3)
ldconfig: Can't stat /usr/libx32: No such file or directory
libnss_hesiod.so.2 -> libnss_hesiod-2.32.so
libnss_dns.so.2 -> libnss_dns-2.32.so
libnss_compat.so.2 -> libnss_compat-2.32.so
libnss_files.so.2 -> libnss_files-2.32.so
libnsl.so.1 -> libnsl-2.32.so
libnss_db.so.2 -> libnss_db-2.32.so
libnss_ldap.so.2 -> libnss_ldap.so.2
-------------------
Concerning the 2/ try (glibc-2.31):
-----------------------
- building the tools is ok
- no breakage for tcp_wrappers
-----------------------

Last edited by nobodino; 08-11-2020 at 10:19 AM.
 
Old 08-29-2020, 12:25 AM   #725
worsel
Member
 
Registered: Feb 2008
Location: Washington State, USA
Distribution: Slackware 14.2, Slackware-from-Scratch
Posts: 239

Original Poster
Rep: Reputation: 45
Nobodino,

A couple little things that seem worth mentioning:

1: In sfs-bootstrap.sh, about line 423, shouldn't the order of export_variables_perso.sh and export_variables.sh
be reversed? This would allow pathnames from export_variables.sh to be over written allowing only one file
to be changed.

2: In the functions upgrade_{rsync,dvd,src} the statement "export $upgrade_sources" appears near the end if each. What is
intended here? Removing them doesn't seem do bother the program. All they seem to do is create and export
empty variables named "yes" or "no" that we selected above.
 
Old 09-05-2020, 12:31 PM   #726
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Hi Worsel, I took into account your suggestions.
 
Old 09-10-2020, 08:02 AM   #727
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
due to new bison-3.7.x qt5-webkit doesn't build anymore.

Last edited by nobodino; 09-10-2020 at 09:02 AM.
 
Old 09-13-2020, 12:03 PM   #728
nobodino
Member
 
Registered: Jul 2010
Location: in France
Distribution: slackware, slackware from scratch, LFS, linux Mint,Manjaro...
Posts: 705

Rep: Reputation: 393Reputation: 393Reputation: 393Reputation: 393
Due to new bison-3.7.x qt-4.8.7 doesn't build anymore: the qtwebkit part.

By downgrading to bison-3.6.4 it builds normaly.

Last edited by nobodino; 09-14-2020 at 12:55 AM.
 
  


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 07:34 PM.

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