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

worsel 04-07-2019 06:44 PM

Slackware-current, rsync'd 2019-04-04, built okay here with one (two?) snag(s).

Boost would not build while running sfsbuild1.sh, in either list3 or list4.
Built okay "by hand".

The system boots. Haven't had time for more testing.

nobodino 04-13-2019 09:11 AM

regression test up to "Fri Apr 12 22:13:09 UTC 2019": libgpg-error doesn't build anymore (SFS and Slackware)
---------------------
x86_64-slackware-linux-gcc -DHAVE_CONFIG_H -I. -I.. -DPKGDATADIR="/usr/share/libgpg-error" -DLOCALEDIR="/usr/share/locale" -O2 -fPIC -Wall -Wpointer-arith -Wno-psabi -fvisibility=hidden -MT gpg_error-strerror-sym.o -MD -MP -MF .deps/gpg_error-strerror-sym.Tpo -c -o gpg_error-strerror-sym.o `test -f 'strerror-sym.c' || echo './'`strerror-sym.c
strerror-sym.c: In function 'gpg_strerror_sym':
strerror-sym.c:45:13: warning: implicit declaration of function 'errnos_msgidxof'; did you mean 'msgidxof'? [-Wimplicit-function-declaration]
idx = errnos_msgidxof (code);
^~~~~~~~~~~~~~~
msgidxof
strerror-sym.c:47:9: error: 'errnos_msgstr' undeclared (first use in this function)
return errnos_msgstr + errnos_msgidx[idx];
^~~~~~~~~~~~~
strerror-sym.c:47:9: note: each undeclared identifier is reported only once for each function it appears in
strerror-sym.c:47:25: error: 'errnos_msgidx' undeclared (first use in this function)
return errnos_msgstr + errnos_msgidx[idx];
^~~~~~~~~~~~~
make[3]: *** [Makefile:1118: gpg_error-strerror-sym.o] Error 1
make[3]: Leaving directory '/tmp/libgpg-error-1.36/src'
make[2]: *** [Makefile:650: all] Error 2
make[2]: Leaving directory '/tmp/libgpg-error-1.36/src'
make[1]: *** [Makefile:509: all-recursive] Error 1
make[1]: Leaving directory '/tmp/libgpg-error-1.36'
make: *** [Makefile:441: all] Error 2
------------------------------

nobodino 04-14-2019 03:22 AM

regression test up to "Fri Apr 12 22:13:09 UTC 2019": second package which doesn't build anymore (SFS and Slackware): subversion
---------------------
configure: Configuring python swig binding
checking for Python includes... -I/usr/include/python2.7
checking for compiling Python extensions... gcc -pthread -fPIC
checking for linking Python extensions... gcc -pthread -shared
checking for linking Python libraries...
checking for apr_int64_t Python/C API format string...
configure: error: failed to recognize APR_INT64_T_FMT on this platform
--------------------
seems to be related to new apr-1.7.0?

nobodino 04-15-2019 01:08 AM

regression test up to "Fri Apr 12 22:13:09 UTC 2019": everything builds "ok" now with the 2 patches for libgpg-error and subversion.
Once more: thanks.

worsel 04-20-2019 04:33 PM

SlackWare-current: 20190415
SFS: sfs_20190416

Again, everything went ok except boost. It refuses to build under sfsbuild1.sh,
but is fine when the SlackBuild is invoked manually.

The error seems to have something to do with the Internet, but it traces back further
than the bash history does.

Have not had much time to work on it, but now that my house is back in running order
that will, hopefully, change.

nobodino 04-21-2019 02:56 AM

regression test up to "Fri Apr 19 20:26:12 UTC 2019": qt-gstreamer fails to build (SFS and slackware64-current), and it's the only one. Everything else is ok.
---------------------------
/tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp:57:40: note: in expansion of macro 'gst_caps_copy'
gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
^~~~~~~~~~~~~
[ 42%] Building CXX object src/QGst/CMakeFiles/QtGStreamer.dir/bin.cpp.o
make[2]: *** [src/QGst/CMakeFiles/QtGStreamer.dir/build.make:132: src/QGst/CMakeFiles/QtGStreamer.dir/caps.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:346: src/QGst/CMakeFiles/QtGStreamer.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
[ 0%] Automatic MOC for target QtGLib
[ 0%] Built target QtGLib_autogen
[ 12%] Built target QtGLib
[ 13%] Automatic MOC for target QtGStreamer
[ 13%] Built target QtGStreamer_autogen
[ 13%] Building CXX object src/QGst/CMakeFiles/QtGStreamer.dir/caps.cpp.o
In file included from /usr/include/gstreamer-1.0/gst/gstbuffer.h:30,
from /usr/include/gstreamer-1.0/gst/gstpad.h:70,
from /usr/include/gstreamer-1.0/gst/gstelement.h:87,
from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from /tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp:22:
/tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp: In member function 'void QGst::Caps::append(const CapsPtr&)':
/usr/include/gstreamer-1.0/gst/gstminiobject.h:33:65: error: invalid cast from type 'const CapsPtr' {aka 'const QGlib::RefPointer<QGst::Caps>'} to type 'GstMiniObject*' {aka '_GstMiniObject*'}
#define GST_MINI_OBJECT_CAST(obj) ((GstMiniObject*)(obj))
^
/usr/include/gstreamer-1.0/gst/gstcaps.h:35:47: note: in definition of macro 'GST_CAPS_CAST'
#define GST_CAPS_CAST(obj) ((GstCaps*)(obj))
^~~
/usr/include/gstreamer-1.0/gst/gstcaps.h:249:29: note: in expansion of macro 'GST_CAPS'
#define gst_caps_copy(caps) GST_CAPS (gst_mini_object_copy (GST_MINI_OBJECT_CAST (caps)))
^~~~~~~~
/usr/include/gstreamer-1.0/gst/gstcaps.h:249:61: note: in expansion of macro 'GST_MINI_OBJECT_CAST'
#define gst_caps_copy(caps) GST_CAPS (gst_mini_object_copy (GST_MINI_OBJECT_CAST (caps)))
^~~~~~~~~~~~~~~~~~~~
/tmp/qt-gstreamer-1.2.0/src/QGst/caps.cpp:57:40: note: in expansion of macro 'gst_caps_copy'
gst_caps_append(object<GstCaps>(), gst_caps_copy(caps2));
^~~~~~~~~~~~~
make[2]: *** [src/QGst/CMakeFiles/QtGStreamer.dir/build.make:132: src/QGst/CMakeFiles/QtGStreamer.dir/caps.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:346: src/QGst/CMakeFiles/QtGStreamer.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
---------------------------------
seems to related to new gstreamer?

nobodino 04-22-2019 04:15 AM

qt-gstreamer building problem solved in current.Everything is ok now.
Thanks.

nobodino 04-28-2019 01:47 AM

regression test up to "Fri Apr 26 18:55:10 UTC 2019": everything builds ok.

nobodino 05-04-2019 11:43 AM

regression test up to "Sat May 4 01:29:20 UTC 2019": efivar doesn't build anymore (Slackware and SFS)
---------------------
make[1]: Entering directory '/tmp/efivar-37/src'
cc -O2 -fPIC -I/tmp/efivar-37/src/include/ -specs=/tmp/efivar-37/gcc.specs -L. -Wl,-z,muldefs -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
In file included from efivar.h:30,
from makeguids.c:30:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
118 | format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
74 | _rc = efi_guid_to_str(guid, &_guidstr); \
| ^~~~
cc1: all warnings being treated as errors
In file included from efivar.h:30,
from guid.c:27:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
118 | format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
74 | _rc = efi_guid_to_str(guid, &_guidstr); \
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [/tmp/efivar-37/Make.rules:13: makeguids] Error 1
make[1]: Leaving directory '/tmp/efivar-37/src'
make: *** [Makefile:14: all] Error 2
make[1]: Entering directory '/tmp/efivar-37/src'
cc -O2 -flto -g3 -I/tmp/efivar-37/src/include/ -specs=/tmp/efivar-37/gcc.specs -L. -Wl,-z,muldefs -DEFIVAR_BUILD_ENVIRONMENT -o makeguids makeguids.c guid.c -ldl
In file included from efivar.h:30,
from makeguids.c:30:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
118 | format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
74 | _rc = efi_guid_to_str(guid, &_guidstr); \
| ^~~~
cc1: all warnings being treated as errors
In file included from efivar.h:30,
from guid.c:27:
dp.h: In function 'format_vendor_helper':
dp.h:118:37: error: taking address of packed member of 'struct <anonymous>' may result in an unaligned pointer value [-Werror=address-of-packed-member]
118 | format_guid(buf, size, off, label, &dp->hw_vendor.vendor_guid);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
dp.h:74:25: note: in definition of macro 'format_guid'
74 | _rc = efi_guid_to_str(guid, &_guidstr); \
| ^~~~
cc1: all warnings being treated as errors
make[1]: *** [/tmp/efivar-37/Make.rules:13: makeguids] Error 1
make[1]: Leaving directory '/tmp/efivar-37/src'
make: *** [Makefile:19: install] Error 2
------------------------------------
nota: it builds but it's empty

ponce 05-04-2019 11:56 AM

it seems these three patches from upstream are needed

https://github.com/rhboot/efivar/com...15deb1ca.patch
https://github.com/rhboot/efivar/com...ad68e4e0.patch
https://github.com/rhboot/efivar/com...db6cf865.patch

nobodino 05-04-2019 01:58 PM

regression test up to "Sat May 4 01:29:20 UTC 2019": mozjs52 doesn't build anymore either (Slackware and SFS)
---------------------
In file included from /tmp/firefox-52.9.0esr/js/src/jsapi-tests/testLooselyEqual.cpp:8,
from /tmp/firefox-52.9.0esr/js/src/js/src/jsapi-tests/Unified_cpp_js_src_jsapi-tests4.cpp:2:
/tmp/firefox-52.9.0esr/js/src/jsapi-tests/testPrintf.cpp: In member function ‘virtual bool cls_testPrintf::run(JS::HandleObject)’:
/tmp/firefox-52.9.0esr/js/src/jsapi-tests/testPrintf.cpp:58:20: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
58 | CHECK(print_one("(null)", "%s", zero()));
/tmp/firefox-52.9.0esr/js/src/jsapi-tests/tests.h:205:15: note: in definition of macro ‘CHECK’
205 | if (!(expr)) \
| ^~~~
cc1plus: some warnings being treated as errors
make[3]: *** [/tmp/firefox-52.9.0esr/config/rules.mk:954: Unified_cpp_js_src_jsapi-tests4.o] Error 1
make[3]: Leaving directory '/tmp/firefox-52.9.0esr/js/src/js/src/jsapi-tests'
make[2]: *** [/tmp/firefox-52.9.0esr/config/recurse.mk:71: js/src/jsapi-tests/target] Error 2
make[2]: Leaving directory '/tmp/firefox-52.9.0esr/js/src'
make[1]: *** [/tmp/firefox-52.9.0esr/config/recurse.mk:33: compile] Error 2
make[1]: Leaving directory '/tmp/firefox-52.9.0esr/js/src'
make: *** [/tmp/firefox-52.9.0esr/config/rules.mk:524: default] Error 2
------------------------------
thanks to Ponce.

ponce 05-04-2019 02:31 PM

the lazy way seems to be the best: pass the mozjs52.SlackBuild's configure the parameter "--disable-tests"

https://src.fedoraproject.org/rpms/m...ab547bb0570ea3

nobodino 05-05-2019 02:53 AM

regression test up to "Sat May 4 01:29:20 UTC 2019": seamonkey and ksh93 don't build anymore either (Slackware and SFS)
----------------------
ksh93 failure
------------
/tmp/att-ast-20190416_7d7bba3e/build/src/lib/libast/comp/conftab.c:87:69: error: use of undeclared identifier '_SC_DATAKEYS_MAX'
{ "DATAKEYS_MAX", { 0U, 0 }, { 0U, 0 }, 0, CONF_C, 1, CONF_sysconf, _SC_DATAKEYS_MAX },
^
/tmp/att-ast-20190416_7d7bba3e/build/src/lib/libast/comp/conftab.c:91:89: error: use of undeclared identifier '_SC_EXEC_INTERPRETER_LENGTH'
{ "EXEC_INTERPRETER_LENGTH", { 0U, 0 }, { 0U, 0 }, CONF_LIMIT, CONF_C, 1, CONF_sysconf, _SC_EXEC_INTERPRETER_LENGTH },
^
/tmp/att-ast-20190416_7d7bba3e/build/src/lib/libast/comp/conftab.c:93:28: error: use of undeclared identifier '_SVID_FCHR_MAX'
{ "FCHR_MAX", { 0U, 0 }, { _SVID_FCHR_MAX, 0 }, CONF_LIMIT|CONF_MINMAX|CONF_UNDERSCORE|CONF_MINMAX_DEF, CONF_SVID, 1, CONF_sysconf, _SC_FCHR_MAX },
^
/tmp/att-ast-20190416_7d7bba3e/build/src/lib/libast/comp/conftab.c:93:133: error: use of undeclared identifier '_SC_FCHR_MAX'
{ "FCHR_MAX", { 0U, 0 }, { _SVID_FCHR_MAX, 0 }, CONF_LIMIT|CONF_MINMAX|CONF_UNDERSCORE|CONF_MINMAX_DEF, CONF_SVID, 1, CONF_sysconf, _SC_FCHR_MAX },
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
[10/520] Compiling C object 'src/lib/libast/e416224@@ast@sta/cdt_dthash.c.o'.
ninja: build stopped: subcommand failed.
-----------
seamonkey failure
----------
make[4]*: on quitte le répertoire «*/tmp/seamonkey-2.49.4/obj/accessible/ipc*»
libembedding_components_windowwatcher.a.desc
rm -f libembedding_components_windowwatcher.a
/tmp/seamonkey-2.49.4/obj/_virtualenv/bin/python /tmp/seamonkey-2.49.4/mozilla/config/expandlibs_gen.py -o libembedding_components_windowwatcher.a.desc Unified_cpp_windowwatcher0.o
make[4]*: on quitte le répertoire «*/tmp/seamonkey-2.49.4/obj/embedding/components/windowwatcher*»
make[3]*: on quitte le répertoire «*/tmp/seamonkey-2.49.4/obj*»
make[2]: *** [/tmp/seamonkey-2.49.4/mozilla/config/recurse.mk:33: compile] Error 2
make[2]*: on quitte le répertoire «*/tmp/seamonkey-2.49.4/obj*»
make[1]: *** [/tmp/seamonkey-2.49.4/mozilla/config/rules.mk:523: default] Error 2
make[1]*: on quitte le répertoire «*/tmp/seamonkey-2.49.4/obj*»
make: *** [client.mk:397: build] Error 2
root@drakstart64:/mnt/sfs/slacksrc/xap/seamonkey# mc
-----------

ponce 05-05-2019 03:33 AM

still looking at fedora, it seems they moved to ksh 2020.0.0-alpha1, I'm not sure this is the way Pat wants to follow...

https://src.fedoraproject.org/rpms/ksh/commits/master
https://src.fedoraproject.org/rpms/k...08450185e25939

regarding seamonkey they seems to temporary have added another flag to disable some warnings as errors

https://src.fedoraproject.org/rpms/s...e98276e9628349

I gotta admit I haven't personally tested both of these findings...

nobodino 05-05-2019 03:38 AM

regression test up to "Sat May 4 01:29:20 UTC 2019": ddd doesn't build anymore either (Slackware and SFS)
---------------------
strclass.h:813:19: error: friend declaration of 'string common_prefix(const string&, const string&, int)' specifies default arguments and isn't a definition [-fpermissive]
813 | friend string common_prefix(const string& x, const string& y,
| ^~~~~~~~~~~~~
strclass.h:815:19: error: friend declaration of 'string common_suffix(const string&, const string&, int)' specifies default arguments and isn't a definition [-fpermissive]
815 | friend string common_suffix(const string& x, const string& y,
| ^~~~~~~~~~~~~
strclass.h:866:16: error: friend declaration of 'int readline(std::istream&, string&, char, int)' specifies default arguments and isn't a definition [-fpermissive]
866 | friend int readline(std::istream& s, string& x,
| ^~~~~~~~
make[2]: *** [Makefile:2048: strclass.o] Error 1
make[2]: *** [Makefile:2048: uniquify.o] Error 1
make[2]: Leaving directory '/tmp/ddd-3.3.12/ddd'
make[1]: *** [Makefile:1708: all] Error 2
make[1]: Leaving directory '/tmp/ddd-3.3.12/ddd'
make: *** [Makefile:420: all-recursive] Error 1
-------------------


All times are GMT -5. The time now is 03:59 AM.