Subject: pkg/5927: mozilla fails to 'make'
To: None <gnats-bugs@gnats.netbsd.org>
From: None <webmaster@largesalad.co.uk>
List: netbsd-bugs
Date: 08/07/1998 15:20:17
>Number:         5927
>Category:       pkg
>Synopsis:       mozilla fails to 'make' and shows other problems
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Aug  7 07:35:00 1998
>Last-Modified:
>Originator:     D. Millen
>Organization:
largesalad
>Release:        NetBSD 1.3.2
>Environment:
	
System: NetBSD oak.largesalad.co.uk 1.3E NetBSD 1.3E (RISCPC) #1: Sun Mar 22 00:14:15 GMT 1998 ebsa@ebsa:/home/voyager/altroot/usr/users/ebsa/netbsd/src/sys/arch/arm32/compile/RISCPC arm32

>Description:
	
Firstly, the 'make' procedure refused to recognise that perl-5.00404 was
installed on my system, even though pkg_info showed it. So I allowed it to 
be reinstalled and tried again.

The following, including the reject files, is what occurrred:

Script started on Fri Aug  7 14:36:42 1998
root@oak# make
>How-To-Repeat:
	
[A>Fix:
	<how to correct or work around the problem, if known (multiple lines)>

Nothing that I tried could get beyond the above point!
>Fix:
>Audit-Trail:
>Unformatted:
>> Checksum OK for mozilla-19980728.tar.gz.
===>  Extracting for mozilla-19980728
===>  mozilla-19980728 depends on executable: gmake - /usr/pkg/bin/gmake found
===>  mozilla-19980728 depends on package: perl-5.00404
===>  Verifying install for /usr/pkgsrc/www/mozilla/../../lang/perl5
===>  Patching for mozilla-19980728
===>  Applying NetBSD patches for mozilla-19980728
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to nsprpub/pr/include/md/_netbsd.cfg.rej
Ignoring previously applied (or reversed) patch.
1 out of 1 hunks ignored--saving rejects to nsprpub/pr/include/md/_netbsd.h.rej
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.

root@oak# cd work/mozilla/nsprpub/pr/include/md

root@oak# more _netbsd.cfg.rej
***************
*** 27,33 ****
  #define NETBSD
  #endif
  
! #ifdef __i386__
  
  #define IS_LITTLE_ENDIAN 1
  #undef  IS_BIG_ENDIAN
--- 27,33 ----
  #define NETBSD
  #endif
  
! #if defined(__i386__) || defined(__arm32__)
  
  #define IS_LITTLE_ENDIAN 1
  #undef  IS_BIG_ENDIAN

root@oak# more _netbsd.h.rej
***************
*** 34,40 ****
  #elif defined(__sparc__)
  #define _PR_SI_ARCHITECTURE "sparc"
  #elif defined(__arm32__)
! #define _PR_SI_ACRHITECTURE "arm32"
  #endif
  
  #define PR_DLL_SUFFIX         ".so.1.0"
--- 34,40 ----
  #elif defined(__sparc__)
  #define _PR_SI_ARCHITECTURE "sparc"
  #elif defined(__arm32__)
! #define _PR_SI_ARCHITECTURE "arm32"
  #endif
  
  #define PR_DLL_SUFFIX         ".so.1.0"

root@oak# exit
Script done on Fri Aug  7 15:00:35 1998