[SOLVED] [Sbopkg] - sqg generates wrong queue file for "linphone"
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
# cat /var/lib/sbopkg/queues/linphone.sqf
libupnp
polarssl
bzrtp
linphone-srtp
jdk
libantlr3c
belle-sip
# %README%: see the ffmpeg README file.
ffmpeg
speex
linphone
When sbopkg process that queue some packages don't compile correctly and final package linphone can't be built...
The problem is the above queue is wrong.
It should be:
Code:
speex
mbedtls
libupnp
libsrtp
# %README%: see the ffmpeg README file.
ffmpeg
bctoolbox
bzrtp
libantlr3c
jdk
belle-sip
linphone
Thanks to Ponce who shared his working queue for comparison on slacky.eu forum. I tried it with sbopkg and that linphone queue worked: now I have linphone installed on my system.
So how can I find where the issue is?
Could be a sqg bug?
Or something broken on my sbopkg local files?
All I can think of is that either some of your .info files are missing the proper requirements information, or there are some directories missing from the repository altogether. If you want to dig into it, back up /var/lib/sbopkg/SBo/14.2 first, and try to manually work recursively through the requirements for linphone, starting at whatever is listed in linphone.info.
Maybe the problem was related to many directories in /var/lib/sbopkg/SBo other than the branches dir like "14.2" and so on, there were a tree of the repo in that dir... that tree now is just present under /var/lib/sbopkg/SBo/14.2/, and not more in /var/lib/sbopkg/SBo/
Maybe the problem was related to many directories in /var/lib/sbopkg/SBo other than the branches dir like "14.2" and so on, there were a tree of the repo in that dir... that tree now is just present under /var/lib/sbopkg/SBo/14.2/, and not more in /var/lib/sbopkg/SBo/
It's possible that it was building the queue from a different version of the repo (ie, not 14.2), but without doing more digging, it's only a guess.
# cat /var/lib/sbopkg/queues/linphone.sqf
libupnp
polarssl
bzrtp
linphone-srtp
jdk
libantlr3c
belle-sip
# %README%: see the ffmpeg README file.
ffmpeg
speex
linphone
When sbopkg process that queue some packages don't compile correctly and final package linphone can't be built...
The problem is the above queue is wrong.
It should be:
Code:
speex
mbedtls
libupnp
libsrtp
# %README%: see the ffmpeg README file.
ffmpeg
bctoolbox
bzrtp
libantlr3c
jdk
belle-sip
linphone
Thanks to Ponce who shared his working queue for comparison on slacky.eu forum. I tried it with sbopkg and that linphone queue worked: now I have linphone installed on my system.
So how can I find where the issue is?
Could be a sqg bug?
Or something broken on my sbopkg local files?
Thank you in advance for any suggests!
Bye
mine produce the correct queue
Code:
cat /var/lib/sbopkg/queues/linphone.sqf
speex
mbedtls
libupnp
libsrtp
# %README%: see the ffmpeg README file.
ffmpeg
bctoolbox
bzrtp
libantlr3c
jdk
belle-sip
linphone
another possible reason is that you haven't sync with the latest changes in the repository because there was a new dep introduced and 2nd dep also got changed.
Okay, so it looks like removing everything in /var/lib/sbopkg worked, correct? The queue file is right now.
Yes, I removed "the content" of that dir (there is a "*" at the end ---> "/var/lib/sbopkg/*" ).
Sorry, I made a mistake in above solving procedure: a repo sync is needed too after the "remove":
Code:
rm -rf /var/lib/sbopkg/*
sbopkg -r
After that, sqg works properly again.
Quote:
Originally Posted by willysr
another possible reason is that you haven't sync with the latest changes in the repository because there was a new dep introduced and 2nd dep also got changed.
I had looked at the content of the above directory and repo sub-dir "SBo" was not as clean as expected it should contain just branch subdir, "14.2" in my case, but there were many directories other than "14.2".
Now (after cleaning re-sync procedure) I have:
I mean the "14.2" repo tree was repeated both within the "14.2" sub-dir (as expected) and at the same level! (and this likely reveals something broken in /var/lib/sbopkg/*). I can't say how those subdirs were generated in that wrong path, nor when.. because I erased all...
Anyway, the procedure solves the problem!
Now sqg and sbopkg are working properly and this is what matters!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.