Author Topic: [PACKAGED] qBittorrent 3.0.6 and libtorrent-rasterbar 0.16.4 - Is it OK?  (Read 3100 times)

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #30 on: September 20, 2012, 07:04:15 PM »
Sorry to jump on this thread late. And I'm sure we're all glad, SS, that you decided to try packaging out. It's both easy and ain't easy, ain't it?

In regards to your PM query, I hope my reply works out.

Now, just a couple of suggestions. Install ccache. It will speed up your succeeding rebuilds. Another thing try and keep your build environment as "clean" as possible. This means try and remove any dependencies and development libs that were installed for the previous build.

And also remember when packaging Qt and KDE, when cmake is required and well, the dependency was not indicated on the spec and cmake is nowhere to be found, you can find it on kdelibs-devel.

Go for it, SS. We're rooting for you!
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #31 on: September 21, 2012, 11:55:13 AM »
I thank everyone for sticking with me and seeiing to it that I finish this ;)
Oh, I forgot to say one thing :

SUCCESS!

The only difference I see between yesterday when the build process could not find that qbit*.lang and today is that in the intervening period I have installed AMD 12.9 graphics drivers in this test install direct from AMD.
So I guess I should thank them too ;) ;) ;)

I can install the .rpm. qBittorrent and launches and looks stable enough. Not tested with an actual running torrent though.

Now I have to move on to 2nd step of adding changelog to the .spec files and rebuiilding to confirm that it was not a fluke. Once that is done, I shall upload them to my DropBox and request the experts to have a look.

Regards,
-SS.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #32 on: September 21, 2012, 12:01:04 PM »
Sorry to jump on this thread late. And I'm sure we're all glad, SS, that you decided to try packaging out. It's both easy and ain't easy, ain't it?

In regards to your PM query, I hope my reply works out.

Now, just a couple of suggestions. Install ccache. It will speed up your succeeding rebuilds. Another thing try and keep your build environment as "clean" as possible. This means try and remove any dependencies and development libs that were installed for the previous build.

And also remember when packaging Qt and KDE, when cmake is required and well, the dependency was not indicated on the spec and cmake is nowhere to be found, you can find it on kdelibs-devel.

Go for it, SS. We're rooting for you!

I did not have to change anything! Oh Noooooooooooooooooooooooo...

Is there a difference between typing rpmbuild -ba xxxx.spec and using KDE right-click "Build All" option?
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #33 on: September 21, 2012, 12:03:48 PM »
FOOTNOTE : I still get these errors although the build seems to have completed. Only thing I see is that there is a missing icon for "Add Torrent" button in the Main UI.

Code: [Select]
[testinstall@localhost SPECS]$ rpmbuild -bl pcl
pclos-bluedevil.spec             pclos-qbittorrent.spec
pclos-libtorrent-rasterbar.spec 
[testinstall@localhost SPECS]$ rpmbuild -bl pclos-qbittorrent.spec
Processing files: qbittorrent-3.0.3-1slingshot2012.i586
error: File not found by glob: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/man/man1/qbittorrent.1*
error: File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/bin/qbittorrent
error: File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/applications/qBittorrent.desktop
error: File not found by glob: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/icons/hicolor/*/apps/qbittorrent.png
error: File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/pixmaps/qbittorrent.png
error: File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/doc/qbittorrent


RPM build errors:
    File not found by glob: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/man/man1/qbittorrent.1*
    File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/bin/qbittorrent
    File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/applications/qBittorrent.desktop
    File not found by glob: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/icons/hicolor/*/apps/qbittorrent.png
    File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/pixmaps/qbittorrent.png
    File not found: /home/testinstall/src/rpm/BUILDROOT/qbittorrent-3.0.3-1slingshot2012.i386/usr/share/doc/qbittorrent
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #34 on: September 21, 2012, 12:41:19 PM »
Is there a difference between typing rpmbuild -ba xxxx.spec and using KDE right-click "Build All" option?
   
The right click "Build All" option is the command "rpmbuild -ba" run without the need to type it out. Like all such options, it is simply a way to reduce your workload/shorten work time. :)    
« Last Edit: September 22, 2012, 01:59:27 AM by Neal ManBear »

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #35 on: September 21, 2012, 12:43:37 PM »
FOOTNOTE : I still get these errors although the build seems to have completed. Only thing I see is that there is a missing icon for "Add Torrent" button in the Main UI.

rpmbuild -bl checks the %files list against files present in %buildroot.  
In our SPEC files the buildroot is cleared out in the %clean section.  Therefore this test will always fail.  It is not a useful test for the way we build our packages.  I guess it is probably used by distros that have automated build systems.

Terry.
PS. WRT to your question in IRC about not getting the shell prompt at the end of the build.  You won't get one if using the right-click Build All option.  The Konsole window is created to run the rpmbuild ONLY, not an interactive shell.
« Last Edit: September 21, 2012, 01:05:20 PM by TerryN »
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #36 on: September 21, 2012, 08:53:51 PM »
Links moved to the first post of this thread.
« Last Edit: January 10, 2013, 10:28:29 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #37 on: September 21, 2012, 08:55:28 PM »
Is there a difference between typing rpmbuild -ba xxxx.spec and using KDE right-click "Build All" option?
   
The right click "Build All" option is the command "rpmbuild -ba" run without the need to type it out. Like all such options, it is simply a way to reduce your workload/shorten work time. :)    

I got wondering because overnight things changed due to no apparent reason. At night commandline way was errorring out and in the morning right-click worked.
However I did install that AMD driver package in between.
So there....
« Last Edit: September 22, 2012, 01:59:56 AM by Neal ManBear »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Getting errors trying to package qbittorent update
« Reply #38 on: September 21, 2012, 09:13:29 PM »
FOOTNOTE : I still get these errors although the build seems to have completed. Only thing I see is that there is a missing icon for "Add Torrent" button in the Main UI.

rpmbuild -bl checks the %files list against files present in %buildroot.  
In our SPEC files the buildroot is cleared out in the %clean section.  Therefore this test will always fail.  It is not a useful test for the way we build our packages.  I guess it is probably used by distros that have automated build systems.

Terry.
PS. WRT to your question in IRC about not getting the shell prompt at the end of the build.  You won't get one if using the right-click Build All option.  The Konsole window is created to run the rpmbuild ONLY, not an interactive shell.

That must be it then. Clears one more thing.
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Please test - qBittorrent 3.0.3 and libtorrent-rasterbar 0.16.3
« Reply #39 on: September 22, 2012, 12:53:32 PM »
Updated links in the first post.
« Last Edit: January 10, 2013, 10:29:27 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: FirstEffort - Please test - qBittorrent 3.0.3 and libtorrent-rasterbar 0.16.3
« Reply #40 on: September 22, 2012, 05:06:23 PM »
Please let us have a look at your src.rpm, too.    
« Last Edit: September 24, 2012, 10:20:30 AM by Neal ManBear »

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Please test - qBittorrent 3.0.3 and libtorrent-rasterbar 0.16.3
« Reply #41 on: September 23, 2012, 08:40:24 AM »
Please let us have a look at your src.rpm, too.    

It is there Neal! Or is the link wrong? For both the library and qbittorrent, I have put the links for src.rpm too.

Did you mean the .spec file?
« Last Edit: September 24, 2012, 10:21:00 AM by Neal ManBear »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: FirstEffort - Please test - qBittorrent 3.0.3 and libtorrent-rasterbar 0.16.3
« Reply #42 on: September 24, 2012, 10:22:16 AM »
Please let us have a look at your src.rpm, too.    

It is there Neal! Or is the link wrong? For both the library and qbittorrent, I have put the links for src.rpm too.

Did you mean the .spec file?
     
 :o When I wrote that, there was no src.rpm link. :o     

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: FirstEffort - Please test - qBittorrent 3.0.3 and libtorrent-rasterbar 0.16.3
« Reply #43 on: September 24, 2012, 11:14:32 AM »
:o When I wrote that, there was no src.rpm link. :o     


Could be relative ;)
You see, the reason might be that it might have been YOU who has been there and not there.
I know things are a little difficult to grasp ;) what with all that coffee inside ... :)
Let me explain...
See, now I can see you on the forum post.
Now I cannot. There is only some grizzly.
Now I can see you.
Now I cannot.
Get it? Got it? Good. :)

NOTE : I have also put up a request in the Testing section so that any mistakes would come forward... but nobody seems to have tried it yet. On the other hand, nobody might have replied because it is PERFECT ;) ah what a thought?!
http://www.pclinuxos.com/forum/index.php/topic,109360.0.html
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Well, I am still unable to figure out the mystery of a missing Main window icon called list-add.png (my guess)
If anyone could help me, it would really save the remaining few hair on my head :)


libtorrent-rasterbar 0.16.4
qBittorrent 3.0.6
« Last Edit: January 10, 2013, 10:02:08 AM by sling-shot »
Packaging well will cure headaches of many :) But learning to package will cause headaches in many :(

AMD AthlonX2 3600+/ASUS M2NPV-VM/ATi HD4670/Onboard sound/3.5GB DDR2-533 RAM/SEAGATE 160+320GB HDD/DELL S2240L FullHD/Creative SBS370 2.1/PCLinuxOS2013/KDE4
Samsung NP305U1-A06IN | Nokia E6