pkgsrc-Bugs archive

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

pkg/38450: bmake fails to build on IRIX(!)



>Number:         38450
>Category:       pkg
>Synopsis:       bmake fails to build on IRIX(!)
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Apr 17 19:35:00 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX64 octane 6.5 07202013 IP30; IRIX 6.5.30; MIPSpro Compilers Version 7.4.4m
>Description:

Part of the problem with pkg_install was that I needed an updated 
bootstrap-mk-files.  It turns out that, though the original files were 
installed during bootstrap, the actual package containing these was never 
registered as installed, so 'pkg_chk' never saw them as being out of date.

It also appears that bmake was never registered, and so I've not been seeing 
updates!

(This is the case on three seperate systems, all installed many months apart.  
Having said that, the most recent install was about two/three months ago now)
>How-To-Repeat:

The bmake build process is hanging - I see:

CC="cc" LIBC= MAKEFLAGS= 
MAKESYSPATH=`pwd`/mk:/usr/bsd/share/mk:mk:/usr/bsd/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
 ./bmake.boot -f Makefile bmake.1
`bmake.1' is up to date.
CC="cc" LIBC= MAKEFLAGS= 
MAKESYSPATH=`pwd`/mk:/usr/bsd/share/mk:mk:/usr/bsd/share/mk:/usr/share/mk:/usr/local/share/mk:/opt/share/mk
 `pwd`/bmake -f Makefile test
cd /usr/bsd/var/tmp/devel/bmake/work/IRIX/unit-tests && 
/usr/bsd/var/tmp/devel/bmake/work/IRIX/bmake 
TEST_MAKE=/usr/bsd/var/tmp/devel/bmake/work/IRIX/bmake test
/usr/bsd/var/tmp/devel/bmake/work/IRIX/bmake -f Makefile > test.out 2>&1

... and then nothing.  test.out is created but nothing is ever written to it, 
and even after 24 hours nothing else has occurred.

This happens on every IRIX machine I have :(
>Fix:

If I run "cd /usr/bsd/var/tmp/devel/bmake/work/IRIX/unit-tests && ../bmake -f 
Makefile" then the output is:

comment testing start
this is foo
This is how a comment looks: # comment
comment testing done
bmake: "/usr/bsd/var/tmp/devel/bmake/work/bmake/unit-tests/cond1" line 75: 
warning: extra else
bmake: "/usr/bsd/var/tmp/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

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_DOLLAR=This is $UT_FU
UT_F=fine
UT_FOO=foobar is fubar
UT_FU=fubar
UT_NO=all
UT_OK=good
UT_TEST=export-all
UT_ZOO=hoopie
simple.1
simple.1
simple.2
simple.2

... at which point no further output is produced, and the testing hangs.

(It is possible that there were other files installed by the bootstrap process 
which weren't registered as packages, and which bmake relies upon somehow... do 
you have a canonical list of what packages bootstrap should install/mark as 
installed?)



Home | Main Index | Thread Index | Old Index