installation of package ecl failed

Bug #710138 reported by Alexander Danilov
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ecl (Ubuntu)
Fix Released
Medium
Unassigned
Maverick
Fix Released
Medium
Unassigned

Bug Description

Package doesn't install on i386 systems under 10.10. The reason is that it builds some code in the postinst script and uses the i486-linux-gnu-gcc compiler (or rather a symlink), which is choosen during package build. After we have dropped i486 support in 10.10 i486-linux-gnu-gcc does not exist anymore, so the invocation fails:

Saving to new-ecl...
;;; Note:
;;; Invoking external command:
;;; i486-linux-gnu-gcc "-I/usr/include/" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -D_THREAD_SAFE -Dlinux -O -w -c "/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c" -o "/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.o"
;;; sh: i486-linux-gnu-gcc: not found

Saving to new-ecl...
;;; Note:
;;; Invoking external command:
;;; i486-linux-gnu-gcc "-I/usr/include/" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -D_THREAD_SAFE -Dlinux -O -w -c "/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c" -o "/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.o"
;;; sh: i486-linux-gnu-gcc: not found

;;; Internal error:
;;; ** (SYSTEM "i486-linux-gnu-gcc \"-I/usr/include/\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -g -O2 -fPIC -D_THREAD_SAFE -Dlinux -O -w -c \"/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.c\" -o \"/var/cache/common-lisp-controller/0/ecl/common-lisp-controller/common-lisp-controller.o\"") returned non-zero value 127An error occurred during initialization:
NIL is not of type STREAM..

Simple rebuild is enough to make package at least installable again.

TEST CASE:

on i386 system install the ecl package - it will fail with version 10.3.1-2ubuntu2, but will succeed with 10.3.1-2ubuntu2.1

REGRESSION POTENTIAL:

package doesn't even install correctly, regression potential is minimal.

Revision history for this message
Alexander Danilov (alexander-a-danilov) wrote :
Revision history for this message
Micah Gersten (micahg) wrote :

This installs fine on an amd64 Xubuntu Maverick system, maybe it's arch specific?

Revision history for this message
Alexander Danilov (alexander-a-danilov) wrote : Re: [Bug 710138] Re: installation of package ecl failed

available 30.01.2011 21:54, Micah Gersten пишет:
> This installs fine on an amd64 Xubuntu Maverick system, maybe it's arch
> specific?
>

Looks like the compiler i486-linux-gcc-gnu is not available for i386.
May be this package was build on amd64 with cross compiler.

Revision history for this message
Brian Murray (brian-murray) wrote :

I was able to recreate this bug using a Maverick i386 chroot.

Changed in ecl (Ubuntu Maverick):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Brian Murray (brian-murray) wrote :

Confirmed in i386 Natty chroot also.

Changed in ecl (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecl - 10.3.1-2ubuntu3

---------------
ecl (10.3.1-2ubuntu3) natty; urgency=low

  * No-change rebuild for the 686 transition. (LP: #710138)
 -- Krzysztof Klimonda <email address hidden> Wed, 02 Mar 2011 17:44:49 +0100

Changed in ecl (Ubuntu):
status: Confirmed → Fix Released
description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted ecl 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!

Changed in ecl (Ubuntu Maverick):
status: Confirmed → Fix Committed
tags: added: verification-needed
Revision history for this message
Pedro Villavicencio (pedro) wrote :

I've followed the test case and the proposed package indeed fixes the installation, marking this as verification-done, thanks all.

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ecl - 10.3.1-2ubuntu2.1

---------------
ecl (10.3.1-2ubuntu2.1) maverick-proposed; urgency=low

  * No-change rebuild of the package to pick up the new compiler symlink.
    (LP: #710138)
 -- Krzysztof Klimonda <email address hidden> Fri, 04 Mar 2011 03:26:13 +0100

Changed in ecl (Ubuntu Maverick):
status: Fix Committed → Fix Released
tags: added: testcase
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.