Please sync lazarus 0.9.24-0-12 (universe) from Debian unstable (main)

Bug #276151 reported by Paul Gevers
6
Affects Status Importance Assigned to Milestone
lazarus (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am trying to package WinFF (bug #172804) but it fails to build on Intrepid, but it is already in the NEW queue for Debian for quite some time. The new versions of fpc (sync request already filed as bug 275688) and lazarus solve the build problem (see my PPA [1]).

Lazarus can only be synced when the new build of fpc is available in the archive, but the old build of lazarus won't work if it is not rebuild or synced due to a dependency which won't be met (fpc-abi-2.2 vs fpc-abi-2.2.2).

[1] https://launchpad.net/~paul-climbing/+archive

Tags: sync
description: updated
Revision history for this message
Paul Gevers (paul-climbing) wrote :

The original source tar.gz contains a debian/files file, which prevents building of lazarus-ide on i386 [1][2].

I am working on this issue and will provide a patch or other solution when it works.

[1] http://mantis.freepascal.org/view.php?id=12201
[2] https://launchpad.net/~paul-climbing/+archive/+build/726996

Revision history for this message
Paul Gevers (paul-climbing) wrote :

In addition to my previous comment the debian site[3] shows that this problem also exists there.

[3] http://packages.qa.debian.org/l/lazarus.htm

Revision history for this message
Paul Gevers (paul-climbing) wrote :

Hmm. In the PPA of launchpad the source builds if in the debian/rules file the dependencies of binary are turned around.
binary: binary-indep binary-arch
works, while the following does not:
binary: binary-arch binary-indep

I am not sure if this is limiting in building on Ubuntu, while at home in pdebuild also lazarus was just building.

Anyway, my PPA now contains a lazarus build for both i386 and amd64. I will test it tomorrow.

Revision history for this message
James Westby (james-w) wrote :

Hey Paul,

Any news on this?

Thanks,

James

Revision history for this message
Paul Gevers (paul-climbing) wrote : Re: [Bug 276151] Re: Please sync lazarus 0.9.24-0-12 (universe) from Debian unstable (main)

> Any news on this?

This bug is just waiting for bug 275688. Or am I missing something here?
What more information is needed?

If bug 275688 is solved, lazarus should at least be rebuild.

Paul

Revision history for this message
James Westby (james-w) wrote :

On Fri, 2008-10-10 at 15:22 +0000, Paul Gevers wrote:
> > Any news on this?
>
> This bug is just waiting for bug 275688. Or am I missing something here?
> What more information is needed?
>
> If bug 275688 is solved, lazarus should at least be rebuild.

You said you were working on getting a package in to your PPA and then
you would test it. I just wanted to make sure you had done that, and
hadn't found any problems.

Should this package still be synced, or do you have patch that needs
to be applied?

Thanks,

James

Revision history for this message
Paul Gevers (paul-climbing) wrote :

> You said you were working on getting a package in to your PPA and then
> you would test it. I just wanted to make sure you had done that, and
> hadn't found any problems.
>
> Should this package still be synced, or do you have patch that needs
> to be applied?

I am not sure. The package did not build straight in my PPA, but
reversing the dependencies of the binary target in debian/rules worked.
However, as I understand it there is no guarantee on the order that
dependencies are invoked. And I don't know if the build environment in
the real Ubuntu works the same as in the PPA, so it *might* be
considered a patch...

What would be the best is if the binary-indep target would be build
independent of the binary-arch target. For instance, in my PPA the amd64
build did not build the binary-indep target, so it did not have any
problems, but building i386 the indep target was build at the same time
as the arch target and that is where things went wrong. (Basically the
debian/files get removed when the binary-indep target is build so if the
arch target is build first, that information is lost).

Paul

Revision history for this message
James Westby (james-w) wrote :

On Fri, 2008-10-10 at 16:20 +0000, Paul Gevers wrote:
> > You said you were working on getting a package in to your PPA and then
> > you would test it. I just wanted to make sure you had done that, and
> > hadn't found any problems.
> >
> > Should this package still be synced, or do you have patch that needs
> > to be applied?
>
> I am not sure. The package did not build straight in my PPA, but
> reversing the dependencies of the binary target in debian/rules worked.
> However, as I understand it there is no guarantee on the order that
> dependencies are invoked. And I don't know if the build environment in
> the real Ubuntu works the same as in the PPA, so it *might* be
> considered a patch...
>
> What would be the best is if the binary-indep target would be build
> independent of the binary-arch target. For instance, in my PPA the amd64
> build did not build the binary-indep target, so it did not have any
> problems, but building i386 the indep target was build at the same time
> as the arch target and that is where things went wrong. (Basically the
> debian/files get removed when the binary-indep target is build so if the
> arch target is build first, that information is lost).

Yeah, this might just be a bug in the package, as Ubuntu does things
slightly differently to Debian here.

Thanks,

James

Revision history for this message
Marco van de Voort (marco-freepascal) wrote :

Note that then the 2.2.0 release should be modified to give the changed copyright situation a prominent notice (it can only be used to make GPL apps, contrary to what the docs say), or wholly retracted.

This is the reason why FPC Core has retracted 2.2.0 (and all other previous releases) from its site, and is the main reason for 2.2.2

Revision history for this message
Marco van de Voort (marco-freepascal) wrote :

The above comment was slightly wrong placed (should have been to 275688) , though it via FPC also affects pre 0.9.26 lazarus releases (any version that uses 2.2.0 or older) too. 0.9.26 uses 2.2.2

Please update sooner rather than later.

Revision history for this message
Paul Gevers (paul-climbing) wrote :

lazarus 0.9.26-2 is in jaunty.

Changed in lazarus:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.