tech-pkg archive

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

bmake hangs on unit tests in AIX



Hi All,

I recently attempted to update a year-old AIX 5.3 system with pkgsrc. Below are the details on what I'm running into with bmake. Any help on this would be great. Thanks,

Louis




First the environment:

 AIX 5.3 - os level 5300-10-01-0921
 powerpc hardware (p-series)
 xlC compiler (version 9)
 pkgsrc-2010Q2
 this machine was bootstrapped for pkgsrc probably around Fall of 2008.
 mk.conf is at the end of this message.



bmake is hanging on the unit tests. If I go into the work directory and run the tests manually I can see where it hangs:

# cd /usr/pkgobj/devel/bmake/work/AIX/unit-tests/

# ../bmake
comment testing start
this is foo
This is how a comment looks: # comment
comment testing done
bmake: "/usr/pkgobj/devel/bmake/work/bmake/unit-tests/cond1" line 75: warning: extra else bmake: "/usr/pkgobj/devel/bmake/work/bmake/unit-tests/cond1" line 85: warning: extra else
2 is  prime
A='other' B='unknown' C='clever' o='no,no'
Passed:
 var
 ("var")
 (var != var)
 var != var
 !((var != var) && defined(name))
 var == quoted

1 is not prime
2 is  prime
3 is  prime
4 is not prime
5 is  prime

bmake: warning: String comparison operator should be either == or !=
bmake: Bad conditional expression `"0" > 0' in "0" > 0?OK:No

OK
bmake: "/usr/pkgobj/devel/bmake/work/bmake/unit-tests/error" line 3: just FYI bmake: "/usr/pkgobj/devel/bmake/work/bmake/unit-tests/error" line 4: warning: this could be serious bmake: "/usr/pkgobj/devel/bmake/work/bmake/unit-tests/error" line 5: this is fatal
*** Error code 1 (ignored)
UT_DOLLAR=This is $UT_FU
UT_FOO=foobar is fubar
UT_FU=fubar
UT_TEST=export
UT_ZOO=hoopie
UT_ALL=even this gets exported
UT_BADDIR=unit-tests
UT_DOLLAR=This is $UT_FU
UT_F=fine
UT_FOO=foobar is fubar
UT_FU=fubar
UT_NO=all
UT_OK=good
UT_OKDIR=unit-tests
UT_TEST=export-all
UT_ZOO=hoopie
At first, I am
happy
and now: sad
*** Error code 1

Stop.
bmake: stopped in /usr/pkgobj/devel/bmake/work/AIX/unit-tests
.ERROR: Looks like 'sad' is upset.
*** Error code 1 (ignored)
simple.1
simple.1
simple.2
simple.2

<hung>



[mk.conf]
DISTDIR=        /usr/pkg/distfiles
PACKAGES=       /usr/pkgobj/packages
WRKOBJDIR=      /usr/pkgobj
PKGCHK_CONF=    /etc/pkgchk.conf
PKGCHK_UPDATE_CONF= /etc/pkgchk-update.conf
PKG_SYSCONFBASE=/etc

RENAME=
DEPENDS_TARGET=package

PKG_DEFAULT_OPTIONS= -x11

PKGSRC_COMPILER=        xlc

PKGMANDIR=              man

TOOLS_PLATFORM.install?=        /usr/pkg/bin/install-sh
TOOLS_PLATFORM.strip?=          /usr/pkg/bin/strip
TOOLS_PLATFORM.awk?=            /usr/pkg/bin/nawk
TOOLS_PLATFORM.sed?=            /usr/pkg/bin/nbsed
TOOLS_PLATFORM.pax?=            /usr/pkg/bin/pax
TOOLS_PLATFORM.tar?=            /usr/pkg/bin/tar

#CFLAGS+=               -O3 -qstrict -qcpluscmt -qkeyword=inline
#CFLAGS+= -q64 -qarch=ppc64 -qstrict -qcpluscmt -qkeyword=inline

CFLAGS+=                -O3 -qstrict -qcpluscmt -qkeyword=inline
ABI=64

OBJECT_MODE=64
.export OBJECT_MODE

DBG=                    # prevent DBG from adding default optimizer flags

USE_BUILTIN.iconv = yes
CONFIG_SHELL = /usr/pkg/bin/bash

ACCEPTABLE_LICENSES+=vim-license





Home | Main Index | Thread Index | Old Index