Author Topic: Problem with ALIEN, RPMBUILD has not been updated(Solved)  (Read 1562 times)

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Problem with ALIEN, RPMBUILD has not been updated(Solved)
« on: October 10, 2011, 07:12:03 PM »
Gentlemen,

After the APT UPGRADE, I haven't tried to convert a deb package to RPM.
But, this evening, I've tried to convert a program to RPM and it's failing because of RPMBUILD (missing)
I assume the reason is the upgrade to RPM 4.81, and, RPMBUILD has not been updated yet. Or is it deprecated ?

Can anyone help ?

Thanks in advance

Best regards
« Last Edit: December 29, 2011, 04:29:05 AM by Agent Smith »

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12539
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #1 on: October 10, 2011, 09:29:58 PM »
Gentlemen,

After the APT UPGRADE, I haven't tried to convert a deb package to RPM.
But, this evening, I've tried to convert a program to RPM and it's failing because of RPMBUILD (missing)
I assume the reason is the upgrade to RPM 4.81, and, RPMBUILD has not been updated yet. Or is it deprecated ?

Can anyone help ?

Thanks in advance

Best regards

Try getting rpmbuild out of unstable for now until it gets moved into updates.

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

Offline Archie

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 8607
  • Aurum nostrum non est aurum vulgi.
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #2 on: October 10, 2011, 10:31:21 PM »
It should only be one of the .desktop that should fail because the old command rpm had been changed to rpmbuild and this hasn't been updated in your servicemenu.

If you can't manage to do what Tex instructed, you can, as root, edit /usr/share/kde4/services/ServiceMenus/build-spec.desktop, and replace all the Exec=konsole --noclose -e rpm ... with Exec=konsole --noclose -e -rpmbuild ...

As such:

Code: [Select]
[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=text/x-rpm-spec;
Actions=addpkg;buildall;buildsrpm;buildbin;prp;prpcmp;cmponly;prpcmpins;insonly;listchk
X-KDE-Priority=TopLevel

[Desktop Action addpkg]
Name=Install Dependencies
Exec=konsole --noclose -e addpkg %f
Icon=application-x-rpm

[Desktop Action listchk]
Name=List Check
Exec=konsole --noclose -e rpmbuild -bl %U
Icon=application-x-rpm

[Desktop Action insonly]
Name=Install Only
Exec=konsole --noclose -e rpmbuild -bi --short-circuit %U
Icon=application-x-rpm

[Desktop Action prpcmpins]
Name=Prep/Compile/Install
Exec=konsole --noclose -e rpmbuild -bi %U
Icon=application-x-rpm

[Desktop Action cmponly]
Name=Compile Only
Exec=konsole --noclose -e rpmbuild -bc --short-circuit %U
Icon=application-x-rpm

[Desktop Action prpcmp]
Name=Prep/Compile
Exec=konsole --noclose -e rpmbuild -bc %U
Icon=application-x-rpm

[Desktop Action prp]
Name=Prep Only
Exec=konsole --noclose -e rpmbuild -bp %U
Icon=application-x-rpm

[Desktop Action buildbin]
Name=Build Binary
Exec=konsole --noclose -e rpmbuild -bb %U
Icon=application-x-rpm

[Desktop Action buildsrpm]
Name=Build SRPM Only
Exec=konsole --noclose -e rpmbuild -bs %U
Icon=application-x-rpm

[Desktop Action buildall]
Name=Build All
Exec=konsole --noclose -e rpmbuild -ba %U
Icon=application-x-rpm
Since 2006 | LiCo 401868 | Bare Metal | What is necessary is never unwise. --Sarek, 2258.42


Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #3 on: October 11, 2011, 06:22:10 AM »

Try getting rpmbuild out of unstable for now until it gets moved into updates.


Thanks for the quick response, Mr. Reynolds, but, I'm not following here: You mean I should try to convert another package ? I have tried to convert a package from Debian Squeeze (the stable one, not Sid or Lenny)

It should only be one of the .desktop that should fail because the old command rpm had been changed to rpmbuild and this hasn't been updated in your servicemenu.

If you can't manage to do what Tex instructed, you can, as root, edit /usr/share/kde4/services/ServiceMenus/build-spec.desktop, and replace all the Exec=konsole --noclose -e rpm ... with Exec=konsole --noclose -e -rpmbuild ...



Thanks Mr. Archie for your kind response, but my problem was with ALIEN, and I don't use KDE 4(but I like it a lot).

Any other ideas ?

Thanks for your time and patience.
Kind regards

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #4 on: October 11, 2011, 07:25:03 AM »
Agent Smith,
You misunderstood Tex completely. He said nothing about converting anything. He said you should install the rpm-build rpm from the unstable section of the repo.     
http://distro.ibiblio.org/pub/linux/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/RPMS.unstable/rpm-build-4.8.1-4pclos2011.i586.rpm     

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #5 on: October 11, 2011, 07:40:05 AM »
Agent Smith,
You misunderstood Tex completely. He said nothing about converting anything. He said you should install the rpm-build rpm from the unstable section of the repo.     
http://distro.ibiblio.org/pub/linux/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/RPMS.unstable/rpm-build-4.8.1-4pclos2011.i586.rpm     



Thank you very much, Mr. Neal. I didn't know such  repo existed, in the first place. I needed ALIEN to work yesterday, to convert a packet generator, so I don't have to use COLASOFT's via wine. But, the need is the driving force, I'm considering to enlist in the packagers section, to make rpm's and do not have these kind of problems.
Thanks again, I will enable this repo and try it. And later, I will try to enlist  in the packagers team (hope to be accepted)

Kind regards

Online Bald Brick

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 6395
  • I'm going South
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #6 on: October 11, 2011, 10:17:51 AM »
I will enable this repo and try it.

It's not a repo. It's a section of the repo, and you can continue using the same mirror as before. You just have to add unstable to the Section(s): line in Synaptic->Settings->Repositories.

Feed the trolls!
They need it!

AMD Athlon 7450 Dual-Core Processor, 7.80 GiB RAM, Nvidia GeForce GT 120/PCIe/SSE2, OpenGL/ES-version: 3.3 0 NVIDIA 295.40, SBx00 Azalia (Intel HDA) soundcard, ‎Logitech B500 webcam, SAA7146 DVB card, HDDs: Seagate 250824AS, Western Digital WD10EAVS-00D

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #7 on: October 11, 2011, 04:59:30 PM »

It's not a repo. It's a section of the repo, and you can continue using the same mirror as before. You just have to add unstable to the Section(s): line in Synaptic->Settings->Repositories.



Oh, thanks a lot Mr. Bald Brick for your remarks. It is interesting to know there's a testing section on PCLOS. I've been using it since 2007 and never knew it existed.

Best regards!

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #8 on: October 11, 2011, 05:26:10 PM »
Unstable is not a section you want to remain selected all the time. It is called unstable for a reason.     

Offline and then..

  • Sr. Member
  • ****
  • Posts: 457
  • Just Another Linux User
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #9 on: November 23, 2011, 05:42:30 PM »
Hello,
error: Failed dependencies:
        rpm-pclinuxos-setup-build >= 1.34 is needed by rpm-build-4.8.1-4pclos2011.i586

unstable repo has rpm-pclinuxos-setup-build-1.134-2pclos2011.i586.rpm

Did I miss something?
Cages

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #10 on: November 24, 2011, 12:04:23 AM »
Hello,
error: Failed dependencies:
        rpm-pclinuxos-setup-build >= 1.34 is needed by rpm-build-4.8.1-4pclos2011.i586

unstable repo has rpm-pclinuxos-setup-build-1.134-2pclos2011.i586.rpm

Did I miss something?
Cages

have you reloaded???

Offline and then..

  • Sr. Member
  • ****
  • Posts: 457
  • Just Another Linux User
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #11 on: November 24, 2011, 01:49:51 AM »
Hello,
error: Failed dependencies:
        rpm-pclinuxos-setup-build >= 1.34 is needed by rpm-build-4.8.1-4pclos2011.i586

unstable repo has rpm-pclinuxos-setup-build-1.134-2pclos2011.i586.rpm

Did I miss something?
Cages


have you reloaded???


No need to reload - Sproggy,
I was downloading the package directly from the ibiblio site>
http://distro.ibiblio.org/pub/linux/distributions/pclinuxos/pclinuxos/apt/pclinuxos/2010/RPMS.unstable/
Thanks, Cages

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15847
  • LXDE! Coffee, Bacon and Cheesecake!
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #12 on: November 24, 2011, 01:58:13 AM »
Use Synaptic. Reload.     

Offline Sproggy

  • Hero Member
  • *****
  • Posts: 1484
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #13 on: November 24, 2011, 02:01:14 AM »
wow ... i guess those dependencies were resolved then

Offline Agent Smith

  • PCLinuxOS Tester
  • Sr. Member
  • *******
  • Posts: 317
    • Brazilian PCLinuxOS Community
Re: Problem with ALIEN, RPMBUILD has not been updated
« Reply #14 on: November 24, 2011, 04:28:36 AM »
Use Synaptic. Reload.     

Oh, Mr. Neal, I did use Synaptic and reloaded, but to no success. RPM build is not yet updated in Synaptic.
Am I doing something wrong here ???

Best regards,