Author Topic: libpulsecommon is required - can't get rid of it...  (Read 840 times)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
libpulsecommon is required - can't get rid of it...
« on: December 02, 2010, 04:32:25 PM »
Hi,

I get a usual requires that cannot be handled - this popped up today, but last time I build it I guess the library was present in the repo.

Can't get rid of it - have tried this bunch of ways to get rid of it - nothing work - what am I doing wrong?

%define _requires_exceptions devel\(libpulsecommon-0.9.22\)
%define _requires_exceptions devel(libpulsecommon-0.9.22)
%define _requires_exceptions libpulsecommon-0.9.22
%define _requires_exceptions (libpulsecommon-0.9.22)
%define _requires_exceptions libpulsecommon-0.9.22
%define _requires_exceptions libpulsecommon
%define _requires_exceptions libpulsecommon-*

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12497
Re: libpulsecommon is required - can't get rid of it...
« Reply #1 on: December 02, 2010, 05:08:09 PM »
Hi,

I get a usual requires that cannot be handled - this popped up today, but last time I build it I guess the library was present in the repo.

Can't get rid of it - have tried this bunch of ways to get rid of it - nothing work - what am I doing wrong?

%define _requires_exceptions devel\(libpulsecommon-0.9.22\)
%define _requires_exceptions devel(libpulsecommon-0.9.22)
%define _requires_exceptions libpulsecommon-0.9.22
%define _requires_exceptions (libpulsecommon-0.9.22)
%define _requires_exceptions libpulsecommon-0.9.22
%define _requires_exceptions libpulsecommon
%define _requires_exceptions libpulsecommon-*

Because you have duplicate %define _requires_exceptions in your spec file and it takes the last one. There should only be one at the top of your specfile.

%define _requires_exceptions pear*\\|devel(libpulsecommon-0.9.22)


Thanks to everyone who donates. You keep the servers running.

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: libpulsecommon is required - can't get rid of it...
« Reply #2 on: December 03, 2010, 03:49:51 AM »
Thanks a bunch Tex! Didn't know the syntax of this command until now - or that only one is possible in a spec,

trying the build now.....

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: libpulsecommon is required - can't get rid of it...
« Reply #3 on: December 03, 2010, 04:30:05 AM »
No, it still won't get rid of this requirement.

I use the specfile you sent me, exceptions line is:

%define _requires_exceptions pear*\\|devel(libpulsecommon-0.9.22)


message when installing is:


The following packages have unmet dependencies:
  libmyth-devel: Depends: devel(libpulsecommon-0.9.22) but it is not installable
E: Broken packages

and libpulsecommon is not required as Requirement: for libmyth-devel



Is libpulsecommon removed from the repos? About 2 weeks ago there were no issues with the mythtv build.

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: libpulsecommon is required - can't get rid of it...
« Reply #4 on: December 03, 2010, 05:48:37 AM »
Removing the pear from the line apparently make it install, but what if there are more than one exception_requires?

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12497
Re: libpulsecommon is required - can't get rid of it...
« Reply #5 on: December 03, 2010, 07:16:26 AM »
Removing the pear from the line apparently make it install, but what if there are more than one exception_requires?

As an example, you have two %define _requires_exceptions pear* in your mythtv specfile. You only need one not two entries. For more than one exception requires you separate it with \\|

remove both %define _requires_exceptions pear* in your spec file than add the following line somewhere at the top of your specfile.

# SVN Revision number and branch ID
%define _svnrev r27209
%define branch stable
%define _requires_exceptions pear*\\|devel(libpulsecommon-0.9.22)


Here is another example of one in xulrunner:
%define _requires_exceptions libnss3\\|libnssutil3\\|libsmime3\\|libssl3\\|libnspr4\\|libplc4\\|libplds4\\|devel(libatiuki)
« Last Edit: December 03, 2010, 07:21:32 AM by Texstar »

Thanks to everyone who donates. You keep the servers running.