LinuxQuestions.org
Help answer threads with 0 replies.
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 06-02-2018, 09:08 AM   #1216
hadack
LQ Newbie
 
Registered: Jun 2006
Posts: 25

Rep: Reputation: 8

Quote:
Originally Posted by ponce View Post
have you tried the latest version of libetpan in this repository (20180425_d2b340b)?
Oh yea, haven't seen that, this fixes claws-mail for me too.
Thank you, ponce!
 
Old 06-02-2018, 12:55 PM   #1217
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
Hi, when going through the vlc-dependencies recompilation of gnome-vfs failed; it choked on a possibly openssl-1.1 related error:

Code:
gnome-vfs-ssl.c: In function ‘gnome_vfs_ssl_create_from_fd’:
gnome-vfs-ssl.c:403:38: error: dereferencing pointer to incomplete type ‘SSL {aka struct ssl_st}’
                 if (ssl->private->ssl->ctx)
                                      ^~
make[3]: *** [Makefile:896: gnome-vfs-ssl.lo] Error 1
make[3]: Leaving directory '/var/tmp/sbo/sbopkg.MVbfGZ/gnome-vfs-2.24.4/libgnomevfs'
 
Old 06-02-2018, 01:11 PM   #1218
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
add these two lines
Code:
LIBS="-L/usr/lib$LIBDIRSUFFIX/openssl-1.0" \
CPPFLAGS="-I/usr/include/openssl-1.0" \
just before this other one in gnome-vfs.SlackBuild
Code:
CFLAGS="$SLKCFLAGS" \
 
2 members found this post helpful.
Old 06-02-2018, 01:27 PM   #1219
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
Thanks, that worked fine! (Hopefully vlc compiles now...)
 
Old 06-02-2018, 02:01 PM   #1220
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
... no it did not, vlc-compilation still throws a segmentation fault, quite far in (a lot has already been prepared in the package-vlc folder):
Code:
make[3]: Entering directory '/var/tmp/sbo/sbopkg.yznQwa/vlc-3.0.3'
 /bin/mkdir -p '/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/bin'
 /bin/ginstall -c cvlc rvlc qvlc svlc nvlc '/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/bin'
make  install-exec-hook
make[4]: Entering directory '/var/tmp/sbo/sbopkg.yznQwa/vlc-3.0.3'
if test "x86_64-slackware-linux-gnu" = "x86_64-slackware-linux-gnu"; then \
	PATH="/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/bin:$PATH" \
	LD_LIBRARY_PATH="/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64:$LD_LIBRARY_PATH" \
	"/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64/vlc/vlc-cache-gen" \
		 "/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64/vlc/plugins" ; \
else \
	echo "Cross-compilation: cache generation skipped!" ; \
fi
/bin/sh: line 7: 22143 Segmentation fault      PATH="/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/bin:$PATH" LD_LIBRARY_PATH="/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64:$LD_LIBRARY_PATH" "/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64/vlc/vlc-cache-gen" "/var/tmp/sbo/sbopkg.yznQwa/package-vlc/usr/lib64/vlc/plugins"
make[4]: *** [Makefile:2185: install-exec-hook] Error 139
make[4]: Leaving directory '/var/tmp/sbo/sbopkg.yznQwa/vlc-3.0.3'
 
Old 06-02-2018, 02:18 PM   #1221
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
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
 
1 members found this post helpful.
Old 06-02-2018, 06:36 PM   #1222
brobr
Member
 
Registered: Oct 2003
Location: uk
Distribution: Slackware
Posts: 974

Rep: Reputation: 238Reputation: 238Reputation: 238
Quote:
Originally Posted by Alien Bob View Post
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....

Last edited by brobr; 06-02-2018 at 06:37 PM.
 
Old 06-03-2018, 08:13 PM   #1223
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 855

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
d2x-rebirth fails to build in movie.c:

Code:
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.
 
1 members found this post helpful.
Old 06-04-2018, 04:26 AM   #1224
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by sombragris View Post
d2x-rebirth fails to build in movie.c:
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

Last edited by andrew.46; 06-04-2018 at 04:29 AM.
 
Old 06-04-2018, 05:10 AM   #1225
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by sombragris View Post
d2x-rebirth fails to build in movie.c:

Code:
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 View Post
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.
 
2 members found this post helpful.
Old 06-05-2018, 02:11 AM   #1226
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by ponce View Post
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...
 
1 members found this post helpful.
Old 06-05-2018, 02:37 AM   #1227
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
Quote:
Originally Posted by andrew.46 View Post
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...

https://git.slackbuilds.org/slackbui.../ponce/updates

Last edited by ponce; 06-05-2018 at 02:39 AM.
 
Old 06-05-2018, 04:29 AM   #1228
andrew.46
Senior Member
 
Registered: Oct 2007
Distribution: Slackware
Posts: 1,365

Rep: Reputation: 493Reputation: 493Reputation: 493Reputation: 493Reputation: 493
Quote:
Originally Posted by ponce View Post
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.......
 
Old 06-11-2018, 10:24 AM   #1229
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
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.
 
Old 06-11-2018, 10:39 AM   #1230
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,097

Original Poster
Rep: Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174Reputation: 4174
you can version-bump it to 1.2 and that should build

Code:
diff -Naur aircrack-ng.orig/aircrack-ng.SlackBuild aircrack-ng/aircrack-ng.SlackBuild
--- aircrack-ng.orig/aircrack-ng.SlackBuild     2018-06-10 19:43:52.649273000 +0200
+++ aircrack-ng/aircrack-ng.SlackBuild  2018-06-11 17:33:06.891273000 +0200
@@ -3,7 +3,7 @@
 # Written by Yalla-One <yallaone@gmail.com>
 
 PRGNAM=aircrack-ng
-VERSION=${VERSION:-1.2_beta1}
+VERSION=${VERSION:-1.2}
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
 
@@ -48,6 +48,8 @@
  \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
  -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
 
+./autogen.sh
+
 CFLAGS="$SLKCFLAGS" \
 CXXFLAGS="$SLKCFLAGS" \
 make ${OPT}
diff -Naur aircrack-ng.orig/aircrack-ng.info aircrack-ng/aircrack-ng.info
--- aircrack-ng.orig/aircrack-ng.info   2018-06-10 19:43:52.649273000 +0200
+++ aircrack-ng/aircrack-ng.info        2018-06-11 17:32:21.444273000 +0200
@@ -1,8 +1,8 @@
 PRGNAM="aircrack-ng"
-VERSION="1.2_beta1"
+VERSION="1.2"
 HOMEPAGE="http://www.aircrack-ng.org"
-DOWNLOAD="http://download.aircrack-ng.org/aircrack-ng-1.2-beta1.tar.gz"
-MD5SUM="f1cc7e19563bd64964f3584048a1031b"
+DOWNLOAD="https://download.aircrack-ng.org/aircrack-ng-1.2.tar.gz"
+MD5SUM="bb11ec14e1fe505d8d0d51cee0c54df9"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES=""
 
1 members found this post helpful.
  


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 01:38 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