SBo scripts not building on current (read 1st post, pls)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
brobr, that is a segfault when running vlc-cache-gen from the build tree. At that point, all of vlc has already been compiled successfully.
Can you try if this works for you? https://www.linuxquestions.org/quest...0/#post5545357
brobr, that is a segfault when running vlc-cache-gen from the build tree. At that point, all of vlc has already been compiled successfully.
Can you try if this works for you? https://www.linuxquestions.org/quest...0/#post5545357
Thanks for the link, Erik. Adding that configuration option (--enable-kwallet=no) did not improve the outcome (which is maybe not surprising as I have no KDE on my system). Also vlc-3.0.2 compilation gave the same error, and trying the gdb commands used in that thread to find the offending plugin did not point to anything wrong. So possibly something in the (fairly) recent updates on my system was not gelling with vlc-compilation. Required stuff was maybe not fully available yet and bingo: logging out of the terminal and starting a new root/sbopkg session worked to compile vlc-3.0.3 ;-) Excuses for the false alarm....
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
In file included from main/movie.c:51:0:
include/physfsrwops.h: At top level:
include/physfsrwops.h:47:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:47:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
^
include/physfsrwops.h:59:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:59:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
^
include/physfsrwops.h:71:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:71:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
^
include/physfsrwops.h:83:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:83:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
^
main/movie.c: In function ‘RunMovie’:
main/movie.c:389:13: error: implicit declaration of function ‘PHYSFSRWOPS_openRead’; did you mean ‘PHYSFS_openRead’? [-Werror=implicit-function-declaration]
filehndl = PHYSFSRWOPS_openRead(filename);
^~~~~~~~~~~~~~~~~~~~
PHYSFS_openRead
main/movie.c:389:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
filehndl = PHYSFSRWOPS_openRead(filename);
^
main/movie.c:394:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘InitRobotMovie’:
main/movie.c:502:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RoboFile = PHYSFSRWOPS_openRead(filename);
^
main/movie.c:506:3: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘init_subtitles’:
main/movie.c:574:2: warning: ‘PHYSFS_read’ is deprecated [-Wdeprecated-declarations]
read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size);
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
main/movie.c: In function ‘init_movie’:
main/movie.c:691:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘close_extra_robot_movie’:
main/movie.c:718:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c:722:5: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scons: *** [main/movie.o] Error 1
scons: building terminated because of errors.
I can certainly confirm this here. The latest beta builds well enough though: DXX-Rebirth v0.60 BETA 2 although I realise Beta is not suited for SBo. Some big changes in this version including D1X and D2X in the same archive so interesting times ahead for the DXXRebirth maintainer
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
In file included from main/movie.c:51:0:
include/physfsrwops.h: At top level:
include/physfsrwops.h:47:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:47:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openRead(const char *fname);
^
include/physfsrwops.h:59:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:59:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openWrite(const char *fname);
^
include/physfsrwops.h:71:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:71:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_openAppend(const char *fname);
^
include/physfsrwops.h:83:1: error: unknown type name ‘__EXPORT__’; did you mean ‘__FXSR__’?
__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
^~~~~~~~~~
__FXSR__
include/physfsrwops.h:83:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
__EXPORT__ SDL_RWops *PHYSFSRWOPS_makeRWops(PHYSFS_file *handle);
^
main/movie.c: In function ‘RunMovie’:
main/movie.c:389:13: error: implicit declaration of function ‘PHYSFSRWOPS_openRead’; did you mean ‘PHYSFS_openRead’? [-Werror=implicit-function-declaration]
filehndl = PHYSFSRWOPS_openRead(filename);
^~~~~~~~~~~~~~~~~~~~
PHYSFS_openRead
main/movie.c:389:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
filehndl = PHYSFSRWOPS_openRead(filename);
^
main/movie.c:394:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘InitRobotMovie’:
main/movie.c:502:11: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
RoboFile = PHYSFSRWOPS_openRead(filename);
^
main/movie.c:506:3: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movie <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘init_subtitles’:
main/movie.c:574:2: warning: ‘PHYSFS_read’ is deprecated [-Wdeprecated-declarations]
read_count = PHYSFS_read(ifile, subtitle_raw_data, 1, size);
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:1333:27: note: declared here
PHYSFS_DECL PHYSFS_sint64 PHYSFS_read(PHYSFS_File *handle,
^~~~~~~~~~~
main/movie.c: In function ‘init_movie’:
main/movie.c:691:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't open movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c: In function ‘close_extra_robot_movie’:
main/movie.c:718:4: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
main/movie.c:722:5: warning: ‘PHYSFS_getLastError’ is deprecated [-Wdeprecated-declarations]
con_printf(CON_URGENT, "Can't close movielib <%s>: %s\n", filename, PHYSFS_getLastError());
^~~~~~~~~~
In file included from main/player.h:23:0,
from main/config.h:24,
from main/movie.c:34:
/usr/include/physfs.h:654:25: note: declared here
PHYSFS_DECL const char *PHYSFS_getLastError(void) PHYSFS_DEPRECATED;
^~~~~~~~~~~~~~~~~~~
cc1: some warnings being treated as errors
scons: *** [main/movie.o] Error 1
scons: building terminated because of errors.
Quote:
Originally Posted by andrew.46
I can certainly confirm this here. The latest beta builds well enough though: DXX-Rebirth v0.60 BETA 2 although I realise Beta is not suited for SBo. Some big changes in this version including D1X and D2X in the same archive so interesting times ahead for the DXXRebirth maintainer
this is not an issue specific to current as it happens also on stable and it's due to the physfs update: please report the build failure to the d1x-rebirth/d2x-rebirth maintainer, to the physfs maintainer and on the slackbuilds-users mailing list.
this is not an issue specific to current as it happens also on stable and it's due to the physfs update: please report the build failure to the d1x-rebirth/d2x-rebirth maintainer, to the physfs maintainer and on the slackbuilds-users mailing list.
Fair enough. Our Debian friends have patched the release version of D2x-Rebirth to allow compilation to succeed against the newer physyfs, the patch being here.... I have a friendly interest in seeing D2x-Rebirth succeed as it was originally maintained by myself .
I have only tested this on -current atm where it works well enough and not yet notified the relevant current maintainer, SBo etc...
Fair enough. Our Debian friends have patched the release version of D2x-Rebirth to allow compilation to succeed against the newer physyfs, the patch being here.... I have a friendly interest in seeing D2x-Rebirth succeed as it was originally maintained by myself .
I have only tested this on -current atm where it works well enough and not yet notified the relevant current maintainer, SBo etc...
I just tested it also on stable and pushed the patch on my branch on SBo: the maintainer should be ok with it, but please still try to ping him about it...
I just tested it also on stable and pushed the patch on my branch on SBo: the maintainer should be ok with it, but please still try to ping him about it...
Of course. Mind you having had a closer look at d2x-rebirth it would appear that a stable version of the game is going to be d2x-rebirth 0.6.0 and PhysFS 3.02. Both releases will probably not be here quickly. But now back down the mines.......
Anyhow has had any luck building aircrack-ng for -current? I'm getting the following error:
Code:
crypto.c: In function ‘calc_mic’:
crypto.c:291:11: error: storage size of ‘ctx’ isn’t known
HMAC_CTX ctx;
^~~
crypto.c:317:2: warning: implicit declaration of function ‘HMAC_CTX_init’; did you mean ‘HMAC_CTX_new’? [-Wimplicit-function-declaration]
HMAC_CTX_init(&ctx);
^~~~~~~~~~~~~
HMAC_CTX_new
crypto.c:327:2: warning: implicit declaration of function ‘HMAC_CTX_cleanup’; did you mean ‘HMAC_CTX_get_md’? [-Wimplicit-function-declaration]
HMAC_CTX_cleanup(&ctx);
^~~~~~~~~~~~~~~~
HMAC_CTX_get_md
gcc -g -W -Wall -O3 -msse2 -pthread -D_FILE_OFFSET_BITS=64 -D_REVISION=0 -DHAVE_SQLITE -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3 -fstack-protector-strong -Wno-unused-but-set-variable -Wno-array-bounds -Iinclude -c -o aircrack-ptw-lib.o aircrack-ptw-lib.c
crypto.c:291:11: warning: unused variable ‘ctx’ [-Wunused-variable]
HMAC_CTX ctx;
^~~
crypto.c: In function ‘calc_tkip_mic_key’:
crypto.c:932:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if((ptr-message) % 4 > 0)
^~
crypto.c:933:49: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
memcpy(ptr, ZERO, 4-((ptr-message)%4)); ptr+=4-((ptr-message)%4);
^~~
make[1]: *** [<builtin>: crypto.o] Error 1
make[1]: *** Waiting for unfinished jobs....
aircrack-ng.c: In function ‘main’:
aircrack-ng.c:6280:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
if( opt.l33t )
^~
aircrack-ng.c:6282:6: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
printf( "\33[2J" );
^~~~~~
make[1]: Leaving directory '/tmp/SBo/aircrack-ng-1.2-rc4/src'
make: *** [Makefile:25: all] Error 2
I'm guessing that this is due to the newer version of openssl. I tried using the same suggestion as given in the gnome-vfs post in this thread, but it did not work. Been looking for patches, but none of the ones that I have found have made any difference unfortunately.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.