LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-23-2021, 04:53 AM   #4456
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175

Quote:
Originally Posted by camerabambai View Post
libpri don't build

Code:
 -O2 -fPIC -Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -fPIC  -O2  -MD -MT pri_facility.o -MF .pri_facility.o.d -MP -c -o pri_facility.o pri_facility.c
q921.c: In function ‘q921_receive’:
q921.c:1501:20: error: array subscript 0 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1501 |         if (h->data[0] != 0x0f) {
      |             ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1510:20: error: array subscript 3 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1510 |         if (h->data[3] != Q921_TEI_IDENTITY_CHECK_RESPONSE
      |             ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1511:29: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1511 |                 && !(h->data[4] & 0x01)) {
      |                      ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1528:22: error: array subscript 1 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1528 |         ri = (h->data[1] << 8) | h->data[2];
      |               ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1528:41: error: array subscript 2 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1528 |         ri = (h->data[1] << 8) | h->data[2];
      |                                  ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1529:23: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1529 |         tei = (h->data[4] >> 1);
      |                ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1531:24: error: array subscript 3 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1531 |         switch (h->data[3]) {
      |                 ~~~~~~~^~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
q921.c:1606:26: error: array subscript 4 is outside the bounds of an interior zero-length array ‘u_int8_t[0]’ {aka ‘unsigned char[]’} [-Werror=zero-length-bounds]
 1606 |                 action = &h->data[4];
      |                          ^~~~~~~~~~~
In file included from pri_internal.h:35,
                 from q921.c:38:
pri_q921.h:136:18: note: while referencing ‘data’
  136 |         u_int8_t data[0];               /* Any further data */
      |                  ^~~~
cc1: all warnings being treated as errors
make: *** [Makefile:190: q921.o] Error 1
make: *** Waiting for unfinished jobs....
q931.c: In function ‘q931_receive’:
q931.c:7688:46: error: array subscript 17 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
 7688 |                         h->raw[h->crlen + 2] -= 0x8;
      |                                              ^~
In file included from pri_internal.h:36,
                 from q931.c:32:
pri_q931.h:40:23: note: while referencing ‘raw’
   40 |         unsigned char raw[0];
      |                       ^~~
q931.c:7688:46: error: array subscript 17 is outside the bounds of an interior zero-length array ‘unsigned char[0]’ [-Werror=zero-length-bounds]
 7688 |                         h->raw[h->crlen + 2] -= 0x8;
      |                         ~~~~~~~~~~~~~~~~~~~~~^~~~~~
In file included from pri_internal.h:36,
                 from q931.c:32:
pri_q931.h:40:23: note: while referencing ‘raw’
   40 |         unsigned char raw[0];
      |                       ^~~
cc1: all warnings being treated as errors
make: *** [Makefile:190: q931.o] Error 1
here most probably a
Code:
sed -i "s|\ -Werror||" Makefile
before the make block should do...
 
Old 10-23-2021, 06:57 AM   #4457
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by ponce View Post
I'm asking because cloning the git repositories doesn't seem to get the firmware files, that are present instead in the released 3.1.0 tarball, so I'm not sure it can work for hardware needing its firmware files.

EDIT: looking better it seems to download the firmware files at build time and that's actually a no-no...
well, I solved this running "make" in the firmware directory before preparing the dahdi-complete sources tarball, so that all the firmware blobs are included.

pushed the new version: thanks for the feedback!

https://git.slackbuilds.org/slackbui...it/?id=5b5c44f

Last edited by ponce; 10-23-2021 at 07:16 AM.
 
Old 10-23-2021, 04:42 PM   #4458
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi, intrigued by the slackware-jammer, I tried to compile jamulus but it fails because it is still looking for qt4:
Quote:
# jamulus can be built with either qt4 or qt5. Let's stick with
# qt4 until Slackware starts shipping qt5... for paranoia's sake,
# remove all references to qt5 and/or qt3 from the environment.
unset QTDIR
unset QT5DIR
PATH=/bin:/sbin:/usr/bin:/usr/sbin
source /etc/profile.d/qt4.sh
QTDIR=$QT4DIR
export QTDIR QT5DIR
uncommenting/removing this block in the jamulus.SlackBuild allows compilation.
 
Old 10-23-2021, 09:57 PM   #4459
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Quote:
Originally Posted by brobr View Post
Hi, intrigued by the slackware-jammer, I tried to compile jamulus but it fails because it is still looking for qt4:

uncommenting/removing this block in the jamulus.SlackBuild allows compilation.
Fixed, thanks
 
Old 10-24-2021, 08:07 PM   #4460
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
asterisk still give me error for md5sums

Code:
SUMMARY LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process:  Download, build, and install

asterisk:
  MD5SUM check for asterisk-16.15.0.tar.gz ... OK
  MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz ... OK
  MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz.sha1 ... OK
  MD5SUM check for asterisk-core-sounds-en-alaw-1.6.1.tar.gz.sha1 ... FAILED!
    Expected: e4a9ee348028fc0e47148f783e7f945b
    Found:    3c071029c1ab648367666d1e384394bb
    Source deleted.
  Error occurred with build.  Please check the log.
I also tried with empty var cache
 
Old 10-24-2021, 09:25 PM   #4461
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by willysr View Post
Fixed, thanks
Hi Willy,

I actually went for the latest version (3.8.0) and this did work well/better with servers out there. The Slackbuild needs to be adapted (see attached) but maybe the maintainer might want to check/do this. I sent him an email.
Attached Files
File Type: txt r3_8_0diff.txt (2.2 KB, 3 views)
File Type: txt info-diff.txt (552 Bytes, 3 views)
 
Old 10-24-2021, 09:31 PM   #4462
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Hi, when running the queue for Ardour, it stalled on cwiid:
Quote:
gcc -g -Wall -O2 -fPIC -DHAVE_CONFIG_H -I/tmp/SBo/cwiid/common/include -fPIC -I../libcwiid -DWMINPUT_CONFIG_DIR="/etc/cwiid/wminput" -DCWIID_PLUGINS_DIR="/usr/lib64/cwiid/plugins" -I/usr/include/python3.1 -c -o py_plugin.o py_plugin.c
py_plugin.c:38:10: fatal error: Python.h: No such file or directory
38 | #include "Python.h"
| ^~~~~~~~~~
compilation terminated.
Python3.10 is seen as 3.1. How can this be repaired??
 
Old 10-25-2021, 12:12 AM   #4463
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,661

Rep: Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784Reputation: 1784
Fixed in my branch https://git.slackbuilds.org/slackbui.../?id=c5a9e024d
 
1 members found this post helpful.
Old 10-25-2021, 04:28 AM   #4464
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
Quote:
Originally Posted by willysr View Post
Thanks! (Ardour is compiling now ;-)
 
Old 10-25-2021, 03:53 PM   #4465
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
multimedia/xjadeo 0.8.7 does not compile; but the most recent xjadeo-0.8.10 does
 
Old 10-26-2021, 12:10 PM   #4466
camerabambai
Member
 
Registered: Mar 2010
Distribution: Slackware
Posts: 408

Rep: Reputation: 54
in the dahdi-complete.SlackBuild is missing the

make install DESTDIR=$PKG after the line 83

the result is: the tools are installed but not the modules.

I also suggest to use this patch for the latest kernel, otherwise dahdi_genconf fail to generate the file /etc/dahdi/assigned-spans.conf

with this error

Code:
Generating /etc/dahdi/assigned-spans.conf
cut: '/sys/bus/dahdi_devices/devices/pci:0000:05:05.0/spantype': No such file or directory
Code:
--- usr/sbin/dahdi_span_assignments     2021-02-04 21:44:49.967760523 -0500
+++ usr/sbin/dahdi_span_assignments     2021-02-04 21:44:49.967760523 -0500
@@ -158,7 +158,7 @@
 		devpath=`cd "$device" && pwd -P`
 		location='@'`attr_clean "$device/location"`
 		hardware_id=`attr_clean "$device/hardware_id"`
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			span=`grep 2>/dev/null -Hw "$local_spanno" "$device/span-"*"/local_spanno" | \
 				sed -e 's,/local_spanno:.*,,' -e 's,.*/,,'`
@@ -193,7 +193,7 @@
 			id="$devpath"
 		fi
 		echo "# Device: [$hardware_id] @$location $devpath"
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			span=`grep 2>/dev/null -Hw "$local_spanno" "$device/span-"*"/local_spanno" | \
 				sed -e 's,/local_spanno:.*,,' -e 's,.*/,,'`
@@ -358,7 +358,7 @@
 		devpath=`cd "$device" && pwd -P`
 		location='@'`attr_clean "$device/location"`
 		hardware_id=`attr_clean "$device/hardware_id"`
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			found=`dev_match_conf "$devpath" "$location" "$hardware_id" "$local_spanno"`
 			if [ "$wanted" = "unmatched" ]; then
 
Old 10-26-2021, 12:27 PM   #4467
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Original Poster
Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
Quote:
Originally Posted by camerabambai View Post
in the dahdi-complete.SlackBuild is missing the

make install DESTDIR=$PKG after the line 83

the result is: the tools are installed but not the modules.
you probably are not looking at the SlackBuild in our git repository, it will go in the main one at the next update

https://git.slackbuilds.org/slackbui...it/?id=5b5c44f

Quote:
I also suggest to use this patch for the latest kernel, otherwise dahdi_genconf fail to generate the file /etc/dahdi/assigned-spans.conf

with this error

Code:
Generating /etc/dahdi/assigned-spans.conf
cut: '/sys/bus/dahdi_devices/devices/pci:0000:05:05.0/spantype': No such file or directory
Code:
--- usr/sbin/dahdi_span_assignments     2021-02-04 21:44:49.967760523 -0500
+++ usr/sbin/dahdi_span_assignments     2021-02-04 21:44:49.967760523 -0500
@@ -158,7 +158,7 @@
 		devpath=`cd "$device" && pwd -P`
 		location='@'`attr_clean "$device/location"`
 		hardware_id=`attr_clean "$device/hardware_id"`
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			span=`grep 2>/dev/null -Hw "$local_spanno" "$device/span-"*"/local_spanno" | \
 				sed -e 's,/local_spanno:.*,,' -e 's,.*/,,'`
@@ -193,7 +193,7 @@
 			id="$devpath"
 		fi
 		echo "# Device: [$hardware_id] @$location $devpath"
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			span=`grep 2>/dev/null -Hw "$local_spanno" "$device/span-"*"/local_spanno" | \
 				sed -e 's,/local_spanno:.*,,' -e 's,.*/,,'`
@@ -358,7 +358,7 @@
 		devpath=`cd "$device" && pwd -P`
 		location='@'`attr_clean "$device/location"`
 		hardware_id=`attr_clean "$device/hardware_id"`
-		for local_spanno in `cut -d: -f1 "$device/spantype"`
+		for local_spanno in `cut -d: -f1 "$device/dahdi_spantype"`
 		do
 			found=`dev_match_conf "$devpath" "$location" "$hardware_id" "$local_spanno"`
 			if [ "$wanted" = "unmatched" ]; then
I'll have a look at this.
 
1 members found this post helpful.
Old 10-26-2021, 01:02 PM   #4468
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
inkscape has been upgraded to version 1.1.1
Attached Files
File Type: txt inkscape-1.1.1_build-diff.txt (396 Bytes, 5 views)
File Type: txt inkscape-1.1.1-info-diff.txt (595 Bytes, 5 views)
 
Old 10-26-2021, 01:05 PM   #4469
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 239Reputation: 239Reputation: 239
The most current linuxsampler-2.2.0 builds, the one in ponce's current-git, 1.7.2, stalls.
Also this needs an update of dependency libgig to version 0.4.3 (now 0.4.2)
 
Old 10-27-2021, 01:50 AM   #4470
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,335

Rep: Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930Reputation: 930
Hi , im not sure why , but avahi have bad header to call interpreter on python files...

avahi-discover

fist line -->
Quote:
#!python3
avahi-bookmarks have same issue , if try execute some of this , message say python3 no such file ... bla bla bla... but its for bad enviroment on executables from avahi.
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo



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] Error building gst1-plugins-good 1.4.1 from SBO l0rddarkf0rce Slackware 4 10-06-2014 05:58 PM
[SOLVED] Failure building nvidia-kernel Slackbuild from SBo sysfce2 Slackware 7 07-02-2011 01:10 AM
problems building fontforge from SBo gtludwig Slackware 7 05-12-2010 01:52 PM
Pls help me take my 1st step! verysoon Fedora - Installation 2 12-12-2005 07:49 AM

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

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