Andrey Bondrov | 9 Feb 19:34
Picon
Favicon

Who's responsible for fpc and lazarus packaging?

Hi all!

1. At this moment we have broken lazarus in 2010.2 backports. Because it 
wasn't rebuilt against later backported fpc.

Lazarus last log: * Mon Dec 27 2010 Alexander Kazantsev 
<kazancas <at> mandriva.org> 0.9.29.27705-1mdv2010.1

fpc last log: Mon Sep 23 2011 Alexander Kazantsev 
<kazancas <at> mandriva.org> 2.4.4-3

2. But backporting lazarus-0.9.30.1.32070 is not possible until fpc 
backport is fixed. Because file permissions for fpc-src subpackage are 
wrong:

[vuohi <at> mandriva fpcsrc]$ ll
drwx------ 111 root root 4096 2011-11-11 01:27 packages/
drwx------  44 root root 4096 2011-11-11 01:27 rtl/

So, I ask people who are responsible for fpc and lazarus packaging to 
fix lazarus in 2010.2 /backports.

Alexander Kazancev | 9 Feb 21:08

Re: Who's responsible for fpc and lazarus packaging?

try backport fpc and then lazarus now

2012/2/9 Andrey Bondrov <pulfer-cooker <at> list.ru>:
> Hi all!
>
> 1. At this moment we have broken lazarus in 2010.2 backports. Because it
> wasn't rebuilt against later backported fpc.
>
> Lazarus last log: * Mon Dec 27 2010 Alexander Kazantsev
> <kazancas <at> mandriva.org> 0.9.29.27705-1mdv2010.1
>
> fpc last log: Mon Sep 23 2011 Alexander Kazantsev <kazancas <at> mandriva.org>
> 2.4.4-3
>
> 2. But backporting lazarus-0.9.30.1.32070 is not possible until fpc backport
> is fixed. Because file permissions for fpc-src subpackage are wrong:
>
> [vuohi <at> mandriva fpcsrc]$ ll
> drwx------ 111 root root 4096 2011-11-11 01:27 packages/
> drwx------  44 root root 4096 2011-11-11 01:27 rtl/
>
> So, I ask people who are responsible for fpc and lazarus packaging to fix
> lazarus in 2010.2 /backports.
>

--

-- 
Chief of educational programs Mandriva Russia (http://edumandriva.ru)
Alexander Kazancev

(Continue reading)

Andrey Bondrov | 10 Feb 09:24
Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

Oh, well, your commit doesn't solve the problem because fpcsrc dir 
itself has right permissions already, only its subdirs have wrong 
permissions. But ok, I'll solve it myself.

P.S. Could be better if "RPM4 junk" wasn't removed from the spec already...

10.02.2012 07:08, Alexander Kazancev пишет:
> try backport fpc and then lazarus now
>
> 2012/2/9 Andrey Bondrov<pulfer-cooker <at> list.ru>:
>> Hi all!
>>
>> 1. At this moment we have broken lazarus in 2010.2 backports. Because it
>> wasn't rebuilt against later backported fpc.
>>
>> Lazarus last log: * Mon Dec 27 2010 Alexander Kazantsev
>> <kazancas <at> mandriva.org>  0.9.29.27705-1mdv2010.1
>>
>> fpc last log: Mon Sep 23 2011 Alexander Kazantsev<kazancas <at> mandriva.org>
>> 2.4.4-3
>>
>> 2. But backporting lazarus-0.9.30.1.32070 is not possible until fpc backport
>> is fixed. Because file permissions for fpc-src subpackage are wrong:
>>
>> [vuohi <at> mandriva fpcsrc]$ ll
>> drwx------ 111 root root 4096 2011-11-11 01:27 packages/
>> drwx------  44 root root 4096 2011-11-11 01:27 rtl/
>>
>> So, I ask people who are responsible for fpc and lazarus packaging to fix
>> lazarus in 2010.2 /backports.
(Continue reading)

Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

Spec in Cooker for 2011 and later. For 2010.1 (2) use 2010.1/fpc package.

For wrong permission - i test package in on fpcsrc dir has a right permissions.

 [kazancas <at> kuhnya fpcsrc]$ ll
итого 8
drwxr-xr-x 111 root root 4096 Фев 10 12:58 packages/
drwxr-xr-x  44 root root 4096 Фев 10 12:58 rtl/

2012/2/10 Andrey Bondrov <pulfer-cooker <at> list.ru>:
> Oh, well, your commit doesn't solve the problem because fpcsrc dir itself
> has right permissions already, only its subdirs have wrong permissions. But
> ok, I'll solve it myself.
>
> P.S. Could be better if "RPM4 junk" wasn't removed from the spec already...
>
>
> 10.02.2012 07:08, Alexander Kazancev пишет:
>
>> try backport fpc and then lazarus now
>>
>> 2012/2/9 Andrey Bondrov<pulfer-cooker <at> list.ru>:
>>>
>>> Hi all!
>>>
>>> 1. At this moment we have broken lazarus in 2010.2 backports. Because it
>>> wasn't rebuilt against later backported fpc.
>>>
>>> Lazarus last log: * Mon Dec 27 2010 Alexander Kazantsev
>>> <kazancas <at> mandriva.org>  0.9.29.27705-1mdv2010.1
(Continue reading)

Andrey Bondrov | 10 Feb 10:43
Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

$ tar -tvf fpc-2.4.4.source.tar.gz:
[...]
drwx------ kazancas/kazancas       0 2011-04-03 05:27 
fpc-2.4.4/utils/mksymbian/
drwx------ kazancas/kazancas       0 2011-04-03 05:27 
fpc-2.4.4/utils/fppkg/lnet/sys/
drwx------ kazancas/kazancas       0 2011-04-03 05:27 
fpc-2.4.4/utils/fppkg/lnet/
[...and so on]

And then you just:
install -dm 755 %{buildroot}%{_datadir}/fpcsrc
cp -a fpc_src/* %{buildroot}%{_datadir}/fpcsrc/

How can you get right permissions that way?

You can ssh to any build node and then
1. $ repsys getsrpm lazarus
2. $ sudo iurt ./lazarus-0.9.30.1.32070-2.src.rpm

You'll get:

------------------
[...]
+ export FPCDIR=/usr/share/fpcsrc/
+ FPCDIR=/usr/share/fpcsrc/
+ fpcmake -Tall
Processing Makefile.fpc
Error: Target "linux", package "rtl" not found
error: Bad exit status from /home/abondrov/rpm/tmp/rpm-tmp.321 (%build)
(Continue reading)

Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

Patches not added for me :(

2012/2/10 Andrey Bondrov <pulfer-cooker <at> list.ru>:
> $ tar -tvf fpc-2.4.4.source.tar.gz:
> [...]
> drwx------ kazancas/kazancas       0 2011-04-03 05:27
> fpc-2.4.4/utils/mksymbian/
> drwx------ kazancas/kazancas       0 2011-04-03 05:27
> fpc-2.4.4/utils/fppkg/lnet/sys/
> drwx------ kazancas/kazancas       0 2011-04-03 05:27
> fpc-2.4.4/utils/fppkg/lnet/
> [...and so on]
>
> And then you just:
> install -dm 755 %{buildroot}%{_datadir}/fpcsrc
> cp -a fpc_src/* %{buildroot}%{_datadir}/fpcsrc/
>
> How can you get right permissions that way?
>
> You can ssh to any build node and then
> 1. $ repsys getsrpm lazarus
> 2. $ sudo iurt ./lazarus-0.9.30.1.32070-2.src.rpm
>
> You'll get:
>
> ------------------
> [...]
> + export FPCDIR=/usr/share/fpcsrc/
> + FPCDIR=/usr/share/fpcsrc/
> + fpcmake -Tall
(Continue reading)

Andrey Bondrov | 10 Feb 15:30
Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

Per Øyvind Karlsen said he started some work on fpc to help Guilherme Moro with something, but the work was
never finished, leaving fpc half-broken.

Anyway, fpc is fixed both in Cooker and 2010.2 backports. Lazarus is fixed in 2010.2 backports. It requires
some extra work to build Lazarus for Cooker (need to fix "Stabs debuginfo not supported" error) which I'm
going to do later (on Monday or so). But if you know how to fix it (perhaps adding -gw to compiler options
should be enough, I'm not sure), feel free to do it yourself.

As for 2011, I guess we must build fixed fpc for main/updates. Just in case we need to update Lazarus for 2011
in future. I don't have 2011 installation alive at this moment so if somebody can check possibility of
rebuilding lazarus in 2011 with fpc from main/release, please let me know. Or just submit bug report if
build fails...

10.02.2012 20:44, Александр Казанцев пишет:
> Patches not added for me :(
>
> 2012/2/10 Andrey Bondrov<pulfer-cooker <at> list.ru>:
>> $ tar -tvf fpc-2.4.4.source.tar.gz:
>> [...]
>> drwx------ kazancas/kazancas       0 2011-04-03 05:27
>> fpc-2.4.4/utils/mksymbian/
>> drwx------ kazancas/kazancas       0 2011-04-03 05:27
>> fpc-2.4.4/utils/fppkg/lnet/sys/
>> drwx------ kazancas/kazancas       0 2011-04-03 05:27
>> fpc-2.4.4/utils/fppkg/lnet/
>> [...and so on]
>>
>> And then you just:
>> install -dm 755 %{buildroot}%{_datadir}/fpcsrc
>> cp -a fpc_src/* %{buildroot}%{_datadir}/fpcsrc/
(Continue reading)

Alexander Kazancev | 10 Feb 15:37

Re: Who's responsible for fpc and lazarus packaging?

On 2011 i think not needing update lazarus and fpc anymore - it's work
and work fine - we broke all educational stuff in Russia and Brazil
(and other countries) and will have a problem with units. In backports
we may put new version, because Lazarus 2.6.31 will be work with fpc
2.6.0 and only this need update fpc/lazarus stuff.

For me problem is change my package without ask me, because for my
last change all (lazarus and fpc) works fine.

2012/2/10 Andrey Bondrov <pulfer-cooker <at> list.ru>:
> Per Øyvind Karlsen said he started some work on fpc to help Guilherme Moro
> with something, but the work was never finished, leaving fpc half-broken.
>
> Anyway, fpc is fixed both in Cooker and 2010.2 backports. Lazarus is fixed
> in 2010.2 backports. It requires some extra work to build Lazarus for Cooker
> (need to fix "Stabs debuginfo not supported" error) which I'm going to do
> later (on Monday or so). But if you know how to fix it (perhaps adding -gw
> to compiler options should be enough, I'm not sure), feel free to do it
> yourself.
>
> As for 2011, I guess we must build fixed fpc for main/updates. Just in case
> we need to update Lazarus for 2011 in future. I don't have 2011 installation
> alive at this moment so if somebody can check possibility of rebuilding
> lazarus in 2011 with fpc from main/release, please let me know. Or just
> submit bug report if build fails...
>
>
> 10.02.2012 20:44, Александр Казанцев пишет:
>
>> Patches not added for me :(
(Continue reading)

Andrey Bondrov | 12 Feb 18:13
Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

11.02.2012 01:37, Alexander Kazancev пишет:
> On 2011 i think not needing update lazarus and fpc anymore - it's work
> and work fine - we broke all educational stuff in Russia and Brazil
> (and other countries) and will have a problem with units. In backports
> we may put new version, because Lazarus 2.6.31 will be work with fpc
> 2.6.0 and only this need update fpc/lazarus stuff.

Ok.

Meanwhile, I fixed debuginfo format error. lazarus package is rebuilt in 
Cooker.

Picon
Favicon

Re: Who's responsible for fpc and lazarus packaging?

Thanks.

2012/2/12 Andrey Bondrov <pulfer-cooker <at> list.ru>:
> 11.02.2012 01:37, Alexander Kazancev пишет:
>
>> On 2011 i think not needing update lazarus and fpc anymore - it's work
>> and work fine - we broke all educational stuff in Russia and Brazil
>> (and other countries) and will have a problem with units. In backports
>> we may put new version, because Lazarus 2.6.31 will be work with fpc
>> 2.6.0 and only this need update fpc/lazarus stuff.
>
>
> Ok.
>
> Meanwhile, I fixed debuginfo format error. lazarus package is rebuilt in
> Cooker.
>

--

-- 
С уважением руководитель образовательных программ Mandriva.Ru
(www.edumandriva.ru), к.т.н., Казанцев Александр Сергеевич

Chief of educational programs Mandriva Russia (http://edumandriva.ru)
Alexander Kazancev

Gmane