From owner-freebsd-questions@FreeBSD.ORG Mon Jul 31 15:50:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3ACFB16A4DD for ; Mon, 31 Jul 2006 15:50:36 +0000 (UTC) (envelope-from freebsd.ph@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.FreeBSD.org (Postfix) with ESMTP id 43D3243D58 for ; Mon, 31 Jul 2006 15:50:29 +0000 (GMT) (envelope-from freebsd.ph@gmail.com) Received: by ug-out-1314.google.com with SMTP id m2so868182uge for ; Mon, 31 Jul 2006 08:50:29 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=uKT8ADrD7QJwlMOoSGchPW4MVKUYCawXDNWq9PgNrMCN3eWno4q99zsWqAAtPSdcRu5FRVq/Ep6J08qtsDt5ETHzx0KzqIJjci10qOUQ/h66Z2QXb1e3o0BmLtTqsCrfO53Aemx0FrOAYiZAsUPxU+XrIzy6WyzsMxjx/qpPmFw= Received: by 10.78.193.5 with SMTP id q5mr578012huf; Mon, 31 Jul 2006 08:50:28 -0700 (PDT) Received: by 10.78.141.18 with HTTP; Mon, 31 Jul 2006 08:50:28 -0700 (PDT) Message-ID: Date: Mon, 31 Jul 2006 23:50:28 +0800 From: "jan gestre" To: "Randy Pratt" , "FreeBSD Questions" In-Reply-To: MIME-Version: 1.0 References: <20060731112627.ae8377a7.bsd-unix@earthlink.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: portupgrade ruby package X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 31 Jul 2006 15:50:36 -0000 On 7/31/06, jan gestre wrote: > > > > On 7/31/06, Randy Pratt wrote: > > > > On Mon, 31 Jul 2006 23:07:39 +0800 > > "jan gestre" wrote: > > > > > hi guys, > > > > > > portaudit reperoted a vulnerability on the ruby package, so i did the > > > following: > > > > > > # cvsup -L 2 ports-supfile > > > # portsdb -Uu > > > # portupgrade -rR ruby > > > > > > but i encountered this error message, i can't upgrade ruby. > > > > > > ---> Upgrading ' ruby-1.8.4_8,1' to 'ruby-1.8.4_9,1' (lang/ruby18) > > > ---> Building '/usr/ports/lang/ruby18' > > > ===> Cleaning for ruby-1.8.4_9,1 > > > > > > NOTE: > > > You can enable pthread support by defining WITH_PTHREADS variable, > > > but not recommended since this might break some ruby apps. > > > > > > ===> ruby-1.8.4_9,1 has known vulnerabilities: > > > => ruby - multiple vulnerabilities. > > > Reference: < > > > > > http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html > > > > > > > => ruby - multiple vulnerabilities. > > > Reference: < > > > > > http://www.FreeBSD.org/ports/portaudit/76562594-1f19-11db-b7d4-0008743bf21a.html > > > > > > > => Please update your ports tree and try again. > > > *** Error code 1 > > > > > > Stop in /usr/ports/lang/ruby18. > > > ** Command failed [exit code 1]: /usr/bin/script -qa > > /tmp/portupgrade94211.0 > > > env PORT_UPGRADE=yes make PORT_UPGRADE=yes > > > ** Fix the problem and try again. > > > ---> Skipping 'databases/ruby-bdb' ( ruby18-bdb-0.5.9_2) because a > > requisite > > > package 'ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k to force) > > > ---> Skipping 'sysutils/portupgrade' (portupgrade-2.1.3.2_2,2) > > because a > > > requisite package ' ruby-1.8.4_8,1' (lang/ruby18) failed (specify -k > > to > > > force) > > > ** Listing the failed packages (*:skipped / !:failed) > > > ! lang/ruby18 (ruby-1.8.4_8,1) (unknown build error) > > > * databases/ruby-bdb ( ruby18-bdb-0.5.9_2) > > > * sysutils/portupgrade (portupgrade-2.1.3.2_2,2) > > > ---> Packages processed: 0 done, 0 ignored, 2 skipped and 1 failed > > > > > > any ideas on how to fix this? > > > > > > TIA > > > > > > > It may be that portaudit is preventing you from updating. You could > > try: > > portupgrade -Rr -m DISABLE_VULNERABILITIES="yes" ruby > > > > and see if that allows you to update. I use the > > -m DISABLE_VULNERABILITIES="yes" all the time for updating. > > > > HTH, > > > > Randy > > > > -- > > > i was able to upgrade the ruby package with the tip you provided but i > keep on getting the vulnerability warning from portaudit, is this ok? or do > i have to run cvsup and portsdb -Uu again to update the database? > i failed to mention this message when i did portsdb -Uu Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found gnome-config: not found Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdk-pixbuf-xlib-2.0' found "Makefile", line 24: warning: "pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0--cflags" returned non-zero status gnome-config: not found Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found gnome-config: not found Package gdk-pixbuf-xlib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gdk-pixbuf-xlib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gdk-pixbuf-xlib-2.0' found "Makefile", line 25: warning: "pkg-config gtk+-2.0 gdk-pixbuf-xlib-2.0--libs" returned non-zero status i don't run X but i did install xlib coz it was needed by one of the ports.