Subject: pkg/30485: Problem building libgcrypt
To: None <,,>
From: None <>
List: pkgsrc-bugs
Date: 06/09/2005 19:25:00
>Number:         30485
>Category:       pkg
>Synopsis:       Problem building libgcrypt
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jun 09 19:25:00 +0000 2005
>Release:        NetBSD 1.6.2_STABLE
Richard Braun
System: NetBSD kenobi 1.6.2_STABLE NetBSD 1.6.2_STABLE (KENOBI) #0: Wed Mar 23 17:00:14 CET 2005 syn@kenobi:/mnt/sd1a/src/sys/arch/sparc64/compile/KENOBI sparc64
Architecture: sparc64
Machine: sparc64
When updating my system, I noticed an infinite loop (or something that looks
like it). Building libgcrypt never ends. Instead, it loops at this stage :

source='serpent.c' object='serpent.lo' libtool=yes  DEPDIR=.deps depmode=gcc /bin/sh ../depcomp  /bin/sh ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H  -I. -I. -I.. -I../src  -I/usr/pkg/include -I/usr/include  -I/usr/pkg/include -O -ffixed-g4 -I/usr/pkg/include -I/usr/include -Wall -c -o serpent.lo serpent.c
 cc -DHAVE_CONFIG_H -I. -I.. -I../src -I/mnt/sd1a/pkgsrc/security/libgcrypt/work/.buildlink/include -O -ffixed-g4 -Wall -c serpent.c -Wp,-MD,.deps/serpent.TPlo  -fPIC -DPIC -o .libs/serpent.o

It's likely to be a problem with the sparc64 port, and maybe with the old
gcc compiler. I'll soon upgrade to 2.0 anyway, but I thought it was better
to report.