pkgsrc-Bugs archive

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

pkg/43371: Compiler error bootstrapping pkgsrc on HP-UX 11.11



>Number:         43371
>Category:       pkg
>Synopsis:       Compiler error bootstrapping pkgsrc on HP-UX 11.11
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 27 20:15:00 +0000 2010
>Originator:     Paul Ackersviller
>Release:        pkgsrc-2010Q1
>Organization:
>Environment:
HP-UX esi0q80d B.11.11 U 9000/800 3313510918 unlimited-user license

>Description:
The following errora are produced by gcc-4.2.3:

libarchive/archive_read_support_format_xar.c
In file included from libarchive/archive_read_support_format_xar.c:56:
libarchive/archive_hash.h:54: error: expected '=', ',', ';', 'asm' or
'__attribute__' before 'archive_md5_ctx

The trouble seems to originate from /usr/include/md5.h, as I can verify by the 
modifying the file
  archivers/libarchive/files/libarchive/archive_hash.h
such that

#if defined(HAVE_MD5_H) && defined(HAVE_MD5INIT)
...
#elif defined(HAVE_OPENSSL_MD5_H)

was reversed to

#if defined(HAVE_OPENSSL_MD5_H)
...
#elif defined(HAVE_MD5_H) && defined(HAVE_MD5INIT)

and then set CPPFLAGS='-DHAVE_OPENSSL_MD5_H -I/usr/local/include'
and LDFLAGS=-L/usr/local/lib to insert the openssl I have in /usr/local/.

>How-To-Repeat:
./bootstrap --unprivileged --ignore-user-check --varbase /var/home/pkgdb 
--workdir /var/home/pkgwork --prefix /usr/local/bsd --compiler gcc
>Fix:



Home | Main Index | Thread Index | Old Index