From owner-freebsd-ports Sun Mar 3 10:40: 6 2002 Delivered-To: freebsd-ports@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 87A1237B416 for ; Sun, 3 Mar 2002 10:40:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g23Ie1b28457; Sun, 3 Mar 2002 10:40:01 -0800 (PST) (envelope-from gnats) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by hub.freebsd.org (Postfix) with ESMTP id 95AE537B404 for ; Sun, 3 Mar 2002 10:34:01 -0800 (PST) Received: (from robert@localhost) by fledge.watson.org (8.11.6/8.11.5) id g23IXo853321; Sun, 3 Mar 2002 13:33:50 -0500 (EST) (envelope-from robert) Message-Id: <200203031833.g23IXo853321@fledge.watson.org> Date: Sun, 3 Mar 2002 13:33:50 -0500 (EST) From: Robert Watson Reply-To: Robert Watson To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: ports/35519: kdepim port doesn't know that malloc.h is now broken Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 35519 >Category: ports >Synopsis: kdepim port doesn't know that malloc.h is now broken >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Mar 03 10:40:01 PST 2002 >Closed-Date: >Last-Modified: >Originator: Robert Watson >Release: FreeBSD 4.5-PRERELEASE i386 >Organization: NAI Labs >Environment: System: FreeBSD curry.decoverly.watson.org 5.0-CURRENT FreeBSD 5.0-CURRENT #2: Mon Jan 14 18:56:00 EST 2002 rwatson@curry.decoverly.watson.org:/usr/obj/usr/src/sys/BKTR i386 >Description: KDEPIM port uses malloc.h for 'libical'. malloc.h is deprecated, and stdlib.h should be used instead. This problem breaks the build on 5.0-CURRENT, where use of malloc.h generates a #error not a #warning. A patch needs to be applied that removes use of malloc.h, and if necessary, adds a #include of stdlib.h >How-To-Repeat: Attempt to build kdepim on 5.0: /bin/sh ../../libtool --mode=compile cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../..-I../../src -I../../src -I. -I/usr/local/include -L/usr/local/lib -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -DNDEBUG -O2 -O -pipe -g -c icallangbind.c cc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../src -I../../src -I. -I/usr/local/include -L/usr/local/lib -I/usr/include -D_GETOPT_H -D_PTH_H_ -D_PTH_PTHREAD_H_ -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include/qt2 -DNDEBUG -O2 -O -pipe -g -Wp,-MD,.deps/icallangbind.pp -c icallangbind.c -fPIC -DPIC -o .libs/icallangbind.o In file included from icallangbind.c:25: /usr/include/malloc.h:3: #error " has been replaced by " gmake[5]: *** [icallangbind.lo] Error 1 gmake[5]: Leaving directory `/usr/ports/deskutils/kdepim/work/kdepim-2.2.2/libical/src/libical' gmake[4]: *** [all-recursive] Error 1 gmake[4]: Leaving directory `/usr/ports/deskutils/kdepim/work/kdepim-2.2.2/libical/src' gmake[3]: *** [all-recursive] Error 1 gmake[3]: Leaving directory `/usr/ports/deskutils/kdepim/work/kdepim-2.2.2/libical' gmake[2]: *** [all-recursive-am] Error 2 gmake[2]: Leaving directory `/usr/ports/deskutils/kdepim/work/kdepim-2.2.2/libical' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/deskutils/kdepim/work/kdepim-2.2.2' gmake: *** [all-recursive-am] Error 2 *** Error code 2 Stop in /usr/ports/deskutils/kdepim. *** Error code 1 Stop in /usr/ports/deskutils/kdepim. *** Error code 1 Stop in /usr/ports/deskutils/kdepim. >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message