From ga9@buffy.york.ac.uk  Sat Jun 21 11:54:06 2008
Return-Path: <ga9@buffy.york.ac.uk>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id CDEC9106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2008 11:54:06 +0000 (UTC)
	(envelope-from ga9@buffy.york.ac.uk)
Received: from mail-gw2.york.ac.uk (mail-gw2.york.ac.uk [144.32.128.247])
	by mx1.freebsd.org (Postfix) with ESMTP id 2FA058FC0A
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2008 11:54:05 +0000 (UTC)
	(envelope-from ga9@buffy.york.ac.uk)
Received: from mail-gw7.york.ac.uk (mail-gw7.york.ac.uk [144.32.129.30])
	by mail-gw2.york.ac.uk (8.13.6/8.13.6) with ESMTP id m5LBs1kX026356
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2008 12:54:01 +0100 (BST)
Received: from buffy-128.york.ac.uk ([144.32.128.160] helo=buffy.york.ac.uk)
	by mail-gw7.york.ac.uk with esmtps (TLSv1:AES256-SHA:256)
	(Exim 4.63)
	(envelope-from <ga9@buffy.york.ac.uk>)
	id 1KA1fN-00077O-9y
	for FreeBSD-gnats-submit@freebsd.org; Sat, 21 Jun 2008 12:54:01 +0100
Received: from buffy.york.ac.uk (localhost [127.0.0.1])
	by buffy.york.ac.uk (8.14.2/8.14.2) with ESMTP id m5LBs1vH089427
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 21 Jun 2008 12:54:01 +0100 (BST)
	(envelope-from ga9@buffy.york.ac.uk)
Received: (from ga9@localhost)
	by buffy.york.ac.uk (8.14.2/8.14.2/Submit) id m5LBs15c089426;
	Sat, 21 Jun 2008 12:54:01 +0100 (BST)
	(envelope-from ga9)
Message-Id: <200806211154.m5LBs15c089426@buffy.york.ac.uk>
Date: Sat, 21 Jun 2008 12:54:01 +0100 (BST)
From: Gavin Atkinson <gavin@freebsd.org>
Reply-To: Gavin Atkinson <gavin@freebsd.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [patch] www/opera missing RUN_DEPENDS
X-Send-Pr-Version: 3.113
X-GNATS-Notify: freebsd-maintainer@opera.com

>Number:         124820
>Category:       ports
>Synopsis:       [patch] www/opera missing RUN_DEPENDS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    itetcu
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 21 12:00:10 UTC 2008
>Closed-Date:    Fri Jun 27 12:22:01 UTC 2008
>Last-Modified:  Fri Jun 27 12:22:01 UTC 2008
>Originator:     Gavin Atkinson
>Release:        FreeBSD 7.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD buffy.york.ac.uk 7.0-STABLE FreeBSD 7.0-STABLE #3: Fri Jun 20 09:21:51 UTC 2008 root@buffy.york.ac.uk:/usr/obj/usr/src/sys/GENERIC amd64

>Description:
	I've got a minimal i386 jail on my amd64 host, which I use to run Opera.
As a result, it has none of the Xorg ports installed.  In this environment,
installing Opera fails because it doesn't have the X libraries that it needs - as
these are not listed as rependencies in the Makefile.

>How-To-Repeat:
	[install clean i386 system]
	% cd /usr/ports/www/opera && make all install
	% setenv DISPLAY some.host.with.xorg:0
	% opera
	/usr/libexec/ld-elf.so.1: Shared object "libX11.so.6" not found, required by "opera"

>Fix:

--- opera-deps.diff begins here ---
--- Makefile.old	2008-06-06 15:07:05.000000000 +0100
+++ Makefile	2008-06-21 12:48:16.000000000 +0100
@@ -29,6 +29,10 @@
 MAINTAINER=	freebsd-maintainer@opera.com
 COMMENT=	A blazingly fast, full-featured, standards-compliant browser
 
+RUN_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/x11.pc:${PORTSDIR}/x11/libX11 \
+		${LOCALBASE}/libdata/pkgconfig/xext.pc:${PORTSDIR}/x11/libXext \
+		${LOCALBASE}/libdata/pkgconfig/sm.pc:${PORTSDIR}/x11/libSM
+
 OPERA_VER=	9.27
 OPERA_MINVER=
 OPERA_REL=	final
--- opera-deps.diff ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->itetcu 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sat Jun 21 12:00:19 UTC 2008 
Responsible-Changed-Why:  
itetcu@ wants this port PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124820 
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Sat Jun 21 12:00:22 UTC 2008 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

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

From: Edwin Groothuis <edwin@FreeBSD.org>
To: freebsd-maintainer@opera.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/124820: [patch] www/opera missing RUN_DEPENDS
Date: Sat, 21 Jun 2008 12:00:21 UT

 Maintainer of www/opera,
 
 Please note that PR ports/124820 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/124820
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Gavin Atkinson <gavin@FreeBSD.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124820: [patch] www/opera missing RUN_DEPENDS
Date: Sat, 21 Jun 2008 13:27:33 +0100 (BST)

 A correction:  I actually installed opera through "pkg_add -r opera" - 
 there is every possibility that building from /usr/ports will not 
 demonstrate the same flaw, as other dependencies may well have 
 BUILD_DEPENDS on the required packages.
 
 It would be even better if opera was available natively for amd64 :)
State-Changed-From-To: feedback->open 
State-Changed-By: itetcu 
State-Changed-When: Wed Jun 25 18:11:30 UTC 2008 
State-Changed-Why:  
New version of the port committed 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124820 
State-Changed-From-To: open->feedback 
State-Changed-By: itetcu 
State-Changed-When: Wed Jun 25 18:11:39 UTC 2008 
State-Changed-Why:  
Is still a problem with the new version of the port? 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124820 
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Fri Jun 27 12:20:26 UTC 2008 
State-Changed-Why:  
t does not seem to be an issue with the new version of Opera. 
Although I'll have to wait for the official packages to be certain, 
an unofficial package set that I've just built seems to have the 
correct dependancies listed - the three missing from the previous 
version are now listed.  Thanks! 

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