pkgsrc-Bugs archive

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

Re: pkg/38674: libarchive broken on IRIX



The following reply was made to PR pkg/38674; it has been noted by GNATS.

From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
Subject: Re: pkg/38674: libarchive broken on IRIX
Date: Sun, 25 May 2008 22:56:07 +0200

 On Sun, 25 May 2008 19:55:03 +0000 (UTC)
 Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:
 
 > The following reply was made to PR pkg/38674; it has been noted by GNATS.
 > 
 > From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: 
 > Subject: Re: pkg/38674: libarchive broken on IRIX
 > Date: Sun, 25 May 2008 21:51:05 +0200
 > 
 >  On Fri, May 16, 2008 at 08:25:01PM +0000, tnn%NetBSD.org@localhost wrote:
 >  > >Fix:
 >  > Following patch makes pkg_install build.
 >  
 >  The fix should be merged via the update to 2.5.4b. Can you check if it
 >  works now?
 >  
 >  Joerg
 >  
 
 That issue is fixed, but now there is a new problem.
 
  gcc -DHAVE_CONFIG_H -I. 
-I/tmp/pkgsrc-obj/archivers/libarchive/work.irixbulk/.buildlink/include -O2 -MT 
libarchive/archive_read_support_compression_program.lo -MD -MP -MF 
libarchive/.deps/archive_read_support_compression_program.Tpo -c 
libarchive/archive_read_support_compression_program.c  -DPIC -o 
libarchive/.libs/archive_read_support_compression_program.o
 libarchive/archive_read_support_compression_program.c:38: warning: 'struct 
archive' declared inside parameter list
 libarchive/archive_read_support_compression_program.c:38: warning: its scope 
is only this definition or declaration, which is probably not what you want
 libarchive/archive_read_support_compression_program.c: In function 
'archive_read_support_compression_program':
 libarchive/archive_read_support_compression_program.c:42: error: 
'ARCHIVE_FATAL' undeclared (first use in this function)
 libarchive/archive_read_support_compression_program.c:42: error: (Each 
undeclared identifier is reported only once
 libarchive/archive_read_support_compression_program.c:42: error: for each 
function it appears in.)
 
 
 The problem might be the HAVE_VFORK ifdef (IRIX only has fork).
 AC_FUNC_VFORK can be used to provide that.
 Anyway, the local #includes need to be moved higher for that fallback
 code segment to work.
 


Home | Main Index | Thread Index | Old Index