Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#15572 closed defect (fixed)

readline 5.2.012 fails to install (no such file or directory)

Reported by: silverdemon@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: jkh@…
Port: readline

Description

compiles fine, but doesn't install.

Beginning configuration for readline-5.2 for powerpc-apple-darwin9.3.0

checking whether make sets $(MAKE)... yes
checking for gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking how to run the C preprocessor... /usr/bin/cpp-4.0
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether /usr/bin/gcc-4.0 needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install
checking for ar... ar
checking for ranlib... ranlib
checking for an ANSI C-conforming const... yes
checking for function prototypes... yes
checking whether char is unsigned... no
checking return type of signal handlers... void
checking for size_t... yes
checking for ssize_t... yes
checking for ANSI C header files... (cached) yes
checking whether stat file-mode macros are broken... no
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for fcntl... yes
checking for kill... yes
checking for lstat... yes
checking for memmove... yes
checking for putenv... yes
checking for select... yes
checking for setenv... yes
checking for setlocale... yes
checking for strcasecmp... yes
checking for strpbrk... yes
checking for tcgetattr... yes
checking for vsnprintf... yes
checking for isascii... yes
checking for isxdigit... yes
checking for getpwent... yes
checking for getpwnam... yes
checking for getpwuid... yes
checking for working strcoll... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking for unistd.h... (cached) yes
checking for stdlib.h... (cached) yes
checking varargs.h usability... no
checking varargs.h presence... no
checking for varargs.h... no
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for memory.h... (cached) yes
checking termcap.h usability... yes
checking termcap.h presence... yes
checking for termcap.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking termio.h usability... no
checking termio.h presence... no
checking for termio.h... no
checking sys/pte.h usability... no
checking sys/pte.h presence... no
checking for sys/pte.h... no
checking sys/stream.h usability... no
checking sys/stream.h presence... no
checking for sys/stream.h... no
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking for sys/ptem.h... no
checking for type of signal functions... posix
checking if signal handlers must be reinstalled when invoked... no
checking for presence of POSIX-style sigsetjmp/siglongjmp... present
checking for lstat... yes
checking whether or not strcoll and strcmp differ... no
checking whether the ctype macros accept non-ascii characters... yes
checking whether getpw functions are declared in pwd.h... yes
checking whether termios.h defines TIOCGWINSZ... yes
checking whether signal handlers are of type void... yes
checking for TIOCSTAT in sys/ioctl.h... yes
checking for FIONREAD in sys/ioctl.h... yes
checking for speed_t in sys/types.h... no
checking for struct winsize in sys/ioctl.h and termios.h... sys/ioctl.h
checking for struct dirent.d_ino... yes
checking for struct dirent.d_fileno... yes
checking for tgetent... no
checking for tgetent in -ltermcap... yes
checking which library has the termcap functions... using libtermcap
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for mbsrtowcs... yes
checking for mbrlen... yes
checking for wcrtomb... yes
checking for wcscoll... yes
checking for wcsdup... no
checking for wcwidth... yes
checking for wctype... yes
checking whether mbrtowc and mbstate_t are properly declared... yes
checking for iswlower... yes
checking for iswupper... yes
checking for towlower... yes
checking for towupper... yes
checking for iswctype... yes
checking for nl_langinfo and CODESET... yes
checking for wchar_t in wchar.h... yes
checking for wctype_t in wctype.h... yes
checking for wint_t in wctype.h... yes
checking configuration for building shared libraries... supported
configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating examples/Makefile
config.status: creating shlib/Makefile
config.status: creating config.h
config.status: executing default commands
--->  Building readline with target all
rm -f readline.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 readline.c
rm -f vi_mode.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 vi_mode.c
rm -f funmap.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 funmap.c
rm -f keymaps.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 keymaps.c
rm -f parens.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 parens.c
rm -f search.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 search.c
rm -f rltty.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 rltty.c
rm -f complete.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 complete.c
rm -f bind.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 bind.c
bind.c: In function 'rl_function_of_keyseq':
bind.c:704: warning: comparison is always true due to limited range of data type
rm -f isearch.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 isearch.c
rm -f display.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 display.c
display.c: In function 'rl_character_len':
display.c:1961: warning: comparison is always true due to limited range of data type
rm -f signals.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 signals.c
rm -f util.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 util.c
rm -f kill.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 kill.c
rm -f undo.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 undo.c
rm -f macro.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 macro.c
rm -f input.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 input.c
rm -f callback.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 callback.c
rm -f terminal.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 terminal.c
rm -f text.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 text.c
rm -f nls.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 nls.c
rm -f misc.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 misc.c
rm -f compat.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 compat.c
rm -f xmalloc.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 xmalloc.c
rm -f history.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 history.c
rm -f histexpand.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 histexpand.c
rm -f histfile.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 histfile.c
rm -f histsearch.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 histsearch.c
rm -f shell.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 shell.c
rm -f mbutil.o
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 mbutil.c
rm -f tilde.o
/usr/bin/gcc-4.0 -DHAVE_CONFIG_H   -I/opt/local/include -I. -I. -DRL_LIBRARY_VERSION='"5.2"' -O2 -DREADLINE_LIBRARY -c ./tilde.c
rm -f libreadline.a
ar cr libreadline.a readline.o vi_mode.o funmap.o keymaps.o parens.o search.o rltty.o complete.o bind.o isearch.o display.o signals.o util.o kill.o undo.o macro.o input.o callback.o terminal.o text.o nls.o misc.o compat.o xmalloc.o history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o tilde.o
test -n "ranlib" && ranlib libreadline.a
rm -f libhistory.a
ar cr libhistory.a history.o histexpand.o histfile.o histsearch.o shell.o mbutil.o xmalloc.o
test -n "ranlib" && ranlib libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; make  all )
rm -f readline.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o readline.o ../readline.c 
mv readline.o readline.so
rm -f vi_mode.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o vi_mode.o ../vi_mode.c 
mv vi_mode.o vi_mode.so
rm -f funmap.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o funmap.o ../funmap.c 
mv funmap.o funmap.so
rm -f keymaps.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o keymaps.o ../keymaps.c 
mv keymaps.o keymaps.so
rm -f parens.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o parens.o ../parens.c 
mv parens.o parens.so
rm -f search.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o search.o ../search.c 
mv search.o search.so
rm -f rltty.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o rltty.o ../rltty.c 
mv rltty.o rltty.so
rm -f complete.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o complete.o ../complete.c 
mv complete.o complete.so
rm -f bind.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o bind.o ../bind.c 
../bind.c: In function 'rl_function_of_keyseq':
../bind.c:704: warning: comparison is always true due to limited range of data type
mv bind.o bind.so
rm -f isearch.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o isearch.o ../isearch.c 
mv isearch.o isearch.so
rm -f display.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o display.o ../display.c 
../display.c: In function 'rl_character_len':
../display.c:1961: warning: comparison is always true due to limited range of data type
mv display.o display.so
rm -f signals.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o signals.o ../signals.c 
mv signals.o signals.so
rm -f util.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o util.o ../util.c 
mv util.o util.so
rm -f kill.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o kill.o ../kill.c 
mv kill.o kill.so
rm -f undo.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o undo.o ../undo.c 
mv undo.o undo.so
rm -f macro.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o macro.o ../macro.c 
mv macro.o macro.so
rm -f input.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o input.o ../input.c 
mv input.o input.so
rm -f callback.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o callback.o ../callback.c 
mv callback.o callback.so
rm -f terminal.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o terminal.o ../terminal.c 
mv terminal.o terminal.so
rm -f text.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o text.o ../text.c 
mv text.o text.so
rm -f nls.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o nls.o ../nls.c 
mv nls.o nls.so
rm -f misc.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o misc.o ../misc.c 
mv misc.o misc.so
rm -f xmalloc.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o xmalloc.o ../xmalloc.c 
mv xmalloc.o xmalloc.so
rm -f history.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o history.o ../history.c 
mv history.o history.so
rm -f histexpand.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o histexpand.o ../histexpand.c 
mv histexpand.o histexpand.so
rm -f histfile.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o histfile.o ../histfile.c 
mv histfile.o histfile.so
rm -f histsearch.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o histsearch.o ../histsearch.c 
mv histsearch.o histsearch.so
rm -f shell.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o shell.o ../shell.c 
mv shell.o shell.so
rm -f mbutil.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o mbutil.o ../mbutil.c 
mv mbutil.o mbutil.so
rm -f tilde.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -DREADLINE_LIBRARY -c -o tilde.o ../tilde.c
mv tilde.o tilde.so
rm -f compat.so
/usr/bin/gcc-4.0 -c -DHAVE_CONFIG_H   -I/opt/local/include -I. -I.. -I.. -DRL_LIBRARY_VERSION='"5.2"' -O2 -fno-common -o compat.o ../compat.c 
mv compat.o compat.so
rm -f libreadline.5.2.dylib
MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0 -dynamiclib -dynamic -undefined dynamic_lookup -arch_only `/usr/bin/arch` -L/opt/local/lib -dynamiclib -arch_only `/usr/bin/arch` -install_name /opt/local/lib/libreadline.5.2.dylib -current_version 5.2 -compatibility_version 5 -v -o libreadline.5.2.dylib readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
 /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/collect2 -dynamic -dylib -dylib_compatibility_version 5 -dylib_current_version 5.2 -arch ppc -dylib_install_name /opt/local/lib/libreadline.5.2.dylib -dynamic -macosx_version_min 10.3 -undefined dynamic_lookup -weak_reference_mismatches non-weak -undefined dynamic_lookup -o libreadline.5.2.dylib -ldylib1.o -L/opt/local/lib -L/usr/lib/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../../powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../.. readline.so vi_mode.so funmap.so keymaps.so parens.so search.so rltty.so complete.so bind.so isearch.so display.so signals.so util.so kill.so undo.so macro.so input.so callback.so terminal.so text.so nls.so misc.so xmalloc.so history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so tilde.so compat.so -lncurses -lgcc -lSystemStubs -lmx -lSystem
rm -f libhistory.5.2.dylib
MACOSX_DEPLOYMENT_TARGET=10.3 /usr/bin/gcc-4.0 -dynamiclib -dynamic -undefined dynamic_lookup -arch_only `/usr/bin/arch` -L/opt/local/lib -dynamiclib -arch_only `/usr/bin/arch` -install_name /opt/local/lib/libhistory.5.2.dylib -current_version 5.2 -compatibility_version 5 -v -o libhistory.5.2.dylib history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -lncurses
Using built-in specs.
Target: powerpc-apple-darwin9
Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --program-prefix= --host=powerpc-apple-darwin9 --target=powerpc-apple-darwin9
Thread model: posix
gcc version 4.0.1 (Apple Inc. build 5465)
 /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/collect2 -dynamic -dylib -dylib_compatibility_version 5 -dylib_current_version 5.2 -arch ppc -dylib_install_name /opt/local/lib/libhistory.5.2.dylib -dynamic -macosx_version_min 10.3 -undefined dynamic_lookup -weak_reference_mismatches non-weak -undefined dynamic_lookup -o libhistory.5.2.dylib -ldylib1.o -L/opt/local/lib -L/usr/lib/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../../powerpc-apple-darwin9/4.0.1 -L/usr/lib/gcc/powerpc-apple-darwin9/4.0.1/../../.. history.so histexpand.so histfile.so histsearch.so shell.so mbutil.so xmalloc.so -lncurses -lgcc -lSystemStubs -lmx -lSystem
--->  Staging readline into destroot
. changed
	gid expected 0 found 80 modified
./usr missing (created)
. missing (directory not created: File exists)
./Applications missing (created)
./Developer missing (created)
./Library missing (created)
. changed
	gid expected 80 found 0 modified
./bin missing (created)
./etc missing (created)
./include missing (created)
./lib missing (created)
./libexec missing (created)
./sbin missing (created)
./share missing (created)
./share/info missing (created)
./share/man missing (created)
./share/man/cat1 missing (created)
./share/man/cat2 missing (created)
./share/man/cat3 missing (created)
./share/man/cat4 missing (created)
./share/man/cat5 missing (created)
./share/man/cat6 missing (created)
./share/man/cat7 missing (created)
./share/man/cat8 missing (created)
./share/man/cat9 missing (created)
./share/man/catl missing (created)
./share/man/catn missing (created)
./share/man/man1 missing (created)
./share/man/man2 missing (created)
./share/man/man3 missing (created)
./share/man/man4 missing (created)
./share/man/man5 missing (created)
./share/man/man6 missing (created)
./share/man/man7 missing (created)
./share/man/man8 missing (created)
./share/man/man9 missing (created)
./share/man/manl missing (created)
./share/man/mann missing (created)
./share/nls missing (created)
./share/nls/C missing (created)
./share/nls/af_ZA.ISO8859-1 missing (created)
./share/nls/af_ZA.ISO8859-15 missing (created)
./share/nls/bg_BG.CP1251 missing (created)
./share/nls/cs_CZ.ISO8859-2 missing (created)
./share/nls/da_DK.ISO8859-1 missing (created)
./share/nls/da_DK.ISO8859-15 missing (created)
./share/nls/de_AT.ISO8859-1 missing (created)
./share/nls/de_AT.ISO8859-15 missing (created)
./share/nls/de_CH.ISO8859-1 missing (created)
./share/nls/de_CH.ISO8859-15 missing (created)
./share/nls/de_DE.ISO8859-1 missing (created)
./share/nls/de_DE.ISO8859-15 missing (created)
./share/nls/el_GR.ISO8859-7 missing (created)
./share/nls/en_AU.ISO8859-1 missing (created)
./share/nls/en_AU.ISO8859-15 missing (created)
./share/nls/en_AU.US-ASCII missing (created)
./share/nls/en_CA.ISO8859-1 missing (created)
./share/nls/en_CA.ISO8859-15 missing (created)
./share/nls/en_CA.US-ASCII missing (created)
./share/nls/en_GB.ISO8859-1 missing (created)
./share/nls/en_GB.ISO8859-15 missing (created)
./share/nls/en_GB.US-ASCII missing (created)
./share/nls/en_NZ.ISO8859-1 missing (created)
./share/nls/en_NZ.ISO8859-15 missing (created)
./share/nls/en_NZ.US-ASCII missing (created)
./share/nls/en_US.ISO8859-1 missing (created)
./share/nls/en_US.ISO8859-15 missing (created)
./share/nls/es_ES.ISO8859-1 missing (created)
./share/nls/es_ES.ISO8859-15 missing (created)
./share/nls/et_EE.ISO8859-15 missing (created)
./share/nls/fi_FI.ISO8859-1 missing (created)
./share/nls/fi_FI.ISO8859-15 missing (created)
./share/nls/fr_BE.ISO8859-1 missing (created)
./share/nls/fr_BE.ISO8859-15 missing (created)
./share/nls/fr_CA.ISO8859-1 missing (created)
./share/nls/fr_CA.ISO8859-15 missing (created)
./share/nls/fr_CH.ISO8859-1 missing (created)
./share/nls/fr_CH.ISO8859-15 missing (created)
./share/nls/fr_FR.ISO8859-1 missing (created)
./share/nls/fr_FR.ISO8859-15 missing (created)
./share/nls/hi_IN.ISCII-DEV missing (created)
./share/nls/hr_HR.ISO8859-2 missing (created)
./share/nls/hu_HU.ISO8859-2 missing (created)
./share/nls/is_IS.ISO8859-1 missing (created)
./share/nls/is_IS.ISO8859-15 missing (created)
./share/nls/it_CH.ISO8859-1 missing (created)
./share/nls/it_CH.ISO8859-15 missing (created)
./share/nls/it_IT.ISO8859-1 missing (created)
./share/nls/it_IT.ISO8859-15 missing (created)
./share/nls/ja_JP.SJIS missing (created)
./share/nls/ja_JP.eucJP missing (created)
./share/nls/ko_KR.eucKR missing (created)
./share/nls/la_LN.ISO8859-1 missing (created)
./share/nls/la_LN.ISO8859-15 missing (created)
./share/nls/la_LN.ISO8859-2 missing (created)
./share/nls/la_LN.ISO8859-4 missing (created)
./share/nls/la_LN.US-ASCII missing (created)
./share/nls/lt_LT.ISO8859-4 missing (created)
./share/nls/nl_BE.ISO8859-1 missing (created)
./share/nls/nl_BE.ISO8859-15 missing (created)
./share/nls/nl_NL.ISO8859-1 missing (created)
./share/nls/nl_NL.ISO8859-15 missing (created)
./share/nls/no_NO.ISO8859-1 missing (created)
./share/nls/no_NO.ISO8859-15 missing (created)
./share/nls/pl_PL.ISO8859-2 missing (created)
./share/nls/pt_BR.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-1 missing (created)
./share/nls/pt_PT.ISO8859-15 missing (created)
./share/nls/ro_RO.ISO8859-2 missing (created)
./share/nls/ru_RU.CP866 missing (created)
./share/nls/ru_RU.ISO8859-5 missing (created)
./share/nls/ru_RU.KOI8-R missing (created)
./share/nls/sk_SK.ISO8859-2 missing (created)
./share/nls/sl_SI.ISO8859-2 missing (created)
./share/nls/sv_SE.ISO8859-1 missing (created)
./share/nls/sv_SE.ISO8859-15 missing (created)
./share/nls/tr_TR.ISO8859-9 missing (created)
./share/nls/uk_UA.ISO8859-5 missing (created)
./share/nls/uk_UA.KOI8-U missing (created)
./share/nls/zh_CN.eucCN missing (created)
./share/nls/zh_TW.Big5 missing (created)
./share/skel missing (created)
./src missing (created)
./var missing (created)
./var/macports missing (created)
./var/macports/distfiles missing (created)
./var/macports/receipts missing (created)
./var/macports/registry missing (created)
./www missing (created)
/bin/sh ./support/mkinstalldirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/include \
		/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/include/readline /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib \
		/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/man/man3
mkdir -p -- /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/include/readline /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/man/man3
for f in readline.h chardefs.h keymaps.h history.h tilde.h rlstdc.h rlconf.h rltypedefs.h; do \
		/usr/bin/install -m 644 ./$f /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/include/readline ; \
	done
( if test -d doc ; then \
		cd doc && \
		make  infodir=/opt/local/share/info DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot install; \
	  fi )
/bin/sh ../support/mkdirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/man/man3
if test -n "" ; then \
		/bin/sh ../support/mkdirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot ; \
	fi
if test -f readline.info; then \
		/usr/bin/install -m 644 readline.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/readline.info; \
	else \
		/usr/bin/install -m 644 ./readline.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/readline.info; \
	fi
if test -f rluserman.info; then \
		/usr/bin/install -m 644 rluserman.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/rluserman.info; \
	else \
		/usr/bin/install -m 644 ./rluserman.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/rluserman.info; \
	fi
if test -f history.info; then \
		/usr/bin/install -m 644 history.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/history.info; \
	else \
		/usr/bin/install -m 644 ./history.info /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/history.info; \
	fi
if /bin/sh -c 'install-info --version' >/dev/null 2>&1; then \
		install-info --dir-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir \
			/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/readline.info ; \
		install-info --dir-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir \
			/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/history.info ; \
		install-info --dir-file=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir \
			/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/rluserman.info ; \
	else true; fi
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/readline.info): no backup file /var/backups/infodir.bak available.
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/readline.info): no default file /usr/share/base-files/info.dir available, giving up.
* Readline: (readline). The GNU readline library API.
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/history.info): no backup file /var/backups/infodir.bak available.
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/history.info): no default file /usr/share/base-files/info.dir available, giving up.
* History: (history). The GNU history library API.
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/rluserman.info): no backup file /var/backups/infodir.bak available.
install-info(/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/rluserman.info): no default file /usr/share/base-files/info.dir available, giving up.
* RLuserman: (rluserman). The GNU readline library User's Manual.
make[1]: [install] Error 1 (ignored)
/usr/bin/install -m 644 ./readline.3 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/man/man3/readline.3
/usr/bin/install -m 644 ./history.3 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/man/man3/history.3
if test -n "" ; then \
		if test -f readline.html; then \
			/usr/bin/install -m 644 readline.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/readline.html; \
		else \
			/usr/bin/install -m 644 ./readline.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/readline.html; \
		fi ; \
		if test -f history.html; then \
			/usr/bin/install -m 644 history.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/history.html; \
		else \
			/usr/bin/install -m 644 ./history.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/history.html; \
		fi ; \
		if test -f rluserman.html; then \
			/usr/bin/install -m 644 rluserman.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/rluserman.html; \
		else \
			/usr/bin/install -m 644 ./rluserman.html /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/rluserman.html; \
		fi ; \
	fi
mv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.old
mv: rename /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.a to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.old: No such file or directory
make: [install-static] Error 1 (ignored)
/usr/bin/install -m 644 libreadline.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.a
test -n "ranlib" && ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libreadline.a
mv /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.old
mv: rename /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.a to /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.old: No such file or directory
make: [install-static] Error 1 (ignored)
/usr/bin/install -m 644 libhistory.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.a
test -n "ranlib" && ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib/libhistory.a
test -d shlib || mkdir shlib
( cd shlib ; make  all )
make[1]: Nothing to be done for `all'.
( cd shlib ; make  DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot install )
/bin/sh ../support/mkdirs /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib
/bin/sh ../support/shlib-install -O darwin9.3.0 -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib -b /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/bin -i "/usr/bin/install -m 644" libhistory.5.2.dylib
/bin/sh ../support/shlib-install -O darwin9.3.0 -d /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/lib -b /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/bin -i "/usr/bin/install -m 644" libreadline.5.2.dylib
install: you may need to run ldconfig
Error: Target org.macports.destroot returned: no such file or directory
Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.
[root ~]# 

Change History (6)

comment:1 Changed 16 years ago by silverdemon@…

Well, I managed to get it installed after finally getting around to figuring out what the problem was.

DEBUG: Executing proc-post-org.macports.destroot-destroot-0 DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir Error: Target org.macports.destroot returned: no such file or directory Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.

I had no idea that -d was any different from -v (as the man states -d implies -v), but now I know.

Anyway, after looking in the mentioned dir above, I found no 'dir' in destroot/opt/local/share/info, so I just commented the 'delete' line in the portfile. It installed, but with the following error:

--->  Installing readline 5.2.012_1
--->  Activating readline 5.2.012_1
--->  Cleaning readline
--->  Removing build directory for readline
couldn't change working directory to "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info": no such file or directory
    while executing
"cd $savedir"
    (procedure "foreachport" line 17)
    invoked from within
"foreachport $portlist {
        set target $action

        # If we have a url, use that, since it's most specific
        # otherwise try to map the ..."
    (procedure "action_target" line 5)
    invoked from within
"$action_proc $action $portlist [array get global_options]"
    (procedure "process_cmd" line 60)
    invoked from within
"process_cmd $remaining_args"
    invoked from within
"if { [llength $remaining_args] > 0 } {

    # If there are remaining arguments, process those as a command

    # Exit immediately, by default, unless..."
    (file "/opt/local/bin/port" line 2651)

Maybe I shouldn't have commented out that line, but I just wanted to finally install readline for something else.

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

Cc: jkh@… added
Milestone: Port Bugs

Yes, -d implies -v. -v does not imply -d. -d is a superset of -v. -d includes all information from -v and then some. -v is "verbose" and -d is "debug" (which is more verbose).

All the output you got following "Removing build directory for readline" is expected -- you must have been in the build directory, and then MacPorts deleted the build directory, and then it didn't know how to put your shell back into that directory when it was done. No harm should come of these error messages. The port was installed properly. The messages would not have appeared had you run the port command from a directory that still existed when the port command finished.

As to the actual problem of share/info/dir not existing, that's curious. I've never had this problem installing readline on several machines with several OS versions over the years. And the directive to remove that item has been in the portfile since r7643, which was committed almost four years ago (although the log message for that revision does not explain why it is being deleted; Cc'ing the committer of that revision for clarification). It looks like you're on a PowerPC with Mac OS X 10.5.3... That's one configuration I haven't used yet. What version of Xcode and MacPorts do you have?

We could certainly modify the portfile to only delete the item if it exists. But before we do that it might be nice to understand why it has existed for everyone else installing the port over the past four years but not for you! :-)

comment:3 Changed 16 years ago by silverdemon@…

All the output you got following "Removing build directory for readline" is expected -- you must have been in the build directory, and then MacPorts deleted the build directory, and then it didn't know how to put your shell back into that directory when it was done. No harm should come of these error messages. The port was installed properly. The messages would not have appeared had you run the port command from a directory that still existed when the port command finished.

Ahh! That explains it! Of course.. ;)

Yea, share/info was there, but with nothing in it (., .. in ls). I have no idea, either. I didn't install many ports yet, but only one other port failed to build, but installed fine later. XCode - 3.0, MacPorts - 1.600, installed from .pkg. It was selfupdated before the above procedure.

Thanks for the info!

comment:4 Changed 15 years ago by CocoaNative@…

Just adding a "me, too".

I got the same error from readline while building apt-rpm. This was one of my first builds and probably the first time readline needed building. I was not in the build directory when I started the port. (I was in ~/whatever).

  # port -d install readline
  [...]
  DEBUG: delete: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_readline/work/destroot/opt/local/share/info/dir
  Error: Target org.macports.destroot returned: no such file or directory
  Warning: the following items did not execute (for readline): org.macports.activate org.macports.destroot org.macports.install
  Error: Status 1 encountered during processing.

The solution is as above, commenting out the delete in the Portfile.

/opt/local/var/macports/sources/rsync.macports.org/release/ports/devel/readline/Portfile:

# delete ${destroot}${prefix}/share/info/dir

Leopard, 10.5.6. Installed MacPorts earlier that day. Running as su.

comment:5 Changed 15 years ago by blb@…

Port: readline added
Resolution: fixed
Status: newclosed

Fixed in r49336.

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.