Re: dpkg-bootstrap-1.10.21-1221 config failed on Catalina 10.15.6

Hanspeter Niederstrasser <[email protected]>
Newsgroups gmane.os.apple.fink.beginners
Organization Snaggled Works
Message-ID <[email protected]>
On 9/18/20 6:15 PM, John Sigerson wrote:
> Hi, there,
> 
> I'm trying to install a new Fink on a MacBook Pro Late 2013 which I just upgraded from Mojave to Catalina. I've installed the new Xcode and command line tools, but when I run ./bootstrap, it quits after failing to configure dpkg-bootstrap-1.10.21-1221. The relevant output is below. Any suggestions will be greatly appreciated!
> 
> Package manager version: 0.45.1
> Distribution version: selfupdate-point (bootstrap), 10.15, x86_64
> Trees: local/main stable/main
> Xcode.app: 12.0
> Xcode command-line tools: 12.0.0.0.1.1599194153
> Max. Fink build jobs:  8
> 
> ...
> 	popd
> /opt/sw/src/fink.build/dpkg-bootstrap-1.10.21-1221/dpkg-1.10.21
> ./configure --prefix=/opt/sw/bootstrap 	--build=x86_64-apple-darwin --without-zlib --without-dselect --without-start-stop-daemon --without-sgml-doc --with-admindir=/opt/sw/var/lib/dpkg --mandir=/opt/sw/bootstrap/share/man --infodir=/opt/sw/bootstrap/share/info --srcdir=/opt/sw/src/fink.build/dpkg-bootstrap-1.10.21-1221/dpkg-1.10.21 --without-libintl-prefix --without-libiconv-prefix --disable-nls
> checking build system type... x86_64-apple-darwin
> checking host system type... x86_64-apple-darwin
> checking target system type... x86_64-apple-darwin
> checking for gcc... gcc
> checking for gcc... (cached) gcc
> 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 gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for g++... g++
> checking whether we are using the GNU C++ compiler... yes
> checking whether g++ accepts -g... yes
> checking for ld... ld
> checking for special C compiler options needed for large files... no
> checking for _FILE_OFFSET_BITS value needed for large files... no
> checking for _LARGE_FILES value needed for large files... no
> checking whether make sets $(MAKE)... yes
> checking dpkg version... 1.10.21
> checking Operating system type... darwin
> checking Debian architecture... darwin-x86_64
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether NLS is requested... no
> checking for msgfmt... no
> checking for gmsgfmt... :
> checking for xgettext... no
> checking for msgmerge... no
> checking for ld used by GCC... ld
> checking if the linker (ld) is GNU ld... no
> checking for shared library run path origin... done
> checking whether NLS is requested... no
> checking whether to use NLS... no
> checking for msgfmt... (cached) no
> checking for gmsgfmt... (cached) :
> checking for xgettext... (cached) no
> checking for msgmerge... (cached) no
> checking whether setlocale() is available... yes
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... no
> checking for ranlib... ranlib
> checking whether ln -s works... yes
> checking for rm... rm -f
> checking for sed... sed
> checking for a BSD-compatible install... /usr/bin/install -c
> checking for perl... /usr/bin/perl
> 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 for mode_t... yes
> checking for pid_t... yes
> checking for size_t... yes
> checking for vprintf... yes
> checking for _doprnt... no
> checking for an ANSI C-conforming const... yes
> checking whether byte ordering is bigendian... no
> checking for inline... inline
> checking for unsigned long... yes
> checking size of unsigned long... 8
> checking for unsigned int... yes
> checking size of unsigned int... 4
> checking for ptrdiff_t... no
> checking for unsetenv... yes
> checking for alphasort... yes
> checking for scandir... yes
> checking for strerror... yes
> checking for strsignal... yes
> checking for strtoul... yes
> checking for setsid... yes
> checking for vsnprintf... yes
> checking for lchown... yes
> checking for snprintf... yes
> checking sys/cdefs.h usability... yes
> checking sys/cdefs.h presence... yes
> checking for sys/cdefs.h... yes
> checking syslog.h usability... yes
> checking syslog.h presence... yes
> checking for syslog.h... yes
> checking stddef.h usability... no
> checking stddef.h presence... yes
> configure: WARNING: stddef.h: present but cannot be compiled
> configure: WARNING: stddef.h:     check for missing prerequisite headers?
> configure: WARNING: stddef.h: see the Autoconf documentation
> configure: WARNING: stddef.h:     section "Present But Cannot Be Compiled"
> configure: WARNING: stddef.h: proceeding with the preprocessor's result
> configure: WARNING: stddef.h: in the future, the compiler will take precedence
> configure: WARNING:     ## ------------------------------------------ ##
> configure: WARNING:     ## Report this to the AC_PACKAGE_NAME lists.  ##
> configure: WARNING:     ## ------------------------------------------ ##
> checking for stddef.h... yes
> checking error.h usability... no
> checking error.h presence... no
> checking for error.h... no
> checking locale.h usability... yes
> checking locale.h presence... yes
> checking for locale.h... yes
> checking whether sys_siglist is declared... yes
> checking for ihash_create in -lihash... no
> checking for proc_stat_list_create in -lps... no
> checking for fmt_past_time in -lshouldbeinlibc... no
> checking for kvm_openfiles in -lkvm... no
> checking for initscr in -lncurses... yes
> checking if TIOCNOTTY is defined in sys/ioctl.h... yes
> checking for va_copy... no
> checking for va_list assignment copy... configure: error: no
> ### execution of ./configure failed, exit code 1
> phase compiling: dpkg-bootstrap-1.10.21-1221 failed

This is the the actual failure code with Xcode12:

 > configure:9277: checking for va_list assignment copy
 > configure:9300: gcc -c -g -O2 -MD -I/opt/sw/bootstrap/include 
conftest.c >&5
 > conftest.c:55:4: error: array type 'va_list' (aka '__builtin_va_list') is
 > not assignable
 > v1 = v2;
 > ~~ ^
 > 1 error generated.
 > configure:9306: $? = 1
 > configure: failed program was:
 > | /* confdefs.h.  */
 > |
 > | #define PACKAGE_NAME ""
 > | #define PACKAGE_TARNAME ""
 > | #define PACKAGE_VERSION ""
 > | #define PACKAGE_STRING ""
 > | #define PACKAGE_BUGREPORT ""
 > | #ifdef __cplusplus
 > | extern "C" void exit (int);
 > | #endif
 > | #define PACKAGE "dpkg"
 > | #define VERSION "1.10.21"
 > | #define ARCHITECTURE "darwin-x86_64"
 > | #define HAVE_SETLOCALE 1
 > | #define HAVE_SYS_TYPES_H 1
 > | #define HAVE_SYS_STAT_H 1
 > | #define HAVE_STDLIB_H 1
 > | #define HAVE_STRING_H 1
 > | #define HAVE_MEMORY_H 1
 > | #define HAVE_STRINGS_H 1
 > | #define HAVE_INTTYPES_H 1
 > | #define HAVE_STDINT_H 1
 > | #define HAVE_UNISTD_H 1
 > | #define HAVE_VPRINTF 1
 > | #define SIZEOF_UNSIGNED_LONG 8
 > | #define SIZEOF_UNSIGNED_INT 4
 > | #define ptrdiff_t int
 > | #define HAVE_UNSETENV 1
 > | #define HAVE_ALPHASORT 1
 > | #define HAVE_SCANDIR 1
 > | #define HAVE_STRERROR 1
 > | #define HAVE_STRSIGNAL 1
 > | #define HAVE_STRTOUL 1
 > | #define HAVE_SETSID 1
 > | #define HAVE_VSNPRINTF 1
 > | #define HAVE_LCHOWN 1
 > | #define HAVE_SNPRINTF 1
 > | #define HAVE_SYS_CDEFS_H 1
 > | #define HAVE_SYSLOG_H 1
 > | #define HAVE_STDDEF_H 1
 > | #define HAVE_LOCALE_H 1
 > | #define HAVE_DECL_SYS_SIGLIST 1
 > | #define HAVE_TIOCNOTTY
 > | #define HAVE_ALPHASORT_DECLARATION
 > | #define HAVE_INLINE
 > | /* end confdefs.h.  */
 > |
 > | #include <stdarg.h>
 > |
 > | int
 > | main ()
 > | {
 > |
 > | va_list v1,v2;
 > | v1 = v2;
 > |
 > |   ;
 > |   return 0;
 > | }
 > configure:9326: error: no

This is not my area of expertise, so I don't know what the fix needs to 
be, but someone else might recognize the problem/cause. This is a new 
failure caused by Xcode12.
We have a newer dpkg being prepared that might fix this, but that branch 
is currently broken, so I can't test. Hopefully it'll be restored soon.

Hanspeter


_______________________________________________
Fink-beginners mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-beginners
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.