pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/50589 (libarchive build fails during bootstrap on OSF/1)
The following reply was made to PR pkg/50589; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/50589 (libarchive build fails during bootstrap on OSF/1)
Date: Sat, 25 Jun 2016 17:16:40 +0000
On Wed, Jun 22, 2016 at 11:10:01PM +0000, Jeffrey Armstrong wrote:
> I've also updated the upstream bug report. The following runs
> delightfully well:
>
> #include <stdio.h>
> #include <wchar.h>
>
> int main(int argc, char *argv[])
> {
>
> printf("size is %d\n", sizeof(wchar_t));
> return 0;
> }
>
> and sizeof(wchar_t) works fine.
>
> As I suggested, something is wrong with the compiler flags if you check
> the config.log file. If it doesn't work, I guess it doesn't work, and
> OSF/1 support can be dropped from pkgsrc.
It should be made to work, and it shouldn't be difficult to do so. If
you have a chance, try the following hack:
Index: files/configure
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/libarchive/files/configure,v
retrieving revision 1.13
diff -u -r1.13 configure
--- files/configure 23 Jun 2016 13:39:03 -0000 1.13
+++ files/configure 25 Jun 2016 17:13:55 -0000
@@ -15593,7 +15593,7 @@
return 0;
}
_ACEOF
-if ac_fn_c_try_compile "$LINENO"; then :
+if ac_fn_c_try_link "$LINENO"; then :
eval "$as_CACHEVAR=yes"
else
eval "$as_CACHEVAR=no"
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index