LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Slackware from Scratch and X11 (https://www.linuxquestions.org/questions/slackware-14/slackware-from-scratch-and-x11-4175560702/)

nobodino 07-21-2020 12:27 PM

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
-----------------

nobodino 08-06-2020 05:09 AM

On the "road" to build SFS with:
- glibc: 2.32
- gcc: 1.02.0
- binutils: 2.35

nobodino 08-07-2020 12:57 AM

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
---------------------

nobodino 08-11-2020 08:59 AM

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
-----------------------

worsel 08-29-2020 12:25 AM

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.

nobodino 09-05-2020 12:31 PM

Hi Worsel, I took into account your suggestions.

nobodino 09-10-2020 08:02 AM

due to new bison-3.7.x qt5-webkit doesn't build anymore.

nobodino 09-13-2020 12:03 PM

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.

nobodino 10-21-2020 04:02 AM

1 Attachment(s)
Regression test up to "Sat Oct 17 19:56:20 UTC 2020": (x86_64 version)

- ncftp: failure because llvm-11.0.0, need patch (see link: https://github.com/nobodino/slackwar...urrent/n/ncftp)
- libclc: failure because llvm-11.0.0 but ok with llvm-10.0.1
- ghostcript: failure because of freetype-2.14.3/2.14.4 but ok with freetype-2.10.2 (need patch from BLFS see link: https://github.com/nobodino/slackwar...ap/ghostscript)
- qt: failure because of bison>3.6.4 but ok with bison-3.6.4
- qt-gstreamer: failure see errors-19102020.txt
- amarok: failure see errors-19102020.txt (can't find -ltpool)
- artikulate: failure see errors-19102020.txt
- kppp: failure see errors-19102020.txt
- pykde4: failure see errors-19102020.txt
- kdebase: failure need patch (see link: https://github.com/nobodino/slackwar...rent/kde/patch)
- pygkt: failure need patch (see link: https://github.com/nobodino/slackwar...urrent/l/pygtk)
- qt5-webkit: failure need patch (https://github.com/nobodino/slackwar...t/l/qt5-webkit)

note: libclc is now part of llvm-project, why is there a separate package?

nobodino 10-22-2020 10:37 AM

a little more investigations:
- amarok: failure because of mariadb >= 10.5.0, but ok with mariadb-10.4.13
- pykde4: failure because of sip-4.19.23, but ok with sip-4.19.22
- artikulate: once qt-gstreamer is installed, artikulate builds ok.

only kppp and qt-gstreamer have no solution.

nobodino 10-23-2020 04:37 AM

- qt-gstreamer: failure because of gstreamer-1.18.x and gst-plugins-base-1.18.x, but ok with gstreamer-1.16.3 and gst-plugins-base-1.16.2

only kppp has no solution.

nobodino 10-23-2020 09:32 AM

-kppp: failure because of gcc-9.3.0, but ok with gcc-9.2.0

that's all folks.

nobodino 10-25-2020 04:36 AM

- libclc : failure, need patch from debian (see link: https://github.com/nobodino/slackwar...rrent/l/libclc)

nobodino 11-08-2020 11:54 AM

1 Attachment(s)
Regression test up to "Fri Nov 6 21:25:18 UTC 2020": (x86_64 version)

non building packages without solution (kde packages):
-kde/amarok
-kde/artikulate
-kde/gwenview
-kde/kppp
-kde/libkdcraw
-kde/libkexiv2
-kde/libnm-qt
-kde/plasma-nm
-kde/pykde4
-l/phonon-gstreamer
-l/qt
-l/qt-gstreamer

non building packages with patch available (see enclosed current-errors-and-patch.txt)
-ap/ghostscript
-l/libclc
-l/pygtk
-n/ncftp
-n/netkit-bootparamd
-n/netkit-rusers
-n/netkit-rwall

Everything else is ok.

nobodino 11-15-2020 10:36 AM

Regression test up to "Sat Nov 14 02:43:46 UTC 2020": (x86_64 version)

non building packages without solution (kde packages):

-kde/amarok
-kde/artikulate
-kde/gwenview
-kde/kppp
-kde/libkdcraw
-kde/libkexiv2
-kde/libnm-qt
-kde/plasma-nm
-kde/pykde4
-l/phonon
-l/phonon-gstreamer
-l/qt
-l/qt-gstreamer

non building packages with patch available (same as post #s734)
-ap/ghostscript
-l/libclc
-l/pygtk
-n/ncftp
-n/netkit-bootparamd
-n/netkit-rusers
-n/netkit-rwall

Everything else is ok, same problems, same solutions.
time to build:
-----------------
real 1325m40.120s
user 6374m15.108s
sys 415m15.112s
-----------------


All times are GMT -5. The time now is 06:42 PM.