pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40451: Bootstrap fails on Interix



>Number:         40451
>Category:       pkg
>Synopsis:       pkgsrc bootstrap fails on Interix
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jan 22 06:05:01 +0000 2009
>Originator:     Hiroyuki Bessho
>Release:        pkgsrc as of 2009-Jan-15
>Organization:
        not organized
>Environment:
        
        
System: Interix takanohaxp 3.5 SP-8.0.1969.61 x86 
Intel_x86_Family6_Model13_Stepping8
Architecture: Intel_x86_Family6_Model13_Stepping8
Machine: x86
>Description:
        bootstrap/bootstrap script fails on Interix 3.5 with following
        error messages:

/usr/pkgsrc/bootstrap/work/bin/bmake  all-am
/bin/sh ./libtool --tag=CC    --mode=compile gcc -D_ALL_SOURCE -DHAVE_CONFIG_H 
-I.    -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 
-DDEF_UMASK=002 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/zlib 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
 -I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch 
-DHAVE_NBCOMPAT_H=1 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat  
-D_ALL_SOURCE -O -c -o libarchive/archive_check_magic.lo 
libarchive/archive_check_magic.c
 gcc -D_ALL_SOURCE -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=002 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/bzip2 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/zlib 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive/libarchive
 -I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch 
-DHAVE_NBCOMPAT_H=1 
-I/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libnbcompat 
-D_ALL_SOURCE -O -c libarchive/archive_check_magic.c -o 
libarchive/archive_check_magic.o
In file included from libarchive/archive_private.h:31,
                 from libarchive/archive_check_magic.c:44:
libarchive/archive.h:42:42: inttypes.h: No such file or directory
*** Error code 1

Stop.
bmake: stopped in 
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
bmake: stopped in 
/usr/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/pkg_install


>How-To-Repeat:
        run bootstrap script
>Fix:
        Following patch fixes the problem.

Index: archivers/libarchive/files/libarchive/archive.h
===================================================================
RCS file: /cvsroot/pkgsrc/archivers/libarchive/files/libarchive/archive.h,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 archive.h
--- archivers/libarchive/files/libarchive/archive.h     14 Jul 2008 14:52:39 
-0000      1.1.1.2
+++ archivers/libarchive/files/libarchive/archive.h     22 Jan 2009 03:55:23 
-0000
@@ -37,8 +37,8 @@
  */
 
 #include <sys/types.h>  /* Linux requires this for off_t */
-#if !defined(__WATCOMC__) && !defined(_MSC_VER)
-/* Header unavailable on Watcom C or MS Visual C++. */
+#if !defined(__WATCOMC__) && !defined(_MSC_VER) && !defined(__INTERIX)
+/* Header unavailable on Watcom C, MS Visual C++, or SFU. */
 #include <inttypes.h> /* int64_t, etc. */
 #endif
 #include <stdio.h> /* For FILE * */



Home | Main Index | Thread Index | Old Index