From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Apr 8 15:20:14 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FC1816A405 for ; Sat, 8 Apr 2006 15:20:14 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id D26E843D45 for ; Sat, 8 Apr 2006 15:20:13 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k38FKDWQ003682 for ; Sat, 8 Apr 2006 15:20:13 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k38FKDXv003681; Sat, 8 Apr 2006 15:20:13 GMT (envelope-from gnats) Resent-Date: Sat, 8 Apr 2006 15:20:13 GMT Resent-Message-Id: <200604081520.k38FKDXv003681@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alexander Wittig Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EDB016A400 for ; Sat, 8 Apr 2006 15:17:53 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id A161B43D48 for ; Sat, 8 Apr 2006 15:17:52 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.13.1/8.13.1) with ESMTP id k38FHm1T079723 for ; Sat, 8 Apr 2006 15:17:48 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.13.1/8.13.1/Submit) id k38FHmwv079722; Sat, 8 Apr 2006 15:17:48 GMT (envelope-from nobody) Message-Id: <200604081517.k38FHmwv079722@www.freebsd.org> Date: Sat, 8 Apr 2006 15:17:48 GMT From: Alexander Wittig To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Cc: Subject: ports/95518: [FIX] mail/exim build error (unresolved symbols/missing library -lutil) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 15:20:14 -0000 >Number: 95518 >Category: ports >Synopsis: [FIX] mail/exim build error (unresolved symbols/missing library -lutil) >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Apr 08 15:20:12 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Alexander Wittig >Release: 6.1 Prerelease >Organization: AW Comp >Environment: FreeBSD hotzenplotz.wittig 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #0: Sat Apr 8 13:44:46 CEST 2006 root@hotzenplotz.wittig:/usr/obj/usr/src/sys/ALEX i386 >Description: When building the mail/exim port with make WITHOUT_PERL=yes I get the following errors while linking the binary: [...] rm -f exim cc -o exim transports/transports.a(pipe.o)(.text+0x33): In function `pipe_transport_setup': : undefined reference to `login_getpwclass' transports/transports.a(pipe.o)(.text+0x41): In function `pipe_transport_setup': : undefined reference to `setclassresources' transports/transports.a(pipe.o)(.text+0x49): In function `pipe_transport_setup': : undefined reference to `login_close' *** Error code 1 Stop in /usr/ports/mail/exim/work/exim-4.61/build-FreeBSD-i386. *** Error code 1 Stop in /usr/ports/mail/exim/work/exim-4.61. *** Error code 1 Stop in /usr/ports/mail/exim. This behaviour is new in exim 4.61, it worked fine for 4.5 and 4.6 ports. >How-To-Repeat: cd /usr/ports/mail/exim make WITHOUT_PERL=yes >Fix: According to "man login_getpwclass" the missing functions are implemented in libutil. To fix the problem in work/exim-4.61/OS/Makefile.FreeBSD change the line "LIBS=-lcrypt -lm" to "LIBS=-lcrypt -lm -lutil" (the same line is also used in the Makefile.NetBSD3 makefile). If this fix is approved, it should probably also be sent to the exim developers to be included in the exim distribution Makefile-FreeBSD. >Release-Note: >Audit-Trail: >Unformatted: