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 02-28-2015, 01:33 PM   #1
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
[ANN]sbbdep 0.2.4 released


Hi and a nice Saturday evening (or what ever time you currently have)

A new version of sbbdep (Slack Build Binary Dependencies), the tool for exploring binary runtime dependencies on Slackware and Slackware based systems, is available.

I have just tagged the current state as version 0.2.4.

The source download is available here:
https://bitbucket.org/a4z/sbbdep/dow...p-0.2.4.tar.gz

This version is for Slackware 14.1 and above.


Changes from 0.2.3:

improve speed of cache synchronization
sync after install/update/remove packages is much faster now.

added --bdtree option
added --l option
details here: https://bitbucket.org/a4z/sbbdep/wiki/misc%20options
those are mostly placeholder for future development but have already some functionality

some improvements in dependency look up

less interesting for non development:
reduce code size, make things simpler
this is basically a fully re-write of large parts and a restructure,
(I hope I introduced no new problems!)
the bundle (sbbdep_slk) is not required anymore
the code is in a good shape for future development.


it you find problems, bugs, or have feature requests, please use the issue tracer or report them here.

Don't forget to visit the wiki https://bitbucket.org/a4z/sbbdep/wiki/Home

enjoy!
 
Old 02-28-2015, 05:13 PM   #2
j_v
Member
 
Registered: Oct 2011
Distribution: Slackware64
Posts: 364

Rep: Reputation: 67
Congratulations and thanks, a4z.
 
Old 02-28-2015, 08:03 PM   #3
ivandi
Member
 
Registered: Jul 2009
Location: Québec, Canada
Distribution: CRUX, Debian
Posts: 528

Rep: Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866Reputation: 866
Thanks for the effort to bring a much needed dependency resolution tool to Slackware.

If you aren't aware there is also tracepkg. Last time it was discussed here. I am not sure if it is still maintained. I have a slightly patched version here.

Anyway, having a maintained dependency resolution tool will be very helpful.


Cheers
 
Old 02-28-2015, 09:29 PM   #4
mlangdn
Senior Member
 
Registered: Mar 2005
Location: Kentucky
Distribution: Slackware64-current
Posts: 1,844

Rep: Reputation: 452Reputation: 452Reputation: 452Reputation: 452Reputation: 452
Thanks! Nice work.
 
Old 03-01-2015, 04:03 AM   #5
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
Quote:
Originally Posted by ivandi View Post
Thanks for the effort to bring a much needed dependency resolution tool to Slackware.

If you aren't aware there is also tracepkg. Last time it was discussed here. I am not sure if it is still maintained. I have a slightly patched version here.

Anyway, having a maintained dependency resolution tool will be very helpful.


Cheers
Salix made a dependency resolution for Slackware, sbbdep brings binary dependency information (and can help a little bit to make a dependency resolution). I think this is a difference.

I know tracepkg but it did not fulfill my needs and requirements
 
Old 03-01-2015, 01:37 PM   #6
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
i move this into here
http://www.linuxquestions.org/questi...ml#post5325139
Quote:
Originally Posted by Alien Bob[/url

A tool like sbbdep which has been run once on a full installation of Slackware will then have a database of all interdependencies. That database would benefit amyone with a minimal Slackware installation. It will not alter in any way how Slackware is installed, upgraded, or used.
I should possible export this functionality via a command line switch
I thought it is obvious that such info, like which package you are missing, is just a SQL statement on a db from a full installation, but may be its more easy when I pack this as a ready to use function?
 
Old 03-01-2015, 01:47 PM   #7
bormant
Member
 
Registered: Jan 2008
Posts: 426

Rep: Reputation: 240Reputation: 240Reputation: 240
Slackware-14.1 32-bit
Code:
$ tar xf sbbdep-0.2.4.tar.gz
$ cd sbbdep-0.2.4
$ bash configureRelease.sh
$ cd buildRelease
$ make
/tmp/sbbdep-0.2.4/src/sbbdep/cache.cpp: In member function 'void sbbdep::Cache::indexPkg(const sbbdep::Pkg&)':
/tmp/sbbdep-0.2.4/src/sbbdep/cache.cpp:668:8: error: conversion from '<brace-enclosed initializer list>' to 'sq3::DbValue' is ambiguous
        });
        ^
/tmp/sbbdep-0.2.4/src/sbbdep/cache.cpp:668:8: note: candidates are:
In file included from /tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dataset.hpp:30:0,
                 from /tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/command.hpp:30,
                 from /tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/database.hpp:31,
                 from /tmp/sbbdep-0.2.4/include/sbbdep/cache.hpp:29,
                 from /tmp/sbbdep-0.2.4/src/sbbdep/cache.cpp:25:
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dbvalue.hpp:127:3: note: sq3::DbValue::DbValue(sq3::DbValue&&)
   DbValue(DbValue&& other) noexcept;
   ^
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dbvalue.hpp:126:3: note: sq3::DbValue::DbValue(const sq3::DbValue&)
   DbValue(const DbValue& other) noexcept;
   ^
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dbvalue.hpp:120:3: note: sq3::DbValue::DbValue(double, sq3::Type)
   DbValue(double val, Type type = Type::Real);
   ^
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dbvalue.hpp:118:3: note: sq3::DbValue::DbValue(int64_t, sq3::Type)
   DbValue(int64_t val, Type type = Type::Int);
   ^
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/dbvalue.hpp:117:3: note: sq3::DbValue::DbValue(int, sq3::Type)
   DbValue(int val, Type type = Type::Int);
   ^
In file included from /tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/database.hpp:31:0,
                 from /tmp/sbbdep-0.2.4/include/sbbdep/cache.hpp:29,
                 from /tmp/sbbdep-0.2.4/src/sbbdep/cache.cpp:25:
/tmp/sbbdep-0.2.4/a4sqlt3/include/sq3/command.hpp:69:23: error:   initializing argument 1 of 'sq3::Command::Parameters::Parameters(std::initializer_list<sq3::DbValue>)'
       using DbValues::DbValues ;
                       ^
make[2]: *** [CMakeFiles/sbbdep.dir/src/sbbdep/cache.cpp.o] Error 1
make[1]: *** [CMakeFiles/sbbdep.dir/all] Error 2
make: *** [all] Error 2
Code:
$ ls /var/log/packages/gcc-g++-*
/var/log/packages/gcc-g++-4.8.2-i486-1
 
Old 03-01-2015, 02:09 PM   #8
a4z
Senior Member
 
Registered: Feb 2009
Posts: 1,727

Original Poster
Rep: Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742Reputation: 742
thanks for the report, have to look for a 32bit machine and fix this, so it will probably be tomorrow
 
Old 03-01-2015, 02:41 PM   #9
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
When you have fixed that build error, I will update the sbbdep package in my repository with this new version.
 
  


Reply


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
[ANN] sbbdep has now a wiki a4z Slackware 0 08-20-2013 09:44 PM
[ANN] sbbdep 0.2.2, bugfix release a4z Slackware 2 06-03-2013 11:34 AM
[ANN]sbbdep 0.2.0 released with fixes improvements and new features a4z Slackware 3 05-12-2013 04:19 AM
[ANN]sbbdep 0.1.0 (for Salckware 14) source released a4z Slackware 13 10-15-2012 01:58 PM
[ANN]sbbdep 0.0.9 a4z Slackware 0 10-06-2011 12:39 PM

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

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