pkgsrc-Bugs archive

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

Re: pkg/45491: pkgsrc does not bootstrap under OpenIndiana



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

From: Joerg Sonnenberger <joerg%britannica.bec.de@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/45491: pkgsrc does not bootstrap under OpenIndiana
Date: Tue, 25 Oct 2011 19:41:10 -0700

 On Tue, Oct 25, 2011 at 09:30:07PM +0000, Aleksey Cheusov wrote:
 > The following reply was made to PR pkg/45491; it has been noted by GNATS.
 > 
 > From: Aleksey Cheusov <cheusov%tut.by@localhost>
 > To: gnats-bugs%NetBSD.org@localhost
 > Cc: pkg-manager%netbsd.org@localhost, gnats-admin%netbsd.org@localhost, 
 > pkgsrc-bugs%netbsd.org@localhost
 > Subject: Re: pkg/45491: pkgsrc does not bootstrap under OpenIndiana
 > Date: Wed, 26 Oct 2011 00:25:40 +0300
 > 
 >  > libarchive/archive_write_disk.c: In function 'set_fflags_platform':
 >  > libarchive/archive_write_disk.c:2265:18: error: expected expression 
 > before 'long'
 >  > libarchive/archive_write_disk.c:2267:19: error: expected expression 
 > before 'long'
 >  > libarchive/archive_write_disk.c:2273:18: error: expected expression 
 > before 'long'
 >  > libarchive/archive_write_disk.c:2277:19: error: expected expression 
 > before 'long'
 >  > *** Error code 1
 >  
 >  On my system libarchive fails this way if
 >  pkg://sfe/system/file-system/e2fsprogs@1.41.14 package is installed.
 >  This package contains /usr/include/ext2fs/ext2fs.h file.
 >  libarcive finds it and tries to use EXT2_IOC_GETFLAGS ioctls.
 >  
 >  The problem is that on OI-151 EXT2_IOC_GETFLAGS is defined as
 >  
 >     _IOR('f', 1, long)
 >  
 >  where _IOR is defined in drm/drm.h which is not included.
 >  To me this looks like a bug in OpenIndiana.
 >  
 >  I propose to commit the following workaround. Objections?
 
 I strongly dislike hackarounds for broken local things. I would prefer
 to bring this up with OpenIndiana first and see if they don't fix up the
 mess they created...
 
 Joerg
 


Home | Main Index | Thread Index | Old Index