LinuxQuestions.org
Review your favorite Linux distribution.
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-19-2016, 01:03 AM   #331
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Original Poster
Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139

Code:
diff -Naur freeorion.orig/freeorion.SlackBuild freeorion/freeorion.SlackBuild
--- freeorion.orig/freeorion.SlackBuild 2016-10-10 18:44:57.502297821 +0200
+++ freeorion/freeorion.SlackBuild      2016-10-19 07:54:12.410220093 +0200
@@ -24,7 +24,7 @@
 
 SRCNAM=FreeOrion
 PRGNAM=${SRCNAM,,}
-SRCVER=${SRCVER:-v0.4.5_2015-09-01.f203162}
+SRCVER=${SRCVER:-v0.4.6_2016-09-16.49f9123}
 VERSION=$(echo $SRCVER | cut -c2-6)
 BUILD=${BUILD:-1}
 TAG=${TAG:-_SBo}
@@ -83,7 +83,7 @@
     -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
     -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
     -DCMAKE_INSTALL_PREFIX=/usr \
-    -DLIB_SUFFIX=${LIBDIRSUFFIX} \
+    -DCMAKE_INSTALL_LIBDIR=lib${LIBDIRSUFFIX} \
     -DCMAKE_BUILD_TYPE=Release ..
   make
   make install DESTDIR=$PKG
@@ -93,7 +93,7 @@
   | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
 
 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a README.md changelog.txt $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a README.md $PKG/usr/doc/$PRGNAM-$VERSION
 cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
 
 mkdir -p $PKG/install
diff -Naur freeorion.orig/freeorion.info freeorion/freeorion.info
--- freeorion.orig/freeorion.info       2016-10-10 18:44:57.503297948 +0200
+++ freeorion/freeorion.info    2016-10-19 07:44:12.722002804 +0200
@@ -1,8 +1,8 @@
 PRGNAM="freeorion"
-VERSION="0.4.5"
+VERSION="0.4.6"
 HOMEPAGE="http://www.freeorion.org"
-DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.5/FreeOrion_v0.4.5_2015-09-01.f203162_Source.tar.gz"
-MD5SUM="706b8e9ab2ee29575a927e6f1c772d61"
+DOWNLOAD="https://github.com/freeorion/freeorion/releases/download/v0.4.6/FreeOrion_v0.4.6_2016-09-16.49f9123_Source.tar.gz"
+MD5SUM="2927818ca87834ec7cc6e77b11619186"
 DOWNLOAD_x86_64=""
 MD5SUM_x86_64=""
 REQUIRES="SDL2 OpenAL"
try applying this diff, that version-bump it to the latest and applies also a couple of little fixes.
 
1 members found this post helpful.
Old 10-19-2016, 11:10 AM   #332
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 842

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
Quote:
Originally Posted by ponce View Post
try applying this diff, that version-bump it to the latest and applies also a couple of little fixes.
Hi Ponce, now the software compiled without any problems and I was able to spin it for a quick run, which was also trouble-free. So I would say that your changes solved the problem. Thank you!!
 
Old 10-19-2016, 02:16 PM   #333
sombragris
Member
 
Registered: Jul 2004
Location: Asuncion, Paraguay, South America
Distribution: Slackware
Posts: 842

Rep: Reputation: 383Reputation: 383Reputation: 383Reputation: 383
This might be off-topic, but VeraCrypt has issued a priority release (1.19), and its compilation fails under current. After editing the corresponding SlackBuild, here is the relevant output:

Code:
Compiling cpu.c
In file included from ../Crypto/cpu.h:154:0,
                 from ../Crypto/cpu.c:3:
../Crypto/cpu.c: In function ‘TryAESNI’:
/usr/lib64/gcc/x86_64-slackware-linux/5.4.0/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline ‘_mm_aesenc_si128’: target specific option mismatch
 _mm_aesenc_si128 (__m128i __X, __m128i __Y)
 ^
../Crypto/cpu.c:232:14: error: called from here
   ciphered = _mm_aesenc_si128(block, subkey);
              ^
In file included from ../Crypto/cpu.h:154:0,
                 from ../Crypto/cpu.c:3:
/usr/lib64/gcc/x86_64-slackware-linux/5.4.0/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline ‘_mm_aesenc_si128’: target specific option mismatch
 _mm_aesenc_si128 (__m128i __X, __m128i __Y)
 ^
../Crypto/cpu.c:232:14: error: called from here
   ciphered = _mm_aesenc_si128(block, subkey);
              ^
/tmp/SBo/VeraCrypt-1.19/src/Build/Include/Makefile.inc:20: recipe for target '../Crypto/cpu.o' failed
make[1]: *** [../Crypto/cpu.o] Error 1
Makefile:340: recipe for target 'all' failed
make: *** [all] Error 2
 
1 members found this post helpful.
Old 10-20-2016, 03:44 AM   #334
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by sombragris View Post
This might be off-topic, but VeraCrypt has issued a priority release (1.19), and its compilation fails under current. After editing the corresponding SlackBuild, here is the relevant output:

Code:
Compiling cpu.c
In file included from ../Crypto/cpu.h:154:0,
                 from ../Crypto/cpu.c:3:
../Crypto/cpu.c: In function ‘TryAESNI’:
/usr/lib64/gcc/x86_64-slackware-linux/5.4.0/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline ‘_mm_aesenc_si128’: target specific option mismatch
 _mm_aesenc_si128 (__m128i __X, __m128i __Y)
 ^
../Crypto/cpu.c:232:14: error: called from here
   ciphered = _mm_aesenc_si128(block, subkey);
              ^
In file included from ../Crypto/cpu.h:154:0,
                 from ../Crypto/cpu.c:3:
/usr/lib64/gcc/x86_64-slackware-linux/5.4.0/include/wmmintrin.h:61:1: error: inlining failed in call to always_inline ‘_mm_aesenc_si128’: target specific option mismatch
 _mm_aesenc_si128 (__m128i __X, __m128i __Y)
 ^
../Crypto/cpu.c:232:14: error: called from here
   ciphered = _mm_aesenc_si128(block, subkey);
              ^
/tmp/SBo/VeraCrypt-1.19/src/Build/Include/Makefile.inc:20: recipe for target '../Crypto/cpu.o' failed
make[1]: *** [../Crypto/cpu.o] Error 1
Makefile:340: recipe for target 'all' failed
make: *** [all] Error 2
Yeah I am stumped by this too. I do not have a working build yet and it frustrates me.
 
1 members found this post helpful.
Old 10-20-2016, 03:56 AM   #335
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Original Poster
Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139
https://veracrypt.codeplex.com/workitem/567 ?

Last edited by ponce; 10-20-2016 at 03:59 AM.
 
Old 10-20-2016, 04:03 AM   #336
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
What about this patch?
https://git.archlinux.org/svntogit/c...ages/veracrypt

Last edited by willysr; 10-20-2016 at 04:04 AM.
 
Old 10-20-2016, 04:32 AM   #337
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Tested in current 32 bit only
https://slackbuilds.org/cgit/slackbu...racrypt-review

Last edited by willysr; 10-20-2016 at 04:34 AM.
 
Old 10-20-2016, 07:03 AM   #338
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104Reputation: 8104
Quote:
Originally Posted by willysr View Post
I apply that patch already even in previous versions.

Quote:
Originally Posted by willysr View Post
Yeah but what about 64bit?
 
Old 10-20-2016, 07:32 AM   #339
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Quote:
Originally Posted by Alien Bob View Post
Yeah but what about 64bit?
i haven't tested it yet
will test it on VM soon
 
Old 10-20-2016, 01:21 PM   #340
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,060

Original Poster
Rep: Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139Reputation: 4139
I've seen Thomas has chosen to force -maes in the flags

https://slackbuilds.org/cgit/slackbu...592f06a891e8de

but reading the bug report I was asking myself if a patch like this could be more appropriate...
Code:
diff -Naur VeraCrypt-master-8220ae94c64722fbe39e92dfcfce84f8da96a91e.orig/src/Makefile VeraCrypt-master-8220ae94c64722fbe39e92dfcfce84f8da96a91e/src/Makefile
--- VeraCrypt-master-8220ae94c64722fbe39e92dfcfce84f8da96a91e.orig/src/Makefile 2016-10-17 18:32:59.000000000 +0200
+++ VeraCrypt-master-8220ae94c64722fbe39e92dfcfce84f8da96a91e/src/Makefile      2016-10-20 20:11:02.911143132 +0200
@@ -131,10 +131,7 @@
 export CPU_ARCH ?= unknown
 export SIMD_SUPPORTED := 0
 
-ARCH = $(shell uname -p)
-ifeq "$(ARCH)" "unknown"
-       ARCH = $(shell uname -m)
-endif
+ARCH = $(shell uname -m)
 
 ifneq (,$(filter i386 i486 i586 i686 x86,$(ARCH)))
        CPU_ARCH = x86

Last edited by ponce; 10-20-2016 at 01:25 PM.
 
1 members found this post helpful.
Old 10-27-2016, 04:09 PM   #341
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,296

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
alure , fails to build if system have fluidsynth

i test that patch from archlinux , and solve the problem.

https://git.archlinux.org/svntogit/c...packages/alure
 
Old 10-27-2016, 05:16 PM   #342
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Quote:
Originally Posted by USUARIONUEVO View Post
alure , fails to build if system have fluidsynth

i test that patch from archlinux , and solve the problem.

https://git.archlinux.org/svntogit/c...packages/alure
Fixed in my branch

Thanks for reporting
 
Old 10-27-2016, 08:12 PM   #343
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,296

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
Other problem detected.

gambas3 , can build with qt4 & qt5 , if system have qt5 (from sbo) , version 3.8.4 fails to build , errors arround Qt5core.

gambas --> 3.9.1 , builds fine.

slackbuild no need more modifications, only updated version of gambas , to 3.9.1 ..then builds and run fine.

Thanks!
 
Old 10-28-2016, 11:23 AM   #344
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,650

Rep: Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770Reputation: 1770
Quote:
Originally Posted by USUARIONUEVO View Post
Other problem detected.

gambas3 , can build with qt4 & qt5 , if system have qt5 (from sbo) , version 3.8.4 fails to build , errors arround Qt5core.

gambas --> 3.9.1 , builds fine.

slackbuild no need more modifications, only updated version of gambas , to 3.9.1 ..then builds and run fine.

Thanks!
It's fixed in my branch without needing the update to 3.9.x
 
Old 10-28-2016, 04:20 PM   #345
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 2,296

Rep: Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916Reputation: 916
sparsehash --> link broken
 
  


Reply

Tags
current, sbo, sbopkg, slackrepo


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 05:13 AM.

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