Subject: pkg/22762: "ddd" broken by last update
To: None <gnats-bugs@gnats.netbsd.org>
From: Matthias Scheler <tron@zhadum.de>
List: netbsd-bugs
Date: 09/12/2003 20:41:14
>Number:         22762
>Category:       pkg
>Synopsis:       "ddd" broken by last update
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Sep 12 18:42:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD 1.6.1_STABLE
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD colwyn.zhadum.de 1.6.1_STABLE NetBSD 1.6.1_STABLE (COLWYN) #0: Tue Aug 5 15:02:57 CEST 2003 tron@colwyn.zhadum.de:/src/sys/compile/COLWYN i386
Architecture: i386
Machine: i386
>Description:
The "ddd" package cannot be build after the recent update to version 3.3.7:

1.) If the "faces" package is installed "configure" dies like this:

checking for compface... compface
checking whether compface can input xbm files... ./configure.lineno: 3475: Syntax error: Bad fd number

    A work arround is to add this line to "pkgsrc/devel/ddd/Makefile":

CONFIGURE_ENV+=         COMPFACE=${FALSE}

2.) Even with the above work arround the "configure" script dies later:

configure: configuring in libiberty
configure: running /bin/sh './configure' --prefix=/usr/pkg  '--with-ncurses=no' '--host=i386--netbsdelf' '--prefix=/usr/pkg' '--x-includes=/usr/X11R6/include' '--x-libraries=/usr/X11R6/lib' 'LDFLAGS= -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib' 'CFLAGS=-O2 -I/usr/pkg/include -I/usr/X11R6/include' 'CPPFLAGS= -I/usr/pkg/include -I/usr/X11R6/include' 'CXX=c++' 'host_alias=i386--netbsdelf' 'CC=cc' 'CXXFLAGS=-O2 -I/usr/pkg/include -I/usr/X11R6/include' --cache-file=/dev/null --srcdir=.
configure: warning: LDFLAGS= -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib: invalid host type
configure: warning: CFLAGS=-O2 -I/usr/pkg/include -I/usr/X11R6/include: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for libiberty
*** Error code 1

Stop.

>How-To-Repeat:
cd pkgsrc/mail/faces
make instap
cd pkgsc/devel/ddd
make

>Fix:
None provided.

>Release-Note:
>Audit-Trail:
>Unformatted: