#12419 closed defect (fixed)
Error during libsdl's destroot (1.2.12_0 )
Reported by: | MartinBuchmann (Martin Buchmann) | Owned by: | nox@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | MartinBuchmann (Martin Buchmann), nox@… | |
Port: |
Description
I tried to upgrade libsdl from 1.2.11_0 to 1.2.11_0 but it failed during the destroot stage.
---> Staging libsdl into destroot . missing (directory not created: File exists) ./Applications missing (directory not created: File exists) ./Developer missing (directory not created: File exists) ./Library missing (directory not created: File exists) DEBUG: Executing org.macports.destroot (libsdl) DEBUG: Environment: DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot' /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/bin /opt/local/bin/ginstall -c -m 755 sdl-config /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/bin/sdl-config /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/include/SDL for file in SDL.h SDL_active.h SDL_audio.h SDL_byteorder.h SDL_cdrom.h SDL_cpuinfo.h SDL_endian.h SDL_error.h SDL_events.h SDL_getenv.h SDL_joystick.h SDL_keyboard.h SDL_keysym.h SDL_loadso.h SDL_main.h SDL_mouse.h SDL_mutex.h SDL_name.h SDL_opengl.h SDL_platform.h SDL_quit.h SDL_rwops.h SDL_stdinc.h SDL_syswm.h SDL_thread.h SDL_timer.h SDL_types.h SDL_version.h SDL_video.h begin_code.h close_code.h; do \
/opt/local/bin/ginstall -c -m 644 ./include/$file /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/include/SDL/$file; \
done /opt/local/bin/ginstall -c -m 644 include/SDL_config.h /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/include/SDL/SDL_config.h /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib /bin/sh ./libtool --mode=install /opt/local/bin/ginstall -c build/libSDL.la /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.la /opt/local/bin/ginstall -c build/.libs/libSDL-1.2.0.11.1.dylib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL-1.2.0.11.1.dylib
{ rm -f libSDL-1.2.0.dylib && ln -s libSDL-1.2.0.11.1.dylib libSDL-1.2.0.dylib; }; }) |
{ rm -f libSDL.dylib && ln -s libSDL-1.2.0.11.1.dylib libSDL.dylib; }; }) |
/opt/local/bin/ginstall -c build/.libs/libSDL.lai /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.la /opt/local/bin/ginstall -c build/.libs/libSDL.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a chmod 644 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_audiodev.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_mixer_MMX_VC.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_mixer_m68k.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_getenv.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_malloc.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_qsort.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_stdlib.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_nullmouse.o) has no symbols ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDL.a(SDL_dgamouse.o) has no symbols libtool: install: warning: remember to run `libtool --finish /opt/local/lib' /opt/local/bin/ginstall -c -m 644 build/libSDLmain.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDLmain.a ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/libSDLmain.a /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/aclocal /opt/local/bin/ginstall -c -m 644 ./sdl.m4 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/aclocal/sdl.m4 /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/pkgconfig /opt/local/bin/ginstall -c -m 644 sdl.pc /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/lib/pkgconfig /bin/sh ./build-scripts/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/man/man3 for src in ./docs/man3/*.3; do \
file=
echo $src | sed -e 's|^.*/||'
; \ /opt/local/bin/ginstall -c -m 644 $src /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/man/man3/$file; \
done DEBUG: Executing proc-post-org.macports.destroot-destroot-0 xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12) xinstall: BUGS -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/BUGS xinstall: COPYING -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/COPYING xinstall: CREDITS -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/CREDITS xinstall: INSTALL -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/INSTALL xinstall: README -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/README xinstall: README-SDL.txt -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/README-SDL.txt xinstall: README.MacOSX -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/README.MacOSX xinstall: TODO -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/TODO xinstall: chdir(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/SDL-1.2.12/docs) xinstall: index.html -> /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_libsdl/work/destroot/opt/local/share/doc/libsdl-1.2.12/html/index.html Error: Target org.macports.destroot returned: xinstall: Cannot stat: docs.html, No such file or directory Warning: the following items did not execute (for libsdl): org.macports.destroot DEBUG: Error: Unable to upgrade port: 1
Attachments (1)
Change History (4)
comment:1 Changed 17 years ago by mdickens@…
Changed 17 years ago by mdickens@…
Attachment: | libsdl_1.2.12_0_Portfile.patch added |
---|
libsdl 1.2.12_0 Portfile patch to correct for post-destroot error
comment:2 Changed 17 years ago by nox@…
Cc: | Martin.Buchmann@… nox@… added |
---|---|
Milestone: | → Port Bugs |
Resolution: | → fixed |
Status: | new → closed |
Version: | 1.5.0 |
Fixed in r27597.
From the look of this ticket, the error is when trying to "xinstall" "docs.html". The primary issue was introduced most likely in changeset:27578: "docs.html" was moved to the incorrect "xinstall" line. Also at issue is the copying of subdirectories of "docs". Both of these issues are correct with my patch, which I will attach to this ticket. - MLD