[MacPorts] #72026: ccrypt fails to build without emacs being found, but no dependency declared
MacPorts
noreply at macports.org
Sat Feb 8 07:04:27 UTC 2025
#72026: ccrypt fails to build without emacs being found, but no dependency declared
--------------------------+--------------------
Reporter: barracuda156 | Owner: (none)
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.10.5
Keywords: | Port: ccrypt
--------------------------+--------------------
{{{
---> Configuring ccrypt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11"
&& ./configure --prefix=/opt/local
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for emacs... emacs
checking where .elc files should go... ${datadir}/emacs/site-lisp
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.2 accepts -g... yes
checking for /usr/bin/gcc-4.2 option to accept ISO C89... none needed
checking whether /usr/bin/gcc-4.2 understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.2... gcc3
checking how to run the C preprocessor... /usr/bin/gcc-4.2 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/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 it is safe to define __EXTENSIONS__... yes
checking what compiler options to use... -pipe -Os -arch ppc
checking for gtar... no
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for crypt in -lcrypt... no
checking for gethostname in -lsocket... no
checking for stdint.h... (cached) yes
checking crypt.h usability... no
checking crypt.h presence... no
checking for crypt.h... no
checking for getopt_long... yes
checking whether getopt_long reorders its arguments... yes
checking whether to use included getopt... no
checking size of unsigned int... 4
checking size of unsigned long... 4
checking for 32 bit unsigned integer type... unsigned int
checking for a sed that does not truncate output... /usr/bin/sed
checking whether NLS is requested... yes
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking build system type... powerpc-apple-darwin10.8.0
checking host system type... powerpc-apple-darwin10.8.0
checking whether we are using the GNU C Library 2 or newer... no
checking for ranlib... ranlib
checking whether the -Werror option is usable... yes
checking for simple visibility declarations... yes
checking for inline... inline
checking for size_t... yes
checking for stdint.h... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether integer division by zero raises SIGFPE... no
checking for inttypes.h... yes
checking for unsigned long long int... yes
checking for inttypes.h... (cached) yes
checking whether the inttypes.h PRIxNN macros are broken... no
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/powerpc-
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for shared library run path origin... done
checking whether imported symbols can be declared weak... no
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for pthread_kill in -lpthread... yes
checking for multithread API to use... posix
checking for pthread_rwlock_t... yes
checking for iconv... yes
checking for working iconv... yes
checking how to link with libiconv... -liconv
checking for iconv declaration...
extern size_t iconv (iconv_t cd, char * *inbuf, size_t
*inbytesleft, char * *outbuf, size_t *outbytesleft);
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for inttypes.h... (cached) yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... no
checking for munmap... yes
checking for stpcpy... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for uselocale... yes
checking for argz_count... no
checking for argz_stringify... no
checking for argz_next... no
checking for __fsetlocking... no
checking for getlocalename_l... no
checking whether feof_unlocked is declared... yes
checking whether fgets_unlocked is declared... no
checking for bison... bison
checking version of bison... 2.3, bad
checking for long long int... yes
checking for wchar_t... yes
checking for wint_t... yes
checking for intmax_t... yes
checking whether printf() supports POSIX/XSI format strings... yes
checking whether we are using the GNU C Library >= 2.1 or uClibc... no
checking for stdint.h... (cached) yes
checking for SIZE_MAX... yes
checking for stdint.h... (cached) yes
checking for symlink... yes
checking for working fcntl.h... no (bad O_NOATIME)
checking for CFPreferencesCopyAppValue... yes
checking for CFLocaleCopyCurrent... yes
checking for ptrdiff_t... yes
checking features.h usability... no
checking features.h presence... no
checking for features.h... no
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for asprintf... yes
checking for fwprintf... yes
checking for newlocale... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for snprintf... yes
checking for strnlen... no
checking for wcslen... yes
checking for wcsnlen... no
checking for mbrtowc... yes
checking for wcrtomb... yes
checking whether _snprintf is declared... no
checking whether _snwprintf is declared... no
checking whether getc_unlocked is declared... yes
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking for CFPreferencesCopyAppValue... (cached) yes
checking for CFLocaleCopyCurrent... (cached) yes
checking whether included gettext is requested... no
checking for GNU gettext in libc... no
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... -lintl -Wl,-framework
-Wl,CoreFoundation
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by /usr/bin/gcc-4.2... /usr/libexec/gcc/powerpc-
apple-darwin10/4.2.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld)
is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /opt/local/bin/nm
-B
checking the name lister (/opt/local/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert powerpc-apple-darwin10.8.0 file names to powerpc-
apple-darwin10.8.0 format... func_convert_file_noop
checking how to convert powerpc-apple-darwin10.8.0 file names to toolchain
format... func_convert_file_noop
checking for /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/ld option to
reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... (cached) ranlib
checking command to parse /opt/local/bin/nm -B output from
/usr/bin/gcc-4.2 object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /usr/bin/gcc-4.2 supports -fno-rtti -fno-exceptions... no
checking for /usr/bin/gcc-4.2 option to produce PIC... -fno-common -DPIC
checking if /usr/bin/gcc-4.2 PIC flag -fno-common -DPIC works... yes
checking if /usr/bin/gcc-4.2 static flag -static works... no
checking if /usr/bin/gcc-4.2 supports -c -o file.o... yes
checking if /usr/bin/gcc-4.2 supports -c -o file.o... (cached) yes
checking whether the /usr/bin/gcc-4.2 linker (/usr/libexec/gcc/powerpc-
apple-darwin10/4.2.1/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin10.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating doc/ccrypt.1
config.status: creating doc/ccguess.1
config.status: creating po/Makefile.in
config.status: creating m4/Makefile
config.status: creating intl/Makefile
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating emacs/Makefile
config.status: creating check/Makefile
config.status: creating doc/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing po-directories commands
config.status: creating po/POTFILES
config.status: creating po/Makefile
config.status: executing libtool commands
---> Building ccrypt
Executing: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11"
&& /usr/bin/make -j6 -w check
make: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11'
Making check in m4
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/m4'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/m4'
Making check in po
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/po'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/po'
Making check in intl
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/intl'
make[1]: Nothing to be done for `check'.
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/intl'
Making check in src
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/src'
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT ccryptlib.o -MD -MP -MF .deps/ccryptlib.Tpo -c -o
ccryptlib.o ccryptlib.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT rijndael.o -MD -MP -MF .deps/rijndael.Tpo -c -o rijndael.o
rijndael.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT tables.o -MD -MP -MF .deps/tables.Tpo -c -o tables.o
tables.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT traverse.o -MD -MP -MF .deps/traverse.Tpo -c -o traverse.o
traverse.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT xalloc.o -MD -MP -MF .deps/xalloc.Tpo -c -o xalloc.o
xalloc.c
mv -f .deps/tables.Tpo .deps/tables.Po
mv -f .deps/xalloc.Tpo .deps/xalloc.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT readkey.o -MD -MP -MF .deps/readkey.Tpo -c -o readkey.o
readkey.c
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT ccrypt.o -MD -MP -MF .deps/ccrypt.Tpo -c -o ccrypt.o
ccrypt.c
mv -f .deps/readkey.Tpo .deps/readkey.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT unixcryptlib.o -MD -MP -MF .deps/unixcryptlib.Tpo -c -o
unixcryptlib.o unixcryptlib.c
mv -f .deps/unixcryptlib.Tpo .deps/unixcryptlib.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT platform.o -MD -MP -MF .deps/platform.Tpo -c -o platform.o
platform.c
mv -f .deps/rijndael.Tpo .deps/rijndael.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT unixcrypt3.o -MD -MP -MF .deps/unixcrypt3.Tpo -c -o
unixcrypt3.o unixcrypt3.c
mv -f .deps/ccryptlib.Tpo .deps/ccryptlib.Po
/usr/bin/gcc-4.2 -DHAVE_CONFIG_H -I. -I.. -I../intl -I../intl
-DLOCALEDIR=\"/opt/local/share/locale\" -I/opt/local/include -pipe -Os
-arch ppc -MT ccguess.o -MD -MP -MF .deps/ccguess.Tpo -c -o ccguess.o
ccguess.c
mv -f .deps/platform.Tpo .deps/platform.Po
rm -f libccrypt.a
ar cru libccrypt.a ccryptlib.o rijndael.o tables.o
ranlib libccrypt.a
mv -f .deps/ccrypt.Tpo .deps/ccrypt.Po
mv -f .deps/main.Tpo .deps/main.Po
mv -f .deps/unixcrypt3.Tpo .deps/unixcrypt3.Po
mv -f .deps/ccguess.Tpo .deps/ccguess.Po
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -pipe -Os
-arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o
ccguess ccguess.o rijndael.o tables.o readkey.o xalloc.o -lintl
-Wl,-framework -Wl,CoreFoundation
mv -f .deps/traverse.Tpo .deps/traverse.Po
/bin/sh ../libtool --tag=CC --mode=link /usr/bin/gcc-4.2 -pipe -Os
-arch ppc -L/opt/local/lib -Wl,-headerpad_max_install_names -arch ppc -o
ccrypt main.o traverse.o xalloc.o readkey.o ccrypt.o unixcryptlib.o
platform.o unixcrypt3.o libccrypt.a -lintl -Wl,-framework
-Wl,CoreFoundation
libtool: link: /usr/bin/gcc-4.2 -pipe -Os -arch ppc
-Wl,-headerpad_max_install_names -arch ppc -o ccguess ccguess.o rijndael.o
tables.o readkey.o xalloc.o -Wl,-framework -Wl,CoreFoundation
-L/opt/local/lib -lintl
libtool: link: /usr/bin/gcc-4.2 -pipe -Os -arch ppc
-Wl,-headerpad_max_install_names -arch ppc -o ccrypt main.o traverse.o
xalloc.o readkey.o ccrypt.o unixcryptlib.o platform.o unixcrypt3.o
-Wl,-framework -Wl,CoreFoundation -L/opt/local/lib libccrypt.a -lintl
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/src'
Making check in emacs
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/emacs'
if test "emacs" != "no"; then \
am__dir=. am__subdir_includes=''; \
case ps-ccrypt.elc in */*) \
am__dir=`echo 'ps-ccrypt.elc' | sed 's,/[^/]*$,,'`; \
am__subdir_includes="-L $am__dir -L ./$am__dir"; \
esac; \
test -d "$am__dir" || .././install-sh -c -d "$am__dir" || exit
1; \
emacs --batch \
\
$am__subdir_includes -L . -L . \
--eval "(defun byte-compile-dest-file (f) \"ps-ccrypt.elc\")"
\
--eval "(unless (byte-compile-file \"ps-ccrypt.el\") (kill-
emacs 1))"; \
else :; fi
To install emacs on PPC you must run the following command
sudo /usr/libexec/dumpemacs
make[1]: *** [ps-ccrypt.elc] Error 1
make[1]: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11/emacs'
make: *** [check-recursive] Error 1
make: Leaving directory
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11'
Command failed: cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_security_ccrypt/ccrypt/work/ccrypt-1.11"
&& /usr/bin/make -j6 -w check
Exit code: 2
Error: Failed to build ccrypt: command execution failed
}}}
--
Ticket URL: <https://trac.macports.org/ticket/72026>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list