LinuxQuestions.org
Visit Jeremy's Blog.
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 08-12-2019, 01:54 AM   #1951
SCerovec
Senior Member
 
Registered: Oct 2006
Location: Cp6uja
Distribution: Slackware on x86 and arm
Posts: 1,579
Blog Entries: 2

Rep: Reputation: 379Reputation: 379Reputation: 379Reputation: 379

Quote:
Originally Posted by ponce View Post
I don't know what's happening there (try to post the full build log) but here it seems to build fine.
Code:
# sboinstall xa

xa (Andre Fachat's open-source 6502 cross assembler)

xa is a high-speed, two-pass, portable cross-assembler. It understands
mnemonics and generates code for NMOS 6502s (such as 6502A, 6504, 6507,
6510, 7501, 8500, 8501, 8502...), CMOS 6502s (65C02 and Rockwell R65C02)
and the 65816.

This build includes xa's companion piece, the disassembler dxa. dxa is
considered alpha-quality software, but is included because it's still
very useful. It produces output that can be reassembled with xa, but
doesn't support the 65816 CPU.

Proceed with xa? [y] 
xa added to install queue.

Install queue: xa

Are you sure you wish to continue? [y] 
xa-2.3.8/
xa-2.3.8/COPYING
xa-2.3.8/ChangeLog
xa-2.3.8/Makefile
xa-2.3.8/README.1st
xa-2.3.8/TODO
xa-2.3.8/doc/
xa-2.3.8/doc/README
xa-2.3.8/doc/fileformat.txt
xa-2.3.8/doc/xa-de.log
xa-2.3.8/doc/xa-de.txt
xa-2.3.8/doc/xa.html
xa-2.3.8/doc/xa.log
xa-2.3.8/doc/xa.txt
xa-2.3.8/doc/xaannounce
xa-2.3.8/examples/
xa-2.3.8/examples/a.o65
xa-2.3.8/examples/c64def.def
xa-2.3.8/examples/pack.doc
xa-2.3.8/examples/pack_eng.a65
xa-2.3.8/examples/pack_ger.a65
xa-2.3.8/examples/peng.l
xa-2.3.8/loader/
xa-2.3.8/loader/Makefile
xa-2.3.8/loader/README
xa-2.3.8/loader/ex2
xa-2.3.8/loader/example2
xa-2.3.8/loader/file.def
xa-2.3.8/loader/loader.a65
xa-2.3.8/loader/test.a
xa-2.3.8/loader/test2.a
xa-2.3.8/loader/test3.a
xa-2.3.8/man/
xa-2.3.8/man/README
xa-2.3.8/man/file65.1
xa-2.3.8/man/ldo65.1
xa-2.3.8/man/printcbm.1
xa-2.3.8/man/reloc65.1
xa-2.3.8/man/uncpk.1
xa-2.3.8/man/xa.1
xa-2.3.8/misc/
xa-2.3.8/misc/Makefile
xa-2.3.8/misc/file65.c
xa-2.3.8/misc/ldo65.c
xa-2.3.8/misc/mkrom.sh
xa-2.3.8/misc/printcbm.c
xa-2.3.8/misc/reloc65.c
xa-2.3.8/misc/uncpk.c
xa-2.3.8/misc/version.h
xa-2.3.8/src/
xa-2.3.8/src/Makefile
xa-2.3.8/src/version.h
xa-2.3.8/src/xa.c
xa-2.3.8/src/xa.h
xa-2.3.8/src/xaa.c
xa-2.3.8/src/xaa.h
xa-2.3.8/src/xacharset.c
xa-2.3.8/src/xacharset.h
xa-2.3.8/src/xad.h
xa-2.3.8/src/xah.h
xa-2.3.8/src/xah2.h
xa-2.3.8/src/xal.c
xa-2.3.8/src/xal.h
xa-2.3.8/src/xam.c
xa-2.3.8/src/xam.h
xa-2.3.8/src/xao.c
xa-2.3.8/src/xao.h
xa-2.3.8/src/xap.c
xa-2.3.8/src/xap.h
xa-2.3.8/src/xar.c
xa-2.3.8/src/xar.h
xa-2.3.8/src/xar2.c
xa-2.3.8/src/xat.c
xa-2.3.8/src/xat.h
xa-2.3.8/src/xau.c
xa-2.3.8/src/xau.h
xa-2.3.8/tests/
xa-2.3.8/tests/README
xa-2.3.8/tests/adrm/
xa-2.3.8/tests/adrm/02.asm
xa-2.3.8/tests/adrm/02.ok
xa-2.3.8/tests/adrm/816.asm
xa-2.3.8/tests/adrm/816.ok
xa-2.3.8/tests/adrm/Makefile
xa-2.3.8/tests/adrm/bip.inc
xa-2.3.8/tests/adrm/c02.asm
xa-2.3.8/tests/adrm/c02.ok
xa-2.3.8/tests/adrm/zab.asm
xa-2.3.8/tests/adrm/zab.ok
xa-2.3.8/tests/adrm/zpa.asm
xa-2.3.8/tests/adrm/zpa.ok
xa-2.3.8/tests/binclude/
xa-2.3.8/tests/binclude/Makefile
xa-2.3.8/tests/binclude/README.1st
xa-2.3.8/tests/binclude/sd/
xa-2.3.8/tests/binclude/sd/README.2nd
xa-2.3.8/tests/binclude/test.asm
xa-2.3.8/tests/binclude/test.ok
xa-2.3.8/tests/binclude/test2.asm
xa-2.3.8/tests/binclude/test2.ok
xa-2.3.8/tests/binclude/test3.asm
xa-2.3.8/tests/branch/
xa-2.3.8/tests/branch/Makefile
xa-2.3.8/tests/branch/bir.ok
xa-2.3.8/tests/branch/bir.s
xa-2.3.8/tests/branch/bor.s
xa-2.3.8/tests/chardelimiter/
xa-2.3.8/tests/chardelimiter/ok
xa-2.3.8/tests/chardelimiter/test.s
xa-2.3.8/tests/charset/
xa-2.3.8/tests/charset/Makefile
xa-2.3.8/tests/charset/README.1st
xa-2.3.8/tests/charset/high.o
xa-2.3.8/tests/charset/no-charset.o
xa-2.3.8/tests/charset/petscii.o
xa-2.3.8/tests/charset/petscreen.o
xa-2.3.8/tests/charset/test.s
xa-2.3.8/tests/charset/test2.s
xa-2.3.8/tests/chppch/
xa-2.3.8/tests/chppch/Makefile
xa-2.3.8/tests/chppch/ok.out
xa-2.3.8/tests/chppch/qwerty.h
xa-2.3.8/tests/chppch/test.c
xa-2.3.8/tests/comcom/
xa-2.3.8/tests/comcom/Makefile
xa-2.3.8/tests/comcom/comcom.asm
xa-2.3.8/tests/comcom/comcom.ok
xa-2.3.8/tests/comcom/comcomm.ok
xa-2.3.8/tests/comcom/scomcom.asm
xa-2.3.8/tests/comcom/scomcomm.ok
xa-2.3.8/tests/cpktest/
xa-2.3.8/tests/cpktest/Makefile
xa-2.3.8/tests/cpktest/c64def.def
xa-2.3.8/tests/cpktest/de.ok
xa-2.3.8/tests/cpktest/deutsch.l
xa-2.3.8/tests/cpktest/eng.ok
xa-2.3.8/tests/cpktest/english.l
xa-2.3.8/tests/cpktest/pack_eng.a65
xa-2.3.8/tests/cpktest/pack_ger.a65
xa-2.3.8/tests/cpp/
xa-2.3.8/tests/cpp/Makefile
xa-2.3.8/tests/cpp/expected.o
xa-2.3.8/tests/cpp/over.c
xa-2.3.8/tests/cpp/over.h
xa-2.3.8/tests/dos51/
xa-2.3.8/tests/dos51/Makefile
xa-2.3.8/tests/dos51/dos51.inc
xa-2.3.8/tests/dos51/ok
xa-2.3.8/tests/dos51/test.s
xa-2.3.8/tests/fordef/
xa-2.3.8/tests/fordef/Makefile
xa-2.3.8/tests/fordef/ok.out
xa-2.3.8/tests/fordef/test.asm
xa-2.3.8/tests/fordef/test1.ok
xa-2.3.8/tests/fordef/test2.asm
xa-2.3.8/tests/fordef/test3.asm
xa-2.3.8/tests/fordef/test3.ok
xa-2.3.8/tests/harness
xa-2.3.8/tests/hextool
xa-2.3.8/tests/incerr/
xa-2.3.8/tests/incerr/Makefile
xa-2.3.8/tests/incerr/test.6502
xa-2.3.8/tests/incerr/test.s
xa-2.3.8/tests/ldoreloc/
xa-2.3.8/tests/ldoreloc/1.s
xa-2.3.8/tests/ldoreloc/2.s
xa-2.3.8/tests/ldoreloc/Makefile
xa-2.3.8/tests/ldoreloc/t.ok
xa-2.3.8/tests/ldoreloc/xatestanalysis.txt
xa-2.3.8/tests/masmcom/
xa-2.3.8/tests/masmcom/Makefile
xa-2.3.8/tests/masmcom/okmasm
xa-2.3.8/tests/masmcom/oknomasm
xa-2.3.8/tests/masmcom/test.s
xa-2.3.8/tests/mvnmvp/
xa-2.3.8/tests/mvnmvp/Makefile
xa-2.3.8/tests/mvnmvp/ok
xa-2.3.8/tests/mvnmvp/test.s
xa-2.3.8/tests/nonl/
xa-2.3.8/tests/nonl/ok
xa-2.3.8/tests/nonl/test.s
xa-2.3.8/tests/nonl/test2.asm
xa-2.3.8/tests/op816/
xa-2.3.8/tests/op816/Makefile
xa-2.3.8/tests/op816/ok
xa-2.3.8/tests/op816/test.s
xa-2.3.8/tests/openpp/
xa-2.3.8/tests/openpp/Makefile
xa-2.3.8/tests/openpp/ok
xa-2.3.8/tests/openpp/test.inc
xa-2.3.8/tests/openpp/test.s
xa-2.3.8/tests/quotch/
xa-2.3.8/tests/quotch/ok
xa-2.3.8/tests/quotch/test.s
xa-2.3.8/tests/recmac/
xa-2.3.8/tests/recmac/Makefile
xa-2.3.8/tests/recmac/cpu.inc
xa-2.3.8/tests/recmac/test.asm
xa-2.3.8/tests/recmac/test.ok
xa-2.3.8/tests/recmac/testi.asm
xa-2.3.8/tests/recmac/testi.ok
xa-2.3.8/tests/relocundef/
xa-2.3.8/tests/relocundef/Makefile
xa-2.3.8/tests/relocundef/a.ok
xa-2.3.8/tests/relocundef/b.ok
xa-2.3.8/tests/relocundef/test1.a65
xa-2.3.8/tests/relocundef/test2.a65
xa-2.3.8/vstudio/
xa-2.3.8/vstudio/00readme.txt
xa-2.3.8/vstudio/file65.vcproj
xa-2.3.8/vstudio/ldo65.vcproj
xa-2.3.8/vstudio/printcbm.vcproj
xa-2.3.8/vstudio/uncpk.vcproj
xa-2.3.8/vstudio/vstudio.sln
xa-2.3.8/vstudio/xa.vcproj
rm -f xa
(cd src && LD=gcc CC="gcc -O2 -fPIC" make)
make[1]: Entering directory '/tmp/SBo/xa-2.3.8/src'
gcc -O2 -fPIC    -c -o xa.o xa.c
gcc -O2 -fPIC    -c -o xaa.o xaa.c
gcc -O2 -fPIC    -c -o xal.o xal.c
gcc -O2 -fPIC    -c -o xap.o xap.c
gcc -O2 -fPIC    -c -o xat.o xat.c
gcc -O2 -fPIC    -c -o xar.o xar.c
gcc -O2 -fPIC    -c -o xar2.o xar2.c
gcc -O2 -fPIC    -c -o xao.o xao.c
gcc -O2 -fPIC    -c -o xau.o xau.c
gcc -O2 -fPIC    -c -o xam.o xam.c
gcc -O2 -fPIC    -c -o xacharset.o xacharset.c
gcc -o ../xa xa.o xaa.o xal.o xap.o xat.o xar.o xar2.o xao.o xau.o xam.o xacharset.o 
/usr/bin/ld: cannot find /usr/lib64/libc_nonshared.a
collect2: error: ld returned 1 exit status
make[1]: *** [Makefile:11: xa] Error 1
make[1]: Leaving directory '/tmp/SBo/xa-2.3.8/src'
make: *** [Makefile:35: xa] Error 2
Failures:
  xa: xa.SlackBuild return non-zero
by sbotools and set to 14.2 SBo repo
 
Old 08-12-2019, 02:05 AM   #1952
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
note that this topic is dedicated to packages not building on current, so this report shouldn't have been posted here but on the slackbuilds-users mailing list.

BTW I tried to build xa on 14.2 and it went fine: the error you got seems related to a missing file in your installation, libc_nonshared.a, that I have here on my slackware64-14.2 full and updated installation as part of the glibc-2.23-x86_64-4_slack14.2 package.

Last edited by ponce; 08-12-2019 at 06:56 AM.
 
1 members found this post helpful.
Old 08-12-2019, 09:59 PM   #1953
USUARIONUEVO
Senior Member
 
Registered: Apr 2015
Posts: 1,203

Rep: Reputation: 381Reputation: 381Reputation: 381Reputation: 381
Hi , after last networkmanager update , geoclue not build.

we need remove this from slackbuild

Quote:
--enable-networkmanager=yes
 
Old 08-13-2019, 03:20 AM   #1954
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by USUARIONUEVO View Post
Hi , after last networkmanager update , geoclue not build.

we need remove this from slackbuild
yes, thanks for reporting!
 
Old 08-17-2019, 05:27 PM   #1955
Dan Suson
LQ Newbie
 
Registered: Aug 2007
Location: Valparaiso, IN
Distribution: Slackware
Posts: 26

Rep: Reputation: 1
SimGear-2018.3.2 fails to build on Slackware current

Quote:
Originally Posted by ponce View Post
I'm not really sure what you mean with this "require" because I just tried building the FlightGear version in the repository and all of its dependencies (so with OpenSceneGraph-3.5.5) on 14.2 and it went fine...
what I see on current is compilation breaking because of the newer boost
Code:
[ 45%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/structure/SGPerfMon.cxx.o
[ 46%] Building CXX object simgear/CMakeFiles/SimGearCore.dir/structure/StringTable.cxx.o
In file included from /tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalContext.cxx:20:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: error: ‘enable_if’ in namespace ‘boost’ does not name a template type
       typename boost::enable_if< boost::is_function<Sig>,
                       ^~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: note: suggested alternative: ‘enable_if_’
       typename boost::enable_if< boost::is_function<Sig>,
                       ^~~~~~~~~
                       enable_if_
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:32: error: expected unqualified-id before ‘<’ token
       typename boost::enable_if< boost::is_function<Sig>,
                                ^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: error: ‘enable_if_c’ in namespace ‘boost’ does not name a template type
                     typename boost::enable_if_c< is_const || !is_other_const,
                                     ^~~~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: note: suggested alternative: ‘enable_if_t’
                     typename boost::enable_if_c< is_const || !is_other_const,
                                     ^~~~~~~~~~~
                                     enable_if_t
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:48: error: expected ‘,’ or ‘...’ before ‘<’ token
                     typename boost::enable_if_c< is_const || !is_other_const,
                                                ^
In file included from /tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.cxx:19:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: error: ‘enable_if’ in namespace ‘boost’ does not name a template type
       typename boost::enable_if< boost::is_function<Sig>,
                       ^~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:23: note: suggested alternative: ‘enable_if_’
       typename boost::enable_if< boost::is_function<Sig>,
                       ^~~~~~~~~
                       enable_if_
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:123:32: error: expected unqualified-id before ‘<’ token
       typename boost::enable_if< boost::is_function<Sig>,
                                ^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: error: ‘enable_if_c’ in namespace ‘boost’ does not name a template type
                     typename boost::enable_if_c< is_const || !is_other_const,
                                     ^~~~~~~~~~~
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:37: note: suggested alternative: ‘enable_if_t’
                     typename boost::enable_if_c< is_const || !is_other_const,
                                     ^~~~~~~~~~~
                                     enable_if_t
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:240:48: error: expected ‘,’ or ‘...’ before ‘<’ token
                     typename boost::enable_if_c< is_const || !is_other_const,
                                                ^
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx: In function ‘simgear::Map<std::__cxx11::basic_string<char>, Value> from_nasal_helper(naContext, naRef, const simgear::Map<std::__cxx11::basic_string<char>, Value>*)’:
/tmp/sbopkg.Inv3ur/simgear-2018.2.2/simgear/nasal/cppbind/NasalHash.hxx:290:57: error: no match for ‘operator!=’ (operand types are ‘nasal::Hash::const_iterator’ {aka ‘nasal::Hash::Iterator<true>’} and ‘nasal::Hash::iterator’ {aka ‘nasal::Hash::Iterator<false>’})
   for(nasal::Hash::const_iterator it = hash.begin(); it != hash.end(); ++it)
BTW, thanks a lot for testing the new version: I'll test it too and push the updates.

EDIT: SimGear 2018.3.2 seems to have built fine with the boost patch you posted in your previous message and so FlightGear-2018.3.2 and FlightGear-data-2018.3.2 (I've used OpenSceneGraph-3.5.5).
I'm trying to build SimGear 2018.3.2 on my Slackware64-current distribution. I installed the OpenSceneGraph-3.5.5 binary tarball from https://slackware.pkgs.org/14.2/slackonly-x86_64/ (I could not get the SlackBuilds version to build from source). SimGear's configuration finds the OpenSceneGraph libraries without a problem

Quote:
-- Found osgText: /usr/lib64/libosgText.so
-- Found osgSim: /usr/lib64/libosgSim.so
-- Found osgDB: /usr/lib64/libosgDB.so
-- Found osgParticle: /usr/lib64/libosgParticle.so
-- Found osgGA: /usr/lib64/libosgGA.so
-- Found osgViewer: /usr/lib64/libosgViewer.so
-- Found osgUtil: /usr/lib64/libosgUtil.so
-- Found osg: /usr/lib64/libosg.so
-- Found OpenThreads: /usr/lib64/libOpenThreads.so
-- Found OpenSceneGraph: /usr/lib64/libosgText.so;/usr/lib64/libosgSim.so;/usr/lib64/libosgDB.so;/usr/lib64/libosgParticle.so;/usr/lib64/libosgGA.so;/usr/lib64/libosgViewer.so;/usr/lib64/libosgUtil.so;/usr/lib64/libosg.so;/usr/lib64/libOpenThreads.so (found suitable version "3.5.5", minimum required is "3.2.0")
but the build failed with the following errors:
Quote:
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::convertToLowerCase(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osg::Shader::loadShaderSourceFromFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::Registry::getRefFromObjectCache(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgUtil::RenderBin::addRenderBinPrototype(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgUtil::RenderBin*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getFilePath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::findFileInPath(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::deque<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&, osgDB::CaseSensitivity)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::findDataFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*, osgDB::CaseSensitivity)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgText::TextBase::setText(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgText::String::Encoding)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osg::Program::addBindAttribLocation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, unsigned int)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::Registry::addEntryToObjectCache(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osg::Object*, double, osgDB::Options*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgParticle::ParticleSystem::setDefaultAttributes(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, int)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readScript(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::readRefImageFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::writeImageFile(osg::Image const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::concatPaths(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::RegisterDotOsgWrapperProxy::RegisterDotOsgWrapperProxy(osg::Object*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool (*)(osg::Object&, osgDB::Input&), bool (*)(osg::Object const&, osgDB::Output&), osgDB:otOsgWrapper::ReadWriteMode)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getSimpleFileName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback:penArchive(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::ReaderWriter::ArchiveStatus, unsigned int, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgText::String::createUTF8EncodedString[abi:cxx11]() const'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readObject(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osg::StateSet::getUniform(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readShader(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgText::TextBase::setFont(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgText::TextBase::setText(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getLowerCaseFileExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readHeightField(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReaderWriter::supportsExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReaderWriter::acceptsProtocol(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::fileExists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::Registry::getReaderWriterForMimeType(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::readRefNodeFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::Registry::readImageImplementation(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::readImageFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getNameLessExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readImage(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::writeNodeFile(osg::Node const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReadFileCallback::readNode(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::Registry::getReaderWriterForExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getFileExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osg::Uniform::Uniform(osg::Uniform::Type, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osg::StateSet::setRenderBinDetails(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osg::StateSet::RenderBinMode)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::getStrippedName(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::readRefObjectFile(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgUtil::RenderBin::find_or_insert(int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReaderWriter::fileExists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, osgDB::Options const*) const'
/usr/bin/ld: ../libSimGearScene.so.2018.3.2: undefined reference to `osgDB::ReaderWriter::acceptsExtension(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) const'
collect2: error: ld returned 1 exit status
I thought it might be due to the previously mentioned problems with regards to OpenSceneGraph > 3.4.1, but I saw the post from Ponce saying he was able to build this using version 3.5.5. Any suggestions on how to fix this?
 
Old 08-18-2019, 04:40 AM   #1956
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Dan Suson View Post
I'm trying to build SimGear 2018.3.2 on my Slackware64-current distribution. I installed the OpenSceneGraph-3.5.5 binary tarball from https://slackware.pkgs.org/14.2/slackonly-x86_64/ (I could not get the SlackBuilds version to build from source). SimGear's configuration finds the OpenSceneGraph libraries without a problem
Hi Dan,

IMHO you are walking the wrong way mainly for two reasons:
- maybe it looks like the prebuilt OpenSceneGraph package built for 14.2 is working for you, but it's linked to completely different libraries, so that the package is unusable on current.
- never use packages from pkgs.org, it's a site full of ads that mixes packages from different repositories, linked to different libraries, it's the fastest way to break your system.
more, never, and I repeat, never install packages from there and then come here asking why things doesn't work: if you decide to use that repository you should ask for support to the people that maintain it.

what you need to solve, in building order, is the compilation of OpenSceneGraph on current: build that with just one make job so that you can have an higher chance of spotting the error in the last lines of the log, then paste the error here.
redirecting the build output to a file might help too
Code:
./OpenSceneGraph.SlackBuild > build.log 2>&1
 
1 members found this post helpful.
Old 08-19-2019, 06:49 PM   #1957
edps
LQ Newbie
 
Registered: Aug 2019
Posts: 4

Rep: Reputation: Disabled
Hi all, this is my first post here so...

when i'm trying to build simple-scan on -current i get this:

Code:
╭─edps@darkstar in ~ 
╰$ su -l
Senha : 
root@darkstar:~# sbopkg -k -i simple-scan
Both a queuefile and a package were found with the name "simple-scan".

Use (Q)ueuefile, (P)ackage, or (A)bort?: q

###########################################
       New queue process started on:
       seg ago 19 20:08:23 -03 2019
###########################################

+++++++++++++++++++++++++++++++++++++++++++
PRE-CHECK LOG
Using the UNSUPPORTED SBo git repository for -current
Queue Process:  Download, build, and install

simple-scan:
  GPG checks not supported for the SBo-git repository.
  Processing simple-scan 3.30.1.1-1
  Using original .info file
  Using original SlackBuild file
  No build options selected.

+++++++++++++++++++++++++++++++++++++++++++

Pre-check complete.

Do you wish to proceed based on the search results above? Packages not
found will be skipped during the process.

(P)roceed or (Q)uit?: p


Processing simple-scan

simple-scan:
Found simple-scan-3.30.1.1.tar.bz2 in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for simple-scan-3.30.1.1.tar.bz2 ... OK
Building package for simple-scan...
simple-scan-3.30.1.1/
...
..
..
.
simple-scan-3.30.1.1/src/simple-scan.vala
The Meson build system
Version: 0.51.1
Source dir: /tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1
Build dir: /tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1/build
Build type: native build
Project name: simple-scan
Project version: 3.30.1.1
C compiler for the build machine: ccache cc (gcc 9.2.0 "cc (GCC) 9.2.0")
Vala compiler for the build machine: valac (valac 0.44.7)
C compiler for the host machine: ccache cc (gcc 9.2.0 "cc (GCC) 9.2.0")
Vala compiler for the host machine: valac (valac 0.44.7)
Build machine cpu family: x86_64
Build machine cpu: x86_64
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Run-time dependency glib-2.0 found: YES 2.60.6
Run-time dependency gtk+-3.0 found: YES 3.24.10
Run-time dependency gmodule-export-2.0 found: YES 2.60.6
Run-time dependency gthread-2.0 found: YES 2.60.6
Run-time dependency zlib found: YES 1.2.11
Run-time dependency cairo found: YES 1.16.0
Run-time dependency gdk-pixbuf-2.0 found: YES 2.38.1
Run-time dependency gusb found: YES 0.2.11
Run-time dependency colord found: YES 1.3.5
Run-time dependency packagekit-glib2 found: YES 1.1.10
Run-time dependency libwebp found: YES 1.0.3
Run-time dependency libwebpmux found: YES 1.0.3
Run-time dependency sane-backends found: YES 1.0.28
Program msgfmt found: YES (/usr/bin/msgfmt)
Program itstool found: YES (/usr/bin/itstool)
Program meson_compile_gschema.py found: YES (/tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1/data/meson_compile_gschema.py)
Found pkg-config: /usr/bin/pkg-config (0.29.2)
Build targets in project: 10
Found ninja-1.9.0 at /usr/bin/ninja
ninja: Entering directory `build'
[1/19] Generating resources_h with a custom command.
[2/19] Generating resources_c with a custom command.
[3/19] Compiling C object 'src/25a6634@@simple-scan@exe/meson-generated_.._resources.c.o'.
[4/19] Compiling Vala source ../src/config.vapi ../src/app-window.vala ../src/authorize-dialog.vala ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/preferences-dialog.vala ../src/simple-scan.vala ../src/scanner.vala ../src/screensaver.vala ../src/autosave-manager.vala.
FAILED: src/25a6634@@simple-scan@exe/app-window.c src/25a6634@@simple-scan@exe/authorize-dialog.c src/25a6634@@simple-scan@exe/book.c src/25a6634@@simple-scan@exe/book-view.c src/25a6634@@simple-scan@exe/page.c src/25a6634@@simple-scan@exe/page-view.c src/25a6634@@simple-scan@exe/preferences-dialog.c src/25a6634@@simple-scan@exe/simple-scan.c src/25a6634@@simple-scan@exe/scanner.c src/25a6634@@simple-scan@exe/screensaver.c src/25a6634@@simple-scan@exe/autosave-manager.c 
valac -C --debug --debug --pkg libwebpmux --pkg libwebp --pkg packagekit-glib2 --pkg colord --pkg sane-backends --pkg gusb --pkg gdk-pixbuf-2.0 --pkg cairo --pkg zlib --pkg gtk+-3.0 --target-glib ' 2.38' --pkg glib-2.0 --color=always --directory src/25a6634@@simple-scan@exe --basedir ../src --gresources=../src/simple-scan.gresource.xml --pkg=posix --vapidir=/tmp/sbopkg.7Tyzxi/simple-scan-3.30.1.1/src -D HAVE_COLORD -D HAVE_PACKAGEKIT -D HAVE_WEBP ../src/config.vapi ../src/app-window.vala ../src/authorize-dialog.vala ../src/book.vala ../src/book-view.vala ../src/page.vala ../src/page-view.vala ../src/preferences-dialog.vala ../src/simple-scan.vala ../src/scanner.vala ../src/screensaver.vala ../src/autosave-manager.vala
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
        ThreadFunc<Error?>? write_delegate = null;
        ^^^^^^^^^^^^^^^^^^
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
        ThreadFunc<Error?>? write_delegate = null;
        ^^^^^^^^^^^^^^^^^^
../src/book.vala:207.9-207.26: warning: delegates with scope="async" must be owned
        ThreadFunc<Error?>? write_delegate = null;
        ^^^^^^^^^^^^^^^^^^
../src/simple-scan.vala:134.31-134.42: error: Argument 1: Cannot convert from `unowned GLib.List<weak ScanDevice>' to `unowned GLib.List<ScanDevice>'
        app.set_scan_devices (devices_copy, missing_driver);
                              ^^^^^^^^^^^^
Compilation failed: 1 error(s), 3 warning(s)
[5/19] Generating simple-scan.desktop_data_merge with a custom command.
[6/19] Generating simple-scan.appdata.xml_data_merge with a custom command.
ninja: build stopped: subcommand failed.
Cleaning up...

simple-scan:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:

When i update version to 3.32.2.1 script builds fine and program works too, see the complete log:

https://hastebin.com/zoranodaga.bash


how to procede?

thanks!
 
Old 08-20-2019, 12:13 AM   #1958
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by edps View Post
When i update version to 3.32.2.1 script builds fine and program works too, see the complete log:
yes, I can confirm it: I guess the updated vala needs a newer version than the one in the repository.
thanks for reporting this, it will go in the next update!
 
Old 08-20-2019, 12:01 PM   #1959
edps
LQ Newbie
 
Registered: Aug 2019
Posts: 4

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
yes, I can confirm it: I guess the updated vala needs a newer version than the one in the repository.
thanks for reporting this, it will go in the next update!
Thanks for your return, and sorry for post the same post in another place!
 
Old 08-20-2019, 12:19 PM   #1960
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by edps View Post
sorry for post the same post in another place!
?
I probably missed it...
np, BTW
 
Old Yesterday, 02:52 PM   #1961
Ramurd
Member
 
Registered: Mar 2009
Location: Rotterdam, the Netherlands
Distribution: Slackwarelinux
Posts: 693

Rep: Reputation: 110Reputation: 110
Not sure if this is the correct spot; I've had issues trying to get openjdk8 (or 7 as it is a dependency) to build due to gcc-java no longer the place to get started from.
What would be the proper way to go? Preferably a route that does not require the official jdk package from Oracle, given the changed license ... and does this keep requiring openjdk7?

Additionally, I've noticed that quite a few packages have 'six' as a dependency, but it is gone; time to remove that requirement? not sure if it has been mentioned earlier, these are a few pages to scan...
 
Old Yesterday, 03:16 PM   #1962
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Ramurd View Post
Not sure if this is the correct spot; I've had issues trying to get openjdk8 (or 7 as it is a dependency) to build due to gcc-java no longer the place to get started from.
What would be the proper way to go? Preferably a route that does not require the official jdk package from Oracle, given the changed license ... and does this keep requiring openjdk7?
regarding building openjdk on current please get in touch with the maintainer.

Quote:
Additionally, I've noticed that quite a few packages have 'six' as a dependency, but it is gone; time to remove that requirement? not sure if it has been mentioned earlier, these are a few pages to scan...
actually it's gone only from the repository, because it has been added to current as python-six.
maybe you missed the many posts in which it happened, but I already explained that I don't remove dependencies added to Slackware from the REQUIRES lines in the *.info files, just from the repository (to avoid double installations), because it will mean a gazillion more of branches to rebase on git every week beside the already =~ 500 ones and this will get maintaining this project an impossible task.
they will be removed from SBo when the next release of Slackware will be out: I'm sorry if this may be confusing, especially for any third-party tool that parses dependencies (IMHO they actually should just ignore non-existing packages, like sbopkg already does), but I really can't do it.

Last edited by ponce; Yesterday at 03:31 PM.
 
Old Yesterday, 03:30 PM   #1963
orbea
Senior Member
 
Registered: Feb 2015
Distribution: Slackware64-current
Posts: 1,711

Rep: Reputation: Disabled
Quote:
Originally Posted by ponce View Post
it will mean a gazillion more of branches to rebase on git every week beside the already =~ 500 ones and this will get maintaining this project an impossible task.
How do you even rebase =~ 500 branches each week? That number already seems impossible enough to me.
 
Old Yesterday, 03:34 PM   #1964
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 4,891

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by orbea View Post
How do you even rebase =~ 500 branches each week? That number already seems impossible enough to me.
https://i.imgur.com/bTNZXvn.gif
 
3 members found this post helpful.
  


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 01:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration