Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Mar 2002 13:33:50 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/35519: kdepim port doesn't know that malloc.h is now broken
Message-ID:  <200203031833.g23IXo853321@fledge.watson.org>

next in thread | raw e-mail | index | archive | help

>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 "<malloc.h> has been replaced by <stdlib.h>"
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203031833.g23IXo853321>