Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#9307 - [cmucl] 19d-1 broken after install

Attached to Project: Arch Linux
Opened by Bob (Bawb) - Tuesday, 22 January 2008, 20:22 GMT
Last edited by Allan McRae (Allan) - Thursday, 23 July 2009, 12:28 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jürgen Hötzel (juergen)
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

cmucl version 19d-1 fails with "cannot find files"

Installed as root using pacman v3.1.0:

running "cmucl" as user yields:

[user@arch64 ~]$ cmucl
/usr/bin/cmucl: line 16: /usr/lib/cmucl/bin/lisp: No such file or directory
/usr/bin/cmucl: line 16: exec: /usr/lib/cmucl/bin/lisp: cannot execute: No such file or directory
[user@arch64 ~]$

This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 23 July 2009, 12:28 GMT
Reason for closing:  Deferred
Additional comments about closing:  No x86_64 support upstream
Comment by Jürgen Hötzel (juergen) - Wednesday, 23 January 2008, 17:18 GMT
i686 works. The lisp binary is not part of the x86_64 package. Can a x86_64 Dev check this out please?
Comment by Vaughn Wood (clappingman) - Thursday, 17 April 2008, 08:38 GMT
I have the same problem - x86_64 and no binary after installation.
Comment by Eric Belanger (Snowman) - Thursday, 24 April 2008, 20:56 GMT
The problem is that the PKGBUILD uses precompiled i686 binaries. So it doesn't build/work on x86_64. Sources are available though: http://common-lisp.net/project/cmucl/downloads/release/19d/cmucl-src-19d.tar.bz2

From a quick glance, the build process seems to be complicated (not the usual configure;make;make install) and I don't know lisp.

Jürgen: If you can come up with a PKGBUILD that uses the source, I'll build it for x86_64. It might be worthwhile to also update the i686 package as it might benefit from being compiled with the newer gcc and libs. It is also old: no arch field or license. If for some reason you want to stick with the pre-built binaries, cmucl will need to be removed from x86_64 extra.
Comment by Jürgen Hötzel (juergen) - Saturday, 26 April 2008, 15:13 GMT
@Eric: Ok, On my TODO list ;-)
@All: Any Contribution Would Be Appreciated...
Comment by Jürgen Hötzel (juergen) - Tuesday, 22 July 2008, 18:02 GMT
From the Build Requirements
--------------------

In order to build CMU CL, you will need:

a) A working CMU CL binary. There is no way around this requirement!

This binary can either be for the platform you want to target, in
that case you can either recompile or cross-compile, or for another
supported platform, in that case you must cross-compile, obviously.


Chicken-Egg Problem: x86_64 doesn't support i686 executables and CMU CL doesn't provide x86_64 binaries.
Comment by Eric Belanger (Snowman) - Tuesday, 22 July 2008, 19:24 GMT
If you check the PKGBUILD for sbcl, there is:
[ "$CARCH" = "i686" ] && makedepends=('cmucl')
[ "$CARCH" = "x86_64" ] && makedepends=('sbcl')

so we could try building cmucl with sbcl.

Another possibility, that was probably used to build sbcl for x86_64, would be to build an initial cmucl package on x86_64 by using the i686 binaries in a multilib environnement, for example. Once that's done, we can make the future cmucl packages makedepends on the previous cmucl. That would short-circuit the Chicken-Egg Problem if we can get the initial package to build.

Comment by Eric Belanger (Snowman) - Tuesday, 22 July 2008, 19:27 GMT
Also, I'm wondering if would it be better to remove cmucl from extra x86_64 for the time being to prevent users from downloading/installing it. It's currently unusable. We could readd it when we get a working package.
Comment by Jürgen Hötzel (juergen) - Wednesday, 23 July 2008, 20:47 GMT
You cannot build cmucl using sbcl. You need cmucl. I think the option using the multilib environment and a cirular dependency is the best one...
Comment by Eric Belanger (Snowman) - Tuesday, 29 July 2008, 01:35 GMT
I tried building cmucl using the current PKGBUILD in trunk with multilib packages but I get a "segmentation violation" error:

Compiling GRAY-STREAMS-CLASS...
Loading binary of GRAY-STREAMS-CLASS...
Compiling GRAY-STREAMS...
"pcl:gray-streams-library.x86f" out of date.


Error in function UNIX::SIGSEGV-HANDLER: Segmentation Violation at #x0.
[Condition of type SIMPLE-ERROR]

Restarts:
0: [CONTINUE] Return NIL from load of "target:tools/pclcom".
1: [ABORT ] Return to Top-Level.

Debug (type H for help)

(UNIX::SIGSEGV-HANDLER #<unused-arg>
#<unused-arg>
#.(SYSTEM:INT-SAP #x3FFFC86C))
Source:
; File: target:code/signal.lisp
(DEFINE-SIGNAL-HANDLER SIGSEGV-HANDLER "Segmentation Violation")
0]


I'll try on i686 in case it's a non-architecture problem.
Comment by Eric Belanger (Snowman) - Tuesday, 29 July 2008, 05:21 GMT
I got past the segmentation violation error by updating to 19e. Now I'm getting a:

/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory

error. Unfortunately, I can't fix that. Our gcc on x86_64 doesn't have 32 bits support. I'm attaching the PKGBUILD and accompanying files. Apart from version bump, I added arch tag, license, FHS man pages and updated patch. That will ease up the update for you. I haven't tested it, BTW.

As for this bug, I think we should just remove the x86_64 package from the repo. I guess users can still use the i686 package in a multilib or chroot environnement.
Comment by Eric Belanger (Snowman) - Friday, 08 August 2008, 23:29 GMT
FYI, cmucl has been removed from extra x86_64.
Comment by Jürgen Hötzel (juergen) - Thursday, 04 September 2008, 11:59 GMT
There is no support for 64-Bit yet:
http://www.cons.org/cmucl/projects.html
Comment by Jürgen Hötzel (juergen) - Thursday, 20 November 2008, 20:50 GMT
Im keeping this open until x86_64 cmucl is out
Comment by Gerardo Exequiel Pozzi (djgera) - Friday, 12 June 2009, 22:26 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
  • Field changed: Severity (High → Very Low)
> Im keeping this open until x86_64 cmucl is out

There are no problems if this task will be closed? To keep clean up the bugtrack. Since there are no work about cmucl in 64 bits systems. Current this task is "fixed" no pkg for x86_64.
Comment by Allan McRae (Allan) - Thursday, 23 July 2009, 12:28 GMT
@Jürgen - I am going to close this as I guess that there will be a new release when x86_64 support becomes available upstream so you will be reminded then

Loading...