pkgsrc-Bugs archive

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

Re: pkg/50589 (libarchive build fails during bootstrap on OSF/1)



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

From: Jeffrey Armstrong <jba%sdf.lonestar.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50589 (libarchive build fails during bootstrap on OSF/1)
Date: Sun, 26 Jun 2016 15:51:32 +0000 (UTC)

 On Sat, 25 Jun 2016, David Holland wrote:
 
 > It should be made to work, and it shouldn't be difficult to do so. If
 > you have a chance, try the following hack:
 >
 > Index: files/configure
 > ===================================================================
 > RCS file: /cvsroot/pkgsrc/archivers/libarchive/files/configure,v
 > retrieving revision 1.13
 > diff -u -r1.13 configure
 > --- files/configure	23 Jun 2016 13:39:03 -0000	1.13
 > +++ files/configure	25 Jun 2016 17:13:55 -0000
 > @@ -15593,7 +15593,7 @@
 >    return 0;
 >  }
 >  _ACEOF
 > -if ac_fn_c_try_compile "$LINENO"; then :
 > +if ac_fn_c_try_link "$LINENO"; then :
 >    eval "$as_CACHEVAR=yes"
 >  else
 >    eval "$as_CACHEVAR=no"
 >
 
 The hack above does indeed work, which I expected.  The configure script 
 mostly finishes, but I am getting an error towards the end related to a 
 missing aclocal script:
 
 config.status: executing mkdirs commands
 CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/ksh 
 /usr/pkg/pkgsrc/bootstrap/work/libarchive/build/autoconf/missing 
 aclocal-1.15 -I build/autoconf
 /usr/pkg/pkgsrc/bootstrap/work/libarchive/build/autoconf/missing[81]: 
 aclocal-1.15:  not found
 WARNING: 'aclocal-1.15' is missing on your system.
           You should only need it if you modified 'acinclude.m4' or
           'configure.ac' or m4 files included by 'configure.ac'.
           The 'aclocal' program is part of the GNU Automake package:
           <http://www.gnu.org/software/automake>
           It also requires GNU Autoconf, GNU m4 and Perl in order to run:
           <http://www.gnu.org/software/autoconf>
           <http://www.gnu.org/software/m4/>
           <http://www.perl.org/>
 *** [./aclocal.m4] Error code 127
 
 bmake: stopped in /usr/pkg/pkgsrc/bootstrap/work/libarchive
 1 error
 
 bmake: stopped in /usr/pkg/pkgsrc/bootstrap/work/libarchive
 ===> exited with status 2
 aborted.
 
 Regardless, the patch does fix the problem surrounding the warning flags. 
 Upstream libarchive fixes have stalled a bit, I think, since there was an 
 autoconf bug in a fix that should actually work.
 
 Jeff Armstrong - jba%sdf.lonestar.org@localhost
 SDF Public Access UNIX System - http://sdf.lonestar.org
 


Home | Main Index | Thread Index | Old Index