Add a build-tool that can't be found by Launchpad

Asked by Matthias Klumpp

Hi!
I am trying to create a PPA-repository from a project that is created with the Free-Pascal-IDE Lazarus. But the compiler at the PPA can't find Lazarus. Can I add this needed tool and if, how?

(Sorry for my English)

Question information

Language:
English Edit question
Status:
Solved
For:
Launchpad itself Edit question
Assignee:
No assignee Edit question
Solved by:
Christian Reis
Solved:
Last query:
Last reply:
Revision history for this message
Christian Reis (kiko) said :
#1

On Wed, Jun 04, 2008 at 06:32:48PM -0000, Quasion wrote:
> I am trying to create a PPA-repository from a project that is created
> with the Free-Pascal-IDE Lazarus. But the compiler at the PPA can't
> find Lazarus. Can I add this needed tool and if, how?

Add a build-dependency on Lazarus, I guess?
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125

Revision history for this message
Matthias Klumpp (ximion) said :
#2

I had done this already. Here's the compiler-message:
-------------------------------
** Using build dependencies supplied by package:
Build-Depends: debhelper (>= 5), lazarus
Checking for already installed source dependencies...
debhelper: missing
lazarus: missing
lazarus: does not exist
Checking for source dependency conflicts...
  /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper lazarus
Reading package lists...
Building dependency tree...
Reading state information...
E: Couldn't find package lazarus
apt-get failed.
Package installation failed
Trying to reinstall removed packages:
Trying to uninstall newly installed packages:
-------------------------------

Revision history for this message
Christian Reis (kiko) said :
#3

On Wed, Jun 04, 2008 at 07:12:53PM -0000, Quasion wrote:
> E: Couldn't find package lazarus
> apt-get failed.

Is lazarus not available in the version of Ubuntu you're targeting?
--
Christian Robottom Reis | http://async.com.br/~kiko/ | [+55 16] 3376 0125

Revision history for this message
Matthias Klumpp (ximion) said :
#4

Lazarus is available, but it is not supported. (In the universe-repository)
Can I add this tool to my project?

Revision history for this message
Matthias Klumpp (ximion) said :
#5

Has nobody an idea? Can I add the Lazarus-IDE to the build-system?

Revision history for this message
Christian Reis (kiko) said :
#6

You seem to be confused. I've looked at your PPA: https://edge.launchpad.net/~matthias-tns/+archive and seen that indeed you have build failures, but lazarus is not missing. What /is/ the problem is highlighted here:

http://launchpadlibrarian.net/15018576/buildlog_ubuntu-hardy-amd64.listaller_0.1.16a_FAILEDTOBUILD.txt.gz

...
Free Pascal Compiler version 2.2.0 [2008/04/01] for x86_64
Copyright (c) 1993-2007 by Florian Klaempfl
Target OS: Linux for x86-64
Compiling listallgo.lpr
listallgo.lpr(11,64) Fatal: Can't find unit Interfaces used by listallgo
Fatal: Compilation aborted
Error: /usr/bin/ppcx64 returned an error exitcode (normal if you did not specify a source file to be compiled)
...

I don't know how you produced the error above, but it wasn't in your PPA.

Revision history for this message
Best Christian Reis (kiko) said :
#7

Ah, I see the error in http://launchpadlibrarian.net/15057585/buildlog_ubuntu-hardy-lpia.listaller_0.1.16a_MANUALDEPWAIT.txt.gz -- but I think that's just because lazarus is not available on the lpia architecture.

Revision history for this message
Matthias Klumpp (ximion) said :
#8

That the unit "Interfaces" can't be found shows that Lazarus is missing.
I reviewed the code and noticed that the Lazarus-Version from the repository is installed in another path than my LCL-version.
I think that was the failure. Thanks for your help!

Revision history for this message
Matthias Klumpp (ximion) said :
#9

Thanks Christian Reis, that solved my question.