[SRU] fp-compiler doesn't know it depends on binutils

Bug #790583 reported by Klaus Hartnegg
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
fpc (Debian)
Fix Released
Unknown
fpc (Ubuntu)
Fix Released
High
Angel Abad
Hardy
Won't Fix
High
Unassigned
Lucid
Fix Released
High
Angel Abad
Maverick
Fix Released
High
Angel Abad
Natty
Fix Released
High
Angel Abad
Oneiric
Fix Released
High
Angel Abad

Bug Description

Binary package hint: fp-compiler

TEST CASE:

After installation of fp-compiler in ubuntu server 10.04 it doesn't work.
It requires installation of binutils, but doesn't do this automatic as it should.

$ echo "begin writeln ('hello'); end." > hello.pas
$fpc hello.pas

Error:
hello.pas(3,1) Error: Util ld not found, switching to external linking
hello.pas(3,1) Fatal: There were 1 errors compiling module, stopping
Fatal: Compilation aborted

Regression:
I think there is no options for regression, it only needs depends on binutils and conflicts with binutils-gold.

description: updated
description: updated
description: updated
Angel Abad (angelabad)
Changed in fpc (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Angel Abad (angelabad)
Changed in fpc (Ubuntu Hardy):
importance: Undecided → High
status: New → Confirmed
Changed in fpc (Ubuntu Lucid):
importance: Undecided → High
status: New → Confirmed
Changed in fpc (Ubuntu Maverick):
importance: Undecided → High
status: New → Confirmed
Changed in fpc (Ubuntu Natty):
importance: Undecided → High
status: New → Confirmed
Angel Abad (angelabad)
summary: - package fp-compiler doesn't know it depends on binutils
+ [SRU] fp-compiler doesn't know it depends on binutils
description: updated
Changed in fpc (Ubuntu Hardy):
assignee: nobody → Angel Abad (angelabad)
status: Confirmed → In Progress
Changed in fpc (Ubuntu Lucid):
assignee: nobody → Angel Abad (angelabad)
status: Confirmed → In Progress
Changed in fpc (Ubuntu Maverick):
assignee: nobody → Angel Abad (angelabad)
status: Confirmed → In Progress
Changed in fpc (Ubuntu Natty):
assignee: nobody → Angel Abad (angelabad)
status: Confirmed → In Progress
Revision history for this message
Angel Abad (angelabad) wrote :

All packages uploaded to -proposed distributions.

Waiting for apporval.

Regards,

Changed in fpc (Ubuntu Hardy):
assignee: Angel Abad (angelabad) → nobody
status: In Progress → Confirmed
Changed in fpc (Ubuntu Lucid):
status: In Progress → Confirmed
Changed in fpc (Ubuntu Hardy):
assignee: nobody → Angel Abad (angelabad)
Changed in fpc (Ubuntu Maverick):
status: In Progress → Confirmed
Changed in fpc (Ubuntu Natty):
status: In Progress → Confirmed
Changed in fpc (Ubuntu Hardy):
status: Confirmed → Fix Committed
Changed in fpc (Ubuntu Lucid):
status: Confirmed → Fix Committed
Changed in fpc (Ubuntu Maverick):
status: Confirmed → Fix Committed
Changed in fpc (Ubuntu Natty):
status: Confirmed → Fix Committed
Revision history for this message
Angel Abad (angelabad) wrote :

Pleaes do not approve hardy upload, it FTBFS.

Regards,

Changed in fpc (Ubuntu Natty):
status: Fix Committed → Confirmed
status: Confirmed → Fix Committed
Changed in fpc (Ubuntu Hardy):
status: Fix Committed → Confirmed
assignee: Angel Abad (angelabad) → nobody
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

Angel, I have to reject the uploads to lucid,mvaerick, and natty -proposed. The changelog entry is missing a #, so the changes file does not have the Launchpad-Bugs-Fixed: header, which, if missing, will have a bit of a ripple effect on the process.

To be clear, the entry should say (LP: #790583) not (LP: 790583).

Revision history for this message
Angel Abad (angelabad) wrote :

Hi Clint! Sorrt for the mistake. I will re-upload fixed packages as soon as possible.

Regards

Revision history for this message
Angel Abad (angelabad) wrote :

Packages fixed and re-uploaded.

Regards,

Revision history for this message
Martin Pitt (pitti) wrote :

Please get this fixed in oneiric, and also forward to Debian, so that this can progress into -updates.

tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted fpc into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted fpc into natty-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Martin Pitt (pitti) wrote :

Accepted fpc into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Angel Abad (angelabad) wrote :

I tried all proposed packages (natty-proposed, maverick-proposed, lucid-proposed) and them install well and fix binutils dependency problem. Please promote to -upgrade.

Regrards,

Revision history for this message
Martin Pitt (pitti) wrote :

Can't propose to -updates before this gets fixed in oneiric (even accepting it into -proposed is stretching the SRU policy).

tags: added: verification-done
removed: verification-needed
Revision history for this message
Klaus Hartnegg (hartnegg) wrote :

Btw. debian got a bug report for this problem years ago
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265265
and thought it was fixed, but it isn't.
I just checked that their problem is still there and opened a new bug:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630890

Revision history for this message
Angel Abad (angelabad) wrote :

Hi Martin! Ok, Im waiting for this merge:

- https://bugs.launchpad.net/ubuntu/+source/fpc/+bug/798142

It solves the problem in Oneiric, event if it isnt fixed in 2 or 3 days I will upload merge.

Regards,

Revision history for this message
Angel Abad (angelabad) wrote :

Hi Klaus, this problem is fixed in Debian unstable:

- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=265265

Regards,

Revision history for this message
Klaus Hartnegg (hartnegg) wrote :

The debian bug report 265265 says it was fixed seven years ago in fp-compiler_1.9.4-5.
I tested today in debian 6.0 with fp-compiler_2.4.0-2 and binutils was missing.
So either it takes more than seven years to get this into stable, or the same bug is back.

Changed in fpc (Debian):
status: Unknown → Fix Released
Revision history for this message
Angel Abad (angelabad) wrote :

Hi Klaus, Sid package is fixed, you can see depends:

# apt-cache depends fp-compiler-2.4.4
fp-compiler-2.4.4
 |Depende: debconf
  Depende: <debconf-2.0>
    cdebconf
    debconf
  Depende: fp-units-rtl-2.4.4
  Depende: binutils
  Sugiere: fp-docs-2.4.4
  Recomienda: fp-utils-2.4.4
  Entra en conflicto: binutils-gold
  Rompe: fp-compiler
  Reemplaza: fp-compiler

Regards,

Angel Abad (angelabad)
Changed in fpc (Ubuntu Oneiric):
assignee: nobody → Angel Abad (angelabad)
status: Confirmed → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.0 KiB)

This bug was fixed in the package fpc - 2.4.4-1ubuntu1

---------------
fpc (2.4.4-1ubuntu1) oneiric; urgency=low

  * Merge from debian unstable. (LP: #798142, #790583) Remaining changes:
    - Backported patch from fpc trunk to fix handling of EABI syscalls
      when there are more than five parameters.
      + http://lists.freepascal.org/lists/fpc-devel/2010-October/022228.html

fpc (2.4.4-1) unstable; urgency=low

  * New upstream release with many fixes and a few new features.
    - Most library fixes from early June 2010 till March 2011.
      + New lib in fp-untis-misc: libsee
      + New libs in fp-untis-gfx: hermes, ptc
      + New lib in fp-units-fcl: fcl-js
    - Some compiler fixes, most relating to 64-bit.
    - List of changes which may affect the behaviour of previously working
      code, and how to cope with these changes is available online on
      http://wiki.freepascal.org/User_Changes_2.4.4
    - List of reported bugs which have been fixed in this release is
      available online on http://bugs.freepascal.org/changelog_page.php
  * Packages:
    - Many improvements to the XML units
    - Many improvements to the database units.
      + Specially sqlite got quite some fixes.
    - Many improvements to the chm units.
      + Including a command line CHM compiler
    - New interface units:
      + opencl
      + lua
    - Many improvements to fppkg and fpmake for another round of testing.
  * Platforms:
    - Fixes for multi-threading support in OS/2 RTL.
  * Alternative system priority is now set on build time, if given, or
    automatically depending on upstream version.
  * Removed build dependency on quilt and bumped standard version to 3.9.2.

fpc (2.4.2-3) unstable; urgency=low

  * Added depency on binutils package and declared conflict with binutils-gold
    as FPC does not work new binutils chain.(Closes:Bug#620815)
  * Fixed various lintian warnings and notes.
  * Removed dependency of fp-units-gfx on libsvga1-dev on architectures where
    it does not exist.
  * Moved fd2pascal from fp-units-gfx to fp-utils.

fpc (2.4.2-2) unstable; urgency=low

  * Test for dh_input exit status 30 as this is a normal exit status which just
    informs that the question was not displayed because of its priority.
    (Closes:Bug#620803)

fpc (2.4.2-1) unstable; urgency=low

  * New upstream release with many fixes and a few new features.
    (Closes:Bug#606655)
    - Most bugfixes in the RTL and packages before june 2010 have been merged.
    - List of changes which may affect the behaviour of previously working
      code, and how to cope with these changes is available online on
      http://wiki.freepascal.org/User_Changes_2.4.2
    - List of reported bugs which have been fixed in this release is
      available online on http://bugs.freepascal.org/changelog_page.php
  * New Platforms:
    - Long term bug in OS/2 implementation of unit Video finally fixed which
      among others allows inclusion of the text-mode IDE (without debugger)
      for this platform as part of the distribution again.
  * Compiler changes:
    - Support D2006+ FOR..IN, with some FPC specific enhancements. Refer to
      http://wiki.freepascal.org/fo...

Read more...

Changed in fpc (Ubuntu Oneiric):
status: In Progress → Fix Released
Revision history for this message
Angel Abad (angelabad) wrote :

I Martin, I did a merge and now the problem is fixed in Oneiric.

Regards,

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks Angel!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fpc - 2.4.0-2ubuntu1.10.04

---------------
fpc (2.4.0-2ubuntu1.10.04) lucid-proposed; urgency=low

  * debian/control:
    - fp-compiler depends on binutils and conflicts with binutils-gold
      (LP: #790583)
 -- Angel Abad <email address hidden> Wed, 08 Jun 2011 21:53:47 +0200

Changed in fpc (Ubuntu Lucid):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fpc - 2.4.0-2ubuntu1.10.10

---------------
fpc (2.4.0-2ubuntu1.10.10) maverick-proposed; urgency=low

  * debian/control:
    - fp-compiler depends on binutils and conflicts with binutils-gold
      (LP: #790583)
 -- Angel Abad <email address hidden> Wed, 08 Jun 2011 21:44:49 +0200

Changed in fpc (Ubuntu Maverick):
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package fpc - 2.4.0-2ubuntu3.1

---------------
fpc (2.4.0-2ubuntu3.1) natty-proposed; urgency=low

  * debian/control:
    - fp-compiler depends on binutils and conflicts with binutils-gold
      (LP: #790583)
 -- Angel Abad <email address hidden> Wed, 08 Jun 2011 19:22:24 +0000

Changed in fpc (Ubuntu Natty):
status: Fix Committed → Fix Released
tags: added: testcase
Revision history for this message
Rolf Leggewie (r0lf) wrote :

Hardy has seen the end of its life and is no longer receiving any updates. Marking the Hardy task for this ticket as "Won't Fix".

Changed in fpc (Ubuntu Hardy):
status: Confirmed → Won't Fix
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.