Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 08:20:25 -0800 (PST)
From:      Kirk Strauser <kirk@strauser.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/31641: Firebird 
Message-ID:  <200110301620.f9UGKPS29910@freefall.freebsd.org>

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

>Number:         31641
>Category:       ports
>Synopsis:       Firebird
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 30 08:30:06 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     Kirk Strauser
>Release:        4.4-STABLE
>Organization:
NMotion, Inc.
>Environment:
FreeBSD web1.nmotioninc.com 4.4-STABLE FreeBSD 4.4-STABLE #0: Tue Oct 30 09:18:53 CST 2001     root@web1.nmotioninc.com:/usr/obj/usr/src/sys/WEB1_2001-10-30  i386
>Description:
The Firebird port still looks for libdescrypt, which has been merged into libcrypt.  This problem has been fixed where ${OSVERSION} >= 500016, but the descrypt -> crypt merge has been backported to the 4.4 series, and the Makefile should be updated appropriately.

A sample of the error output:

touch gds.so
chmod 666 gds.so
rm -f burp
cc  backup.o burp.o canonical.o misc.o mvol.o restore.o  source/jrd/sdl.o   -o burp -Lsource/jrd -lgds -lgds_pyxis -ldescrypt 
/usr/libexec/elf/ld: cannot find -ldescrypt
*** Error code 1

Stop in /usr/ports/databases/firebird/work/interbase/burp.
*** Error code 1

Stop in /usr/ports/databases/firebird/work/interbase.
*** Error code 1

Stop in /usr/ports/databases/firebird.
*** Error code 1

Stop in /usr/ports/databases/firebird.
*** Error code 1

Stop in /usr/ports/databases/firebird.

>How-To-Repeat:
cd /usr/ports/databases/firebird; make install
>Fix:
As a quick fix, I simply lowered the threshold of the OSVERSION test in Makefile:

########################################

--- Makefile.old	Tue Oct 30 10:18:09 2001
+++ Makefile	Tue Oct 30 10:18:17 2001
@@ -33,7 +33,7 @@
 	${CP} msgs/msg.gbak misc/msg.gbak				\
 	)
 
-.if ${OSVERSION} >= 500016
+.if ${OSVERSION} >= 400016
 post-patch:
 	${PERL} -pi -e 's,\-ldescrypt,\-lcrypt,g' ${WRKSRC}/builds/original/prefix.freebsd
 .endif

########################################

I do not know what the correct OSVERSION value should be.
>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?200110301620.f9UGKPS29910>