Opened 8 years ago

Closed 7 years ago

Last modified 7 years ago

#49132 closed defect (fixed)

sbcl fails to build on OS X 10.11

Reported by: glen@… Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: elcapitan Cc: xuchunyang (Chunyang Xu), mp@…, drblez@…, mkae (Marko Käning)
Port: sbcl

Description (last modified by easye)

sbcl install fails under El Capitan when the root directory contains an entry with non-ASCII characters.

Attachments (3)

main.log (2.7 MB) - added by glen@… 8 years ago.
logfile
main.2.log (2.1 MB) - added by glen@… 8 years ago.
Log file of sbcl-1.2.16 build on Mac Pro
patch-contrib-sb-posix-posix-tests.lisp.diff (443 bytes) - added by aqua_dabbler@… 8 years ago.
A patch for sb-posix issue

Change History (30)

Changed 8 years ago by glen@…

Attachment: main.log added

logfile

comment:1 Changed 8 years ago by glen@…

Tail of the logfile:

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15/src/runtime/sbcl --noinform --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(load (format nil "SYS:CONTRIB;~:@(~A~);TEST.LISP" "sb-sprof"))' </dev/null
:info:build ; disassembly for CONSALOT
:info:build ; Size: 180 bytes. Origin: #x1004168D28
:info:build ; 28:       498B4C2460       MOV RCX, [R12+96]                ; thread.binding-stack-pointer
:info:build                                                               ; no-arg-parsing entry point
:info:build ; 2D:       48894DF8         MOV [RBP-8], RCX
:info:build ; 31:       BA17001020       MOV EDX, 537919511
:info:build ; 36:       BB204E0000       MOV EBX, 20000
:info:build ; 3B:       E96F000000       JMP L5
:info:build ; 40: L0:   4883EB02         SUB RBX, 2
:info:build ; 44:       49896C2440       MOV [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 49:       4D8B5C2418       MOV R11, [R12+24]                ; thread.alloc-region
:info:build ; 4E:       498D7360         LEA RSI, [R11+96]
:info:build ; 52:       493B742420       CMP RSI, [R12+32]
:info:build ; 57:       7764             JNBE L6
:info:build ; 59:       4989742418       MOV [R12+24], RSI                ; thread.alloc-region
:info:build ; 5E:       498D730F         LEA RSI, [R11+15]
:info:build ; 62: L1:   48C746F1D9000000 MOV QWORD PTR [RSI-15], 217
:info:build ; 6A:       48C746F914000000 MOV QWORD PTR [RSI-7], 20
:info:build ; 72:       49316C2440       XOR [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 77:       7403             JEQ L2
:info:build ; 79:       0F0B09           BREAK 9                          ; pending interrupt trap
:info:build ; 7C: L2:   49896C2440       MOV [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 81:       4D8B5C2418       MOV R11, [R12+24]                ; thread.alloc-region
:info:build ; 86:       498D4B10         LEA RCX, [R11+16]
:info:build ; 8A:       493B4C2420       CMP RCX, [R12+32]
:info:build ; 8F:       773C             JNBE L7
:info:build ; 91:       49894C2418       MOV [R12+24], RCX                ; thread.alloc-region
:info:build ; 96:       498D4B07         LEA RCX, [R11+7]
:info:build ; 9A: L3:   49316C2440       XOR [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 9F:       7403             JEQ L4
:info:build ; A1:       0F0B09           BREAK 9                          ; pending interrupt trap
:info:build ; A4: L4:   488971F9         MOV [RCX-7], RSI
:info:build ; A8:       48895101         MOV [RCX+1], RDX
:info:build ; AC:       488BD1           MOV RDX, RCX
:info:build ; AF: L5:   4885DB           TEST RBX, RBX
:info:build ; B2:       7F8C             JNLE L0
:info:build ; B4:       488BE5           MOV RSP, RBP
:info:build ; B7:       F8               CLC
:info:build ; B8:       5D               POP RBP
:info:build ; B9:       C3               RET
:info:build ; BA:       0F0B10           BREAK 16                         ; Invalid argument count trap
:info:build ; BD: L6:   6A60             PUSH 96
:info:build ; BF:       BEA0AE1100       MOV ESI, 1158816                 ; alloc_tramp
:info:build ; C4:       FFD6             CALL RSI
:info:build ; C6:       5E               POP RSI
:info:build ; C7:       4080CE0F         OR SIL, 15
:info:build ; CB:       EB95             JMP L1
:info:build ; CD: L7:   6A10             PUSH 16
:info:build ; CF:       B9A0AE1100       MOV ECX, 1158816                 ; alloc_tramp
:info:build ; D4:       FFD1             CALL RCX
:info:build ; D6:       59               POP RCX
:info:build ; D7:       80C907           OR CL, 7
:info:build ; DA:       EBBE             JMP L3
:info:build * 
:info:build WARNING! Some of the contrib modules did not build successfully or pass
:info:build their self-tests. Failed contribs:"
:info:build   sb-concurrency
:info:build Command failed: ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15 && export CC && CC=/usr/bin/clang && export CXX && CXX=/usr/bin/clang++ && export CPP && CPP==/usr/bin/cpp && sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" 
:info:build Exit code: 1
:error:build org.macports.build for port sbcl returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for sbcl: org.macports.destroot org.macports.build
Last edited 8 years ago by glen@… (previous) (diff)

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to easieste@…

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: elcapitan added

comment:4 Changed 8 years ago by easye

Hmmm. sbcl-1.2.15 builds (and runs) for me on OS X 10.11.

Are you sure that you upgraded to XCode 7.0.1? After my upgrade to OS X 10.11, initially I didn't upgrade my XCode which produced weird errors in other ports.

If others are having build failures, please post some "me too!"s so that we know that this is a more general problem.

As for how to proceed to determine the differences, I'm a little at a loss on how to duplicate, so suggestions are welcome.

comment:5 Changed 8 years ago by glen@…

I have two machines, a MacBook Air (13-inch, mid 2013) and Mac Pro (late 2013) configured with 2.7 GHz 12-Core Intel Xeon E5s. Sbcl builds just fine on the MacBook Air, but fails on the Mac Pro; the Mac Pro build is the one with the attached log file.

I am running Xcode 7.0.1 (7A1001) and OS X 10.11 on both. Maybe it has something to do with the differences in hardware?

comment:6 Changed 8 years ago by andrekw@…

Build fails for me as well. it seems to be the same issue as with Glen, but it is a different module that won't build for me (sb-posix). Here is the tail of the log:

:info:build * echo "(defsystem :sb-sprof :class require-system)" > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15/obj/sbcl-home/contrib//sb-sprof.asd
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15/src/runtime/sbcl --noinform --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(load (format nil "SYS:CONTRIB;~:@(~A~);TEST.LISP" "sb-sprof"))' </dev/null
:info:build ; disassembly for CONSALOT
:info:build ; Size: 180 bytes. Origin: #x1004168D28
:info:build ; 28:       498B4C2460       MOV RCX, [R12+96]                ; thread.binding-stack-pointer
:info:build                                                               ; no-arg-parsing entry point
:info:build ; 2D:       48894DF8         MOV [RBP-8], RCX
:info:build ; 31:       BA17001020       MOV EDX, 537919511
:info:build ; 36:       BB204E0000       MOV EBX, 20000
:info:build ; 3B:       E96F000000       JMP L5
:info:build ; 40: L0:   4883EB02         SUB RBX, 2
:info:build ; 44:       49896C2440       MOV [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 49:       4D8B5C2418       MOV R11, [R12+24]                ; thread.alloc-region
:info:build ; 4E:       498D7360         LEA RSI, [R11+96]
:info:build ; 52:       493B742420       CMP RSI, [R12+32]
:info:build ; 57:       7764             JNBE L6
:info:build ; 59:       4989742418       MOV [R12+24], RSI                ; thread.alloc-region
:info:build ; 5E:       498D730F         LEA RSI, [R11+15]
:info:build ; 62: L1:   48C746F1D9000000 MOV QWORD PTR [RSI-15], 217
:info:build ; 6A:       48C746F914000000 MOV QWORD PTR [RSI-7], 20
:info:build ; 72:       49316C2440       XOR [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 77:       7403             JEQ L2
:info:build ; 79:       0F0B09           BREAK 9                          ; pending interrupt trap
:info:build ; 7C: L2:   49896C2440       MOV [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 81:       4D8B5C2418       MOV R11, [R12+24]                ; thread.alloc-region
:info:build ; 86:       498D4B10         LEA RCX, [R11+16]
:info:build ; 8A:       493B4C2420       CMP RCX, [R12+32]
:info:build ; 8F:       773C             JNBE L7
:info:build ; 91:       49894C2418       MOV [R12+24], RCX                ; thread.alloc-region
:info:build ; 96:       498D4B07         LEA RCX, [R11+7]
:info:build ; 9A: L3:   49316C2440       XOR [R12+64], RBP                ; thread.pseudo-atomic-bits
:info:build ; 9F:       7403             JEQ L4
:info:build ; A1:       0F0B09           BREAK 9                          ; pending interrupt trap
:info:build ; A4: L4:   488971F9         MOV [RCX-7], RSI
:info:build ; A8:       48895101         MOV [RCX+1], RDX
:info:build ; AC:       488BD1           MOV RDX, RCX
:info:build ; AF: L5:   4885DB           TEST RBX, RBX
:info:build ; B2:       7F8C             JNLE L0
:info:build ; B4:       488BE5           MOV RSP, RBP
:info:build ; B7:       F8               CLC
:info:build ; B8:       5D               POP RBP
:info:build ; B9:       C3               RET
:info:build ; BA:       0F0B10           BREAK 16                         ; Invalid argument count trap
:info:build ; BD: L6:   6A60             PUSH 96
:info:build ; BF:       BEA0AE1100       MOV ESI, 1158816                 ; alloc_tramp
:info:build ; C4:       FFD6             CALL RSI
:info:build ; C6:       5E               POP RSI
:info:build ; C7:       4080CE0F         OR SIL, 15
:info:build ; CB:       EB95             JMP L1
:info:build ; CD: L7:   6A10             PUSH 16
:info:build ; CF:       B9A0AE1100       MOV ECX, 1158816                 ; alloc_tramp
:info:build ; D4:       FFD1             CALL RCX
:info:build ; D6:       59               POP RCX
:info:build ; D7:       80C907           OR CL, 7
:info:build ; DA:       EBBE             JMP L3
:info:build * 
:info:build WARNING! Some of the contrib modules did not build successfully or pass
:info:build their self-tests. Failed contribs:"
:info:build   sb-posix
:info:build Command failed: ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.2.15 && export CC && CC=/usr/bin/clang && export CXX && CXX=/usr/bin/clang++ && export CPP && CPP==/usr/bin/cpp && sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" 
:info:build Exit code: 1
:error:build org.macports.build for port sbcl returned: command execution failed
:debug:build Error code: NONE
:debug:build Backtrace: command execution failed
    while executing
"proc-org.macports.build-build-0 org.macports.build"
    ("eval" body line 1)
    invoked from within
"eval $procedure $targetname"
:info:build Warning: targets not executed for sbcl: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port sbcl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/main.log

comment:7 Changed 8 years ago by glen@…

Another clue: sbcl -fancy installs fine on the Mac Pro.

comment:8 Changed 8 years ago by glen@…

Yet another clue: it builds fine on a Mac Mini (late-2012).

This really looks like it's tied to the Mac Pro.

comment:9 Changed 8 years ago by glen@…

A stock download of the sbcl 1.2.15 source seems to build successfully with no patches needed on the Mac Pro. Same with sbcl 1.2.16. So it looks to me like this is a problem with the port, not with sbcl, and that in fact the port is actively doing something to cause the sbcl build to fail.

The only hickup is if you run the optional tests in the tests directory, it exits with the following:

; /Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/undefined-classoid-bug-test-61832/undefined-classoid-bug-2.fasl written
; compilation finished in 0:00:00.012
test undefined-classoid-bug ok

Finished running tests.
Status:
 Skipped (broken):   debug.impure.lisp / (TRACE ENCAPSULATE NIL)
 Skipped (broken):   debug.impure.lisp / (TRACE-RECURSIVE ENCAPSULATE NIL)
 Expected failure:   packages.impure.lisp / USE-PACKAGE-CONFLICT-SET
 Expected failure:   packages.impure.lisp / IMPORT-SINGLE-CONFLICT
 Invalid exit status: script.test.sh
 (53 tests skipped for this combination of platform and features)
test failed, expected 104 return code, got 1

which seems to trace back to the following output from the test script:

// Running /Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/script.test.sh
test --script exit status from EXIT ok (status good)
test --script exit status from ERROR ok (error implies 1)
test --script backtrace not to stdout ok (ok)
test --script backtrace to stderr ok (ok)
test --script exit status from normal exit ok (everything ok)
test --script exit status from QUIT when standard-output closed ok (as given)
test --load exit status from QUIT when standard-output closed ok (as given)
test --script exit status from QUIT when original standard-output closed ok (as given)
test --load exit status from QUIT when original standard-output closed ok (as given)
test --script exit status from EXIT when stdout closed ok (as given)
test --load exit status from EXIT when stdout closed ok (as given)
test --script exit status when stdin closed ok (as given)
test --script exit status when stdout closed ok (as given)
--script unexpected error output
// Running /Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames.test.sh
/translations=(("**;*.*.*"
                "/Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames-test-61738/**/*.*"))
; in:
;      LET* ((UNTRANSLATED "test:Load-Test.lisp")
;        (IGNORE-ME (FORMAT T "untranslated=~S~%" UNTRANSLATED))
;        (TRANSLATION (NAMESTRING (TRANSLATE-LOGICAL-PATHNAME UNTRANSLATED)))
;        (EXPECTED-TRANSLATION
;         "/Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames-test-61738/load-test.lisp"))
;     (LET* ((UNTRANSLATED "test:Load-Test.lisp")
;            (IGNORE-ME (FORMAT T "untranslated=~S~%" UNTRANSLATED))
;            (TRANSLATION (NAMESTRING (TRANSLATE-LOGICAL-PATHNAME UNTRANSLATED)))
;            (EXPECTED-TRANSLATION
;             "/Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames-test-61738/load-test.lisp"))
;       (FORMAT T "translation=~S~%" TRANSLATION)
;       (FORMAT T "expected-translation=~S~%" EXPECTED-TRANSLATION)
;       (ASSERT (STRING= TRANSLATION EXPECTED-TRANSLATION)))
; 
; caught STYLE-WARNING:
;   The variable IGNORE-ME is defined but never used.
; 
; compilation unit finished
;   caught 1 STYLE-WARNING condition
untranslated="test:Load-Test.lisp"
translation="/Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames-test-61738/load-test.lisp"
expected-translation="/Users/glenhenshaw/Desktop/sbcl-1.2.15/tests/side-effectful-pathnames-test-61738/load-test.lisp"

but this is completely different output from that of the failed port.

Last edited 8 years ago by glen@… (previous) (diff)

comment:10 Changed 8 years ago by xuchunyang (Chunyang Xu)

Cc: chunyang@… added

Cc Me!

comment:11 Changed 8 years ago by glen@…

Whatever it was, the upgrade to 10.11.1 and XCode 7.1 seems to have fixed it for me. It now builds with +fancy on all of my machines.

comment:12 Changed 8 years ago by glen@…

I spoke too soon. With the update to sbcl-1.2.16, the exact same error is back. It installs on my MacBook Air, it fails on my Mac Pro, and the log file looks pretty much identical. New logfile is attached, should anybody be interested.

Last edited 8 years ago by glen@… (previous) (diff)

Changed 8 years ago by glen@…

Attachment: main.2.log added

Log file of sbcl-1.2.16 build on Mac Pro

comment:13 Changed 8 years ago by mp@…

Cc: mp@… added

Cc Me!

comment:14 Changed 8 years ago by alex_kazakov@…

This bug affects me too. I have MacBook Pro (13-inch, Late 2011). I don't use sbcl by itself, it is needed by maxima/wxmaxima, which is a very useful tool in my work. I have run "sudo port clean all" several times, but it is helpless.

; compiling (PROVIDE (QUOTE SB-SPROF))

; /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.3.1/obj/sbcl-home/contrib//sb-sprof.fasl written
; compilation finished in 0:00:00.969
* echo "(defsystem :sb-sprof :class require-system)" > /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.3.1/obj/sbcl-home/contrib//sb-sprof.asd
/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.3.1/src/runtime/sbcl --noinform --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.3.1/output/sbcl.core --lose-on-corruption --disable-debugger --no-sysinit --no-userinit --eval '(load (format nil "SYS:CONTRIB;~:@(~A~);TEST.LISP" "sb-sprof"))' </dev/null
; disassembly for CONSALOT
; Size: 180 bytes. Origin: #x1003D443F8
; 3F8:       498B4C2460       MOV RCX, [R12+96]               ; thread.binding-stack-pointer
                                                              ; no-arg-parsing entry point
; 3FD:       48894DF8         MOV [RBP-8], RCX
; 401:       BA17001020       MOV EDX, 537919511
; 406:       BB204E0000       MOV EBX, 20000
; 40B:       E96F000000       JMP L5
; 410: L0:   4883EB02         SUB RBX, 2
; 414:       49896C2440       MOV [R12+64], RBP               ; thread.pseudo-atomic-bits
; 419:       4D8B5C2418       MOV R11, [R12+24]               ; thread.alloc-region
; 41E:       498D7360         LEA RSI, [R11+96]
; 422:       493B742420       CMP RSI, [R12+32]
; 427:       7764             JNBE L6
; 429:       4989742418       MOV [R12+24], RSI               ; thread.alloc-region
; 42E:       498D730F         LEA RSI, [R11+15]
; 432: L1:   48C746F1D9000000 MOV QWORD PTR [RSI-15], 217
; 43A:       48C746F914000000 MOV QWORD PTR [RSI-7], 20
; 442:       49316C2440       XOR [R12+64], RBP               ; thread.pseudo-atomic-bits
; 447:       7403             JEQ L2
; 449:       0F0B09           BREAK 9                         ; pending interrupt trap
; 44C: L2:   49896C2440       MOV [R12+64], RBP               ; thread.pseudo-atomic-bits
; 451:       4D8B5C2418       MOV R11, [R12+24]               ; thread.alloc-region
; 456:       498D4B10         LEA RCX, [R11+16]
; 45A:       493B4C2420       CMP RCX, [R12+32]
; 45F:       773C             JNBE L7
; 461:       49894C2418       MOV [R12+24], RCX               ; thread.alloc-region
; 466:       498D4B07         LEA RCX, [R11+7]
; 46A: L3:   49316C2440       XOR [R12+64], RBP               ; thread.pseudo-atomic-bits
; 46F:       7403             JEQ L4
; 471:       0F0B09           BREAK 9                         ; pending interrupt trap
; 474: L4:   488971F9         MOV [RCX-7], RSI
; 478:       48895101         MOV [RCX+1], RDX
; 47C:       488BD1           MOV RDX, RCX
; 47F: L5:   4885DB           TEST RBX, RBX
; 482:       7F8C             JNLE L0
; 484:       488BE5           MOV RSP, RBP
; 487:       F8               CLC
; 488:       5D               POP RBP
; 489:       C3               RET
; 48A:       0F0B10           BREAK 16                        ; Invalid argument count trap
; 48D: L6:   6A60             PUSH 96
; 48F:       BE90AE1100       MOV ESI, 1158800                ; alloc_tramp
; 494:       FFD6             CALL RSI
; 496:       5E               POP RSI
; 497:       4080CE0F         OR SIL, 15
; 49B:       EB95             JMP L1
; 49D: L7:   6A10             PUSH 16
; 49F:       B990AE1100       MOV ECX, 1158800                ; alloc_tramp
; 4A4:       FFD1             CALL RCX
; 4A6:       59               POP RCX
; 4A7:       80C907           OR CL, 7
; 4AA:       EBBE             JMP L3
* 
WARNING! Some of the contrib modules did not build successfully or pass
their self-tests. Failed contribs:"
  sb-posix
Command failed: ulimit -s 8192 && unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.3.1 && export CC && CC=/usr/bin/clang && export CXX && CXX=/usr/bin/clang++ && export CPP && CPP==/usr/bin/cpp && sh ./make.sh --fancy --prefix=/opt/local --xc-host="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/work/sbcl-1.0.55-x86-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" 
Exit code: 1
Error: org.macports.build for port sbcl returned: command execution failed
Warning: targets not executed for sbcl: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install sbcl
Please see the log file for port sbcl for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_sbcl/sbcl/main.log
Error: The following dependencies were not installed: maxima sbcl tk tcl xorg-libXScrnSaver xorg-scrnsaverproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wxmaxima failed

comment:15 Changed 8 years ago by drblez@…

Cc: drblez@… added

Cc Me!

comment:16 in reply to:  14 Changed 8 years ago by drblez@…

Replying to alex_kazakov@…:

This bug affects me too. I have MacBook Pro (13-inch, Late 2011). I don't use sbcl by itself, it is needed by maxima/wxmaxima, which is a very useful tool in my work. I have run "sudo port clean all" several times, but it is helpless.

For Maxima -- try to install sbcl 1.3.2 with manual method and then `port -n install maxima'

Changed 8 years ago by aqua_dabbler@…

A patch for sb-posix issue

comment:17 Changed 8 years ago by mkae (Marko Käning)

Cc: mk@… added

Cc Me!

comment:18 Changed 7 years ago by aqua-dabbler (kogule)

No one takes care of this ticket?

comment:19 Changed 7 years ago by mkae (Marko Käning)

Will have a look in the next few days, if there's no one faster.

comment:20 in reply to:  18 ; Changed 7 years ago by easye

Replying to aqua-dabbler:

No one takes care of this ticket?

The maintainer (me) does not have access to macOS 10.11 for reproducing this problem.

@Marko.Käing: Lemme know if I can help diagnostics in any manner.

comment:21 in reply to:  20 Changed 7 years ago by easye

Replying to easye:

Replying to aqua-dabbler:

No one takes care of this ticket?

The maintainer (me) does not have access to macOS 10.11 for reproducing this problem.

@Marko.Käing: Lemme know if I can help diagnostics in any manner.

Actually, the patch https://trac.macports.org/attachment/ticket/49132/patch-contrib-sb-posix-posix-tests.lisp.diff provided looks ok to me. If someone other that @aqua_dabbler can verify this patch solves the problem, I can commit the patch.

comment:22 Changed 7 years ago by mkae (Marko Käning)

@easy, I'll check it on am 10.11 VM and let you know whether I can reproduce the problem as well as whether the patch is fixing it.

comment:23 Changed 7 years ago by easye

Note, in order to reproduce the problem as far as I understand, the root directory needs to have entries that are not expressible as ASCII, i.e. they contain characters like 'ü' or 'ø'.

comment:24 Changed 7 years ago by mkae (Marko Käning)

Oh, I wasn't aware of that. It's not obvious from this ticket's discussion. Not for me at least.

Please suggest a testing scenario. Shall I simply create a file like this

$ sudo touch /töst
$ sudo port build

in order to provoke the failure and see the improvement after applying the patch?

comment:25 in reply to:  24 Changed 7 years ago by easye

Description: modified (diff)
Status: newassigned

Replying to mkae:

Oh, I wasn't aware of that. It's not obvious from this ticket's discussion. Not for me at least.

Please suggest a testing scenario. Shall I simply create a file like this

$ sudo touch /töst
$ sudo port build

in order to provoke the failure and see the improvement after applying the patch?

Such a testing recipe seems to be enough, therefore this ticket is a duplicate of https://trac.macports.org/ticket/41329.

comment:26 Changed 7 years ago by easye

Resolution: fixed
Status: assignedclosed

comment:27 Changed 7 years ago by mkae (Marko Käning)

OK, @easye, I get that there's no need for me testing this anymore. :)

Note: See TracTickets for help on using tickets.