Subject: pkg/10612: gnupg fails to build (... on macppc?)
To: None <gnats-bugs@gnats.netbsd.org>
From: None <gr@eclipsed.net>
List: netbsd-bugs
Date: 07/17/2000 19:09:47
>Number:         10612
>Category:       pkg
>Synopsis:       gnupg fails to build (... on macppc?)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jul 16 21:24:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     gabriel rosenkoetter
>Release:        just cvs updated pgksrc
>Organization:
	Just me.
>Environment:
	
System: NetBSD uriel.eclipsed.net 1.4R NetBSD 1.4R (URIEL) #1: Fri Mar 3 16:01:27 EST 2000 gr@uriel.eclipsed.net:/usr/src/syssrc/sys/arch/macppc/compile/URIEL macppc


>Description:
make'ing in pkgsrc/security/gnupg fails. The relevent (end) part:

gmake[2]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.0.2/util'
Making all in mpi
gmake[2]: Entering directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.0.2/mpi'
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-add.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-bit.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-cmp.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-div.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-gcd.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-inline.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-inv.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-mul.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-pow.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-mpow.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpi-scan.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpicoder.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpih-cmp.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpih-div.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpih-mul.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c mpiutil.c
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c g10m.c
cc -E -I../include -DHAVE_CONFIG_H -I. -I. -I.. mpih-mul1.S | grep -v '^#' > _mpih-mul1.s
cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include    -O -Wall  -c _mpih-mul1.s
_mpih-mul1.s: Assembler messages:
_mpih-mul1.s:46: Error: Unknown pseudo-op:  `.toc'
_mpih-mul1.s:47: Error: Unknown pseudo-op:  `.csect'
_mpih-mul1.s:51: Error: Unknown pseudo-op:  `.csect'
_mpih-mul1.s:53: Error: Rest of line ignored. First ignored character is `['.
_mpih-mul1.s:54: Error: Unknown pseudo-op:  `.csect'
gmake[2]: *** [mpih-mul1.o] Error 1
gmake[2]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.0.2/mpi'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/pkgsrc/security/gnupg/work/gnupg-1.0.2'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
uriel:security/gnupg# 

I'm presuming this has something to do with the recent changes, but it
might be one of a) I'm still at 1.4R, b) I'm port-macppc. Shouldn't
matter, it still needs to work.

>How-To-Repeat:
Try a make, see if it works for you.
>Fix:
I don't have one, and I don't really have time to mess with it right
now. Shouldn't be too drastic, though; looks like a syntax mistake.
>Release-Note:
>Audit-Trail:
>Unformatted: