pkgsrc-Bugs archive

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

pkg/51262: pkg_install broken on Solaris 10 due to netpgpverify



>Number:         51262
>Category:       pkg
>Synopsis:       pkg_install broken on Solaris 10 due to netpgpverify
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 22 12:55:00 +0000 2016
>Originator:     Sevan Janiyan
>Release:        pkgsrc-current
>Organization:
>Environment:
SunOS login 5.10 Generic_150400-17 sun4v sparc SUNW,SPARC-Enterprise-T5220
>Description:
Attempting to bootstrap pkgsrc on Solaris 10 on SPARC with GCC from sunfreeware fails when building pkg_install, with the following error


gcc -O2 -D_LARGEFILE_SOURCE -D_LARGE_FILES -D_FILE_OFFSET_BITS=64 -DDEF_UMASK=022 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/
pkg_install/work/libarchive/libarchive -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/work/libfetch -I/home/sme/pkg
src/bootstrap/work/wrk/pkgtools/pkg_install/work -DHAVE_NBCOMPAT_H=1 -I/home/sme/pkgsrc/bootstrap/work/wrk/pkgtools/pkg_install/w
ork/libnbcompat -c libverify.c
In file included from libverify.c:36:
/usr/include/stdbool.h:42:2: #error "Use of <stdbool.h> is valid only in a c99 compilation environment."
libverify.c:181: error: syntax error before "growbuf"
libverify.c: In function `growbuf':
libverify.c:190: error: `false' undeclared (first use in this function)
libverify.c:190: error: (Each undeclared identifier is reported only once
libverify.c:190: error: for each function it appears in.)
libverify.c:195: error: `true' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:200: error: syntax error before "obuf_add_mem"
libverify.c: In function `obuf_add_mem':
libverify.c:204: error: `false' undeclared (first use in this function)
libverify.c:208: error: `true' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:216: error: syntax error before "obuf_printf"
libverify.c: In function `obuf_printf':
libverify.c:220: error: `bool' undeclared (first use in this function)
libverify.c:220: error: syntax error before "ret"
libverify.c:224: error: `ret' undeclared (first use in this function)
libverify.c:224: error: `true' undeclared (first use in this function)
libverify.c:234: error: `false' undeclared (first use in this function)
libverify.c: In function `fmt_binary':
libverify.c:491: error: `false' undeclared (first use in this function)
libverify.c:494: error: `true' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:624: error: syntax error before "fmt_fingerprint"
libverify.c: In function `fmt_fingerprint':
libverify.c:629: error: `false' undeclared (first use in this function)
libverify.c: In function `str_to_keyid':
libverify.c:660: warning: integer constant is too large for "unsigned long" type
libverify.c:661: warning: integer constant is too large for "unsigned long" type
libverify.c:662: warning: integer constant is too large for "unsigned long" type
libverify.c:663: warning: integer constant is too large for "unsigned long" type
libverify.c: In function `fmt_time':
libverify.c:745: error: `false' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:1507: error: syntax error before "fmt_pubkey"
libverify.c: In function `fmt_pubkey':
libverify.c:1510: error: `false' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:1534: error: syntax error before "fmt_userid"
libverify.c:1547: error: syntax error before "fmt_trust"
libverify.c: In function `fmt_trust':
libverify.c:1553: error: `false' undeclared (first use in this function)
libverify.c: At top level:
libverify.c:1563: error: syntax error before "fmt_primary"
libverify.c: In function `fmt_primary':
libverify.c:1572: error: `false' undeclared (first use in this function)
*** Error code 1

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index