Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Apr 1998 11:19:37 -0400 (EDT)
From:      Mikhail Teterin <mi@aldan.algebra.com>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   ports/6423: xdelta port remains broken
Message-ID:  <199804261519.LAA26760@rtfm.ziplink.net>

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

>Number:         6423
>Category:       ports
>Synopsis:       ld: -lgdbm: no match
>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 Apr 26 08:40:01 PDT 1998
>Last-Modified:
>Originator:     Mikhail Teterin
>Organization:
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	libgdbm is in /usr/local/lib -- where else?

>Description:

	1) When creating xdelta's library (line breaks added):

	cc -shared -o .libs/libxdelta.so.0.18.0 cm.lo emit.lo
	grow.lo map.lo genck.lo cksum.lo xdelta.lo chash.lo misc.lo
	xd-gdbm.lo md5c.lo maketime.lo fakeglib.lo partime.lo -lgdbm
	-lz -lc
	ld: -lgdbm: no match
	*** Error code 1
	[...]

	Notably, I pointed this to jmacd, and he blaimed libtool
	for not including /usr/local/lib into -L path. Well, whoever
	is at fault the port is still broken, although not as much
	as before.

	2) Port's Makefile has this weird
		MAKE_ENV= CC=cc
	in it. Not only does it make the port ignore local settings
	in (/etc/make.conf), it is also not needed. CC is passed
	to build by bsd.port.mk . At least, the line should read
	``CC="${CC}"'', but better not have it at all.

>How-To-Repeat:

	Just build the port.

>Fix:
	
	See description.
>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?199804261519.LAA26760>