From owner-freebsd-questions@FreeBSD.ORG Sat Mar 20 19:11:34 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 58A18106564A for ; Sat, 20 Mar 2010 19:11:34 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id D97738FC17 for ; Sat, 20 Mar 2010 19:11:33 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nt456-0005qW-Fp for freebsd-questions@freebsd.org; Sat, 20 Mar 2010 20:11:32 +0100 Received: from pool-68-239-65-75.res.east.verizon.net ([68.239.65.75]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 20:11:32 +0100 Received: from nightrecon by pool-68-239-65-75.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 20 Mar 2010 20:11:32 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Sat, 20 Mar 2010 15:11:06 -0400 Lines: 60 Message-ID: References: <99570.21512.qm@web111604.mail.gq1.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pool-68-239-65-75.res.east.verizon.net Subject: RE: How do I fix the broken python26 port in 7.2-RELEASE ? 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: Sat, 20 Mar 2010 19:11:34 -0000 George Sanders wrote: > > >> Virgin 7.2-RELEASE install. >> >> I run: >> >> csup -h cvsup4.freebsd.org -i ports/lang/python26 -g -L 2 >> /usr/share/examples/cvsup/ports-supfile > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> and now I have a /usr/ports/lang/python26/distinfo that looks like: >> >> MD5 (python/Python-2.6.4.tgz) = 17dcac33e4f3adb69a57c2607b6de246 >> SHA256 (python/Python-2.6.4.tgz) = >> 1a25a47506e4165704cfe2b07c0a064b0b5762a2d18b8fbdad5af688aeacd252 SIZE >> (python/Python-2.6.4.tgz) = 13322131 >> >> This looks like mine. >> >> Perfect. I'll just do a 'make install' and ... >> >> # make install >> ===> Vulnerability check disabled, database not found >> ===> Found saved configuration for python26-2.6.4 >> => Python-2.6.1.tgz is not in /usr/ports/lang/python26/distinfo. >> => Either /usr/ports/lang/python26/distinfo is out of date, or >> => Python-2.6.1.tgz is spelled incorrectly. >> *** Error code 1 >> >> This is the wrong distfile. > > > Ok, but as you can see from the paste above, I _do_ have the right > distfile in my /ports/lang/python26 directory. > > So where is it getting this wrong distfile from, and why is it using it ? > > I am NOT csup'ing and installing the port all in one operation - I am > doing two distinct things: > > 1. csup ONLY the python26 port And by doing this and not refreshing the entire ports tree you are trying to build with an out of date /usr/ports/Mk. With other ports which have dependencies this would become apparent much quicker. Since python26 does not, it would seem the bsd.python.mk thinks you should be trying to build python 2.6.1. > 2. make install the python26 port > > Why is this rocket science ? > Dunno - works for me. -Mike