On Mon, May 21, 2007, Caleb Epstein wrote:

>  I can't build OpenPKG from the 20070520 .src.sh file on my
>  solaris10-x86 box.  The failure happens when building "rpm":
>
>  [...]
>  configure: running /bin/bash './configure' --prefix=/openpkg-current
>  '--cache-file=./config.cache' '--prefix=/openpkg-current' '--with-db'
>  '--with-glob' '--without-python' '--without-apidocs'
>  '--disable-shared' '--disable-rpath' '--disable-nls'
>  'CC=/openpkg/bin/gcc' 'CFLAGS=-DOPENPKG -DOPENPKG_SUNOS
>  -I/tmp/openpkg-20070520/zlib-1.2.3 -I/tmp/openpkg-20070520/bzip2-1.0.4
>  -I/tmp/openpkg-20070520/beecrypt-4.1.2' 'CPPFLAGS=-DOPENPKG
>  -DOPENPKG_SUNOS -I/tmp/openpkg-20070520/zlib-1.2.3
>  -I/tmp/openpkg-20070520/bzip2-1.0.4
>  -I/tmp/openpkg-20070520/beecrypt-4.1.2'
>  'LDFLAGS=-L/tmp/openpkg-20070520/zlib-1.2.3
>  -L/tmp/openpkg-20070520/bzip2-1.0.4
>  -L/tmp/openpkg-20070520/beecrypt-4.1.2' --cache-file=.././config.cache
>  --srcdir=.
>  expr: Paren problem
>  expr: Paren problem
>  configure: loading cache .././config.cache
>  configure: error: `CFLAGS' has changed since the previous run:
>  configure:   former value:  -DOPENPKG -DOPENPKG_SUNOS
>  -I/tmp/openpkg-20070520/zlib-1.2.3 -I/tmp/openpkg-20070520/bzip2-1.0.4
>  -I/tmp/openpkg-20070520/beecrypt-4.1.2
>  configure:   current value:
>  configure: error: `CPPFLAGS' has changed since the previous run:
>  configure:   former value:  -DOPENPKG -DOPENPKG_SUNOS
>  -I/tmp/openpkg-20070520/zlib-1.2.3 -I/tmp/openpkg-20070520/bzip2-1.0.4
>  -I/tmp/openpkg-20070520/beecrypt-4.1.2
>  configure:   current value:
>  configure: error: changes in the environment can compromise the build
>  configure: error: run `make distclean' and/or `rm .././config.cache'
>  and start over
>  configure: error: /bin/bash './configure' failed for popt
>  + /tmp/openpkg-20070520/make-3.81/make
>  cd . && \
>           true --foreign  Makefile
>  /tmp/openpkg-20070520/make-3.81/make  all-recursive
>  make[1]: Entering directory `/tmp/openpkg-20070520/rpm-4.2.1'
>  cd . && \
>           true --foreign  Makefile
>  Making all in intl
>  make[2]: Entering directory `/tmp/openpkg-20070520/rpm-4.2.1/intl'
>  make[2]: Nothing to be done for `all'.
>  make[2]: Leaving directory `/tmp/openpkg-20070520/rpm-4.2.1/intl'
>  Making all in file
>  make[2]: Entering directory `/tmp/openpkg-20070520/rpm-4.2.1/file'
>  make[2]: *** No rule to make target `all'.  Stop.
>  make[2]: Leaving directory `/tmp/openpkg-20070520/rpm-4.2.1/file'
>  make[1]: *** [all-recursive] Error 1
>  make[1]: Leaving directory `/tmp/openpkg-20070520/rpm-4.2.1'
>  make: *** [all] Error 2
>  + exit 2
> ./openpkg.boot:ERROR: script returned non-null value

That's strange as it is RPM's configure which fails here. We've not
touched anything in this area since weeks, so can this be a local
problem? Perhaps a full filesystem or some temporary directory which
is not writable or something like this? Does it also happen when you
upgrade via .src.rpm or does it just happen when bootstrapping from
scratch via .src.sh? Has OpenPKG built just fine on exactly the same box
in the past?
                                       Ralf S. Engelschall
                                       [EMAIL PROTECTED]
                                       www.engelschall.com

______________________________________________________________________
OpenPKG                                             http://openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to