Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/13 Eric Noulard :
> 2011/3/13 Rolf Eike Beer :
>> Am Sonntag 13 März 2011, 21:19:41 schrieb Eric Noulard:
>>> 2011/3/13 Eric Noulard :
>>> > I'll try to [blindly] fix this with a SUSE specific test *in the test
>>> > itself* and not in CPack RPM.
>>>
>>> I did push forward the stage "CPackRPM-TestWithMoreTraces" and merge it to
>>> next. This last commit should make the CPackRPM test work on SUSE 64bits.
>>>
>>> Would you be able to re-try for me using next?
>>
>> http://www.cdash.org/CDash/buildSummary.php?buildid=902959
>
> Ok this is re-assuring.
>
>> I hope that there will be a way to detect and honor this lib/lib64 policy
>> thing on a general base and to handle that properly in normal installs and
>> RPMs.

I'll go on with this issue on the tracker:
http://public.kitware.com/Bug/view.php?id=11964

anyone interested in this may post comment to the tracker.
-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/13 Rolf Eike Beer :
> Am Sonntag 13 März 2011, 21:19:41 schrieb Eric Noulard:
>> 2011/3/13 Eric Noulard :
>> > I'll try to [blindly] fix this with a SUSE specific test *in the test
>> > itself* and not in CPack RPM.
>>
>> I did push forward the stage "CPackRPM-TestWithMoreTraces" and merge it to
>> next. This last commit should make the CPackRPM test work on SUSE 64bits.
>>
>> Would you be able to re-try for me using next?
>
> http://www.cdash.org/CDash/buildSummary.php?buildid=902959

Ok this is re-assuring.

> I hope that there will be a way to detect and honor this lib/lib64 policy
> thing on a general base and to handle that properly in normal installs and
> RPMs.

The thing is, I'll have to check how the different distributions
handle this case,
for example on my Debian 64 bits box I have:

$ ls -ld /usr/lib*
drwxr-xr-x 311 root root 151552 12 mars  23:30 /usr/lib
drwxr-xr-x  33 root root  45056 29 janv. 10:18 /usr/lib32
lrwxrwxrwx   1 root root  3 31 déc.   2008 /usr/lib64 -> lib
drwxr-xr-x   3 root root   4096  1 janv.  2009 /usr/libexec

As you can see /usr/lib is the 'native' lib dir, with lib64 being a
link to this.
Then lib32 is the 32bits 'non-native' one.
This layout seems reasonable, I'll check on Fedora 64 or other RPM based
distros during this week.

Now I may teach CPackRPM to detect if it is running on Fedora or SUSE
or Mandriva etc..
and do some nasty things like renaming lib destination into lib64
if we are packaging a 64 bit package but I currently find it weird.

The rpm installer (the rpm command) or  packager (rpmbuild) perfectly knows
that we are building a natively 64 bits RPM package it's even written in the RPM
using "Architecture" field so if he wants to enforce to put 64 bits
libs into lib64
he may do it by itself and not asking the packager to do it.

Currently I would say that rpm build policy on SUSE 64 bits
is the culprit not CPackRPM (which is simply calling RPM build).

However, I'll investage further because up to now I did never face
such 32/64 bits issue
even if I use natively 64 bits linux systems since at least 5 years...

Slackware seems to be using lib${LIBDIRSUFFIX}
http://www.mail-archive.com/slackbuilds-users@slackbuilds.org/msg01569.html

Others (like at least Fedora, RedHat, Mandriva)
seems to be using builtin RPM "%_libdir" macros.

The thing is currently with cpack the user chose the library/runtime
destination
so if he chose 'lib' shall we go with "lib64" should be safe but
if the installation prefix is not '/usr' but '/opt/' or '/anywhere/you/want'
shall we do the lib-->lib64 automatic renaming.

Any insight or reference about this 32/64 bits lib mixup is welcomed.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Rolf Eike Beer
Am Sonntag 13 März 2011, 21:19:41 schrieb Eric Noulard:
> 2011/3/13 Eric Noulard :
> > I'll try to [blindly] fix this with a SUSE specific test *in the test
> > itself* and not in CPack RPM.
> 
> I did push forward the stage "CPackRPM-TestWithMoreTraces" and merge it to
> next. This last commit should make the CPackRPM test work on SUSE 64bits.
> 
> Would you be able to re-try for me using next?

http://www.cdash.org/CDash/buildSummary.php?buildid=902959

I hope that there will be a way to detect and honor this lib/lib64 policy 
thing on a general base and to handle that properly in normal installs and 
RPMs.

Eike


signature.asc
Description: This is a digitally signed message part.
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/13 Eric Noulard :

> I'll try to [blindly] fix this with a SUSE specific test *in the test
> itself* and not in CPack RPM.

I did push forward the stage "CPackRPM-TestWithMoreTraces" and merge it to next.
This last commit should make the CPackRPM test work on SUSE 64bits.

Would you be able to re-try for me using next?


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-13 Thread Eric Noulard
2011/3/12 Rolf Eike Beer :
> Am Samstag 12 März 2011, 14:53:41 schrieb Eric Noulard:
>> 2011/3/12 Rolf Eike Beer :
>> > Am Samstag 12 März 2011, 14:21:33 schrieb Eric Noulard:
>
>> >> Seems that the issue really needs 11.0 or earlier.
>> >> I'll try to seek for an Open SUSE 11.0 iso image somewhere...
>> >
>> > ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution
>>
>> Thank you,
>> I did have a hard time to find a mirror with oldish open SUSE images...
>
> At least an 11.1 would have been at the other location, too ;)

Yes true but I wasn't sure how the bug was linked to specific version,
now I think I know, but keep reading...

>> Ok thanks but don't waste too much of your time for that.
>> Now that I have an iso image url,
>> I'll try myself to
>> reproduce the error in a VM as soon as I have the image on my disk.
>
> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=901570
>
> Well, doing "ssh that host; git pull && cmake-nighty.sh" isn't particular
> hard.

Thank you Eike.
With your help now I think I know what the problem is.
It seems to be a SUSE 64bits specific issue, I did open a bug for that:
http://public.kitware.com/Bug/view.php?id=11964

on [Open] SUSE there seem to be a nasty
/usr/lib/rpm/brp-lib64-linux

script which checks that 64bits libraries ends-up in

*/lib64/
and not in
*/lib

for any ld path found in ld.so.conf...
The failing test is intalling libs in "lib" and don't care about 64/32bits.

I don't think it's really a a CPackRPM bug...because even if not using CPackRPM
but just "make install" any project installing in "lib" would break
this SUSE policy.

Last but not least I cannot reproduce this on my computer because
currently I cannot start a VM with a 64 bit guest OS, because my computer
is too old and has no "hardware virtualisation support" which makes
virtualbox OSE
or qemu not able to virtualize that arch :-[

I'll try to [blindly] fix this with a SUSE specific test *in the test
itself* and not in CPack RPM.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Rolf Eike Beer
Am Samstag 12 März 2011, 14:53:41 schrieb Eric Noulard:
> 2011/3/12 Rolf Eike Beer :
> > Am Samstag 12 März 2011, 14:21:33 schrieb Eric Noulard:

> >> Seems that the issue really needs 11.0 or earlier.
> >> I'll try to seek for an Open SUSE 11.0 iso image somewhere...
> > 
> > ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution
> 
> Thank you,
> I did have a hard time to find a mirror with oldish open SUSE images...

At least an 11.1 would have been at the other location, too ;)

> >> In the meantime if you can re-run the test on "next" instead of
> >> "master" it would be helpfull.
> > 
> > Will try.
> 
> Ok thanks but don't waste too much of your time for that.
> Now that I have an iso image url,
> I'll try myself to
> reproduce the error in a VM as soon as I have the image on my disk.

http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=901570

Well, doing "ssh that host; git pull && cmake-nighty.sh" isn't particular 
hard.

Eike


signature.asc
Description: This is a digitally signed message part.
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Eric Noulard
2011/3/12 Rolf Eike Beer :
> Am Samstag 12 März 2011, 14:21:33 schrieb Eric Noulard:
>> 2011/3/11 Eric Noulard :
>> > 2011/3/11 Rolf Eike Beer :
>> >>> I can check on an openSUSE 11.0 tomorrow.
>> >>
>> >> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=900169
>> >>
>> >> If you want some quick changes come to #cmake on Freenode where I
>> >> usually hang around (Dakon).
>> >
>> > Thank you Eike,
>> > I'll may try that later today.
>> >
>> > From the Dashboard it seems that you did run the test on "master" branch
>> > I would rather be interested in seeing the result on "next" branch.
>> >
>> > That said, since the bug seems to be there on OpenSUSE 11.0 I'll try
>> > to setup a VM myself.
>>
>> I did try with OpenSUSE 11.2 and it's working well.
>> I tried 11.2 because didn't find any OpenSUSE 11.0 image/DVD on
>> opensuse.org...
>>
>> Seems that the issue really needs 11.0 or earlier.
>> I'll try to seek for an Open SUSE 11.0 iso image somewhere...
>
> ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution

Thank you,
I did have a hard time to find a mirror with oldish open SUSE images...

>> In the meantime if you can re-run the test on "next" instead of
>> "master" it would be helpfull.
>
> Will try.

Ok thanks but don't waste too much of your time for that.
Now that I have an iso image url,
I'll try myself to
reproduce the error in a VM as soon as I have the image on my disk.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Rolf Eike Beer
Am Samstag 12 März 2011, 14:21:33 schrieb Eric Noulard:
> 2011/3/11 Eric Noulard :
> > 2011/3/11 Rolf Eike Beer :
> >>> I can check on an openSUSE 11.0 tomorrow.
> >> 
> >> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=900169
> >> 
> >> If you want some quick changes come to #cmake on Freenode where I
> >> usually hang around (Dakon).
> > 
> > Thank you Eike,
> > I'll may try that later today.
> > 
> > From the Dashboard it seems that you did run the test on "master" branch
> > I would rather be interested in seeing the result on "next" branch.
> > 
> > That said, since the bug seems to be there on OpenSUSE 11.0 I'll try
> > to setup a VM myself.
> 
> I did try with OpenSUSE 11.2 and it's working well.
> I tried 11.2 because didn't find any OpenSUSE 11.0 image/DVD on
> opensuse.org...
> 
> Seems that the issue really needs 11.0 or earlier.
> I'll try to seek for an Open SUSE 11.0 iso image somewhere...

ftp://ftp5.gwdg.de/pub/opensuse/discontinued/distribution

> In the meantime if you can re-run the test on "next" instead of
> "master" it would be helpfull.

Will try.


signature.asc
Description: This is a digitally signed message part.
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-12 Thread Eric Noulard
2011/3/11 Eric Noulard :
> 2011/3/11 Rolf Eike Beer :
>>>
>>> I can check on an openSUSE 11.0 tomorrow.
>>
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=900169
>>
>> If you want some quick changes come to #cmake on Freenode where I usually
>> hang around (Dakon).
>
> Thank you Eike,
> I'll may try that later today.
>
> From the Dashboard it seems that you did run the test on "master" branch
> I would rather be interested in seeing the result on "next" branch.
>
> That said, since the bug seems to be there on OpenSUSE 11.0 I'll try
> to setup a VM myself.

I did try with OpenSUSE 11.2 and it's working well.
I tried 11.2 because didn't find any OpenSUSE 11.0 image/DVD on opensuse.org...

Seems that the issue really needs 11.0 or earlier.
I'll try to seek for an Open SUSE 11.0 iso image somewhere...

In the meantime if you can re-run the test on "next" instead of
"master" it would be helpfull.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-11 Thread Eric Noulard
2011/3/11 Rolf Eike Beer :
>>> NCISome recently activayed CPackRPM tests
>>> are failing on a SLES 10 x86_64 machine:
>>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=898471
>>>
>>> would anybody here be able to run this test on a similar host
>>> using 'next' branch for me?
>>>
>>> I do not currently have access to such system and
>>> I'm unable to reproduce the problem...
>>>
>>> SLES 10 is a relatively old release (2006) of
>>> SUSE Linux Enterprise Server.
>>>
>>> May be a SUSE 10.x   or OpenSUSE 10.2 system could be OK too.
>>
>> I can check on an openSUSE 11.0 tomorrow.
>
> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=900169
>
> If you want some quick changes come to #cmake on Freenode where I usually
> hang around (Dakon).

Thank you Eike,
I'll may try that later today.

>From the Dashboard it seems that you did run the test on "master" branch
I would rather be interested in seeing the result on "next" branch.

That said, since the bug seems to be there on OpenSUSE 11.0 I'll try
to setup a VM myself.


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-11 Thread Rolf Eike Beer
>> NCISome recently activayed CPackRPM tests
>> are failing on a SLES 10 x86_64 machine:
>> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=898471
>>
>> would anybody here be able to run this test on a similar host
>> using 'next' branch for me?
>>
>> I do not currently have access to such system and
>> I'm unable to reproduce the problem...
>>
>> SLES 10 is a relatively old release (2006) of
>> SUSE Linux Enterprise Server.
>>
>> May be a SUSE 10.x   or OpenSUSE 10.2 system could be OK too.
>
> I can check on an openSUSE 11.0 tomorrow.

http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=900169

If you want some quick changes come to #cmake on Freenode where I usually
hang around (Dakon).

Eike
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


Re: [cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-10 Thread Rolf Eike Beer
> NCISome recently activayed CPackRPM tests
> are failing on a SLES 10 x86_64 machine:
> http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=898471
> 
> would anybody here be able to run this test on a similar host
> using 'next' branch for me?
> 
> I do not currently have access to such system and
> I'm unable to reproduce the problem...
> 
> SLES 10 is a relatively old release (2006) of
> SUSE Linux Enterprise Server.
> 
> May be a SUSE 10.x   or OpenSUSE 10.2 system could be OK too.

I can check on an openSUSE 11.0 tomorrow.

Eike
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers


[cmake-developers] Help requested for running CPackRPM tests on SLES 10 machine

2011-03-10 Thread Eric Noulard
Hi All,

NCISome recently activayed CPackRPM tests
are failing on a SLES 10 x86_64 machine:
http://www.cdash.org/CDash/viewTest.php?onlyfailed&buildid=898471

would anybody here be able to run this test on a similar host
using 'next' branch for me?

I do not currently have access to such system and
I'm unable to reproduce the problem...

SLES 10 is a relatively old release (2006) of
SUSE Linux Enterprise Server.

May be a SUSE 10.x  or OpenSUSE 10.2 system could be OK too.

-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
___
cmake-developers mailing list
cmake-developers@cmake.org
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers