[OmniOS-discuss] Building OmniOS fails in compress/xz due to missing automake 1.14
Andrew Evdokimov
ae at elahi.ru
Fri Sep 27 09:16:55 UTC 2013
Hi all,
I've found an issue trying to build OmniOS using freshly installed bloody release. compress/xz now requires automake
1.14 while bloody publisher only provides 1.12:
osbld at builder:/data/omnios-src/omnios-build/build/xz$ pkg publisher
PUBLISHER TYPE STATUS URI
omnios origin online http://pkg.omniti.com/omnios/bloody/
cs.umd.edu origin online http://pkg.cs.umd.edu/
osbld at builder:/data/omnios-src/omnios-build/build/xz$ pkg search automake
INDEX ACTION VALUE PACKAGE
basename dir usr/share/automake-1.11/Automake pkg:/developer/build/automake-111 at 1.11.3-0.151002
basename dir usr/share/automake-1.9/Automake pkg:/developer/build/automake-19 at 1.9.6-0.151002
basename dir usr/share/automake-1.12/Automake pkg:/developer/build/automake at 1.12-0.151007
pkg.descr set GNU Automake - A Makefile generator (1.11.3) pkg:/developer/build/automake-111 at 1.11.3-0.151002
pkg.descr set GNU Automake - A Makefile generator (1.12) pkg:/developer/build/automake at 1.12-0.151007
pkg.descr set GNU Automake - A Makefile generator (1.9.6) pkg:/developer/build/automake-19 at 1.9.6-0.151002
pkg.summary set GNU Automake 1.11.3 pkg:/developer/build/automake-111 at 1.11.3-0.151002
pkg.summary set GNU Automake 1.12 pkg:/developer/build/automake at 1.12-0.151007
pkg.summary set GNU Automake 1.9.6 pkg:/developer/build/automake-19 at 1.9.6-0.151002
basename dir usr/share/doc/automake pkg:/developer/build/automake-111 at 1.11.3-0.151002
basename dir usr/share/doc/automake pkg:/developer/build/automake at 1.12-0.151007
basename file usr/bin/automake pkg:/developer/build/automake-111 at 1.11.3-0.151002
basename file usr/bin/automake pkg:/developer/build/automake at 1.12-0.151007
pkg.fmri set omnios/developer/build/automake pkg:/developer/build/automake at 1.12-0.151007
At the same time automake 1.14 is now built during normal OmniOS build (via buildctl build all) thus this can be easily
fixed by updating a build machine to the bits it just has built.
build.log output for reference:
osbld at builder:/data/omnios-src/omnios-build/build/xz$ ./build.sh
===== Build started at Fri Sep 27 13:00:30 MSK 2013 =====
Package name: compress/xz
Selected flavor: None (use -f to specify a flavor)
Selected build arch: both
Extra dependency: None (use -d to specify a version)
Verifying dependencies
Checking for source directory
--- Source directory found
Checking for patches in patches/ (to see if we need to remove the source dir)
--- Patches are present, removing source directory
Checking for xz source archive
--- xz source archive found
Extracting archive: xz-5.0.5.tar.gz
Checking for patches in patches/ (in order to apply them)
Applying patches
--- Applied patch pthread.diff
Running autoconf
Preparing for build
--- Creating temporary install dir
Building 32-bit
--- make (dist)clean
--- *** WARNING *** make (dist)clean Failed
--- configure (32-bit)
--- make
--- Make failed
An Error occured in the build. Do you wish to continue anyway? (y/n) n
===== Build aborted =====
from build.log
...
config.status: creating po/POTFILES
config.status: creating po/Makefile
Running: gmake foo /dev/null
cd ../.. && gmake am--refresh
gmake[1]: Entering directory `/data/tmp/build_osbld/xz-5.0.5'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/tmp/build_osbld/xz-5.0.5/build-aux/missing aclocal-1.14 -I m4
/data/tmp/build_osbld/xz-5.0.5/build-aux/missing[81]: aclocal-1.14: not found [No such file or directory]
WARNING: 'aclocal-1.14' 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/>
gmake[1]: *** [aclocal.m4] Error 127
gmake[1]: Leaving directory `/data/tmp/build_osbld/xz-5.0.5'
gmake: *** [../../aclocal.m4] Error 2
Running: perl -pi -e s#^^(archive_cmds=.*)"$#$1 -nostdlib -lc"#g; libtool
--- make
Running: gmake -j 3
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh /data/tmp/build_osbld/xz-5.0.5/build-aux/missing aclocal-1.14 -I m4
/data/tmp/build_osbld/xz-5.0.5/build-aux/missing[81]: aclocal-1.14: not found [No such file or directory]
WARNING: 'aclocal-1.14' 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/>
gmake: *** [aclocal.m4] Error 127
--- Make failed
===== Build aborted =====
--
Andrew Evdokimov
+7 910 450 83 33
mail ae at elahi.ru
xmpp ae at elahi.ru
More information about the OmniOS-discuss
mailing list