pkgsrc-Bugs archive

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

pkg/38372: bootstrap fails on MacOS X 10.4.11



>Number:         38372
>Category:       pkg
>Synopsis:       bootstrap fails on MacOS X 10.4.11
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 05 17:55:00 +0000 2008
>Originator:     John D. Baker
>Release:        MacOS X 10.4.11, pkgsrc-current (pre-2008Q1)
>Organization:
>Environment:
Darwin g4gbe.technoskunk.fur 8.11.0 Darwin Kernel Version 8.11.0: Wed Oct 10 
18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC Power Macintosh powerpc

>Description:
pkgsrc/bootstrap fails on MacOS X 10.4.11 (PPC) with XCode 2.5
(others?) as follows:

sudo ./bootstrap --workdir=/Volumes/d0/tmp/bootstrap --varbase=/usr/pkg/var 
--pkgdbdir=/usr/pkg/var/db/pkg

[...]
gcc -isystem /usr/include -DHAVE_CONFIG_H -DDEF_LOG_DIR=\"/usr/pkg/var/db/pkg\" 
-DTAR_CMD=\"/bin/tar\" -DFTP_CMD=\"/bin/ftp\" -I../libnbcompat 
-I../../libnbcompat -I. -I. -DBOOTSTRAP -g -O2 -c pkg_io.c
pkg_io.c:41:21: error: archive.h: No such file or directory
pkg_io.c:42:27: error: archive_entry.h: No such file or directory
pkg_io.c:49:19: error: fetch.h: No such file or directory
pkg_io.c:56: error: parse error before 'fetchIO'
pkg_io.c:56: warning: no semicolon at end of struct or union
pkg_io.c:58: error: parse error before '}' token
pkg_io.c: In function 'fetch_archive_open':
pkg_io.c:65: error: dereferencing pointer to incomplete type
pkg_io.c:65: error: dereferencing pointer to incomplete type
pkg_io.c:66: error: dereferencing pointer to incomplete type
pkg_io.c: In function 'fetch_archive_read':
pkg_io.c:77: error: dereferencing pointer to incomplete type
pkg_io.c:78: error: dereferencing pointer to incomplete type
pkg_io.c:78: error: dereferencing pointer to incomplete type
pkg_io.c:78: error: dereferencing pointer to incomplete type
pkg_io.c: In function 'fetch_archive_close':
pkg_io.c:86: error: dereferencing pointer to incomplete type
pkg_io.c:87: error: dereferencing pointer to incomplete type
pkg_io.c: In function 'open_remote_archive':
pkg_io.c:97: error: dereferencing pointer to incomplete type
pkg_io.c:100: error: dereferencing pointer to incomplete type
pkg_io.c:102: warning: assignment makes pointer from integer without a cast
pkg_io.c: In function 'open_local_archive':
pkg_io.c:125: warning: assignment makes pointer from integer without a cast
*** Error code 1

Stop.
bmake: stopped in /Volumes/d0/tmp/bootstrap/pkg_install/lib
*** Error code 1
[...]

This is a machine freshly installed and updated with MacOS X 10.4.11
and XCode 2.5.  The pkgsrc tree was copied from another machine and
updated to -current (200804051600Z or so).

The header files mentioned in the error messages do not exist anywhere
in the system include directories nor in those listed in the -I
directives.
>How-To-Repeat:
On MacOS X 10.4.11 PPC, check out/update pkgsrc-current as of
200804051600Z.

Attempt to bootstrap pkgsrc on MacOS X 10.4.11
>Fix:
archivers/libarchive has "archive_entry.h", so maybe libarchive needs
to be part of the bootstrap kit for MacOS X?  Didn't see "archive.h"
anywhere, though.

"fetch.h" is in "net/libfetch", so maybe that needs to be part of the
bootstrap kit for MacOS X.




Home | Main Index | Thread Index | Old Index