Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Jan 2003 15:33:03 +0100 (CET)
From:      Matthias Andree <matthias.andree@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        ijliao@FreeBSD.org
Subject:   ports/46755: CRITICAL REGRESSION: databases/db4 update breaks many ports 
Message-ID:  <200301041433.h04EX3Zd040045@libertas.emma.line.org>

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

>Number:         46755
>Category:       ports
>Synopsis:       CRITICAL REGRESSION: databases/db4 update breaks many ports
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jan 04 06:40:00 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Matthias Andree
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD libertas.emma.line.org 4.7-STABLE FreeBSD 4.7-STABLE #10: Fri Jan 3 22:37:33 CET 2003 root@libertas.emma.line.org:/usr/src/sys/compile/LIBERTAS i386


	
>Description:
Recently, the databases/db4 port was senselessly updated from 4.0.14 to 4.1.25.
SleepyCat changed some APIs (function arguments) from 4.0 to 4.1, but not all
applications are ready to deal with bdb-4.1.

Trying to build cfengine2 for instance fails since the db4 update:

make  all-am
source='misc.c' object='misc.o' libtool=no  depfile='.deps/misc.Po' tmpdepfile='.deps/misc.TPo'  depmode=gcc /bin/sh ../depcomp  cc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include/db4 -I/usr/include     -g -O2 -Wreturn-type -Wmissing-prototypes -Wuninitialized -O -pipe -march=i486 -DNO_IDEA -I/usr/local/include/db4 -pthread -D_THREAD_SAFE -DBUILDTIN_GCC_THREAD -c `test -f misc.c || echo './'`misc.c
In file included from cf.defs.h:153,
                 from misc.c:33:
/usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h> which is deprecated, use <stdlib.h> instead"
misc.c: In function `ChecksumChanged':
misc.c:273: warning: passing arg 2 of pointer to function from incompatible pointer type
misc.c:273: warning: passing arg 4 of pointer to function makes pointer from integer without a cast
misc.c:273: too few arguments to function
*** Error code 1

	
>How-To-Repeat:
	
>Fix:
1. please revert the change, and fix the broken compat285 argument to 185.
2. please move db 4.1 to a new port.
>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?200301041433.h04EX3Zd040045>