Author Topic: Dependencies not found while trying to package vlc 2.0.3  (Read 1068 times)

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Dependencies not found while trying to package vlc 2.0.3
« on: October 20, 2012, 12:32:35 PM »
I will extend this thread rather than create new thread to reduce clutter.
New unmet dependencies are found. Please see post down the page.

---------------------

I was just trying to package VLC 2.0.3 using the .spec file from 2.0.1 in our testing section.
The only modification I did was to change version number from 2.0.1 to 2.0.3

Even with testing enabled, I could not install the kdelibs4-devel dependency for build.

How did the previously successful packager solve this?
« Last Edit: October 21, 2012, 09:36:43 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 Just17

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 10668
  • MLUs Forever!
Re: kdelibs4-devel not found while trying to package vlc 2.0.3
« Reply #1 on: October 20, 2012, 12:46:47 PM »
is    'kdelibs4'  not now    'kdelibs'    since the kde upgrade and so would not be available?

MLUs rule the roost!

Linux XPS 3.4.38-pclos1.bfs  64 bit
Intel Core2 Quad CPU Q9450 @ 2.66GHz
4 GB RAM
MCP51 High Def Audio
GeForce GTX 550 Ti
PHILIPS  ‎DVD+-RW DVD8701
‎Logitech ‎BT Mini-Receiver
Afatech DTT

Offline TerryN

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 725
Re: kdelibs4-devel not found while trying to package vlc 2.0.3
« Reply #2 on: October 20, 2012, 12:47:16 PM »
Since the 4.8.3 update it has been kdelibs-devel (not kdelibs4)
Don't forget we are a rolling release distro.  Things change  ;D

Terry
Dell E521 - AMD 64 X2 5000+, 4GB RAM, ATI X1300 graphics
PCLinuxOS 2013 (KDE)
|Twitter|

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3798
Re: kdelibs4-devel not found while trying to package vlc 2.0.3
« Reply #3 on: October 20, 2012, 07:46:18 PM »
I submitted a 2.0.3 in to Neal's dropbox a couple days ago. I don't know if it's in testing yet, but there are a few changes that should enable a couple of features that were missing. I'm not sure if they were important to anyone, but it will be interesting to find out.

Galen
« Last Edit: October 20, 2012, 07:51:20 PM by gseaman »

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: kdelibs4-devel not found while trying to package vlc 2.0.3
« Reply #4 on: October 20, 2012, 11:38:14 PM »
I had a problem of my notebook screen dimming (power saving feature I guess) while playing video with the 1.x version presently in the repos. I have tried 2.0.1 from testing which too exhibits the same behaviour.

So I was looking to see if a self built 2.0.3 be any different.

Probably the .spec for 2.0.1 version was written before KDE upgrade.

Thanks.
« Last Edit: October 20, 2012, 11:47:57 PM 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: Dependencies not found while trying to package vlc 2.0.3
« Reply #5 on: October 21, 2012, 09:39:52 AM »
Code: [Select]
error: Failed build dependencies:
        libsamplerate-devel >= 0.1.8 is needed by vlc-2.0.3-1slingshot2012.i586

Synaptic has libsamplerate0 at 0.1.4-2pclos2010

[gseaman]

Did you encounter this error?
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 gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3798
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #6 on: October 21, 2012, 12:08:13 PM »
Code: [Select]
error: Failed build dependencies:
        libsamplerate-devel >= 0.1.8 is needed by vlc-2.0.3-1slingshot2012.i586

Synaptic has libsamplerate0 at 0.1.4-2pclos2010

[gseaman]

Did you encounter this error?

Yes, you need something like this (I might have it backward in this example - have to look at the repos to verify):
Code: [Select]
%ifarch %{x86_64}
BuildRequires: libsamplerate-devel
%else
BuildRequires: libsamplerate0-devel
%endif

I put a lot of work to solve a lot of problems with this update. If you want to improve it, I recommend you look at what I did with 2.0.3. Unless Neal finds a problem with it, it should be in the 64bit test repo soon.

Galen

Offline sling-shot

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1730
  • Satyameva Jayate | Truth Alone Triumphs.
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #7 on: October 21, 2012, 05:41:27 PM »
Oh. I will boot into the 64bit installation and check. thanks.
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 cyrylas

  • Full Member
  • ***
  • Posts: 81
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #8 on: November 01, 2012, 04:49:08 AM »
I'm trying to rebuild vlc on 32 bit and I get

Quote
  CCLD   libaccess_jack_plugin.la
/bin/grep: /usr/lib/libgconf-2.la: No such file or directory
/bin/sed: can't read /usr/lib/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib/libgconf-2.la' is not a valid libtool archive

I think this file should be in package gconf2-devel, but, well, its not. How to generate this file or where to get it from?

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8590
  • Aurum nostrum non est aurum vulgi.
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #9 on: November 01, 2012, 05:12:05 AM »
I'm trying to rebuild vlc on 32 bit and I get

Quote
 CCLD   libaccess_jack_plugin.la
/bin/grep: /usr/lib/libgconf-2.la: No such file or directory
/bin/sed: can't read /usr/lib/libgconf-2.la: No such file or directory
libtool: link: `/usr/lib/libgconf-2.la' is not a valid libtool archive


I think this file should be in package gconf2-devel, but, well, its not. How to generate this file or where to get it from?


Nope, they are not packaged. The .la files are removed on %install

http://www.pclinuxos.com/forum/index.php/topic,101266.msg890214.html#msg890214
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline cyrylas

  • Full Member
  • ***
  • Posts: 81
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #10 on: November 01, 2012, 06:03:55 AM »
Thanks! Shame on me, as the answer was so easy :(

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3739
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: Dependencies not found while trying to package vlc 2.0.3
« Reply #11 on: November 01, 2012, 01:57:37 PM »
Thanks! Shame on me, as the answer was so easy :(

Nobody can know all things ;)