package compilation failure leads to asdf error

Bug #603678 reported by Nathan Bird
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ASDF
Fix Released
Medium
Faré

Bug Description

Trying to install Lift, I get:

; compilation aborted because of fatal error:
; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 7651 (line 199, column 39) on #<SB-SYS:FD-STREAM
; for "file /usr/local/lib/sbcl/site/lift/dev/utilities.lisp"
; {1003CDDC31}>:
; package "MOP" not found
;
; compilation aborted after 0:00:00.135

Which wouldn't be so bad, but asdf2 calls delete-file-if-exists to clean up (line 2981). Since the file doesn't exist this ends up getting down to (probe-file nil) which throws an error in sbcl.

The value NIL
is not of type
  (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME
      STREAM).
   [Condition of type TYPE-ERROR]

SBCL 1.0.40
ASDF 2.003

Tags: sbcl
Revision history for this message
Nathan Bird (ecthellion) wrote :

My suggestion, and it fixed it for me, is merely add a null check for the argument in delete-file-if-exists.

Revision history for this message
Faré (fahree) wrote :

This was reported and was fixed in 2.110.

I probably should release it as 2.004.

Changed in asdf:
assignee: nobody → Faré (fahree)
importance: Undecided → Medium
milestone: none → version2.1
status: New → Fix Committed
Revision history for this message
Gary King (gwking) wrote : Re: [Bug 603678] [NEW] package compilation failure leads to asdf error

Hi Nathan, the lift bug is also fixed in github (though Tamas may have found another one).

From my iPhone to you…

On Jul 9, 2010, at 1:01 PM, Nathan Bird <email address hidden> wrote:

> Public bug reported:
>
> Trying to install Lift, I get:
>
> ; compilation aborted because of fatal error:
> ; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 7651 (line 199, column 39) on #<SB-SYS:FD-STREAM
> ; for "file /usr/local/lib/sbcl/site/lift/dev/utilities.lisp"
> ; {1003CDDC31}>:
> ; package "MOP" not found
> ;
> ; compilation aborted after 0:00:00.135
>
> Which wouldn't be so bad, but asdf2 calls delete-file-if-exists to clean
> up (line 2981). Since the file doesn't exist this ends up getting down
> to (probe-file nil) which throws an error in sbcl.
>
> The value NIL
> is not of type
> (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME
> STREAM).
> [Condition of type TYPE-ERROR]
>
>
> SBCL 1.0.40
> ASDF 2.003
>
> ** Affects: asdf
> Importance: Undecided
> Status: New
>
>
> ** Tags: sbcl
>
> --
> package compilation failure leads to asdf error
> https://bugs.launchpad.net/bugs/603678
> You received this bug notification because you are subscribed to ASDF.
>
> Status in Another System Definition Facility: New
>
> Bug description:
> Trying to install Lift, I get:
>
> ; compilation aborted because of fatal error:
> ; SB-INT:SIMPLE-READER-PACKAGE-ERROR at 7651 (line 199, column 39) on #<SB-SYS:FD-STREAM
> ; for "file /usr/local/lib/sbcl/site/lift/dev/utilities.lisp"
> ; {1003CDDC31}>:
> ; package "MOP" not found
> ;
> ; compilation aborted after 0:00:00.135
>
> Which wouldn't be so bad, but asdf2 calls delete-file-if-exists to clean up (line 2981). Since the file doesn't exist this ends up getting down to (probe-file nil) which throws an error in sbcl.
>
> The value NIL
> is not of type
> (OR (VECTOR CHARACTER) (VECTOR NIL) BASE-STRING PATHNAME
> STREAM).
> [Condition of type TYPE-ERROR]
>
>
> SBCL 1.0.40
> ASDF 2.003
>
>

Revision history for this message
Faré (fahree) wrote :

Was released in 2.004 indeed (which is same as 2.111)

Changed in asdf:
status: Fix Committed → Fix Released
Revision history for this message
Andrei Dziahel (develop7) wrote :

Hello all.

I've hit exactly this bug in Ubuntu Maverick while installing hunchentoot (which depends from lift). Is it possible to release an upgraded package for Ubuntu (or, at least in PPA)? Or backport this fix to 1.704?

Thanks in advance.

Revision history for this message
Faré (fahree) wrote :

I have no contact with Ubuntu developers, but yes, upgrading ASDF to 2.009 (or 2.010 if it's available by then) would be a great idea.

Revision history for this message
johnylog (johnylog-software) wrote :

A very common problem with Windows explorer is reported on all Windows help forums. I've seen people complaining about problem with long path files deletion.
Some common problems with Windows Explorer people talk about:
- Doesn't allow deleting files with long path names
- Pops up error while deleting unwanted files or unnecessary files
- Errors like: Access denied, sharing violation, source in use etc.

I've found a very simple but smart solution for all these above mentioned common problems. A very simple but powerful tool to overcome these problems. Everyone who plays with the files must have this tool. Its compatible with all versions of Microsoft Windows.

deletelongfile.com

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.