NetBSD Problem Report #38625
From tron@zhadum.org.uk Sat May 10 21:17:07 2008
Return-Path: <tron@zhadum.org.uk>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
by narn.NetBSD.org (Postfix) with ESMTP id 57C1963B293
for <gnats-bugs@gnats.NetBSD.org>; Sat, 10 May 2008 21:17:07 +0000 (UTC)
Message-Id: <200805102117.m4ALH3cX026763@colwyn.zhadum.org.uk>
Date: Sat, 10 May 2008 22:17:03 +0100 (BST)
From: tron@zhadum.org.uk
Reply-To: tron@zhadum.org.uk
To: gnats-bugs@gnats.NetBSD.org
Subject: digest-20080509 is broken under at least Mac OS X PPC
X-Send-Pr-Version: 3.95
>Number: 38625
>Category: pkg
>Synopsis: digest-20080509 is broken under at least Mac OS X PPC
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: joerg
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat May 10 21:20:00 +0000 2008
>Closed-Date: Mon Feb 09 19:19:14 +0000 2009
>Last-Modified: Mon Feb 09 19:20:02 +0000 2009
>Originator: Matthias Scheler
>Release: Darwin 9.2.2
>Organization:
Matthias Scheler http://zhadum.org.uk/
>Environment:
System: Darwin excalibur.zhadum.org.uk 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4 21:23:43 PST 2008; root:xnu-1228.4.31~1/RELEASE_PPC Power Macintosh
Architecture: powerpc
Machine: Power Macintosh
>Description:
The latest version of the "digest" package doesn't work properly under
Mac OS X PPC:
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>grep SHA1.\*ttcp distinfo
SHA1 (ttcp.tar.Z) = 33a60af208eff3dc9ae745060f44b24c4e74aa7e
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>openssl sha1 /share/src/distfiles/rdesktop-1.5.0.tar.gz
SHA1(/share/src/distfiles/rdesktop-1.5.0.tar.gz)= e3086bf865191eed41631813125f482e279c7f3d
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>pkg_info -I digest
digest-20080509 Message digest wrapper utility
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>digest SHA1 /share/src/distfiles/rdesktop-1.5.0.tar.gz
SHA1 (/share/src/distfiles/rdesktop-1.5.0.tar.gz) = d20dba0b65336949f652a5525dca0d9a70e996f0
A downgrade curse the problem:
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>pkg_info -I digest
digest-20070803 Message digest wrapper utility
tron@excalibur:/usr/pkgsrc/benchmarks/ttcp>digest SHA1 /share/src/distfiles/rdesktop-1.5.0.tar.gz
SHA1 (/share/src/distfiles/rdesktop-1.5.0.tar.gz) = e3086bf865191eed41631813125f482e279c7f3d
>How-To-Repeat:
Update "digest" to version "20080509" under Mac OS X PPC and try to build
the "rdesktop" or "ttcp" package.
>Fix:
A downgrade to version "20070803" fixes the problem.
>Release-Note:
>Audit-Trail:
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38625: digest-20080509 is broken under at least Mac OS X
PPC
Date: Sun, 11 May 2008 14:25:38 +0200
On Sat, May 10, 2008 at 09:20:00PM +0000, tron@zhadum.org.uk wrote:
> The latest version of the "digest" package doesn't work properly under
> Mac OS X PPC:
Can you compare the config.h used by both builds?
Joerg
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38625: digest-20080509 is broken under at least Mac OS X PPC
Date: Sun, 11 May 2008 13:45:05 +0100
On Sun, May 11, 2008 at 12:30:01PM +0000, Joerg Sonnenberger wrote:
> On Sat, May 10, 2008 at 09:20:00PM +0000, tron@zhadum.org.uk wrote:
> > The latest version of the "digest" package doesn't work properly under
> > Mac OS X PPC:
>
> Can you compare the config.h used by both builds?
Here is the difference:
--- /tmp/config.log 2008-05-11 13:42:20.000000000 +0100
+++ config.log 2008-05-11 13:43:23.000000000 +0100
@@ -1,8 +1,8 @@
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by nbsd-digest configure 20070803, which was
-generated by GNU Autoconf 2.61. Invocation command line was
+It was created by nbsd-digest configure 20080509, which was
+generated by GNU Autoconf 2.62. Invocation command line was
$ ./configure --prefix=/usr/pkg --host=powerpc-apple-darwin9 --mandir=/usr/pkg/man
@@ -30,8 +30,8 @@
Processor type: ppc970 (PowerPC 970)
Processors active: 0 1
Primary memory available: 2.50 gigabytes
-Default processor set: 80 tasks, 229 threads, 2 processors
-Load average: 3.14, Mach factor: 0.36
+Default processor set: 78 tasks, 229 threads, 2 processors
+Load average: 2.45, Mach factor: 0.21
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
@@ -62,252 +62,250 @@
## Core tests. ##
## ----------- ##
-configure:1765: checking build system type
-configure:1783: result: powerpc-apple-darwin9.2.2
-configure:1805: checking host system type
-configure:1820: result: powerpc-apple-darwin9
-configure:1846: checking whether make sets $(MAKE)
-configure:1867: result: yes
-configure:1880: checking for gawk
-configure:1907: result: /usr/bin/awk
-configure:1926: checking for powerpc-apple-darwin9-gcc
-configure:1953: result: gcc
-configure:2231: checking for C compiler version
-configure:2238: gcc --version >&5
+configure:1852: checking build system type
+configure:1870: result: powerpc-apple-darwin9.2.2
+configure:1892: checking host system type
+configure:1907: result: powerpc-apple-darwin9
+configure:1933: checking whether make sets $(MAKE)
+configure:1955: result: yes
+configure:1968: checking for gawk
+configure:1995: result: /usr/bin/awk
+configure:2014: checking for powerpc-apple-darwin9-gcc
+configure:2041: result: gcc
+configure:2319: checking for C compiler version
+configure:2327: gcc --version >&5
powerpc-apple-darwin9-gcc-4.0.1 (GCC) 4.0.1 (Apple Inc. build 5465)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-configure:2241: $? = 0
-configure:2248: gcc -v >&5
+configure:2331: $? = 0
+configure:2338: gcc -v >&5
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)
-configure:2251: $? = 0
-configure:2258: gcc -V >&5
+configure:2342: $? = 0
+configure:2349: gcc -V >&5
powerpc-apple-darwin9-gcc-4.0.1: couldn't run '/usr/bin/powerpc-apple-darwin9-gcc--I/Users/tron/obj/pkgtools/digest/work.excalibur/.buildlink/include': No such file or directory
-configure:2261: $? = 1
-configure:2284: checking for C compiler default output file name
-configure:2311: gcc -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-configure:2314: $? = 0
-configure:2352: result: a.out
-configure:2369: checking whether the C compiler works
-configure:2379: ./a.out
-configure:2382: $? = 0
-configure:2399: result: yes
-configure:2406: checking whether we are cross compiling
-configure:2408: result: no
-configure:2411: checking for suffix of executables
-configure:2418: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-configure:2421: $? = 0
-configure:2445: result:
-configure:2451: checking for suffix of object files
-configure:2477: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:2480: $? = 0
-configure:2503: result: o
-configure:2507: checking whether we are using the GNU C compiler
-configure:2536: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:2542: $? = 0
-configure:2559: result: yes
-configure:2564: checking whether gcc accepts -g
-configure:2594: gcc -c -g -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:2600: $? = 0
-configure:2699: result: yes
-configure:2716: checking for gcc option to accept ISO C89
-configure:2790: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:2796: $? = 0
-configure:2819: result: none needed
-configure:2850: checking for a BSD-compatible install
-configure:2906: result: /usr/bin/install -c -o root -g wheel
-configure:2917: checking whether ln -s works
-configure:2921: result: yes
-configure:2940: checking how to run the C preprocessor
-configure:2980: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:2986: $? = 0
-configure:3017: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:2353: $? = 1
+configure:2376: checking for C compiler default output file name
+configure:2398: gcc -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:2402: $? = 0
+configure:2440: result: a.out
+configure:2457: checking whether the C compiler works
+configure:2467: ./a.out
+configure:2471: $? = 0
+configure:2488: result: yes
+configure:2495: checking whether we are cross compiling
+configure:2497: result: no
+configure:2500: checking for suffix of executables
+configure:2507: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:2511: $? = 0
+configure:2535: result:
+configure:2541: checking for suffix of object files
+configure:2567: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:2571: $? = 0
+configure:2594: result: o
+configure:2598: checking whether we are using the GNU C compiler
+configure:2627: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:2634: $? = 0
+configure:2651: result: yes
+configure:2660: checking whether gcc accepts -g
+configure:2690: gcc -c -g -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:2697: $? = 0
+configure:2798: result: yes
+configure:2815: checking for gcc option to accept ISO C89
+configure:2889: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:2896: $? = 0
+configure:2919: result: none needed
+configure:2951: checking for a BSD-compatible install
+configure:3019: result: /usr/bin/install -c -o root -g wheel
+configure:3030: checking whether ln -s works
+configure:3034: result: yes
+configure:3053: checking how to run the C preprocessor
+configure:3093: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3100: $? = 0
+configure:3131: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
-configure:3023: $? = 1
+configure:3138: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nbsd-digest"
| #define PACKAGE_TARNAME "nbsd-digest"
-| #define PACKAGE_VERSION "20070803"
-| #define PACKAGE_STRING "nbsd-digest 20070803"
+| #define PACKAGE_VERSION "20080509"
+| #define PACKAGE_STRING "nbsd-digest 20080509"
| #define PACKAGE_BUGREPORT "agc@netbsd.org"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
-configure:3056: result: gcc -E
-configure:3085: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3091: $? = 0
-configure:3122: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3171: result: gcc -E
+configure:3200: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3207: $? = 0
+configure:3238: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
conftest.c:8:28: error: ac_nonexistent.h: No such file or directory
-configure:3128: $? = 1
+configure:3245: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nbsd-digest"
| #define PACKAGE_TARNAME "nbsd-digest"
-| #define PACKAGE_VERSION "20070803"
-| #define PACKAGE_STRING "nbsd-digest 20070803"
+| #define PACKAGE_VERSION "20080509"
+| #define PACKAGE_STRING "nbsd-digest 20080509"
| #define PACKAGE_BUGREPORT "agc@netbsd.org"
| /* end confdefs.h. */
| #include <ac_nonexistent.h>
-configure:3166: checking for grep that handles long lines and -e
-configure:3240: result: /usr/bin/grep
-configure:3245: checking for egrep
-configure:3323: result: /usr/bin/egrep
-configure:3328: checking for ANSI C header files
-configure:3358: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3364: $? = 0
-configure:3463: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-configure:3466: $? = 0
-configure:3472: ./conftest
-configure:3475: $? = 0
-configure:3492: result: yes
-configure:3516: checking for sys/types.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for sys/stat.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for stdlib.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for string.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for memory.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for strings.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for inttypes.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for stdint.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3516: checking for unistd.h
-configure:3537: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3543: $? = 0
-configure:3559: result: yes
-configure:3590: checking errno.h usability
-configure:3607: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3613: $? = 0
-configure:3627: result: yes
-configure:3631: checking errno.h presence
-configure:3646: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3652: $? = 0
-configure:3666: result: yes
-configure:3699: checking for errno.h
-configure:3707: result: yes
-configure:3590: checking fcntl.h usability
-configure:3607: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3613: $? = 0
-configure:3627: result: yes
-configure:3631: checking fcntl.h presence
-configure:3646: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3652: $? = 0
-configure:3666: result: yes
-configure:3699: checking for fcntl.h
-configure:3707: result: yes
-configure:3580: checking for inttypes.h
-configure:3586: result: yes
-configure:3590: checking locale.h usability
-configure:3607: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3613: $? = 0
-configure:3627: result: yes
-configure:3631: checking locale.h presence
-configure:3646: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3652: $? = 0
-configure:3666: result: yes
-configure:3699: checking for locale.h
-configure:3707: result: yes
-configure:3580: checking for stdlib.h
-configure:3586: result: yes
-configure:3737: checking sys/cdefs.h usability
-configure:3754: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3760: $? = 0
-configure:3774: result: yes
-configure:3778: checking sys/cdefs.h presence
-configure:3793: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3799: $? = 0
-configure:3813: result: yes
-configure:3846: checking for sys/cdefs.h
-configure:3854: result: yes
-configure:3737: checking sys/file.h usability
-configure:3754: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3760: $? = 0
-configure:3774: result: yes
-configure:3778: checking sys/file.h presence
-configure:3793: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3799: $? = 0
-configure:3813: result: yes
-configure:3846: checking for sys/file.h
-configure:3854: result: yes
-configure:3737: checking sys/param.h usability
-configure:3754: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3760: $? = 0
-configure:3774: result: yes
-configure:3778: checking sys/param.h presence
-configure:3793: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
-configure:3799: $? = 0
-configure:3813: result: yes
-configure:3846: checking for sys/param.h
-configure:3854: result: yes
-configure:3869: checking for uint8_t
-configure:3900: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3906: $? = 0
-configure:3927: result: yes
-configure:3945: checking for uint16_t
-configure:3976: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:3982: $? = 0
-configure:4003: result: yes
-configure:4017: checking for uint32_t
-configure:4048: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:4054: $? = 0
-configure:4075: result: yes
-configure:4093: checking for uint64_t
-configure:4124: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:4130: $? = 0
-configure:4151: result: yes
-configure:4169: checking whether byte ordering is bigendian
-configure:4202: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:4208: $? = 0
-configure:4240: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:4246: $? = 0
-configure:4386: result: yes
-configure:4407: checking whether strerror_r is declared
-configure:4436: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
-configure:4442: $? = 0
-configure:4457: result: yes
-configure:4479: checking for strerror_r
-configure:4535: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-configure:4541: $? = 0
-configure:4559: result: yes
-configure:4569: checking whether strerror_r returns char *
-configure:4603: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3283: checking for grep that handles long lines and -e
+configure:3343: result: /usr/bin/grep
+configure:3348: checking for egrep
+configure:3412: result: /usr/bin/egrep
+configure:3417: checking for ANSI C header files
+configure:3447: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3454: $? = 0
+configure:3553: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:3557: $? = 0
+configure:3563: ./conftest
+configure:3567: $? = 0
+configure:3585: result: yes
+configure:3609: checking for sys/types.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for sys/stat.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for stdlib.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for string.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for memory.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for strings.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for inttypes.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for stdint.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3609: checking for unistd.h
+configure:3630: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3637: $? = 0
+configure:3654: result: yes
+configure:3687: checking errno.h usability
+configure:3704: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3711: $? = 0
+configure:3725: result: yes
+configure:3729: checking errno.h presence
+configure:3744: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3751: $? = 0
+configure:3765: result: yes
+configure:3798: checking for errno.h
+configure:3807: result: yes
+configure:3687: checking fcntl.h usability
+configure:3704: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3711: $? = 0
+configure:3725: result: yes
+configure:3729: checking fcntl.h presence
+configure:3744: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3751: $? = 0
+configure:3765: result: yes
+configure:3798: checking for fcntl.h
+configure:3807: result: yes
+configure:3676: checking for inttypes.h
+configure:3683: result: yes
+configure:3687: checking locale.h usability
+configure:3704: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3711: $? = 0
+configure:3725: result: yes
+configure:3729: checking locale.h presence
+configure:3744: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3751: $? = 0
+configure:3765: result: yes
+configure:3798: checking for locale.h
+configure:3807: result: yes
+configure:3676: checking for stdlib.h
+configure:3683: result: yes
+configure:3839: checking sys/cdefs.h usability
+configure:3856: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3863: $? = 0
+configure:3877: result: yes
+configure:3881: checking sys/cdefs.h presence
+configure:3896: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3903: $? = 0
+configure:3917: result: yes
+configure:3950: checking for sys/cdefs.h
+configure:3959: result: yes
+configure:3839: checking sys/file.h usability
+configure:3856: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3863: $? = 0
+configure:3877: result: yes
+configure:3881: checking sys/file.h presence
+configure:3896: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3903: $? = 0
+configure:3917: result: yes
+configure:3950: checking for sys/file.h
+configure:3959: result: yes
+configure:3839: checking sys/param.h usability
+configure:3856: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:3863: $? = 0
+configure:3877: result: yes
+configure:3881: checking sys/param.h presence
+configure:3896: gcc -E -no-cpp-precomp -isystem /usr/include conftest.c
+configure:3903: $? = 0
+configure:3917: result: yes
+configure:3950: checking for sys/param.h
+configure:3959: result: yes
+configure:3975: checking for uint8_t
+configure:4006: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4013: $? = 0
+configure:4034: result: yes
+configure:4052: checking for uint16_t
+configure:4083: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4090: $? = 0
+configure:4111: result: yes
+configure:4125: checking for uint32_t
+configure:4156: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4163: $? = 0
+configure:4184: result: yes
+configure:4202: checking for uint64_t
+configure:4233: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4240: $? = 0
+configure:4261: result: yes
+configure:4280: checking whether byte ordering is bigendian
+configure:4305: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4312: $? = 0
+configure:4654: result: universal
+configure:4676: checking whether strerror_r is declared
+configure:4705: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
+configure:4712: $? = 0
+configure:4727: result: yes
+configure:4749: checking for strerror_r
+configure:4805: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:4812: $? = 0
+configure:4834: result: yes
+configure:4845: checking whether strerror_r returns char *
+configure:4879: gcc -c -pipe -O2 -no-cpp-precomp -isystem /usr/include conftest.c >&5
conftest.c: In function 'main':
-conftest.c:67: error: invalid type argument of 'unary *'
-conftest.c:68: warning: initialization makes pointer from integer without a cast
-configure:4609: $? = 1
+conftest.c:66: error: invalid type argument of 'unary *'
+conftest.c:67: warning: initialization makes pointer from integer without a cast
+configure:4886: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nbsd-digest"
| #define PACKAGE_TARNAME "nbsd-digest"
-| #define PACKAGE_VERSION "20070803"
-| #define PACKAGE_STRING "nbsd-digest 20070803"
+| #define PACKAGE_VERSION "20080509"
+| #define PACKAGE_STRING "nbsd-digest 20080509"
| #define PACKAGE_BUGREPORT "agc@netbsd.org"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
@@ -327,7 +325,6 @@
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
-| #define WORDS_BIGENDIAN 1
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| /* end confdefs.h. */
@@ -376,26 +373,26 @@
| ;
| return 0;
| }
-configure:4685: result: no
-configure:4699: checking for vprintf
-configure:4755: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-conftest.c:52: warning: conflicting types for built-in function 'vprintf'
-configure:4761: $? = 0
-configure:4779: result: yes
-configure:4786: checking for _doprnt
-configure:4842: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:4965: result: no
+configure:4979: checking for vprintf
+configure:5035: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+conftest.c:51: warning: conflicting types for built-in function 'vprintf'
+configure:5042: $? = 0
+configure:5064: result: yes
+configure:5072: checking for _doprnt
+configure:5128: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
Undefined symbols:
"__doprnt", referenced from:
- _main in cco485Xe.o
+ _main in cchHDowr.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
-configure:4848: $? = 1
+configure:5135: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME "nbsd-digest"
| #define PACKAGE_TARNAME "nbsd-digest"
-| #define PACKAGE_VERSION "20070803"
-| #define PACKAGE_STRING "nbsd-digest 20070803"
+| #define PACKAGE_VERSION "20080509"
+| #define PACKAGE_STRING "nbsd-digest 20080509"
| #define PACKAGE_BUGREPORT "agc@netbsd.org"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
@@ -415,7 +412,6 @@
| #define HAVE_SYS_CDEFS_H 1
| #define HAVE_SYS_FILE_H 1
| #define HAVE_SYS_PARAM_H 1
-| #define WORDS_BIGENDIAN 1
| #define HAVE_DECL_STRERROR_R 1
| #define HAVE_STRERROR_R 1
| #define HAVE_VPRINTF 1
@@ -458,39 +454,39 @@
| ;
| return 0;
| }
-configure:4865: result: no
-configure:4887: checking for bcopy
-configure:4943: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-conftest.c:53: warning: conflicting types for built-in function 'bcopy'
-configure:4949: $? = 0
-configure:4967: result: yes
-configure:4887: checking for bzero
-configure:4943: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-conftest.c:54: warning: conflicting types for built-in function 'bzero'
-configure:4949: $? = 0
-configure:4967: result: yes
-configure:4887: checking for memset
-configure:4943: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-conftest.c:55: warning: conflicting types for built-in function 'memset'
-configure:4949: $? = 0
-configure:4967: result: yes
-configure:4887: checking for memcpy
-configure:4943: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-conftest.c:56: warning: conflicting types for built-in function 'memcpy'
-configure:4949: $? = 0
-configure:4967: result: yes
-configure:4887: checking for setlocale
-configure:4943: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
-configure:4949: $? = 0
-configure:4967: result: yes
-configure:5083: creating ./config.status
+configure:5155: result: no
+configure:5177: checking for bcopy
+configure:5233: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+conftest.c:52: warning: conflicting types for built-in function 'bcopy'
+configure:5240: $? = 0
+configure:5262: result: yes
+configure:5177: checking for bzero
+configure:5233: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+conftest.c:53: warning: conflicting types for built-in function 'bzero'
+configure:5240: $? = 0
+configure:5262: result: yes
+configure:5177: checking for memset
+configure:5233: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+conftest.c:54: warning: conflicting types for built-in function 'memset'
+configure:5240: $? = 0
+configure:5262: result: yes
+configure:5177: checking for memcpy
+configure:5233: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+conftest.c:55: warning: conflicting types for built-in function 'memcpy'
+configure:5240: $? = 0
+configure:5262: result: yes
+configure:5177: checking for setlocale
+configure:5233: gcc -o conftest -pipe -O2 -no-cpp-precomp -isystem /usr/include -L/usr/pkg/lib conftest.c >&5
+configure:5240: $? = 0
+configure:5262: result: yes
+configure:5381: creating ./config.status
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
-This file was extended by nbsd-digest config.status 20070803, which was
-generated by GNU Autoconf 2.61. Invocation command line was
+This file was extended by nbsd-digest config.status 20080509, which was
+generated by GNU Autoconf 2.62. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
@@ -500,16 +496,16 @@
on excalibur.zhadum.org.uk
-config.status:611: creating Makefile
-config.status:746: WARNING: Makefile.in seems to ignore the --datarootdir setting
-config.status:611: creating config.h
+config.status:757: creating Makefile
+config.status:904: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting
+config.status:757: creating config.h
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=powerpc-apple-darwin9.2.2
-ac_cv_c_bigendian=yes
+ac_cv_c_bigendian=universal
ac_cv_c_compiler_gnu=yes
ac_cv_c_uint16_t=yes
ac_cv_c_uint32_t=yes
@@ -589,7 +585,8 @@
CPP='gcc -E'
CPPFLAGS='-no-cpp-precomp -isystem /usr/include'
DEFS='-DHAVE_CONFIG_H'
-ECHO_C='ECHO_N=''
+ECHO_C='\c'
+ECHO_N=''
ECHO_T=''
EGREP='/usr/bin/egrep'
EXEEXT=''
@@ -605,9 +602,9 @@
OBJEXT='o'
PACKAGE_BUGREPORT='agc@netbsd.org'
PACKAGE_NAME='nbsd-digest'
-PACKAGE_STRING='nbsd-digest 20070803'
+PACKAGE_STRING='nbsd-digest 20080509'
PACKAGE_TARNAME='nbsd-digest'
-PACKAGE_VERSION='20070803'
+PACKAGE_VERSION='20080509'
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
@@ -652,8 +649,8 @@
#define PACKAGE_NAME "nbsd-digest"
#define PACKAGE_TARNAME "nbsd-digest"
-#define PACKAGE_VERSION "20070803"
-#define PACKAGE_STRING "nbsd-digest 20070803"
+#define PACKAGE_VERSION "20080509"
+#define PACKAGE_STRING "nbsd-digest 20080509"
#define PACKAGE_BUGREPORT "agc@netbsd.org"
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
@@ -673,7 +670,6 @@
#define HAVE_SYS_CDEFS_H 1
#define HAVE_SYS_FILE_H 1
#define HAVE_SYS_PARAM_H 1
-#define WORDS_BIGENDIAN 1
#define HAVE_DECL_STRERROR_R 1
#define HAVE_STRERROR_R 1
#define HAVE_VPRINTF 1
The lack of "WORDS_BIGENDIAN" is probably the cause of the problem.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/38625: digest-20080509 is broken under at least Mac OS X
PPC
Date: Sun, 11 May 2008 15:25:07 +0200
On Sun, May 11, 2008 at 12:50:02PM +0000, Matthias Scheler wrote:
> ac_cv_build=powerpc-apple-darwin9.2.2
> -ac_cv_c_bigendian=yes
> +ac_cv_c_bigendian=universal
I guess this is the real problem. It is trying to create a universal
binary without fixed endianess. I'm still trying to find out how to get
the correct macro from autoconf.
Joerg
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38625 CVS commit: pkgsrc/pkgtools/digest/files
Date: Sun, 11 May 2008 18:38:15 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Sun May 11 18:38:15 UTC 2008
Modified Files:
pkgsrc/pkgtools/digest/files: configure
Log Message:
As workaround for PR 38625, rebuild with autoconf 2.61.
To generate a diff of this commit:
cvs rdiff -r1.13 -r1.14 pkgsrc/pkgtools/digest/files/configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: PR/38625 CVS commit: pkgsrc/pkgtools/digest/files
Date: Sun, 11 May 2008 23:04:25 +0100
On Sun, May 11, 2008 at 06:40:02PM +0000, Joerg Sonnenberger wrote:
> From: Joerg Sonnenberger <joerg@netbsd.org>
> To: gnats-bugs@gnats.NetBSD.org
> Cc:
> Subject: PR/38625 CVS commit: pkgsrc/pkgtools/digest/files
> Date: Sun, 11 May 2008 18:38:15 +0000 (UTC)
>
> Module Name: pkgsrc
> Committed By: joerg
> Date: Sun May 11 18:38:15 UTC 2008
>
> Modified Files:
> pkgsrc/pkgtools/digest/files: configure
>
> Log Message:
> As workaround for PR 38625, rebuild with autoconf 2.61.
[...]
That fixes the problem on my system.
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
Responsible-Changed-From-To: pkg-manager->joerg
Responsible-Changed-By: tron@NetBSD.org
Responsible-Changed-When: Mon, 12 May 2008 07:43:50 +0000
Responsible-Changed-Why:
Joerg fixed the problem.
State-Changed-From-To: open->closed
State-Changed-By: tron@NetBSD.org
State-Changed-When: Mon, 12 May 2008 07:43:50 +0000
State-Changed-Why:
"digest-20080510" works under Mac OS X PPC again.
From: "Tyler R. Retzlaff" <rtr@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38625 CVS commit: [pkgsrc-2008Q1] pkgsrc/pkgtools/digest/files
Date: Mon, 12 May 2008 10:56:49 +0000 (UTC)
Module Name: pkgsrc
Committed By: rtr
Date: Mon May 12 10:56:49 UTC 2008
Modified Files:
pkgsrc/pkgtools/digest/files [pkgsrc-2008Q1]: configure configure.ac
Log Message:
pullup ticket #2373 - requested by joerg
digest: bug fix, version bump
revisions pulled up:
- pkgsrc/pkgtools/digest/files/configure 1.14,1.15
- pkgsrc/pkgtools/digest/files/configure.ac 1.15
Module Name: pkgsrc
Committed By: joerg
Date: Sun May 11 18:38:15 UTC 2008
Modified Files:
pkgsrc/pkgtools/digest/files: configure
Log Message:
As workaround for PR 38625, rebuild with autoconf 2.61.
------------------------------------------------------------------------
Module Name: pkgsrc
Committed By: joerg
Date: Sun May 11 18:39:21 UTC 2008
Modified Files:
pkgsrc/pkgtools/digest/files: configure configure.ac
Log Message:
Bump version to 20080510.
To generate a diff of this commit:
cvs rdiff -r1.12.6.1 -r1.12.6.2 pkgsrc/pkgtools/digest/files/configure
cvs rdiff -r1.13.6.1 -r1.13.6.2 pkgsrc/pkgtools/digest/files/configure.ac
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: closed->open
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 12 May 2008 12:40:58 +0000
State-Changed-Why:
Problem not fixed, just a big bandaid applied.
State-Changed-From-To: open->analyzed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Tue, 16 Sep 2008 13:39:36 +0000
State-Changed-Why:
Needs to be rechecked with autoconf-2.63.
State-Changed-From-To: analyzed->feedback
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 09 Feb 2009 17:17:24 +0000
State-Changed-Why:
It seems like autoconf-2.63 fixes this.
Could you try running autoheader && autoconf for this package
with the new version and see if the result is correct?
From: Matthias Scheler <tron@zhadum.org.uk>
To: gnats-bugs@NetBSD.org
Cc: joerg@NetBSD.org
Subject: Re: pkg/38625 (digest-20080509 is broken under at least Mac OS X PPC)
Date: Mon, 9 Feb 2009 19:09:29 +0000
On Mon, Feb 09, 2009 at 05:17:24PM +0000, joerg@NetBSD.org wrote:
> Synopsis: digest-20080509 is broken under at least Mac OS X PPC
>
> State-Changed-From-To: analyzed->feedback
> State-Changed-By: joerg@NetBSD.org
> State-Changed-When: Mon, 09 Feb 2009 17:17:24 +0000
> State-Changed-Why:
> It seems like autoconf-2.63 fixes this.
> Could you try running autoheader && autoconf for this package
> with the new version and see if the result is correct?
The following "autoconf" package is currently installed on my
Mac OS 10.5.6 PPC system:
Information for autoconf-2.63:
Comment:
Generates automatic source code configuration scripts
Requires:
perl>=5.8.0
Required by:
automake-1.10.1
Description:
Autoconf is an extensible package of m4 macros that produce shell
scripts to automatically configure software source code packages.
These scripts can adapt the packages to many kinds of UNIX-like
systems without manual user intervention. Autoconf creates a
configuration script for a package from a template file that lists the
operating system features that the package can use, in the form of m4
macro calls.
Homepage:
http://www.gnu.org/software/autoconf/autoconf.html
I've exceuted the following tests according to Joerg's advise:
cd pkgsrc/pkgtools/digest/files
autoheader
autoconf
cd ..
bmake
bmake test
No errors were reported.
I've also installed the freshly build "digest" and successfully tested
"bmake checksum" in "pkgsrc/multimedia/mplayer-share".
Kind regards
--
Matthias Scheler http://zhadum.org.uk/
State-Changed-From-To: feedback->closed
State-Changed-By: joerg@NetBSD.org
State-Changed-When: Mon, 09 Feb 2009 19:19:14 +0000
State-Changed-Why:
Reportedly the new autoconf is fixed. Thanks for the PR.
From: Joerg Sonnenberger <joerg@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/38625 CVS commit: pkgsrc/pkgtools/digest/files
Date: Mon, 9 Feb 2009 19:18:43 +0000 (UTC)
Module Name: pkgsrc
Committed By: joerg
Date: Mon Feb 9 19:18:43 UTC 2009
Modified Files:
pkgsrc/pkgtools/digest/files: config.h.in configure
Log Message:
Regen with autoconf 2.63. The endian macro issues on Mac OS X have been
addressed according to PR 38625.
To generate a diff of this commit:
cvs rdiff -r1.6 -r1.7 pkgsrc/pkgtools/digest/files/config.h.in
cvs rdiff -r1.15 -r1.16 pkgsrc/pkgtools/digest/files/configure
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.