[MacPorts] #61018: libsdl @1.2.15-20200718_0 fails to activate on High Sierra

MacPorts noreply at macports.org
Wed Aug 19 03:53:36 UTC 2020


#61018: libsdl @1.2.15-20200718_0 fails to activate on High Sierra
------------------------+----------------------
 Reporter:  ryandesign  |      Owner:  jmroot
     Type:  defect      |     Status:  assigned
 Priority:  Normal      |  Milestone:
Component:  ports       |    Version:  2.6.3
 Keywords:  highsierra  |       Port:  libsdl
------------------------+----------------------
 On the High Sierra buildbot worker only, libsdl @1.2.15-20200718_0 builds
 but
 [https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/88311
 fails to activate]:

 {{{
 x ./opt/local/share/doc/libsdl/html/html/sdlunlockyuvoverlay.html: Failed
 to restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlmutexv.html: Failed to restore
 metadata
 x ./opt/local/share/doc/libsdl/html/html/sdloverlay.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/video.html: Failed to restore
 metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlfreewav.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgetappstate.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/guideeventexamples.html: Failed
 to restore metadata
 x ./opt/local/share/doc/libsdl/html/html/guideinput.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdljoystickgetball.html: Failed
 to restore metadata
 x ./opt/local/share/doc/libsdl/html/html/eventstructures.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlpauseaudio.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdljoyballevent.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgetcursor.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgetkeystate.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdljoystickindex.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlwmgetcaption.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlpixelformat.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlopenaudio.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlsurface.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgeterror.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/guidebasicsinit.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdljoybuttonevent.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgetkeyname.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlgetrgb.html: Failed to restore
 metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlcondwait.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlquit.html: Failed to restore
 metadata
 x ./opt/local/share/doc/libsdl/html/html/time.html: Failed to restore
 metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlglsetattribute.html: Failed to
 restore metadata
 x ./opt/local/share/doc/libsdl/html/html/sdlcdresume.html: Failed to
 restore metadata
 }}}
 {{{
 bsdtar: Error exit delayed from previous errors.
 Command failed: /usr/bin/bzip2 -d -c
 /opt/local/var/macports/software/libsdl/libsdl-1.2.15-20200718_0+x11.darwin_17.x86_64.tbz2
 | ( bsdtar -xvp --hfsCompression -f - )
 Exit code: 1
 Error: Failed to activate libsdl: command execution failed
 }}}

 Thinking this was a fluke, I
 [https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/89833
 forced another build of libsdl] which succeeded and distributed the
 previously built archive. But then I manually downloaded that archive and
 was unable to extract it on my own High Sierra system:

 {{{
 $ tar xjf ~/Downloads/libsdl-1.2.15-20200718_0+x11.darwin_17.x86_64.tbz2
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_CreateCursor.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_WM_SetCaption.3.gz)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/man/man3/SDL_JoystickNumBalls.3.gz) failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_UnlockAudio.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_Surface.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_RemoveTimer.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_Color.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_SaveBMP.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_ConvertAudio.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_Overlay.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_Flip.3.gz) failed:
 File exists
 tar: copyfile unpack
 (./opt/local/share/man/man3/SDL_DestroySemaphore.3.gz) failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_CD.3.gz) failed: File
 exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_BuildAudioCVT.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_mutexV.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_JoystickOpened.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_CDStatus.3.gz)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/man/man3/SDL_DisplayFormatAlpha.3.gz) failed: File
 exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_GL_LoadLibrary.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_CDResume.3.gz)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/man/man3/SDL_CreateYUVOverlay.3.gz) failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_ThreadID.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_PixelFormat.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_DestroyCond.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_GetCursor.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_GetAudioStatus.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_PushEvent.3.gz)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_CDPause.3.gz) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/man/man3/SDL_GetGamma.3.gz)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlcdresume.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlglsetattribute.html) failed:
 File exists
 tar: copyfile unpack (./opt/local/share/doc/libsdl/html/html/time.html)
 failed: File exists
 tar: copyfile unpack (./opt/local/share/doc/libsdl/html/html/sdlquit.html)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlcondwait.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgetrgb.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgetkeyname.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdljoybuttonevent.html) failed:
 File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/guidebasicsinit.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgeterror.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlsurface.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlopenaudio.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlpixelformat.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlwmgetcaption.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdljoystickindex.html) failed:
 File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgetkeystate.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgetcursor.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdljoyballevent.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlpauseaudio.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/eventstructures.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdljoystickgetball.html) failed:
 File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/guideinput.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/guideeventexamples.html) failed:
 File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlgetappstate.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlfreewav.html) failed: File
 exists
 tar: copyfile unpack (./opt/local/share/doc/libsdl/html/html/video.html)
 failed: File exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdloverlay.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlmutexv.html) failed: File
 exists
 tar: copyfile unpack
 (./opt/local/share/doc/libsdl/html/html/sdlunlockyuvoverlay.html) failed:
 File exists
 }}}

 I deleted the archive from the server, uninstalled the port on the
 buildbot worker, and triggered
 [https://build.macports.org/builders/ports-10.13_x86_64-builder/builds/88311/steps
 /install-port/logs/stdio another build of libsdl] which did the same thing
 again.

 If I have MacPorts build libsdl from source on my own High Sierra system
 it builds fine. According to `tar tf` the two archives have contents with
 identical filenames, but each archive has them in a slightly different
 nonalphabetical order. Both systems are on APFS filesystems, and, unlike
 HFS, APFS doesn't sort items automatically.

 When I manually extracted buildbot's libsdl archive on my system and it
 failed, I noticed that it had already extracted some [ticket:60749 ._
 files].

 I'm not sure why the problem happens on the 10.13 buildbot worker and not
 the 10.14 or 10.15 workers or my own 10.13 system, but I do suspect the ._
 files of being relevant to the problem. The solution may be to add a post-
 extract block to remove the ._ files, or to repackage the tarball so that
 the files don't contain the extended attributes to begin with.

-- 
Ticket URL: <https://trac.macports.org/ticket/61018>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list