Re: Problem installing rpm using macports

2012-07-02 Thread James Linder

On 02/07/2012, at 10:00 PM, macports-users-requ...@lists.macosforge.org wrote:

 If you want to build rpm for xxx distro eg CentOS5 then you need to build on 
 CentOS5.
 [..]
 Save yourself the heart ache and believe that you cannot cross build rpm. 
 ('course you can, but you really have to be on the ball to do that).
 
 Have a look at:
 https://build.opensuse.org/
 http://www.open-build-service.org/

Indeed, and I don't know what they do, but I'd bet my lunch money that they 
have a farm of VMs and do not try to cross build.

James
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing rpm using macports

2012-07-01 Thread Ryan Schmidt

On Jun 30, 2012, at 13:56, Wim Deblauwe wrote:

 
 I asked how to install rpm using macports on askdifferent:
 http://apple.stackexchange.com/questions/54781/problem-installing-rpm-using-macports
 
 and I got the answer to try the macports mailing list, so I am doing that
 now. Anybody who can help with this?

I have filed a bug report for you for this problem:

https://trac.macports.org/ticket/35048

Note that the rpm port contains the very old version 4.4.9 of the rpm program. 
Other ports exist that provide newer versions of rpm which you may want to use 
instead. None of the newer rpm ports have this particular bug.


$ port search the rpm
rpm @4.4.9 (sysutils, archivers)
The RPM package management system.

rpm45 @4.5 (sysutils, archivers)
The RPM package management system.

rpm50 @5.0.3 (sysutils, archivers)
The RPM package management system.

rpm51 @5.1.9 (sysutils, archivers)
The RPM package management system.

rpm52 @5.2.1 (sysutils, archivers)
The RPM package management system.

rpm53 @5.3.11 (sysutils, archivers)
The RPM package management system.

rpm54 @5.4.9 (sysutils, archivers)
The RPM package management system.

Found 7 ports.



___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing rpm using macports

2012-07-01 Thread Brandon Allbery
On Sat, Jun 30, 2012 at 2:56 PM, Wim Deblauwe wim.debla...@gmail.comwrote:

 I asked how to install rpm using macports on askdifferent:

 http://apple.stackexchange.com/questions/54781/problem-installing-rpm-using-macports
 and I got the answer to try the macports mailing list, so I am doing
 that now. Anybody who can help with this?


Just looking at the portfile, it's looking pretty out of date.  I suspect
it's not being actively maintained (and don't see offhand why anyone would
use it anyway; it's not like you can usefully install any RPM packages —
even noarch packages would probably require a metapackage representing OS
X-provided files  as dependencies.

Beyond that , this is apparently something going wrong with fixing up
Python paths.  More detail should be available via port log rpm; can you
pastebin or attach the output from that?

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing rpm using macports

2012-07-01 Thread Wim Deblauwe
I don't want to install an rpm on my mac. I want to build rpm packages on
my mac for installation on other CentOS or Redhat machines.

2012/7/1 Brandon Allbery allber...@gmail.com

 On Sat, Jun 30, 2012 at 2:56 PM, Wim Deblauwe wim.debla...@gmail.comwrote:

 I asked how to install rpm using macports on askdifferent:

 http://apple.stackexchange.com/questions/54781/problem-installing-rpm-using-macports
 and I got the answer to try the macports mailing list, so I am doing
 that now. Anybody who can help with this?


 Just looking at the portfile, it's looking pretty out of date.  I suspect
 it's not being actively maintained (and don't see offhand why anyone would
 use it anyway; it's not like you can usefully install any RPM packages —
 even noarch packages would probably require a metapackage representing OS
 X-provided files  as dependencies.

 Beyond that , this is apparently something going wrong with fixing up
 Python paths.  More detail should be available via port log rpm; can you
 pastebin or attach the output from that?

 --
 brandon s allbery  allber...@gmail.com
 wandering unix systems administrator (available) (412) 475-9364 vm/sms


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing rpm using macports

2012-07-01 Thread sierkb
Am 02.07.2012 um 02:27 schrieb James Linder:
 
 If you want to build rpm for xxx distro eg CentOS5 then you need to build on 
 CentOS5.
 [..]
 Save yourself the heart ache and believe that you cannot cross build rpm. 
 ('course you can, but you really have to be on the ball to do that).

Have a look at:
https://build.opensuse.org/
http://www.open-build-service.org/


___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Re: Problem installing rpm using macports

2012-07-01 Thread Brandon Allbery
On Sun, Jul 1, 2012 at 8:27 PM, James Linder j...@tigger.ws wrote:

 On 01/07/2012, at 10:00 PM, macports-users-request@lists.macosforge.orgwrote:
  I don't want to install an rpm on my mac. I want to build rpm packages on
  my mac for installation on other CentOS or Redhat machines.
 

 Brandon I don't know what you really want to do, but what you SAID will
 not work (it may work in a trivial case).


Wim is the OP, not me.

Otherwise, you are correct:  we don't have cross-build facilities in
MacPorts like FreeBSD ports has (and, to be honest, I wouldn't want to rely
on even those to build cross-platform RPMs).

Correct answer here is VirtualBox or Parallels with the target distribution
running as a guest.  (I personally like Parallels a little better, find it
a bit faster than vbox; I'm also told that many people on Lion get kernel
panics from vbox, although as yet I have managed not to trigger that
failure mode.)

-- 
brandon s allbery  allber...@gmail.com
wandering unix systems administrator (available) (412) 475-9364 vm/sms
___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users


Problem installing rpm using macports

2012-06-30 Thread Wim Deblauwe

I asked how to install rpm using macports on askdifferent:
http://apple.stackexchange.com/questions/54781/problem-installing-rpm-using-macports

and I got the answer to try the macports mailing list, so I am doing that
now. Anybody who can help with this?

regards,

Wim
-- 
View this message in context: 
http://old.nabble.com/Problem-installing-rpm-using-macports-tp34096211p34096211.html
Sent from the MacPorts - Users mailing list archive at Nabble.com.

___
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users