From nobody@FreeBSD.org  Fri Nov  4 21:05:12 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id E1C241065675
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2011 21:05:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id D23798FC1E
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  4 Nov 2011 21:05:12 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id pA4L5Ce0059482
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 4 Nov 2011 21:05:12 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id pA4L5Cqw059481;
	Fri, 4 Nov 2011 21:05:12 GMT
	(envelope-from nobody)
Message-Id: <201111042105.pA4L5Cqw059481@red.freebsd.org>
Date: Fri, 4 Nov 2011 21:05:12 GMT
From: Martin von Gagern <Martin.vGagern@gmx.net>
To: freebsd-gnats-submit@FreeBSD.org
Subject: smartmontools should depend on libcam
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         162300
>Category:       ports
>Synopsis:       sysutils/smartmontools should depend on libcam
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Nov 04 21:10:09 UTC 2011
>Closed-Date:    Mon Nov 07 04:41:40 UTC 2011
>Last-Modified:  Mon Nov 07 04:41:40 UTC 2011
>Originator:     Martin von Gagern
>Release:        9.0-RC1
>Organization:
>Environment:
FreeBSD <HOSTNAME> 9.0-RC1 FreeBSD 9.0-RC1 #0: Tue Oct 18 18:51:43 UTC 2011   root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:
smartmontools, if installed using a binary package, will not run on 9.0-RC1:

Shared object "libcam.so.5" not found, required by "smartctl".

My first BSD install, my first bug report, so please forgive me if I'm missing something obvious here. But on my system, there is only libcam.so.6. And appaently there is no dependency at all in the port to indicate that a specific version of that library would be required.
>How-To-Repeat:
1. pkg_add smartmontools
2. smartctl --help
>Fix:
Install from source using port.

>Release-Note:
>Audit-Trail:

From: Glen Barber <glen.j.barber@gmail.com>
To: Martin von Gagern <Martin.vGagern@gmx.net>
Cc: freebsd-ports-bugs@FreeBSD.org, bug-followup@FreeBSD.org
Subject: Re: ports/162300: smartmontools should depend on libcam
Date: Fri, 04 Nov 2011 18:18:31 -0400

 Hi Martin,
 
 On 11/4/11 5:05 PM, Martin von Gagern wrote:
 > Description:
 > smartmontools, if installed using a binary package, will not run on 9.0-RC1:
 > 
 > Shared object "libcam.so.5" not found, required by "smartctl".
 > 
 > My first BSD install, my first bug report, so please forgive me if I'm missing something obvious here. But on my system, there is only libcam.so.6. And appaently there is no dependency at all in the port to indicate that a specific version of that library would be required.
 >> How-To-Repeat:
 > 1. pkg_add smartmontools
 > 2. smartctl --help
 >> Fix:
 > Install from source using port.
 > 
 
 This is due to a shared library bump that happened shortly after
 9.0-BETA2, after the package was created.  As you mention, it is not a
 problem when building from source, as smartctl links to libcam.so.6
 (which replaces libcam.so.5 in -BETA3 and later).
 
 This should be a non-issue once the packages for 9.0-RELEASE are built
 and the correct $PACKAGESITE for pkg_add(1) exists.
 
 Regards,
 
 -- 
 Glen Barber

From: Alex Samorukov <samm@os2.kiev.ua>
To: bug-followup@FreeBSD.org, Martin.vGagern@gmx.net
Cc:  
Subject: Re: ports/162300: sysutils/smartmontools should depend on libcam
Date: Sun, 06 Nov 2011 23:04:13 +0100

 Please kill this bogus PR. libcam is provided by system and binary 
 package is just outdated. This "bug" will be fixed automatically on 
 release by rebuilding all ports.
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Mon Nov 7 04:41:39 UTC 2011 
State-Changed-Why:  
close by maintainer request. 

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