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 12-12-2019, 12:31 AM   #1
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
trying to build single package with kde.SlackBuild for plasma (AlienBob script)


I'm trying to build single package for plasma (kde5), with AlienBob kde.SlackBuild, and for some package I've no result, no package built, no errors. My system is a pure x86_64 multilib system with kde4 replaced with plasma, and every package has been installed.
Here are 2 examples of rebuilding with log results: akonadi and baloo.

I executed the following command for baloo:

./kde.SlackBuild frameworks:baloo 2>&1 | tee build-baloo-log.txt

and for akonadi:

./kde.SlackBuild applications:akonadi 2>&1 | tee build-baloo-log.txt

nota: I modified the SlackBuild with 'set -x' option to see every line of the executing script, and I don't understand the results of the logs.
Attached Files
File Type: txt build-baloo-log.txt (55.7 KB, 32 views)
File Type: txt build-akonadi-log.txt (95.2 KB, 27 views)
 
Old 12-12-2019, 04:14 AM   #2
burdi01
Member
 
Registered: Dec 2010
Location: The Netherlands
Distribution: Slackware Current64, PartedMagic, Xubuntu
Posts: 465

Rep: Reputation: 114Reputation: 114
I had a cursory look at the baloo log -- without even looking at the build script itself. It looks like a table of names is scanned -- e.g. at line 1477 and following I see:
Code:
+ '[' '!' -z baloo ']'
+ '[' baloo = khtml ']'
+ continue
So I searched for "baloo = baloo" and found at line 1307:
Code:
+ '[' '!' -z baloo ']'
+ '[' baloo = baloo5 ']'
+ continue
So what results does building with baloo5 give?

Last edited by burdi01; 12-12-2019 at 04:18 AM.
 
Old 12-12-2019, 11:06 AM   #3
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
Indeed some packages are named a bit differently than their source tarball suggests. This was meant to prevent clashes with packages that are in Slackware-current itself.
In the "pkgsrc" directory you will find all the package names for which the source tarball has a different name. The actual source is inside the file:
Code:
$ cat pkgsrc/baloo5
frameworks/baloo
And therefore compiling the baloo source results in a baloo5 package, as follows:
Code:
# ./kde.SlackBuild frameworks:baloo5

Last edited by Alien Bob; 12-12-2019 at 11:07 AM.
 
Old 12-12-2019, 12:35 PM   #4
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
ok for baloo5, but for akonadi:

./kde.SlackBuild applications:akonadi

gives nothing. What's wrong with this one.
 
Old 12-12-2019, 12:55 PM   #5
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
Quote:
Originally Posted by nobodino View Post
ok for baloo5, but for akonadi:

./kde.SlackBuild applications:akonadi

gives nothing. What's wrong with this one.
Code:
$ grep akonadi modules/*
modules/kdepim:akonadi
modules/kdepim:akonadi-mime
modules/kdepim:akonadi-contacts
modules/kdepim:akonadi-notes
modules/kdepim:akonadi-search
modules/kdepim:akonadi-calendar
modules/kdepim:akonadi-calendar-tools
modules/kdepim:akonadiconsole
modules/kdepim:akonadi-import-wizard
I.e:
Code:
./kde.SlackBuild kdepim:akonadi
 
Old 12-12-2019, 01:26 PM   #6
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
I think I understood the subtility.
Thanks Mr Bob.
 
Old 12-13-2019, 01:26 AM   #7
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
libktorrent fails to be rebuilt:
--------------
[ 4%] Building CXX object src/CMakeFiles/KF5Torrent.dir/util/fileops.cpp.o
/tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp: In function ‘bool bt::XfsPreallocate(const QString&, bt::Uint64)’:
/tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp:369:36: error: invalid user-defined conversion from ‘QByteArray’ to ‘const char*’ [-fpermissive]
369 | int fd = ::open(QFile::encodeName(path), O_RDWR | O_LARGEFILE);
| ~~~~~~~~~~~~~~~~~^~~~~~
In file included from /usr/include/qt5/QtCore/QByteArray:1,
from /tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.h:25,
from /tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp:21:
/usr/include/qt5/QtCore/qbytearray.h:450:5: note: candidate is: ‘QByteArray::operator QNoImplicitBoolCast() const’ <near match>
450 | operator QNoImplicitBoolCast() const;
| ^~~~~~~~
/usr/include/qt5/QtCore/qbytearray.h:450:5: note: no known conversion from ‘QNoImplicitBoolCast’ {aka ‘int’} to ‘const char*’
/tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp:369:64: error: ‘QByteArray::operator QNoImplicitBoolCast() const’ is private within this context
369 | int fd = ::open(QFile::encodeName(path), O_RDWR | O_LARGEFILE);
| ^
In file included from /usr/include/qt5/QtCore/QByteArray:1,
from /tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.h:25,
from /tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp:21:
/usr/include/qt5/QtCore/qbytearray.h:450:5: note: declared private here
450 | operator QNoImplicitBoolCast() const;
| ^~~~~~~~
In file included from /tmp/kde_build/applications-extra/libktorrent-2.1.1/src/util/fileops.cpp:30:
/usr/include/fcntl.h:195:30: note: initializing argument 1 of ‘int open(const char*, int, ...)’
195 | extern int open (const char *__file, int __oflag, ...) __nonnull ((1));
| ~~~~~~~~~~~~^~~~~~
make[2]: *** [src/CMakeFiles/KF5Torrent.dir/build.make:206: src/CMakeFiles/KF5Torrent.dir/util/fileops.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:619: src/CMakeFiles/KF5Torrent.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
applications-extra:libktorrent failed to build.
------------------
 
Old 12-13-2019, 04:22 AM   #8
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
Quote:
Originally Posted by nobodino View Post
libktorrent fails to be rebuilt:
Reported and fixed in https://bugs.kde.org/show_bug.cgi?id=414050
 
Old 12-14-2019, 01:59 AM   #9
nobodino
Senior Member
 
Registered: Jul 2010
Location: Near Bordeaux in France
Distribution: slackware, slackware from scratch, LFS, slackware [arm], linux Mint...
Posts: 1,564

Original Poster
Rep: Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892Reputation: 892
kio-extras fails to be rebuilt:
------------------------
/usr/bin/ld: CMakeFiles/kio_sftp.dir/kio_sftp.cpp.o: in function `sftpProtocol::sftpGet(QUrl const&, int&, long long, int)':
kio_sftp.cpp:(.text+0xc073): undefined reference to `sftp_lstat'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc0aa): undefined reference to `sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc1d8): undefined reference to `sftp_attributes_free'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc1fa): undefined reference to `sftp_open'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc21a): undefined reference to `sftp_read'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc2cf): undefined reference to `sftp_rewind'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc49d): undefined reference to `sftp_get_error'
/usr/bin/ld: kio_sftp.cpp:(.text+0xc511): undefined reference to `sftp_seek64'
collect2: error: ld returned 1 exit status
make[2]: *** [sftp/CMakeFiles/kio_sftp.dir/build.make:129: bin/sftp.so] Error 1
make[1]: *** [CMakeFiles/Makefile2:7735: sftp/CMakeFiles/kio_sftp.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
applications:kio-extras failed to build.
-----------------------
 
  


Reply



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
LXer: KDE Plasma 5.13 Desktop Reaches End of Life, KDE Plasma 5.14 Arrives October 9 LXer Syndicated Linux News 0 09-15-2018 10:30 PM
[SOLVED] qt4 alienbob qt5 coexist and SBo package build issue with smplayer? bamunds Slackware 7 03-22-2018 02:52 PM
Any info on installing Mate SlackBuild aside AlienBob's Plasma 5? sombragris Slackware 1 08-23-2016 06:56 PM
alienBOB's vlc.Slackbuild script fails on libavcodec.pc on Slackware64 14.0 multilib. indubitableness Slackware 19 08-20-2013 07:37 AM

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

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