Author Topic: Newbie question.... Sources is strange {Solved}  (Read 1252 times)

Offline gseaman

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 3791
Re: Newbie question.... Sources is strange
« Reply #15 on: June 17, 2011, 01:58:10 AM »
Agreed. For example, the right-click options in firefox and dolphin need to be changed.

Galen

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: Newbie question.... Sources is strange
« Reply #16 on: June 17, 2011, 06:31:01 AM »
My suggestion is just a guess from the error message. It seems there is a lot of trial and error to find what works. I have only built one package since the rpm change and it seemed to work just fine, but it only have one zipped source file, so I don't know.

You can find out very quickly, just by zipping just the next file, and checking to see if the build fails at the same step, or continues and fails on the next file. If it fails on the same spot, then zipping the files will not likely be the solution.

Galen


I can start a trial & error session - but I also think this is a change in the rpm system. I have -loads- of specs that have multiple sources of all types (images, textfiles) and it would need a good deal rework of each spec instead of the usual %{SOURCEx} style (one would need to tar.xz all miscellaneous files that will be untarred into BUILD and copy/use them from there)

If this is a change to the rpm build system I will look into finding some documentation instead of a T&R session :-)

Are we supposed to use rpmbuild -ba instead of rpm -ba now? If this is the case I need to fix pkgutils-thunar,

cheers,
MBantz

Online Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Newbie question.... Sources is strange
« Reply #17 on: June 17, 2011, 06:42:30 AM »
..... Are we supposed to use rpmbuild -ba instead of rpm -ba now? If this is the case I need to fix pkgutils-thunar,

cheers,
MBantz

Yes, We are to use rpmbuild -ba now.

Quote from: Texstar
2 rpm -ba name-of-specfile.spec will change to rpmbuild -ba name-of-specfile.spec

From:
http://www.pclinuxos.com/forum/index.php/topic,92563.0.html

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: Newbie question.... Sources is strange
« Reply #18 on: June 17, 2011, 04:19:45 PM »
Ok - I see. Tried rpmbuild but get the same error - will google around a little :-)

Offline MBantz

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1317
Re: Newbie question.... Sources is strange
« Reply #19 on: June 22, 2011, 02:45:02 PM »
Nope, it was me! Do throw beer-cans :-)

the MythTV sources has undergone a major rearrangement as well as change to git - and %setup had a hardcoded entry to untar a source that is not tar'ed,

looking hard at %setup fixed it.

Have rebuilt pkgutils-thunar and are testing it at the moment. Apparently the rpm command is still used - at least for unpacking src.rpm files - just fyi,

cheers,
MBantz