pkgsrc-Bugs archive

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

pkg/40111: pkg_tools/pkg_install-rennovation fails to build on IRIX



>Number:         40111
>Category:       pkg
>Synopsis:       pkg_tools/pkg_install-rennovation fails to build on IRIX
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 05 10:45:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX 6.5.30; MIPSpro Compilers, Version 7.4.4m
>Description:
/usr/bsd/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.    
-I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat  -O2 -n32 -c -o 
libarchive/archive_read_support_format_zip.lo 
libarchive/archive_read_support_format_zip.c
 cc -DHAVE_CONFIG_H -I. -I/usr/bsd/include -D__inline__=inline 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -O2 -n32 -c 
libarchive/archive_read_support_format_zip.c -o 
libarchive/archive_read_support_format_zip.o
cc-1020 cc: ERROR File = libarchive/archive_endian.h, Line = 50
  The identifier "inline" is undefined.

  static inline uint16_t
         ^

cc-1101 cc: ERROR File = libarchive/archive_endian.h, Line = 50
  "uint16_t" has already been declared in the current scope.

  static inline uint16_t
                ^

cc-1065 cc: ERROR File = libarchive/archive_endian.h, Line = 51
  A semicolon is expected at this point.

  archive_be16dec(const void *pp)
  ^

cc-1012 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
69
  Parsing restarts here after previous syntax error.

        char                    decompress_init;
                                               ^

cc-1143 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 73
  Declaration is incompatible with "uLong crc32(uLong, const Bytef *, uInt)"
          (declared at line 1285 of "/usr/include/zlib.h").

        long                    crc32;
                                ^

cc-1166 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 89
  Expected a declaration.

  };
  ^

cc-1204 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
130
  The indicated declaration is not visible outside of the function.

                    struct archive_entry *entry, struct zip *zip);
                                                        ^

cc-1204 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
132
  The indicated declaration is not visible outside of the function.

  static void process_extra(const void* extra, struct zip* zip);
                                                      ^

cc-1070 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
141
  The indicated type is incomplete.

        zip = (struct zip *)malloc(sizeof(*zip));
                                         ^

cc-1070 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
146
  The indicated type is incomplete.

        memset(zip, 0, sizeof(*zip));
                             ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
297
  A pointer to an incomplete class type is not allowed.

        zip->decompress_init = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
298
  A pointer to an incomplete class type is not allowed.

        zip->end_of_entry = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
299
  A pointer to an incomplete class type is not allowed.

        zip->end_of_entry_cleanup = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
300
  A pointer to an incomplete class type is not allowed.

        zip->entry_uncompressed_bytes_read = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
301
  A pointer to an incomplete class type is not allowed.

        zip->entry_compressed_bytes_read = 0;
        ^

cc-1164 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
346
  Argument of type "struct zip *" is incompatible with parameter of type
          "struct zip *".

                r1 = zip_read_file_header(a, entry, zip);
                                                    ^

cc-1204 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
375
  The indicated declaration is not visible outside of the function.

      struct zip *zip)
             ^

cc-1143 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
374
  Declaration is incompatible with "int zip_read_file_header(struct archive_read
          *, struct archive_entry *, struct zip *)" (declared at line 129).

  zip_read_file_header(struct archive_read *a, struct archive_entry *entry,
  ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
386
  A pointer to an incomplete class type is not allowed.

        zip->version = p->version[0];
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
387
  A pointer to an incomplete class type is not allowed.

        zip->system = p->version[1];
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
388
  A pointer to an incomplete class type is not allowed.

        zip->flags = archive_le16dec(p->flags);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
389
  A pointer to an incomplete class type is not allowed.

        zip->compression = archive_le16dec(p->compression);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
390
  A pointer to an incomplete class type is not allowed.

        if (zip->compression <
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
392
  A pointer to an incomplete class type is not allowed.

                zip->compression_name = compression_names[zip->compression];
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
392
  A pointer to an incomplete class type is not allowed.

                zip->compression_name = compression_names[zip->compression];
                                                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
394
  A pointer to an incomplete class type is not allowed.

                zip->compression_name = "??";
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
395
  A pointer to an incomplete class type is not allowed.

        zip->mtime = zip_time(p->timedate);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
396
  A pointer to an incomplete class type is not allowed.

        zip->ctime = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
397
  A pointer to an incomplete class type is not allowed.

        zip->atime = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
398
  A pointer to an incomplete class type is not allowed.

        zip->mode = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
399
  A pointer to an incomplete class type is not allowed.

        zip->uid = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
400
  A pointer to an incomplete class type is not allowed.

        zip->gid = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
401
  A pointer to an incomplete class type is not allowed.

        zip->crc32 = archive_le32dec(p->crc32);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
402
  A pointer to an incomplete class type is not allowed.

        zip->filename_length = archive_le16dec(p->filename_length);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
403
  A pointer to an incomplete class type is not allowed.

        zip->extra_length = archive_le16dec(p->extra_length);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
404
  A pointer to an incomplete class type is not allowed.

        zip->uncompressed_size = archive_le32dec(p->uncompressed_size);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
405
  A pointer to an incomplete class type is not allowed.

        zip->compressed_size = archive_le32dec(p->compressed_size);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
411
  A pointer to an incomplete class type is not allowed.

        if ((h = __archive_read_ahead(a, zip->filename_length)) == NULL) {
                                         ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
416
  A pointer to an incomplete class type is not allowed.

        if (archive_string_ensure(&zip->pathname, zip->filename_length) == NULL)
                                   ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
416
  A pointer to an incomplete class type is not allowed.

        if (archive_string_ensure(&zip->pathname, zip->filename_length) == NULL)
                                                  ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
418
  A pointer to an incomplete class type is not allowed.

        archive_strncpy(&zip->pathname, h, zip->filename_length);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
418
  A pointer to an incomplete class type is not allowed.

        archive_strncpy(&zip->pathname, h, zip->filename_length);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
418
  A pointer to an incomplete class type is not allowed.

        archive_strncpy(&zip->pathname, h, zip->filename_length);
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
419
  A pointer to an incomplete class type is not allowed.

        (a->decompressor->consume)(a, zip->filename_length);
                                      ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
420
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_pathname(entry, zip->pathname.s);
                                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
422
  A pointer to an incomplete class type is not allowed.

        if (zip->pathname.s[archive_strlen(&zip->pathname) - 1] == '/')
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
422
  A pointer to an incomplete class type is not allowed.

        if (zip->pathname.s[archive_strlen(&zip->pathname) - 1] == '/')
                            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
423
  A pointer to an incomplete class type is not allowed.

                zip->mode = AE_IFDIR | 0777;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
425
  A pointer to an incomplete class type is not allowed.

                zip->mode = AE_IFREG | 0777;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
428
  A pointer to an incomplete class type is not allowed.

        if ((h = __archive_read_ahead(a, zip->extra_length)) == NULL) {
                                         ^

cc-1164 cc: WARNING File = libarchive/archive_read_support_format_zip.c, Line = 
433
  Argument of type "struct zip *" is incompatible with parameter of type
          "struct zip *".

        process_extra(h, zip);
                         ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
434
  A pointer to an incomplete class type is not allowed.

        (a->decompressor->consume)(a, zip->extra_length);
                                      ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
437
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_mode(entry, zip->mode);
                                      ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
438
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_uid(entry, zip->uid);
                                     ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
439
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_gid(entry, zip->gid);
                                     ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
440
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_mtime(entry, zip->mtime, 0);
                                       ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
441
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_ctime(entry, zip->ctime, 0);
                                       ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
442
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_atime(entry, zip->atime, 0);
                                       ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
443
  A pointer to an incomplete class type is not allowed.

        archive_entry_set_size(entry, zip->uncompressed_size);
                                      ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
445
  A pointer to an incomplete class type is not allowed.

        zip->entry_bytes_remaining = zip->compressed_size;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
445
  A pointer to an incomplete class type is not allowed.

        zip->entry_bytes_remaining = zip->compressed_size;
                                     ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
446
  A pointer to an incomplete class type is not allowed.

        zip->entry_offset = 0;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
449
  A pointer to an incomplete class type is not allowed.

        if (0 == (zip->flags & ZIP_LENGTH_AT_END)
                  ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
450
  A pointer to an incomplete class type is not allowed.

            && zip->entry_bytes_remaining < 1)
               ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
451
  A pointer to an incomplete class type is not allowed.

                zip->end_of_entry = 1;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
454
  A pointer to an incomplete class type is not allowed.

        sprintf(zip->format_name, "ZIP %d.%d (%s)",
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
455
  A pointer to an incomplete class type is not allowed.

            zip->version / 10, zip->version % 10,
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
455
  A pointer to an incomplete class type is not allowed.

            zip->version / 10, zip->version % 10,
                               ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
456
  A pointer to an incomplete class type is not allowed.

            zip->compression_name);
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
457
  A pointer to an incomplete class type is not allowed.

        a->archive.archive_format_name = zip->format_name;
                                         ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
496
  A pointer to an incomplete class type is not allowed.

        if (zip->end_of_entry) {
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
497
  A pointer to an incomplete class type is not allowed.

                if (!zip->end_of_entry_cleanup) {
                     ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
498
  A pointer to an incomplete class type is not allowed.

                        if (zip->flags & ZIP_LENGTH_AT_END) {
                            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
507
  A pointer to an incomplete class type is not allowed.

                                zip->crc32 = archive_le32dec(p + 4);
                                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
508
  A pointer to an incomplete class type is not allowed.

                                zip->compressed_size = archive_le32dec(p + 8);
                                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
509
  A pointer to an incomplete class type is not allowed.

                                zip->uncompressed_size = archive_le32dec(p + 
12);
                                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
514
  A pointer to an incomplete class type is not allowed.

                        if (zip->compressed_size != 
zip->entry_compressed_bytes_read) {
                            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
514
  A pointer to an incomplete class type is not allowed.

                        if (zip->compressed_size != 
zip->entry_compressed_bytes_read) {
                                                    ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
520
  A pointer to an incomplete class type is not allowed.

                        if ((zip->uncompressed_size & UINT32_MAX)
                             ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
521
  A pointer to an incomplete class type is not allowed.

                            != (zip->entry_uncompressed_bytes_read & 
UINT32_MAX)) {
                                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
535
  A pointer to an incomplete class type is not allowed.

                        zip->end_of_entry_cleanup = 1;
                        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
537
  A pointer to an incomplete class type is not allowed.

                *offset = zip->entry_uncompressed_bytes_read;
                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
543
  A pointer to an incomplete class type is not allowed.

        switch(zip->compression) {
               ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
557
  A pointer to an incomplete class type is not allowed.

                    zip->compression_name);
                    ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
558
  A pointer to an incomplete class type is not allowed.

                if (zip->flags & ZIP_LENGTH_AT_END) {
                    ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
598
  A pointer to an incomplete class type is not allowed.

        if (zip->entry_bytes_remaining == 0) {
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
601
  A pointer to an incomplete class type is not allowed.

                *offset = zip->entry_offset;
                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
602
  A pointer to an incomplete class type is not allowed.

                zip->end_of_entry = 1;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
617
  A pointer to an incomplete class type is not allowed.

        if (bytes_avail > zip->entry_bytes_remaining)
                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
618
  A pointer to an incomplete class type is not allowed.

                bytes_avail = zip->entry_bytes_remaining;
                              ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
621
  A pointer to an incomplete class type is not allowed.

        *offset = zip->entry_offset;
                  ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
622
  A pointer to an incomplete class type is not allowed.

        zip->entry_offset += *size;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
623
  A pointer to an incomplete class type is not allowed.

        zip->entry_bytes_remaining -= *size;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
624
  A pointer to an incomplete class type is not allowed.

        zip->entry_uncompressed_bytes_read += *size;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
625
  A pointer to an incomplete class type is not allowed.

        zip->entry_compressed_bytes_read += *size;
        ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
642
  A pointer to an incomplete class type is not allowed.

        if (zip->uncompressed_buffer == NULL) {
            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
643
  A pointer to an incomplete class type is not allowed.

                zip->uncompressed_buffer_size = 32 * 1024;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
644
  A pointer to an incomplete class type is not allowed.

                zip->uncompressed_buffer
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
645
  A pointer to an incomplete class type is not allowed.

                    = (unsigned char *)malloc(zip->uncompressed_buffer_size);
                                              ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
646
  A pointer to an incomplete class type is not allowed.

                if (zip->uncompressed_buffer == NULL) {
                    ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
654
  A pointer to an incomplete class type is not allowed.

        if (!zip->decompress_init) {
             ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
655
  A pointer to an incomplete class type is not allowed.

                if (zip->stream_valid)
                    ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
656
  A pointer to an incomplete class type is not allowed.

                        r = inflateReset(&zip->stream);
                                          ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
658
  A pointer to an incomplete class type is not allowed.

                        r = inflateInit2(&zip->stream,
                            ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
666
  A pointer to an incomplete class type is not allowed.

                zip->stream_valid = 1;
                ^

cc-1367 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
668
  A pointer to an incomplete class type is not allowed.

                zip->decompress_init = 1;
                ^

cc-3452 cc: ERROR File = libarchive/archive_read_support_format_zip.c, Line = 
668
  The compilation is aborted due to the number of errors.


101 errors detected in the compilation of 
"libarchive/archive_read_support_format_zip.c".
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/pkg_install
WARNING: *** Please consider adding fortran to USE_LANGUAGES in the package 
Makefile.
*** Error code 1

Stop.
bmake: stopped in /usr/bsd/src/pkgtools/pkg_install

>How-To-Repeat:

FYI, other warnings:

cc -I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat 
-D__DBINTERFACE_PRIVATE -I. -I.  -O2 -n32 -DHAVE_CONFIG_H -c sha2hl.c
cc-1164 cc: WARNING File = sha2hl.c, Line = 92
  Argument of type "char *" is incompatible with parameter of type
          "unsigned char *".

        return (num < 0 ? 0 : SHA256_End(&ctx, buf));
                                               ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 119
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc-1515 cc: WARNING File = sha2hl.c, Line = 166
  A value of type "char *" cannot be assigned to an entity of type
          "unsigned char *".

        if ((ret = buffer) != NULL) {
                 ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 179
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc-1515 cc: WARNING File = sha2hl.c, Line = 226
  A value of type "char *" cannot be assigned to an entity of type
          "unsigned char *".

        if ((ret = buffer) != NULL) {
                 ^

cc-1119 cc: WARNING File = sha2hl.c, Line = 239
  The "return" expression type differs from the function return type.

        return ret;
               ^

cc -I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat 
-D__DBINTERFACE_PRIVATE -I. -I.  -O2 -n32 -DHAVE_CONFIG_H -c fts.c
cc-1552 cc: WARNING File = __fts13.c, Line = 641
  The variable "nostat" is set but never used.

        int adjust, cderrno, descend, len, level, nlinks, saved_errno, nostat;
                                                                       ^

cc-1174 cc: WARNING File = __fts13.c, Line = 1015
  The variable "len" was declared but never referenced.

        size_t len;
               ^

cc -I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat 
-D__DBINTERFACE_PRIVATE -I. -I.  -O2 -n32 -DHAVE_CONFIG_H -c 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat/db/btree/bt_close.c
cc-1101 cc: WARNING File = 
/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat/nbcompat/db.h, Line = 47
  "pgno_t" has already been declared in the current scope.

  typedef uint32_t      pgno_t;
                        ^

/usr/bsd/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.    
-I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat  -O2 -n32 -c -o 
libarchive/archive_read_support_compression_compress.lo 
libarchive/archive_read_support_compression_compress.c
 cc -DHAVE_CONFIG_H -I. -I/usr/bsd/include -D__inline__=inline 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -O2 -n32 -c 
libarchive/archive_read_support_compression_compress.c -o 
libarchive/archive_read_support_compression_compress.o
cc-1552 cc: WARNING File = 
libarchive/archive_read_support_compression_compress.c, Line = 376
  The variable "debug_buff" is set but never used.

        static int debug_buff[1024];
                   ^

/usr/bsd/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.    
-I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat  -O2 -n32 -c -o 
libarchive/archive_read_support_format_ar.lo 
libarchive/archive_read_support_format_ar.c
 cc -DHAVE_CONFIG_H -I. -I/usr/bsd/include -D__inline__=inline 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -O2 -n32 -c 
libarchive/archive_read_support_format_ar.c -o 
libarchive/archive_read_support_format_ar.o
cc-1047 cc: WARNING File = libarchive/archive_read_support_format_ar.c, Line = 
75
  Macro "isdigit" (declared at line 113 of "/usr/include/internal/ctype_core.h")
          has an incompatible redefinition.

  #define isdigit(x)    (x) >= '0' && (x) <= '9'
          ^

cc-1552 cc: WARNING File = libarchive/archive_read_support_format_ar.c, Line = 
137
  The variable "ar" is set but never used.

        struct ar *ar;
                   ^

/usr/bsd/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.    
-I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat  -O2 -n32 -c -o 
libarchive/archive_read_support_format_mtree.lo 
libarchive/archive_read_support_format_mtree.c
 cc -DHAVE_CONFIG_H -I. -I/usr/bsd/include -D__inline__=inline 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -O2 -n32 -c 
libarchive/archive_read_support_format_mtree.c -o 
libarchive/archive_read_support_format_mtree.o
cc-1552 cc: WARNING File = libarchive/archive_read_support_format_mtree.c, Line 
= 190
  The variable "mtree" is set but never used.

        struct mtree *mtree;
                      ^

/usr/bsd/bin/sh ./libtool --tag=CC    --mode=compile cc -DHAVE_CONFIG_H -I.    
-I/usr/bsd/include -D__inline__=inline -D_LARGEFILE_SOURCE -D_LARGE_FILES 
-D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat  -O2 -n32 -c -o 
libarchive/archive_read_support_format_tar.lo 
libarchive/archive_read_support_format_tar.c
 cc -DHAVE_CONFIG_H -I. -I/usr/bsd/include -D__inline__=inline 
-D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/bzip2 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libarchive/libarchive 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libfetch -DHAVE_NBCOMPAT_H=1 
-I/usr/bsd/var/tmp/pkgtools/pkg_install/work/libnbcompat -O2 -n32 -c 
libarchive/archive_read_support_format_tar.c -o 
libarchive/archive_read_support_format_tar.o
cc-1552 cc: WARNING File = libarchive/archive_read_support_format_tar.c, Line = 
1178
  The variable "line" is set but never used.

        char *line, *p;
              ^

cc-1552 cc: WARNING File = libarchive/archive_read_support_format_tar.c, Line = 
2164
  The variable "err" is set but never used.

        int err;
            ^


>Fix:

Is 'static inline' a GNU-ism?



Home | Main Index | Thread Index | Old Index