From root@koellers.net  Sun Sep 21 05:49:38 2003
Return-Path: <root@koellers.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 5977A16A4BF
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Sep 2003 05:49:38 -0700 (PDT)
Received: from sally.dts-online.net (sally.dts-online.net [212.62.68.35])
	by mx1.FreeBSD.org (Postfix) with ESMTP id E11CF43FB1
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Sep 2003 05:49:36 -0700 (PDT)
	(envelope-from root@koellers.net)
Received: from door.koellers.net (213-182-114-43.teleos-web.de [213.182.114.43])
	by sally.dts-online.net (Postfix) with ESMTP id 72482345604
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Sep 2003 14:49:35 +0200 (CEST)
Received: from door.koellers.net (smmsp@localhost [127.0.0.1])
	by door.koellers.net (8.12.8p1/8.12.8) with ESMTP id h8LCO5aw093517
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 21 Sep 2003 14:24:05 +0200 (CEST)
	(envelope-from root@door.koellers.net)
Received: (from root@localhost)
	by door.koellers.net (8.12.8p1/8.12.8/Submit) id h8LCM2Q3093350;
	Sun, 21 Sep 2003 14:22:02 +0200 (CEST)
Message-Id: <200309211222.h8LCM2Q3093350@door.koellers.net>
Date: Sun, 21 Sep 2003 14:22:02 +0200 (CEST)
From: Charlie & <root@koellers.net>
Reply-To: Charlie & <root@koellers.net>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: libsm and libsmutil not installed -> fail of amavisd with milter
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         57056
>Category:       ports
>Synopsis:       libsm and libsmutil not installed -> fail of amavisd with milter
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Sep 21 05:50:22 PDT 2003
>Closed-Date:    Sun May 30 04:34:13 PDT 2004
>Last-Modified:  Sun May 30 04:34:13 PDT 2004
>Originator:     Charlie &
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Computing Center, University of Bielefeld, Germany
>Environment:
System: FreeBSD door.koellers.net 4.8-RELEASE FreeBSD 4.8-RELEASE #2: Sun Aug 10 15:12:43 CEST 2003 root@door.koellers.net:/usr/src/sys/compile/DOOR i386

>Description:

	amavisd needs to build with milter the milter an sendmail libs libsm or
	libsmutil. These are not installed on FreeBSD, and so the build failed.

>How-To-Repeat:

	cd /usr/ports/security/amavisd
	make WITH_MILTER=yes

>Fix:

	Install the sendmail libs on the basesystem.
>Release-Note:
>Audit-Trail:

From: ian j hart <ianjhart@ntlworld.com>
To: freebsd-gnats-submit@FreeBSD.org, root@koellers.net
Cc:  
Subject: Re: pending/57056: libsm and libsmutil not installed -> fail of amavisd with milter
Date: Thu, 25 Sep 2003 20:23:52 +0100

 I'm not sure this is correct. Hacking out the -lsm references seems to do the 
 trick. I'm not sure how to do this correctly as I don't grok autoconf et al.
 
 The old version links thus
 
 hostname> ldd /usr/local/sbin/amavis-milter
 /usr/local/sbin/amavis-milter:
         libmilter.so.2 => /usr/lib/libmilter.so.2 (0x28068000)
         libc_r.so.4 => /usr/lib/libc_r.so.4 (0x28073000)
 

From: "Lars =?iso-8859-1?Q?K=F6ller?=" <Lars@koellers.net>
To: ian j hart <ianjhart@ntlworld.com>
Cc: freebsd-gnats-submit@FreeBSD.org, lkoeller@freebsd.org
Subject: Re: pending/57056: libsm and libsmutil not installed -> fail of amavisd with milter 
Date: Sun, 28 Sep 2003 13:17:27 +0200

 In reply to ian j hart who wrote:
 
 >I'm not sure this is correct. Hacking out the -lsm references seems to d=
 o the =
 
 >trick. I'm not sure how to do this correctly as I don't grok autoconf et=
  al.
 >
 >The old version links thus
 >
 >hostname> ldd /usr/local/sbin/amavis-milter
 >/usr/local/sbin/amavis-milter:
 >        libmilter.so.2 =3D> /usr/lib/libmilter.so.2 (0x28068000)
 >        libc_r.so.4 =3D> /usr/lib/libc_r.so.4 (0x28073000)
 >
 
 No that's not the solution! The libs are not installed in a =
 
 installworld, cause they are marked internal!
 
 I've checked on my 4.8-RELEASE system!
 
 There are no libs /usr/lib/libmilter.so.2 and /usr/lib/libsm.so.2 in my =
 
 system. I've to change the
 
 INTERNALLIB=3D            true
 
 in /usr/src/lib/libsm/Makefile and /usr/src/lib/libsmutil/Makefile to =
 
 fales to build amavisd!
 
 /usr/local/sbin/amavis-milter:
         libmilter.so.2 =3D> /usr/lib/libmilter.so.2 (0x28068000)
         libsm.so.2 =3D> /usr/lib/libsm.so.2 (0x28074000)
         libc_r.so.4 =3D> /usr/lib/libc_r.so.4 (0x2808c000)
 
 However libsmutil seems not to be linked.
 
 Regards
 
 Lars
 
 -- =
 
 Lars K=F6ller
 E-Mail: lars@koellers.net (LKoeller@FreeBSD.ORG)
 -------- FreeBSD, was sonst? ---- http://www.de.freebsd.org --------
 
 

From: ian j hart <ianjhart@ntlworld.com>
To: freebsd-gnats-submit@FreeBSD.org, root@koellers.net
Cc:  
Subject: Re: pending/57056: libsm and libsmutil not installed -> fail of amavisd with milter
Date: Tue, 30 Sep 2003 00:00:11 +0100

 gamma> uname -a
 FreeBSD gamma.private.lan 4.8-RELEASE-p10 FreeBSD 4.8-RELEASE-p10 #10: Mon Sep 29 20:34:21 BST 2003     ianjhart@gamma.private.lan:/usr/obj/usr/src/sys/GAMMA  i386
 gamma> ls -l /usr/lib/libmilter*
 -r--r--r--  1 root  wheel  47290 Sep 29 20:38 /usr/lib/libmilter.a
 lrwxr-xr-x  1 root  wheel     14 Sep 29 20:38 /usr/lib/libmilter.so -> libmilter.so.2
 -r--r--r--  1 root  wheel  35628 Sep 29 20:38 /usr/lib/libmilter.so.2
 -r--r--r--  1 root  wheel  50198 Sep 29 20:38 /usr/lib/libmilter_p.a
 
Responsible-Changed-From-To: gnats-admin->freebsd-ports-bugs 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Mon Sep 29 17:58:11 PDT 2003 
Responsible-Changed-Why:  
Fix category 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57056 

From: "Michael C. Shultz" <ringworm@inbox.lv>
To: freebsd-gnats-submit@FreeBSD.org, root@koellers.net
Cc:  
Subject: Re: ports/57056: libsm and libsmutil not installed -> fail of amavisda with milter
Date: Mon, 10 May 2004 16:36:38 -0700

 amavisd has a build dependency of -=> uvscan-4.32e_1 (security/vscan) which 
 has
 the following comment in it's Makefile:
 
 # misc/compat3x is forbidden, but if it is compiled into the system
 # we may still be good to go.
 
 vscan failed to build for me with the following error:
 
 >> Checksum OK for vbsd432e.tar.Z. ===>  Patching for uvscan-4.32e_1
 ===>	uvscan-4.32e_1 depends on shared library: c.3 - not found
 ===>	Verifying install for c.3 in /usr/ports/misc/compat3x
 ===>	compat3x-i386-4.4.20020925 is forbidden: FreeBSD-SA-03:05.xdr,
 	FreeBSD-SA-03:08.realpath  - not fixed / no lib available. *** Error
 	code 1
 
 Stop in /usr/ports/misc/compat3x.
 *** Error code 1
 
 Stop in /usr/ports/security/vscan.
 *** Error code 1
 
 Stop in /usr/ports/security/amavisd.
 
 To save someone else the trouble of trying to compile amavisd I am
 posting this information.
 
 -Mike
 
 
State-Changed-From-To: open->closed 
State-Changed-By: pav 
State-Changed-When: Sun May 30 04:34:02 PDT 2004 
State-Changed-Why:  
Fix committed. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=57056 
>Unformatted:
