Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread Olivier Blin
philippe makowski  writes:

 yeah, so i'm gonna see how far it get with iurt...
>>>
>>> Having a working out of the box package of iurt would be a killer
>>> feature. Fedora does offer mock for that, and that's quite handy.
>>
>> It already works pretty well out of the box.
> hard to believe
> I tried twice :
> iurt  --repository
> http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
> --rebuild cauldron x86_64
> ./rpm/SRPMS/python-gtkglext-1.1.0-8.mga1.src.rpm
> ...
> [iurt2] [iurt2] ERROR: rpm-build is missing!
> E: [iurt2] [iurt2] Failed to install initial packages during chroot creation.
> N: [iurt2] [iurt2] creating chroot failed.

Can you please quote more logs?
It is not straight-forward where the error comes from, with the part you
quoted.

Thanks

-- 
Olivier Blin - blino


Re: [Mageia-dev] Repository question: where do we put non-free+tainted RPMs?

2011-03-13 Thread Anssi Hannula
On 14.03.2011 01:01, Tux99 wrote:
> 
> 
> Personally I also think 'tainted' would be the better choice than
> 'non-free' since potential patent issues are a more serious concern than a
> non-FOSS license, but tbh I think both choices are far from ideal, I
> believe the only really clean solution would be to create a
> 'tainted+non-free' repo just like PLF has.

One option would be to add it to "tainted", but have it require a dummy
metapackage from "non-free" repository, so that it can be only installed
if non-free media is enabled. It might cause too much confusion, though,
as the error message wouldn't be very clear.

> The PLF 'non-free' repo contains quite a few packages [1], I would think we
> will want to add most of them to Mageia too, so this will continue to be a
> problem.

Most (if not all) of those either
a) do not have patent issues and are thus eligible for mga/mdv non-free
repositories (mdv didn't have a non-free section until 5 years ago,
explaining why they are in plf), or
b) are completely unredistributable, and thus uneligible for any mga/mdv
repository.

> [1] 
> http://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cooker/non-fre
> e/binary/i586/

-- 
Anssi Hannula


Re: [Mageia-dev] Repository question: where do we put non-free+tainted RPMs?

2011-03-13 Thread Tux99


Personally I also think 'tainted' would be the better choice than
'non-free' since potential patent issues are a more serious concern than a
non-FOSS license, but tbh I think both choices are far from ideal, I
believe the only really clean solution would be to create a
'tainted+non-free' repo just like PLF has.

The PLF 'non-free' repo contains quite a few packages [1], I would think we
will want to add most of them to Mageia too, so this will continue to be a
problem.

[1] 
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/plf/mandriva/cooker/non-fre
e/binary/i586/
-- 
Mageia ML Forum Gateway: http://mageia.linuxtech.net/forum/


Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread Samuel Verschelde
Le dimanche 13 mars 2011 22:27:17, Thomas Backlund a écrit :
> sön 2011-03-13 klockan 23:20 +0200 skrev philippe makowski:
> > 2011/3/13 Olivier Blin :
> > > Michael Scherer  writes:
> > >>> yeah, so i'm gonna see how far it get with iurt...
> > >> 
> > >> Having a working out of the box package of iurt would be a killer
> > >> feature. Fedora does offer mock for that, and that's quite handy.
> > > 
> > > It already works pretty well out of the box.
> > 
> > hard to believe
> > I tried twice :
> > iurt  --repository
> > http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
> > --rebuild cauldron x86_64
> > ./rpm/SRPMS/python-gtkglext-1.1.0-8.mga1.src.rpm
> > ...
> > [iurt2] [iurt2] ERROR: rpm-build is missing!
> > E: [iurt2] [iurt2] Failed to install initial packages during chroot
> > creation. N: [iurt2] [iurt2] creating chroot failed.
> 
> Well,
> it was assumed you alredy know what's needed to build rpms...
> 
> urpmi rpm-build
> 
> --
> Thomas

Couldn't it be a Requires ?

Samuel


Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread Maarten Vanraes
Op zondag 13 maart 2011 22:27:17 schreef Thomas Backlund:
> sön 2011-03-13 klockan 23:20 +0200 skrev philippe makowski:
> > 2011/3/13 Olivier Blin :
> > > Michael Scherer  writes:
> > >>> yeah, so i'm gonna see how far it get with iurt...
> > >> 
> > >> Having a working out of the box package of iurt would be a killer
> > >> feature. Fedora does offer mock for that, and that's quite handy.
> > > 
> > > It already works pretty well out of the box.
> > 
> > hard to believe
> > I tried twice :
> > iurt  --repository
> > http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
> > --rebuild cauldron x86_64
> > ./rpm/SRPMS/python-gtkglext-1.1.0-8.mga1.src.rpm
> > ...
> > [iurt2] [iurt2] ERROR: rpm-build is missing!
> > E: [iurt2] [iurt2] Failed to install initial packages during chroot
> > creation. N: [iurt2] [iurt2] creating chroot failed.
> 
> Well,
> it was assumed you alredy know what's needed to build rpms...
> 
> urpmi rpm-build

actually, shouldn't iurt have a dependancy on rpm-build ?

and is rpm-build actually enough? is there some sort of task- package that 
handles this?


Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread Thomas Backlund
sön 2011-03-13 klockan 23:20 +0200 skrev philippe makowski:
> 2011/3/13 Olivier Blin :
> > Michael Scherer  writes:
> >
> >>> yeah, so i'm gonna see how far it get with iurt...
> >>
> >> Having a working out of the box package of iurt would be a killer
> >> feature. Fedora does offer mock for that, and that's quite handy.
> >
> > It already works pretty well out of the box.
> hard to believe
> I tried twice :
> iurt  --repository
> http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
> --rebuild cauldron x86_64
> ./rpm/SRPMS/python-gtkglext-1.1.0-8.mga1.src.rpm
> ...
> [iurt2] [iurt2] ERROR: rpm-build is missing!
> E: [iurt2] [iurt2] Failed to install initial packages during chroot creation.
> N: [iurt2] [iurt2] creating chroot failed.

Well,
it was assumed you alredy know what's needed to build rpms...

urpmi rpm-build

--
Thomas




Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread philippe makowski
2011/3/13 Olivier Blin :
> Michael Scherer  writes:
>
>>> yeah, so i'm gonna see how far it get with iurt...
>>
>> Having a working out of the box package of iurt would be a killer
>> feature. Fedora does offer mock for that, and that's quite handy.
>
> It already works pretty well out of the box.
hard to believe
I tried twice :
iurt  --repository
http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
--rebuild cauldron x86_64
./rpm/SRPMS/python-gtkglext-1.1.0-8.mga1.src.rpm
...
[iurt2] [iurt2] ERROR: rpm-build is missing!
E: [iurt2] [iurt2] Failed to install initial packages during chroot creation.
N: [iurt2] [iurt2] creating chroot failed.


Re: [Mageia-dev] Repository question: where do we put non-free+tainted RPMs?

2011-03-13 Thread Samuel Verschelde
Le dimanche 13 mars 2011 21:01:15, Thomas Backlund a écrit :
> sön 2011-03-13 klockan 21:55 +0200 skrev Tux99:
> > During the review with my mentor Anssi of one of the packages I'm working
> > on, the question came up what the appropriate repository for a package is
> > that's both non-free (open source but not a FOSS license) and tainted
> > (contains sw. that is covered by patents in some parts of the world).
> > 
> > Should a non-free+tainted package go in tainted, i.e. is the tainted repo
> > for all tainted packages, both free and non-free
> 
> tainted, as thats a "bigger" issue than nonfree
> 
> --
> Thomas

I would have said the opposite, so that using core + tainted you're sure to 
get free software :)

Samuel


Re: [Mageia-dev] Repository question: where do we put non-free+tainted RPMs?

2011-03-13 Thread Thomas Backlund
sön 2011-03-13 klockan 21:55 +0200 skrev Tux99:
> 
> During the review with my mentor Anssi of one of the packages I'm working
> on, the question came up what the appropriate repository for a package is
> that's both non-free (open source but not a FOSS license) and tainted
> (contains sw. that is covered by patents in some parts of the world).
> 
> Should a non-free+tainted package go in tainted, i.e. is the tainted repo
> for all tainted packages, both free and non-free
> 

tainted, as thats a "bigger" issue than nonfree

--
Thomas



[Mageia-dev] Repository question: where do we put non-free+tainted RPMs?

2011-03-13 Thread Tux99


During the review with my mentor Anssi of one of the packages I'm working
on, the question came up what the appropriate repository for a package is
that's both non-free (open source but not a FOSS license) and tainted
(contains sw. that is covered by patents in some parts of the world).

Should a non-free+tainted package go in tainted, i.e. is the tainted repo
for all tainted packages, both free and non-free

or

should it go into non-free, i.e. non-free is for both unencumbered and
tainted packages

or

do we need a separate tainted+non-free repository just like plf has?

-- 
Mageia ML Forum Gateway: http://mageia.linuxtech.net/forum/


Re: [Mageia-dev] Remove php-pear-Date-Holidays_Norway

2011-03-13 Thread Dexter Morgan
On Sun, Mar 13, 2011 at 7:47 PM, Ahmad Samir  wrote:
> On 13 March 2011 19:31, Thomas Spuhler  wrote:
>> can someone who has the powers remove php-pear-Date-Holidays_Norway
>> It's broken with a dependency and upstream just declines to acknowledge  and
>> fix it.
>>
>> --
>> Thomas
>>
>
> It's not an upstream bug, it's a corner case caused by the rpm
> auto-provides/requires in Mageia. You can fix it by using
> _requires_exceptions
>
> --
> Ahmad Samir
>

seems a saner approach.


Re: [Mageia-dev] Remove php-pear-Date-Holidays_Norway

2011-03-13 Thread Ahmad Samir
On 13 March 2011 19:31, Thomas Spuhler  wrote:
> can someone who has the powers remove php-pear-Date-Holidays_Norway
> It's broken with a dependency and upstream just declines to acknowledge  and
> fix it.
>
> --
> Thomas
>

It's not an upstream bug, it's a corner case caused by the rpm
auto-provides/requires in Mageia. You can fix it by using
_requires_exceptions

-- 
Ahmad Samir


Re: [Mageia-dev] Alpha2 iso content

2011-03-13 Thread Angelo Naselli
In data sabato 12 marzo 2011 12:54:54, 'Priscus' Hugot ha scritto:
> It is the Amarok for those who do not want or cannot afford KDE on
> their computer (old SSD-based netbooks, for example). 
fwiw my old acer one ssd based netbook work very well with kde4.

-- 
Angelo


signature.asc
Description: This is a digitally signed message part.


Re: [Mageia-dev] Remove php-pear-Date-Holidays_Norway

2011-03-13 Thread Balcaen John
Le dimanche 13 mars 2011 14:31:37, Thomas Spuhler a écrit :
> can someone who has the powers remove php-pear-Date-Holidays_Norway
> It's broken with a dependency and upstream just declines to acknowledge 
> and fix it.
Well maybe we can fix it manually :
attached is a patch which should work if i'm not wrong :)

Regards,
P
.S: i don't know php but christian.php is provided by php-pear-Date-Holidays & 
since this package add a require on this it should be ok.
(or someone should test it at least)


-- 
Balcaen John
#
# Description: This patch fix a requires on Christian.php (which is provided by php-pear-Date_Holidays)
# Forwarded: no
# Bug : no
# Author : Balcaen John 
#
Index: Holidays/Driver/Norway.php
===
--- Holidays/Driver/Norway.php
+++ Holidays/Driver/Norway.php	2011-03-13 14:52:00.464214587 -0300
@@ -24,7 +24,6 @@
  */
 
 
-require_once 'Christian.php';
 
 /**
  * Driver class that calculates Norwegian holidays


[Mageia-dev] Remove php-pear-Date-Holidays_Norway

2011-03-13 Thread Thomas Spuhler
can someone who has the powers remove php-pear-Date-Holidays_Norway
It's broken with a dependency and upstream just declines to acknowledge  and 
fix it.

-- 
Thomas


Re: [Mageia-dev] help wanted for building a buildnode-in-a-VM

2011-03-13 Thread Olivier Blin
Michael Scherer  writes:

>> yeah, so i'm gonna see how far it get with iurt...
>
> Having a working out of the box package of iurt would be a killer
> feature. Fedora does offer mock for that, and that's quite handy.

It already works pretty well out of the box.

To install it, as root:
urpmi iurt

Then, as user, do:
iurt
 --repository http://distrib-coffee.ipsl.jussieu.fr/pub/linux/Mageia/distrib/
 --rebuild cauldron x86_64 foo.src.rpm

This will build (or rebuild) the base chroot automatically if needed.

You might just need a rule in a /etc/sudoers.d/iurt file to allow your
user to run /usr/sbin/iurt_root_command (without password)

-- 
Olivier Blin - blino