pkgsrc-Bugs archive

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

pkg/50589: libarchive build fails during bootstrap on OSF/1



>Number:         50589
>Category:       pkg
>Synopsis:       libarchive build fails during bootstrap on OSF/1
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 24 16:20:00 +0000 2015
>Originator:     Jeff Armstrong
>Release:        pkgsrc-current
>Organization:
>Environment:
OSF1 <hostname> V5.1 2650 alpha
>Description:
During bootstrap under Tru64, libarchive fails when bootstrapping with the Compaq C Compiler (ccc):

...

  CC     libarchive/archive_string.lo
  CC     libarchive/archive_string_sprintf.lo
cc: Error: libarchive/archive_string_sprintf.c, line 69: In this statement, "INTMAX_MIN" is not declared. (undeclared)
                ud = (d == INTMAX_MIN) ? (uintmax_t)(INTMAX_MAX) + 1 : (uintmax_t)(-d);
---------------------------^
cc: Error: libarchive/archive_string_sprintf.c, line 69: In this statement, "INTMAX_MAX" is not declared. (undeclared)
                ud = (d == INTMAX_MIN) ? (uintmax_t)(INTMAX_MAX) + 1 : (uintmax_t)(-d);
-----------------------------------------------------^
*** [libarchive/archive_string_sprintf.lo] Error code 1

bmake[1]: stopped in /usr/pkg/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
1 error

bmake[1]: stopped in /usr/pkg/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
*** [all] Error code 2

bmake: stopped in /usr/pkg/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
1 error

bmake: stopped in /usr/pkg/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libarchive
*** Error code 2

Stop.
bmake[1]: stopped in /usr/pkg/pkgsrc/pkgtools/pkg_install
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc/pkgtools/pkg_install
===> exited with status 1
aborted.
# 

With this error present, pkgsrc cannot be bootstrapped on Tru64.
>How-To-Repeat:
cd /usr/pkg/pkgsrc/bootstrap
env CPP=/usr/bin/cpp CC=/usr/bin/cc ./bootstrap --compiler ccc

>Fix:
The constants INTMAX_MAX and INTMAX_MIN are apparently not defined on Tru64.  There should be some checking to determine if they are defined.


Home | Main Index | Thread Index | Old Index