pkgsrc-Bugs archive

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

pkg/33394: can not bootstrap pkgsrc on OpenBSD-3.8/spark64



>Number:         33394
>Category:       pkg
>Synopsis:       can not bootstrap pkgsrc on OpenBSD-3.8/spark64
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Apr 30 15:50:01 +0000 2006
>Originator:     cheusov%tut.by@localhost
>Release:        NetBSD 3.0_STABLE
>Organization:
Best regards, Aleksey Cheusov.
>Environment:
System: NetBSD chen.chizhovka.net 3.0_STABLE NetBSD 3.0_STABLE (GENERIC) #2: 
Sun Mar 12 12:49:58 GMT 2006 
cheusov@chen:/usr/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:
I cannot build pkgsrc on OpenBSD-3.8 running on spark64.
After a few minutes after ./bootstrap I got the following
ar crv libinstall.a automatic.o dewey.o fexec.o file.o ftpio.o global.o lpkg.o 
path.o pen.
o  pexec.o pkgdb.o plist.o str.o var.o version.o
a - automatic.o
a - dewey.o
a - fexec.o
a - file.o
a - ftpio.o
a - global.o
a - lpkg.o
a - path.o
a - pen.o
a - pexec.o
a - pkgdb.o
a - plist.o
a - str.o
a - var.o
a - version.o
ranlib libinstall.a
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"OpenBSD\" -DMACHINE_ARCH=\"sparc64\" 
-DBINDIR=\"/home/c
heusov/pkg/sbin\" -DMTREE_CMD=\"/usr/sbin/mtree\" 
-DTAR_CMD=\"/home/cheusov/pkg/bin/tar\" 
-DPAX_CMD=\"/home/cheusov/pkg/bin/pax\" -I../libnbcompat -I../../libnbcompat 
-I. -I. -I../
lib -g -O2 -c main.c
gcc -DHAVE_CONFIG_H -DOPSYS_NAME=\"OpenBSD\" -DMACHINE_ARCH=\"sparc64\" 
-DBINDIR=\"/home/c
heusov/pkg/sbin\" -DMTREE_CMD=\"/usr/sbin/mtree\" 
-DTAR_CMD=\"/home/cheusov/pkg/bin/tar\" 
-DPAX_CMD=\"/home/cheusov/pkg/bin/pax\" -I../libnbcompat -I../../libnbcompat 
-I. -I. -I../
lib -g -O2 -c perform.c
perform.c: In function `pkg_do':
perform.c:357: error: syntax error before "PRIu64"
*** Error code 1

Stop.
bmake: stopped in /home/cheusov/prjs/pkgsrc/bootstrap/work/pkg_install/add
*** Error code 1

Stop.
bmake: stopped in /home/cheusov/prjs/pkgsrc/bootstrap/work/pkg_install
===> exited with status 1
aborted.

>How-To-Repeat:
>Fix:
#define NEED_PRI_MACRO 1
is present in config.h.
It is necessary to include "defs.h" to perform.c




Home | Main Index | Thread Index | Old Index