From owner-freebsd-ruby@FreeBSD.ORG Mon Dec 28 11:08:27 2009 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 96E7A10656BB for ; Mon, 28 Dec 2009 11:08:27 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6D1098FC15 for ; Mon, 28 Dec 2009 11:08:27 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id nBSB8RpY080796 for ; Mon, 28 Dec 2009 11:08:27 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id nBSB8QoF080794 for ruby@FreeBSD.org; Mon, 28 Dec 2009 11:08:26 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 28 Dec 2009 11:08:26 GMT Message-Id: <200912281108.nBSB8QoF080794@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: ruby@FreeBSD.org Cc: Subject: Current problem reports assigned to ruby@FreeBSD.org X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 11:08:27 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o ports/141183 ruby ports/japanese/ruby-chasen update s ports/140880 ruby ports-mgmt/portupgrade: portversion confused with ezm3 o ports/140364 ruby ports-mgmt/portupgrade-devel: #! line substitution is o ports/140273 ruby ports-mgmt/portupgrade-devel chokes on bsdpan pkgs o ports/140008 ruby ports-mgmt/portupgrade: many papercut omissions on por o ports/138796 ruby [patch] - update converters/ruby-lv o ports/137958 ruby ports-mgmt/portupgrade fails with recursive dependency o ports/137708 ruby ports-mgmt/portupgrade: portupgrade -cRn is broken s ports/134714 ruby ports-mgmt/portupgrade deletes user data without quest o ports/134182 ruby ports-mgmt/portupgrade incorrectly handles manual reje o ports/131111 ruby ports-mgmt/portupgrade-devel: completely removes packa o ports/129930 ruby ports-mgmt/portupgrade - portinstall tries to install o ports/129891 ruby ports-mgmt/portupgrade fails to recognize variations o o ports/128881 ruby ports-mgmt/portupgrade backtrace o ports/127889 ruby ports-mgmt/portupgrade detects spurious failures and s o ports/127019 ruby ports-mgmt/portupgrade does not recognize fail conditi o ports/126140 ruby ports-mgmt/portupgrade runtime error o ports/125936 ruby ports-mgmt/portupgrade -R fails if BUILD_DEP's are not o ports/112818 ruby ports-mgmt/portupgrade -a fails with database error 19 problems total. From owner-freebsd-ruby@FreeBSD.ORG Wed Dec 30 08:08:14 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D4773106568F for ; Wed, 30 Dec 2009 08:08:14 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 6D33B8FC1A for ; Wed, 30 Dec 2009 08:08:21 +0000 (UTC) Received: by iwn36 with SMTP id 36so7987829iwn.3 for ; Wed, 30 Dec 2009 00:08:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:content-type :content-transfer-encoding:subject:date:message-id:to:mime-version :x-mailer; bh=Ep9hXP1RJLvtTFDUW8mu829EEzb6KZoaPqwuKMIxo94=; b=QyAWK9HADVdhcJ6Y1+IGJhjl9qrUH261dDMjtnz6FqGakHIomihDP+Srz4YNo3T++8 +oxkIuVpyhGWX7NlEZpcng5CAfbJnPSUxyh956PVfLMiXOuC9cQRSCcxm1NwUQKy+f2h +zTT+ondsw5lTRTYY+tSun6VKWECiVq3emO1U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=sZLb7TL0GXYbi6Wwm3OPBx/OmhQ4NnPBjcVdFRDnRTvovCn9kdABji1rAclEOWu3yQ Ri1bmHbXibKvzKHcQgloAIEo9e/oQjtlpZt0eyUrvQ3C7UCjldMKYrcTt8iuQmZ7Q2VO wowbtnM2u/fW+yud8fSPaC6/r4ZUo5SF5v8xE= Received: by 10.231.123.41 with SMTP id n41mr333704ibr.46.1262159058559; Tue, 29 Dec 2009 23:44:18 -0800 (PST) Received: from ?192.168.1.4? (c-71-196-193-228.hsd1.co.comcast.net [71.196.193.228]) by mx.google.com with ESMTPS id 21sm12563159iwn.2.2009.12.29.23.44.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 29 Dec 2009 23:44:17 -0800 (PST) From: James Harrison Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Wed, 30 Dec 2009 00:43:35 -0700 Message-Id: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> To: ruby@freebsd.org Mime-Version: 1.0 (Apple Message framework v1077) X-Mailer: Apple Mail (2.1077) Cc: Subject: confirm bug still exists? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 08:08:15 -0000 http://www.freebsd.org/cgi/query-pr.cgi?pr=3D112818&cat=3D I have an NFS server, /etc/exports reads: [root@centos ~]# cat /etc/exports=20 /home/james/portsold 172.16.128.133(rw) I mount it on my FreeBSD box: [root@server /usr]# mv ports portsold [root@server /usr]# mkdir ports [root@server /usr]# mount 172.16.128.137:/home/james/portsold ports [root@server /usr]# ls -l | grep ports drwxr-xr-x 69 500 500 4096 Dec 30 07:22 ports On the FreeBSD server: drwxr-xr-x 69 james james 4096 Dec 29 2009 portsold Using portupgrade-devel: [root@server /usr]# portupgrade -a [Updating the portsdb in /var/db/pkg ... - 21055 port = entries found = .........1000.........2000.........3000.........4000.........5000.........= 6000.........7000.........8000.........9000.........10000.........11000...= ......12000.........13000.........14000.........15000.........16000.......= ..17000.........18000.........19000.........20000.........21000 ..... = done] ---> Upgrading 'mysql-client-5.0.88' to 'mysql-client-5.0.89' = (databases/mysql50-client) ---> Building '/usr/ports/databases/mysql50-client' ...etc, etc, etc. The /usr/ports directory isn't writeable: [root@server /]# portsnap fetch update Looking up us.portsnap.FreeBSD.org mirrors... 2 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Updating from Tue Dec 29 22:20:49 UTC 2009 to Wed Dec 30 05:02:19 UTC = 2009. Fetching 4 metadata patches... done. Applying metadata patches... done. Fetching 0 metadata files... done. Fetching 2 patches.. done. Applying patches... done. Fetching 0 new ports or files... done. portsnap: Directory is not writable: /usr/ports [root@server /]# cd usr/ports [root@server /usr/ports]# touch something touch: something: Permission denied However, it's true that I did do a little hinkying around to get stuff = to partially build with an NFS mounted directory. Anybody able to confirm that the bug still exists as described in the = PR? James= From owner-freebsd-ruby@FreeBSD.ORG Wed Dec 30 08:22:45 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1C53C106568D for ; Wed, 30 Dec 2009 08:22:45 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from mx0.deglitch.com (backbone.deglitch.com [IPv6:2001:16d8:fffb:4::abba]) by mx1.freebsd.org (Postfix) with ESMTP id A7B088FC26 for ; Wed, 30 Dec 2009 08:22:51 +0000 (UTC) Received: from sputnik.SpringDaemons.com (c-71-198-20-159.hsd1.ca.comcast.net [71.198.20.159]) by mx0.deglitch.com (Postfix) with ESMTPA id 316D38FC4E; Wed, 30 Dec 2009 11:22:49 +0300 (MSK) Received: from sputnik.SpringDaemons.com (localhost [127.0.0.1]) by sputnik.SpringDaemons.com (Postfix) with SMTP id 4FBF8B871; Wed, 30 Dec 2009 00:26:26 -0800 (PST) Date: Wed, 30 Dec 2009 00:26:26 -0800 From: Stanislav Sedov To: James Harrison Message-Id: <20091230002626.1d77a3b8.stas@FreeBSD.org> In-Reply-To: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> References: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: ruby@freebsd.org Subject: Re: confirm bug still exists? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 08:22:45 -0000 On Wed, 30 Dec 2009 00:43:35 -0700 James Harrison mentioned: > http://www.freebsd.org/cgi/query-pr.cgi?pr=112818&cat= > > I have an NFS server, /etc/exports reads: > > [root@centos ~]# cat /etc/exports > /home/james/portsold 172.16.128.133(rw) > > > I mount it on my FreeBSD box: > > [root@server /usr]# mv ports portsold > [root@server /usr]# mkdir ports > [root@server /usr]# mount 172.16.128.137:/home/james/portsold ports > [root@server /usr]# ls -l | grep ports > drwxr-xr-x 69 500 500 4096 Dec 30 07:22 ports > > On the FreeBSD server: > > drwxr-xr-x 69 james james 4096 Dec 29 2009 portsold > > > Using portupgrade-devel: > > [root@server /usr]# portupgrade -a > [Updating the portsdb in /var/db/pkg ... - 21055 port entries found ..........1000.........2000.........3000.........4000.........5000.........6000.........7000.........8000.........9000.........10000.........11000..........12000.........13000.........14000.........15000.........16000..........17000.........18000.........19000.........20000.........21000 ..... done] > ---> Upgrading 'mysql-client-5.0.88' to 'mysql-client-5.0.89' (databases/mysql50-client) > ---> Building '/usr/ports/databases/mysql50-client' > > > ...etc, etc, etc. > > The /usr/ports directory isn't writeable: > > [root@server /]# portsnap fetch update > Looking up us.portsnap.FreeBSD.org mirrors... 2 mirrors found. > Fetching snapshot tag from portsnap1.FreeBSD.org... done. > Fetching snapshot metadata... done. > Updating from Tue Dec 29 22:20:49 UTC 2009 to Wed Dec 30 05:02:19 UTC 2009. > Fetching 4 metadata patches... done. > Applying metadata patches... done. > Fetching 0 metadata files... done. > Fetching 2 patches.. done. > Applying patches... done. > Fetching 0 new ports or files... done. > portsnap: Directory is not writable: /usr/ports > [root@server /]# cd usr/ports > [root@server /usr/ports]# touch something > touch: something: Permission denied > > > However, it's true that I did do a little hinkying around to get stuff to partially build with an NFS mounted directory. > > Anybody able to confirm that the bug still exists as described in the PR? > Hi! I can't see how this refers to the PR you're pointing too? The problem described in PR was due to portupgrade creating database files with wrong permissions, which was fixed in portupgrade-devel. Your problem seems to be irrelevant to portupgrade at all, or am I missing something? On the side not, please, show the output of mount command and ls -la /usr/ports on the server, which mounts that directory via NFS. I suspect there's something wrong here. -- Stanislav Sedov ST4096-RIPE From owner-freebsd-ruby@FreeBSD.ORG Wed Dec 30 13:12:05 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 755C4106566C for ; Wed, 30 Dec 2009 13:12:05 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 372A38FC1E for ; Wed, 30 Dec 2009 13:12:05 +0000 (UTC) Received: by iwn36 with SMTP id 36so8083471iwn.3 for ; Wed, 30 Dec 2009 05:11:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=up2xmVPKumEXM3M6bCd+OZUckapNFgk1ZkrQWtVw3z0=; b=Pnz2MZRtw+fGQwptaPhkIixmHI99UUcbT5rDCqSsPFSUEP71fUaHiP5SJHfIsMQ+YY pwDICCfoVW7GQ1xrlJxvvBdSPh00NDyKaFEebhC9zM8TATpI92eCCYo2DyoJseoNgXjC Lw1f2Qk7RX8u9CrS7W0o1PlD1wQqKM+oDiJKU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=ugpLgnQgXmtTtCAM/ScYUhmel5RR0WS/Rxx8Y6yTXHC9qvQGEDrrt0jZyOZU6hbBfl TRa5f0izvqkD5//kvMQ79JfyLTlWIijMZ6bn8jLGB9brmtMrSUYQchWDnVmBWwjhM/W0 3BFE2cJ+E7G88AdzVXoit4WlgsKdQJVaoTSjY= Received: by 10.231.21.157 with SMTP id j29mr2211461ibb.28.1262178719708; Wed, 30 Dec 2009 05:11:59 -0800 (PST) Received: from ?192.168.1.4? (c-71-196-193-228.hsd1.co.comcast.net [71.196.193.228]) by mx.google.com with ESMTPS id 20sm12825837iwn.13.2009.12.30.05.11.57 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 05:11:58 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: James Harrison In-Reply-To: <20091230002626.1d77a3b8.stas@FreeBSD.org> Date: Wed, 30 Dec 2009 06:11:55 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <7397BEE9-C5E2-4508-AD41-722EDDAA4044@gmail.com> <20091230002626.1d77a3b8.stas@FreeBSD.org> To: Stanislav Sedov X-Mailer: Apple Mail (2.1077) Cc: ruby@freebsd.org Subject: Re: confirm bug still exists? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 13:12:05 -0000 On Dec 30, 2009, at 1:26 AM 12/30/09, Stanislav Sedov wrote: > On Wed, 30 Dec 2009 00:43:35 -0700 > James Harrison mentioned: >=20 >> http://www.freebsd.org/cgi/query-pr.cgi?pr=3D112818&cat=3D >>=20 >> I have an NFS server, /etc/exports reads: >>=20 >> [root@centos ~]# cat /etc/exports=20 >> /home/james/portsold 172.16.128.133(rw) >>=20 >>=20 >> I mount it on my FreeBSD box: >>=20 >> [root@server /usr]# mv ports portsold >> [root@server /usr]# mkdir ports >> [root@server /usr]# mount 172.16.128.137:/home/james/portsold ports >> [root@server /usr]# ls -l | grep ports >> drwxr-xr-x 69 500 500 4096 Dec 30 07:22 ports >>=20 >> On the FreeBSD server: >>=20 >> drwxr-xr-x 69 james james 4096 Dec 29 2009 portsold >>=20 >>=20 >> Using portupgrade-devel: >>=20 >> [root@server /usr]# portupgrade -a >> [Updating the portsdb in /var/db/pkg ... - 21055 = port entries found = ..........1000.........2000.........3000.........4000.........5000........= .6000.........7000.........8000.........9000.........10000.........11000..= ........12000.........13000.........14000.........15000.........16000.....= .....17000.........18000.........19000.........20000.........21000 ..... = done] >> ---> Upgrading 'mysql-client-5.0.88' to 'mysql-client-5.0.89' = (databases/mysql50-client) >> ---> Building '/usr/ports/databases/mysql50-client' >>=20 >>=20 >> ...etc, etc, etc. >>=20 >> The /usr/ports directory isn't writeable: >>=20 >> [root@server /]# portsnap fetch update >> Looking up us.portsnap.FreeBSD.org mirrors... 2 mirrors found. >> Fetching snapshot tag from portsnap1.FreeBSD.org... done. >> Fetching snapshot metadata... done. >> Updating from Tue Dec 29 22:20:49 UTC 2009 to Wed Dec 30 05:02:19 UTC = 2009. >> Fetching 4 metadata patches... done. >> Applying metadata patches... done. >> Fetching 0 metadata files... done. >> Fetching 2 patches.. done. >> Applying patches... done. >> Fetching 0 new ports or files... done. >> portsnap: Directory is not writable: /usr/ports >> [root@server /]# cd usr/ports >> [root@server /usr/ports]# touch something >> touch: something: Permission denied >>=20 >>=20 >> However, it's true that I did do a little hinkying around to get = stuff to partially build with an NFS mounted directory. >>=20 >> Anybody able to confirm that the bug still exists as described in the = PR? >>=20 >=20 > Hi! >=20 > I can't see how this refers to the PR you're pointing too? The PR starts out that way, but devolves into this: <---snip---> "You are right: root could not write into $PORTSDIR even though it = looked as it should, but NFS root squashing hit even though the directory had group wheel and was group-writeable. Making $PORTSDIR world writable addressed this. So I guess this mainly leaves the question how we can improve the = failure mode here?" <---/snip---> I was trying to reproduce the NFS root squashing to reproduce the = failure mode, then I could implement: <---snip---> "1. Change "Fetching the ports index ... index file directory=20 /sw/test/FreeBSD/ports not writable!" to "Fetching the ports index ... directory /sw/test/FreeBSD/ports not=20 writable; consider setting INDEXDIR." 2. Abort portupgrade at that point, instead of running into problems later on and issuing a Ruby backtrace. <---/snip---> And a little later, teh following is added: <---snip---> 3. portupgrade ignores INDEXDIR. <---/snip---> > The problem described in PR was due to portupgrade creating > database files with wrong permissions, which was fixed in > portupgrade-devel. Your problem seems to be irrelevant to > portupgrade at all, or am I missing something? >=20 The discussion gets into the whole NFS root squash thing giving the = impression of lousy permissions and whatnot., then asks for a change in = how portupgrade fails. > On the side not, please, show the output of mount command > and ls -la /usr/ports on the server, which mounts that directory > via NFS. I suspect there's something wrong here. Not sure if this'll help any longer, but for completeness' sake: [root@server /usr/ports]# ls -la /usr/ports total 60878 drwxr-xr-x 69 500 500 4096 Dec 30 07:22 . drwxr-xr-x 19 root wheel 512 Dec 30 07:35 .. -rw-r--r-- 1 500 500 19 Jul 14 1997 .cvsignore -rw-r--r-- 1 500 500 1801734 Dec 30 01:37 .portsnap.INDEX -rw-r--r-- 1 500 500 56245 Dec 25 18:27 CHANGES -rw-r--r-- 1 500 500 1499 Jan 1 2009 COPYRIGHT -rw-r--r-- 1 500 500 2215 Dec 28 11:38 GIDs -rw-r--r-- 1 500 500 17370624 Dec 30 01:38 INDEX-5 -rw-r--r-- 1 500 500 20583212 Dec 30 01:38 INDEX-6 -rw-r--r-- 1 500 500 20544533 Dec 30 01:38 INDEX-7 -rw-r--r-- 1 500 500 4566 Oct 1 17:14 KNOBS -rw-r--r-- 1 500 500 33774 Nov 23 19:18 LEGAL -rw-r--r-- 1 500 500 318269 Dec 26 10:26 MOVED -rw-r--r-- 1 500 500 6018 Dec 18 14:28 Makefile drwxr-xr-x 2 500 500 4096 Dec 30 01:25 Mk -rw-r--r-- 1 500 500 1298 May 22 2006 README drwxr-xr-x 2 500 500 4096 Dec 30 01:25 Templates drwxr-xr-x 4 500 500 4096 Dec 30 01:25 Tools -rw-r--r-- 1 500 500 11362 Dec 28 11:38 UIDs -rw-r--r-- 1 500 500 312890 Dec 27 14:27 UPDATING drwxr-xr-x 27 500 500 4096 Dec 30 01:25 accessibility drwxr-xr-x 12 500 500 4096 Dec 30 01:25 arabic drwxr-xr-x 191 500 500 4096 Dec 30 01:25 archivers drwxr-xr-x 110 500 500 4096 Dec 30 01:25 astro drwxr-xr-x 845 500 500 28672 Dec 30 01:25 audio drwxr-xr-x 66 500 500 4096 Dec 30 01:25 benchmarks drwxr-xr-x 99 500 500 4096 Dec 30 01:25 biology drwxr-xr-x 86 500 500 4096 Dec 30 01:25 cad drwxr-xr-x 143 500 500 4096 Dec 30 01:26 chinese drwxr-xr-x 161 500 500 4096 Dec 30 01:26 comms drwxr-xr-x 132 500 500 4096 Dec 30 01:26 converters drwxr-xr-x 701 500 500 28672 Dec 30 01:26 databases drwxr-xr-x 283 500 500 12288 Dec 30 01:26 deskutils drwxr-xr-x 3044 500 500 98304 Dec 30 01:27 devel drwxr-xr-x 2 root wheel 4096 Dec 30 07:19 distfiles drwxr-xr-x 142 500 500 4096 Dec 30 01:27 dns drwxr-xr-x 269 500 500 12288 Dec 30 01:27 editors drwxr-xr-x 208 500 500 4096 Dec 30 01:27 emulators drwxr-xr-x 89 500 500 4096 Dec 30 01:27 finance drwxr-xr-x 31 500 500 4096 Dec 30 01:27 french drwxr-xr-x 121 500 500 4096 Dec 30 01:27 ftp drwxr-xr-x 1073 500 500 36864 Dec 30 01:28 games drwxr-xr-x 44 500 500 4096 Dec 30 01:28 german drwxr-xr-x 978 500 500 36864 Dec 30 01:28 graphics drwxr-xr-x 10 500 500 4096 Dec 30 01:28 hebrew drwxr-xr-x 12 500 500 4096 Dec 30 01:28 hungarian drwxr-xr-x 145 500 500 4096 Dec 30 01:28 irc drwxr-xr-x 385 500 500 12288 Dec 30 01:28 japanese drwxr-xr-x 164 500 500 4096 Dec 30 01:28 java drwxr-xr-x 61 500 500 4096 Dec 30 01:28 korean drwxr-xr-x 371 500 500 12288 Dec 30 01:28 lang drwxr-xr-x 737 500 500 24576 Dec 30 01:29 mail drwxr-xr-x 527 500 500 20480 Dec 30 01:29 math drwxr-xr-x 15 500 500 4096 Dec 30 01:29 mbone drwxr-xr-x 560 500 500 20480 Dec 30 01:29 misc drwxr-xr-x 320 500 500 12288 Dec 30 01:29 multimedia drwxr-xr-x 1120 500 500 36864 Dec 30 01:30 net drwxr-xr-x 169 500 500 4096 Dec 30 01:29 net-im drwxr-xr-x 284 500 500 12288 Dec 30 01:29 net-mgmt drwxr-xr-x 139 500 500 4096 Dec 30 01:29 net-p2p drwxr-xr-x 105 500 500 4096 Dec 30 01:30 news drwxr-xr-x 44 500 500 4096 Dec 30 01:30 palm drwxr-xr-x 23 500 500 4096 Dec 30 01:30 polish drwxr-xr-x 66 500 500 4096 Dec 30 01:30 ports-mgmt drwxr-xr-x 19 500 500 4096 Dec 30 01:30 portuguese drwxr-xr-x 350 500 500 12288 Dec 30 01:30 print drwxr-xr-x 45 500 500 4096 Dec 30 01:30 russian drwxr-xr-x 135 500 500 4096 Dec 30 01:30 science drwxr-xr-x 869 500 500 28672 Dec 30 01:32 security drwxr-xr-x 46 500 500 4096 Dec 30 01:32 shells drwxr-xr-x 927 500 500 28672 Dec 30 01:33 sysutils drwxr-xr-x 1249 500 500 45056 Dec 30 01:34 textproc drwxr-xr-x 12 500 500 4096 Dec 30 01:34 ukrainian drwxr-xr-x 23 500 500 4096 Dec 30 01:34 vietnamese drwxr-xr-x 1884 500 500 69632 Dec 30 01:36 www drwxr-xr-x 499 500 500 20480 Dec 30 01:37 x11 drwxr-xr-x 65 500 500 4096 Dec 30 01:36 x11-clocks drwxr-xr-x 70 500 500 4096 Dec 30 01:36 x11-drivers drwxr-xr-x 46 500 500 4096 Dec 30 01:36 x11-fm drwxr-xr-x 146 500 500 4096 Dec 30 01:36 x11-fonts drwxr-xr-x 12 500 500 4096 Dec 30 01:36 x11-servers drwxr-xr-x 218 500 500 12288 Dec 30 01:36 x11-themes drwxr-xr-x 319 500 500 12288 Dec 30 01:36 x11-toolkits drwxr-xr-x 146 500 500 4096 Dec 30 01:36 x11-wm From owner-freebsd-ruby@FreeBSD.ORG Wed Dec 30 17:16:08 2009 Return-Path: Delivered-To: ruby@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 243231065692 for ; Wed, 30 Dec 2009 17:16:08 +0000 (UTC) (envelope-from wayne@manor.msen.com) Received: from manor.msen.com (manor.msen.com [148.59.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id B26448FC18 for ; Wed, 30 Dec 2009 17:16:07 +0000 (UTC) Received: from manor.msen.com (localhost [127.0.0.1]) by manor.msen.com (8.12.11/8.12.11) with ESMTP id nBUGmxuf088859 for ; Wed, 30 Dec 2009 11:48:59 -0500 (EST) (envelope-from wayne@manor.msen.com) Received: (from wayne@localhost) by manor.msen.com (8.12.11/8.12.11/Submit) id nBUGmwcS088858 for ruby@FreeBSD.org; Wed, 30 Dec 2009 11:48:58 -0500 (EST) (envelope-from wayne) Date: Wed, 30 Dec 2009 11:48:58 -0500 From: "Michael R. Wayne" To: ruby@FreeBSD.org Message-ID: <20091230164858.GI23001@manor.msen.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Cc: Subject: portupgrade not finding ports? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Dec 2009 17:16:08 -0000 I've seen this a few times, just curious why it's failing on just the port name? Didn't seem worth a PR... /\/\ \/\/ 380> sudo portinstall --fetch-only --upward-recursive apache22 ** No such package or port: apache22 381> sudo portinstall --fetch-only --upward-recursive www/apache22 [Gathering depends for www/apache22 ..................... done] (works) From owner-freebsd-ruby@FreeBSD.ORG Thu Dec 31 05:24:13 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 499351065670 for ; Thu, 31 Dec 2009 05:24:13 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 0BA6D8FC08 for ; Thu, 31 Dec 2009 05:24:12 +0000 (UTC) Received: by iwn36 with SMTP id 36so8498326iwn.3 for ; Wed, 30 Dec 2009 21:24:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=t9cpXvbHg9WxQ1uf9mLoDJ7Nx7Fz3bYQc2MXU1BH6Oo=; b=XgN8N5PysnaOyHFogVk4lQH83eDAgE1x8wI8dkmrelWAjxmo6oFCGA8cqPA4cTjBoh O3RQcZ3vf9vuruUdVF+TKfYsk7G1SJvJCtz50c9MgNMKB3kqNMMKw17Qt1tLrIJBcJq5 bc+ZCF2AbhFtahV/ZBXXlN5WmAfypiTWlco6I= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=BFE+lRRBKX3598fLfD1AsyoxyHTZ1AEVJpeyzhK3bAebcxyXvh2zpmMMM838/4343c znK8MVx32uXf4D27iLj7g6P+ni/JBLlqoKgTmTYH8zVkQOFCoXEz3Hw+SQlQIVhsSYoS 8EtX2P3UErEZiuYEF0kPuwsTat8iXmDFp+D8A= Received: by 10.231.147.210 with SMTP id m18mr1794941ibv.48.1262237042111; Wed, 30 Dec 2009 21:24:02 -0800 (PST) Received: from ?192.168.1.4? (c-71-196-193-228.hsd1.co.comcast.net [71.196.193.228]) by mx.google.com with ESMTPS id 23sm13319716iwn.3.2009.12.30.21.24.00 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 21:24:00 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: James Harrison In-Reply-To: <20091230164858.GI23001@manor.msen.com> Date: Wed, 30 Dec 2009 22:23:57 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091230164858.GI23001@manor.msen.com> To: Michael R. Wayne X-Mailer: Apple Mail (2.1077) Cc: ruby@FreeBSD.org Subject: Re: portupgrade not finding ports? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 05:24:13 -0000 On Dec 30, 2009, at 9:48 AM 12/30/09, Michael R. Wayne wrote: >=20 > I've seen this a few times, just curious why it's failing on just > the port name? Didn't seem worth a PR... >=20 > /\/\ \/\/ >=20 > 380> sudo portinstall --fetch-only --upward-recursive apache22 > ** No such package or port: apache22 >=20 > 381> sudo portinstall --fetch-only --upward-recursive www/apache22 > [Gathering depends for www/apache22 ..................... done] >=20 > (works) I'm completely new to looking at portupgrade, so don't take my word for = anything. That said, I took a look into this and I saw that the method generating = the error begins with: if $portsdb.exist?(arg) So I looked around and found out what class portsdb is an instance of, = then read the exist? method: def exist?(port, quick =3D false) return if %r"^[^/]+/[^/]+$" !~ port dir =3D portdir(port) return false if not File.file?(File.join(dir, 'Makefile')) return true if quick make_var('PKGNAME', dir) || false end So, either the regex isn't matching (my regexfu is weak, so I'm working = on parsing the regex in my head, which is slow going), or the make_var = method is failing, or there's no Makefile for apache22. A quick look in www/apache22 reveals that the Makefile exists happily, = so that's not the issue. That's what I've discovered so far. James= From owner-freebsd-ruby@FreeBSD.ORG Thu Dec 31 06:03:41 2009 Return-Path: Delivered-To: ruby@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9722E106566C for ; Thu, 31 Dec 2009 06:03:41 +0000 (UTC) (envelope-from oscartheduck@gmail.com) Received: from mail-iw0-f198.google.com (mail-iw0-f198.google.com [209.85.223.198]) by mx1.freebsd.org (Postfix) with ESMTP id 5772A8FC13 for ; Thu, 31 Dec 2009 06:03:41 +0000 (UTC) Received: by iwn36 with SMTP id 36so8510784iwn.3 for ; Wed, 30 Dec 2009 22:03:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=NFrdTDajUh1E7jlpGVfE+wTvsRSICBzL4VEbsG9nfGI=; b=Rg8c6eGZrd8DoN0PmYWcziU4ycISOJwhwwKna0RSY8SXFBvMSjXj/agI3uBsQPv2pv fcc569AXwq2xp3pJ+IhlY482CN3Fp5iUIdl99tOC0EiiAG36D1Fvg4t2tmsGxfRb6xDD CfJSBawkOrSh602VUJZZNOP6fY57Ugv4ikQtQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=eZZOllrdBzv1sarlRm4m/uqKrp3mN01tSpZ+8fb1UA+xeZOmbTnekl5TsbEPQc7i4+ 0c5X2EAuBkaqFSGNKJCh35j7zyxkgFfWlh1nSFOS+9GXHSTbCIxvZqlm6NNSn1uFDFkz 5B1TsTn4ChMC64IrCEhQcT8G9gN3WGesLjViU= Received: by 10.231.153.213 with SMTP id l21mr448059ibw.24.1262239411474; Wed, 30 Dec 2009 22:03:31 -0800 (PST) Received: from ?192.168.1.4? (c-71-196-193-228.hsd1.co.comcast.net [71.196.193.228]) by mx.google.com with ESMTPS id 22sm13476524iwn.12.2009.12.30.22.03.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 30 Dec 2009 22:03:30 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v1077) Content-Type: text/plain; charset=us-ascii From: James Harrison In-Reply-To: Date: Wed, 30 Dec 2009 23:03:27 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20091230164858.GI23001@manor.msen.com> To: James Harrison X-Mailer: Apple Mail (2.1077) Cc: ruby@FreeBSD.org, "Michael R. Wayne" Subject: Re: portupgrade not finding ports? X-BeenThere: freebsd-ruby@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD-specific Ruby discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Dec 2009 06:03:41 -0000 On Dec 30, 2009, at 10:23 PM 12/30/09, James Harrison wrote: >=20 > On Dec 30, 2009, at 9:48 AM 12/30/09, Michael R. Wayne wrote: >=20 >>=20 >> I've seen this a few times, just curious why it's failing on just >> the port name? Didn't seem worth a PR... >>=20 >> /\/\ \/\/ >>=20 >> 380> sudo portinstall --fetch-only --upward-recursive apache22 >> ** No such package or port: apache22 >>=20 >> 381> sudo portinstall --fetch-only --upward-recursive www/apache22 >> [Gathering depends for www/apache22 ..................... done] >>=20 >> (works) >=20 > I'm completely new to looking at portupgrade, so don't take my word = for anything. >=20 > That said, I took a look into this and I saw that the method = generating the error begins with: >=20 > if $portsdb.exist?(arg) >=20 > So I looked around and found out what class portsdb is an instance of, = then read the exist? method: >=20 > def exist?(port, quick =3D false) > return if %r"^[^/]+/[^/]+$" !~ port >=20 > dir =3D portdir(port) >=20 > return false if not File.file?(File.join(dir, 'Makefile')) >=20 > return true if quick >=20 > make_var('PKGNAME', dir) || false > end >=20 > So, either the regex isn't matching (my regexfu is weak, so I'm = working on parsing the regex in my head, which is slow going), or the = make_var method is failing, or there's no Makefile for apache22. >=20 > A quick look in www/apache22 reveals that the Makefile exists happily, = so that's not the issue. >=20 > That's what I've discovered so far. >=20 > James Re-reading the above, it looks like it shouldn't be the regex that's = returning false, as it has no boolean associated with its return. = Leaving the make_var method. Time for more researchings...