From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 00:10:31 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 24A197F0 for ; Sun, 21 Sep 2014 00:10:31 +0000 (UTC) Received: from nm17-vm1.bullet.mail.bf1.yahoo.com (nm17-vm1.bullet.mail.bf1.yahoo.com [98.139.213.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C1B8EC13 for ; Sun, 21 Sep 2014 00:10:29 +0000 (UTC) Received: from [98.139.212.152] by nm17.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 00:10:22 -0000 Received: from [98.139.212.230] by tm9.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 00:10:22 -0000 Received: from [127.0.0.1] by omp1039.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 00:10:22 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 399304.62364.bm@omp1039.mail.bf1.yahoo.com Received: (qmail 44682 invoked by uid 60001); 21 Sep 2014 00:10:22 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1411258222; bh=pcRyNN17kJfIFL9vJVuUkLoWzbrNtW9VqVgpWPJrwOk=; h=Message-ID:Date:From:Subject:To:MIME-Version:Content-Type; b=Y29o0wKTmpSEtgKonpsW2CL/C3diBtm6NXlhOLUVahj7+vUL5JJVWzvw9Q0ZDDTwE4mZdoiWaA1bw3RWIcVHChVgGNHyQqhFX0tQ4OCGlC1Is+sZ0pczl12v8uYwNnUpMvfpKrXVvk29h7kAZisXj9EJgvjU4OuX9hTfKCToZOY= X-YMail-OSG: dLi3B9UVM1mLcIBQ.0TaSpp3FSwixTY.5mOul8gdoTuBZOk Hgm6YgK4OlUAaK0jW_T8Og.O5fhb3gdf9P0uIu_gVn4vbFFYdU7ogGB8JEM7 YgUQmqUZE2LM8avH8tYpO_buuZw.BRvkgGIik8dvOEojsYPMajed_.a75vC7 89_4E5QJMgAARX61Z8fAsCyUHmyAp4eDnb0fGqk5Yprgp4iVpMRT5JHEydrU YYFK0PxHjbHyXW4709xGsjKbVokcPPBAJYwPhs9lmhvEWLGD54JS_NG7Q6TV xgPeaRNOAGgId9bQ0LndaNwCsPqXiG9PwNps9_qQHv2nHsZoYBX3hMM8njxZ tWcCGT1J.G_pehFi3J8kJHSkE4hWBwR3E3vmQswaCms6.eLuNKVmnQrTAvlO Gae8QW0DZ8PZ8D4niHQpG3ImZtWI2kKqP5dfq4eDCNAYz8KwkFT9mndtteUk gJO1PZkesVPeyHTYzl0ZvcqcR8JYVtwent0pIpaNNqdj8RUXWhPfk705on1l lxzWD4_AUV.BRjnekHHhAnQDrFOgfuvDA03gp.tn3FUxKAmAW4QUbbadlqw- - Received: from [66.92.43.99] by web140901.mail.bf1.yahoo.com via HTTP; Sat, 20 Sep 2014 17:10:22 PDT X-Rocket-MIMEInfo: 002.001, SSBhbSBhY2N1c3RvbWVkIHRvIHBvcnRtYXN0ZXIgYmF0Y2hpbmcgYSBsYXJnZSBudW1iZXIgb2YgcG9ydHMgYXQgdGhlIGVuZCBvZiBhIHBpcGUuICAgDQoNCi4uLiAgLi4uIGVncmVwIC12ICdzb21lSUdOcG9ydHxzb21lQktOcG9ydHxzb21lQklHcG9ydCcgICAgfCB4YXJncyAtSiAlIHBrZyBpbnN0YWxsICUgDQogICAgICAgICAgICAgICAgICAgICAgDQoNCkluc3RlYWQgb2YgYSBxdWV1ZSBmb3JtZWQsIA0KDQpUaGlzIHdpbGwgdXBkYXRlIA0KICAgcG9ydA0KICAgcG9ydA0KICAgcG9ydA0KQW5kIHRoZSABMAEBAQE- X-Mailer: YahooMailClassic/735 YahooMailWebService/0.8.203.696 Message-ID: <1411258222.80076.YahooMailBasic@web140901.mail.bf1.yahoo.com> Date: Sat, 20 Sep 2014 17:10:22 -0700 From: Jeffrey Bouquet Subject: Pkg feature req. already exits some other way? To: pkg@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 00:10:31 -0000 I am accustomed to portmaster batching a large number of ports at the end of a pipe. ... ... egrep -v 'someIGNport|someBKNport|someBIGport' | xargs -J % pkg install % Instead of a queue formed, This will update port port port And the ports not-found not-found will be left for next time. Proceed? One of the latter(not found), inexplicably halts the pkg command. This takes a magnitude of time away from other tasks I usually schedule in the meanwhile. Or someone is maybe coding it into portmaster soon... or portupgrade, or has tested portupgrade in a manner that does work in that context. From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 12:45:19 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 513FC6A for ; Sun, 21 Sep 2014 12:45:19 +0000 (UTC) Received: from mailrelay2.public.one.com (mailrelay2.public.one.com [91.198.169.125]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 92D8B6AE for ; Sun, 21 Sep 2014 12:45:17 +0000 (UTC) X-HalOne-Cookie: 98da9cd40ab6a4925a7dfe1f819212db9193df01 Received: from kalle.alvion.se (unknown [94.103.205.216]) by smtpfilter2.public.one.com (Halon Mail Gateway) with ESMTPSA for ; Sun, 21 Sep 2014 14:44:04 +0200 (CEST) Received: from [192.168.188.32] (unknown [192.168.188.32]) by kalle.alvion.se (Postfix) with ESMTP id CC67E75A71 for ; Sun, 21 Sep 2014 14:44:03 +0200 (CEST) Message-ID: <541EC813.7030607@alvion.se> Date: Sun, 21 Sep 2014 14:44:03 +0200 From: Erik Eliassen Reply-To: erik.eliassen@alvion.se User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: pkg@FreeBSD.org Subject: install pkg problem Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 12:45:19 -0000 Hello, I get the "[pre-everything] Error code 1" when I'm trying to install ports-mgmt/pkg. # uname -a FreeBSD 9.2-RELEASE-p12 FreeBSD 9.2-RELEASE-p12 #0: Mon Sep 15 18:46:46 UTC 2014 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 I've done the following # portsnap fetch update # echo "WITH_PKGNG=yes" >> /etc/make.conf # make -C /usr/ports/ports-mgmt/pkg install clean /You are about to convert your system to pkg while you have ports/packages// //installed with the old pkg_install tools.// // //To switch to pkg:// // 1) Install ports-mgmt/pkg// // 2) Convert your package database by running pkg2ng// // //*** [pre-everything] Error code 1// // //Stop in /usr/ports/ports-mgmt/pkg./ # Is it safe to just run /usr/sbin/pkg to install pkg? I don't know how to proceed with installing pkg. Thanks for any help Best Regards Erik Eliassen From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 15:38:47 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B1DAF74 for ; Sun, 21 Sep 2014 15:38:47 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1AFE6820 for ; Sun, 21 Sep 2014 15:38:45 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36632221 for freebsd-pkg@freebsd.org; Sun, 21 Sep 2014 22:38:44 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8LFcfkj075990 for ; Sun, 21 Sep 2014 22:38:43 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8LFcfxF075989 for freebsd-pkg@freebsd.org; Sun, 21 Sep 2014 22:38:41 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sun, 21 Sep 2014 22:38:41 +0700 From: Victor Sudakov To: freebsd-pkg@freebsd.org Subject: portaudit -C Message-ID: <20140921153841.GA75919@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 15:38:47 -0000 Colleagues, portaudit says, "The portaudit tool is now obsolete, please remove portaudit and use the command 'pkg audit' instead." portaudit had a very useful function: "portaudit -C": -C Print a vulnerability report for the port in the current working directory. Mostly useful for port developers. How do I do it with "pkg audit"? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 15:46:21 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 753B826F for ; Sun, 21 Sep 2014 15:46:21 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id D20988DF for ; Sun, 21 Sep 2014 15:46:19 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36632229 for freebsd-pkg@freebsd.org; Sun, 21 Sep 2014 22:46:18 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8LFkI8p076087 for ; Sun, 21 Sep 2014 22:46:18 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8LFkIjK076086 for freebsd-pkg@freebsd.org; Sun, 21 Sep 2014 22:46:18 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Sun, 21 Sep 2014 22:46:18 +0700 From: Victor Sudakov To: freebsd-pkg@freebsd.org Subject: pkg: Unable to update repository Message-ID: <20140921154618.GA76022@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 15:46:21 -0000 Colleagues, What does this error message mean? # pkg update -f Updating sibptus repository catalogue... Fetching meta.txz: 100% 848 B 0.9k/s 00:01 Fetching digests.txz: 100% 29 kB 30.3k/s 00:01 Fetching packagesite.txz: 100% 93 kB 95.5k/s 00:01 Processing new repository entries: 100% pkg: Unable to update repository sibptus # Why is that and how do I fix it? I tried to "rm /var/db/pkg/repo-sibptus.sqlite" but it did not help. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 20:35:46 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 92D97515 for ; Sun, 21 Sep 2014 20:35:46 +0000 (UTC) Received: from nm42-vm3.bullet.mail.bf1.yahoo.com (nm42-vm3.bullet.mail.bf1.yahoo.com [216.109.114.190]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4880061D for ; Sun, 21 Sep 2014 20:35:45 +0000 (UTC) Received: from [98.139.214.32] by nm42.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 Received: from [98.139.212.200] by tm15.bullet.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 Received: from [127.0.0.1] by omp1009.mail.bf1.yahoo.com with NNFMP; 21 Sep 2014 20:35:38 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 226941.18703.bm@omp1009.mail.bf1.yahoo.com Received: (qmail 56295 invoked by uid 60001); 21 Sep 2014 20:35:38 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1411331738; bh=eVP9KYRbwwYq9V8O4FOTOWyCzBLOJ+XzDq3g6vd/HDI=; h=Message-ID:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=XuUigPe1ud8mVgR4aXgVn2zEwlj03erDlJoskiue8YY6MOA7xv4KeF27+yRbk2AdYZbmqzTc7h0dk7Fa/W5zFwvHRF1Ps2JXWUfqsX9Rfuzpzht9XQPRkizp9njrwtzPrdGt/PN0hj5UT3JsI8xaSaAPhic1ZDQp/EC+/lCuLKU= X-YMail-OSG: fOQdoTcVM1lsSNrQ51WVgye7QQWC5O2X9ugpMIyKZUZAGz3 bJ0klaGK1SlB.pp4cqT_cpwy6JRB15sjajMPJBfeZr59a8JSy8XzpHiWR9Y. jLKCU.V3pECa2xJ9ceAOma24zBhoiRE27vOtvalIVG2_admks31j3Vny8r1X fvHApSbA5VDlefNS896AyRiEKDaGXQMFUyvgpFaOJF.7V4TSbYltFJ6vatgL ZJ.QzL3M6oO_N1Kyp8yoijfgWuFpuZXSKnB8K94awDZJQyDfQRVvD8fvEC1o 6zdsqJ._1kvNU6IsILRaqkzTdWKqR83R5kqadx7Pgo4X9V1ge5Um6QPYNtVn GSHrPDx7CqM.C0ZvX1Bh6yxccg29LM7VvqhQK6nDP0l.9XMYodii9c3BlZ2J kntVnCjbv49H9QcuhSYqVptZiAbbi5MPgVV1uHgdPwNdisk6ckBLKOfTGBKB nJlpC8eFb_5MoMGiUxYp4mt6oMHcFfUdx24kdGr5xocwh3hWVp92hSP_Hwtv swno1lLlgtl_vgrcwj5GxqGcDpDDiyHblfJ60yRkGMRp7gEbvmI6GW4FqOw- - Received: from [66.92.43.99] by web140903.mail.bf1.yahoo.com via HTTP; Sun, 21 Sep 2014 13:35:38 PDT X-Rocket-MIMEInfo: 002.001, DQoNCj4.PiAgU2VlIHdvcmthcm91bmQgYmVsb3csIGFmdGVyIA0KPj4.ICAgdGhlIGxhdHRlciBmb3VyIG9mIHRoZXNlIHNpeCBxdW90ZWQgbWFya3MuLi4gDQoNCiAgICAgICAgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0NCiAgICAgICAgT24gU2F0LCA5LzIwLzE0LCBKZWZmcmV5IEJvdXF1ZXQgdmlhIGZyZWVic2QtcGtnIDxmcmVlYnNkLXBrZ0BmcmVlYnNkLm9yZz4gd3JvdGU6DQoNCiAgICAgICAgIFN1YmplY3Q6IFBrZyBmZWF0dXJlIHJlcS4gYWxyZWFkeSBleGl0cyABMAEBAQE- X-Mailer: YahooMailClassic/735 YahooMailWebService/0.8.203.696 Message-ID: <1411331738.18898.YahooMailBasic@web140903.mail.bf1.yahoo.com> Date: Sun, 21 Sep 2014 13:35:38 -0700 From: Jeffrey Bouquet Subject: Re: [worrkaround ] Pkg feature req. already exists some other way? To: pkg@freebsd.org In-Reply-To: <1411258222.80076.YahooMailBasic@web140901.mail.bf1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 20:35:46 -0000 >>> See workaround below, after=20 >>> the latter four of these six quoted marks...=20 -------------------------------------------- On Sat, 9/20/14, Jeffrey Bouquet via freebsd-pkg wrote: Subject: Pkg feature req. already exits some other way? To: pkg@freebsd.org Date: Saturday, September 20, 2014, 5:10 PM =20 I am accustomed to portmaster batching a large number of ports at the end of a pipe.=A0=A0=A0 =20 ...=A0 ... egrep -v ' someIGNport|someBKNport|someBIGport'=A0 =A0 | xargs -J % pkg install %=20 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0=20 =20 Instead of a queue formed,=20 =20 This will update=20 =A0=A0=A0port =A0=A0=A0port =A0=A0=A0port And the ports=20 =A0=A0=A0not-found =A0=A0not-found =A0 will be left for next time. Proceed?=20 =20 One of the latter(not found), inexplicably halts the pkg=20 command.=A0=A0=A0This takes a magnitude of time away from other tasks I usually schedule in the meanwhile.=A0=20 =20 >>>Or someone is maybe coding it into portmaster soon... or >>>>portupgrade, or has tested >>>>portupgrade in a manner that does work in that context.=20 So... .... egrep -v 'someIGNport|someBKNport' | sort | uniq | xargs -J % pkg rqu= ery %do % | lookat (or less or)=20 =20 Then... pkg install port port port port port port port=20 proceeds with way speedier than what I knew yesterday at this time. I suspect though that it is not upgrading with packages the majority of por= ts which need upgrading, but it woudl be nicer to have a message about each term sent to pkg, whether it fo= und a remote package, or recieved the port name and did not find a remote package. Then one could p= ipe those results into a=20 delay file or a portmaster/portupgrade file or an ignore-for-later file ...= etc And that is only the first usage of that pipe, it maybe could be improved,= =20 ...as well as the pkg-rquery=20 man page maybe, with examples, which I used from "man pkg-query" as a templ= ate.=20 From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 21:08:05 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1B1EEF0 for ; Sun, 21 Sep 2014 21:08:05 +0000 (UTC) Received: from mail-la0-x22d.google.com (mail-la0-x22d.google.com [IPv6:2a00:1450:4010:c03::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B3D296C for ; Sun, 21 Sep 2014 21:08:05 +0000 (UTC) Received: by mail-la0-f45.google.com with SMTP id b17so5690837lan.32 for ; Sun, 21 Sep 2014 14:08:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=GSn8x3s0ABMr7bROXq5Pjve4hCFbGfT36bPyiFVy5JA=; b=w8i8+lwkQI3nId7+wwKXJLyfiMkvDcma0w58IJwkObL/FlhproWMXYObsFxaJb2AhY sZYD7AqP/iCu2GlRQ++J/2+PafA0JmrO5Q7S5tGKE0+VHHpauM8ZDWW40GserRfX+yYZ I6JMXkKBkIwc5HEkyg04fuN0OLEyK8LdWoYSKIJOPkBMyn0Flz+GFRzrdZe+hlxIVWxl 3+dfXNObAn8v2XVOB6SraRpV0ZwNa/NUCHPXdBZfkW6nnEz0bRKtVZnogRcHUEgRmokf lEzK6jTDS765QLbLuPNm63VcEXU9RC/Ame9LAgvxaAxJEIv0P1lMx3aSvcn9l2BAlvFc +wjw== MIME-Version: 1.0 X-Received: by 10.112.87.69 with SMTP id v5mr20187808lbz.15.1411333683338; Sun, 21 Sep 2014 14:08:03 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Sun, 21 Sep 2014 14:08:03 -0700 (PDT) In-Reply-To: <20140921153841.GA75919@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> Date: Sun, 21 Sep 2014 14:08:03 -0700 X-Google-Sender-Auth: 2EUNdFo84u9JNSiwyLjzgbdMqfY Message-ID: Subject: Re: portaudit -C From: Craig Rodrigues To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 21:08:05 -0000 On Sun, Sep 21, 2014 at 8:38 AM, Victor Sudakov wrote: > Colleagues, > > portaudit says, "The portaudit tool is now obsolete, please remove > portaudit and use the command 'pkg audit' instead." > > portaudit had a very useful function: "portaudit -C": > > -C Print a vulnerability report for the port in the current working > directory. Mostly useful for port developers. > > How do I do it with "pkg audit"? > Hi, You can do something like this: cd /usr/ports/net/asterisk11 make -d x check-vulnerable or cd /usr/ports/net/asterisk11 pkg audit `make -V PKGNAME` -- Craig From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 21:18:10 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B3C5A222; Sun, 21 Sep 2014 21:18:10 +0000 (UTC) Received: from mail-la0-x229.google.com (mail-la0-x229.google.com [IPv6:2a00:1450:4010:c03::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0F76BA87; Sun, 21 Sep 2014 21:18:09 +0000 (UTC) Received: by mail-la0-f41.google.com with SMTP id s18so5691266lam.0 for ; Sun, 21 Sep 2014 14:18:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=qIoxNp/O2tX4KQaaoF59Cz4jEyXMrFy6phkpp6ITMlw=; b=nss4d5NkquPLtHnaXIEWJOkvNUlqz01AgBmNA5nPNoJvVU03RN6gwxjVUqnyHBJfPk 4hbjvIPyzf1LLj5PLzf4PArmE109yZExDZRFz8LzHyShMm2+xNRwu50vpkds6q7OIRaN akh9JfBiLMuI756b0Fn0F7ro9DSUAVHFarUGiHrpEySYGuckIoa7pFupfgNtJGXolykR 00CNV7EKm71NX1o6kbGasJPJbL70XGpnnJsF8c+IjZHjZ0Br50J5Amo2YsfNLRQ4qgob 12Dpba0ikOICTRpEW9w5TEqhffrPIdap3T2TwIwYfwVuJerM+M6NZTB510lOTWegLHzz FJTA== MIME-Version: 1.0 X-Received: by 10.152.116.44 with SMTP id jt12mr19964540lab.7.1411334288102; Sun, 21 Sep 2014 14:18:08 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Sun, 21 Sep 2014 14:18:08 -0700 (PDT) In-Reply-To: <541B4876.4060709@FreeBSD.org> References: <54194AA9.8070604@volny.cz> <541B3EBC.6000303@FreeBSD.org> <541B4876.4060709@FreeBSD.org> Date: Sun, 21 Sep 2014 14:18:08 -0700 X-Google-Sender-Auth: L1ITnnYBJRS-CT4RWj-ImItWCMA Message-ID: Subject: Re: Registering installation for dialog4ports-0.1.5_2, *** [fake-pkg] Error code 74 From: Craig Rodrigues To: Bryan Drewery Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: =?UTF-8?B?VsOhY2xhdiBIb8WhZWs=?= , pkg X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 21:18:10 -0000 On Thu, Sep 18, 2014 at 2:02 PM, Bryan Drewery wrote: > On 9/18/2014 3:58 PM, Craig Rodrigues wrote: > > > > > > On Thu, Sep 18, 2014 at 1:21 PM, Bryan Drewery > > wrote: > > > > > > Run 'pkg bootstrap -f' or upgrade from ports-mgmt/pkg. > > > > > > In pkg 1.3.7, "man pkg" documents 'pkg bootstrap', but "pkg help" does > not. > > Should it? > > > > -- > > Craig > > IMHO pkg help needs 50% of the output removed. It is too long. > There are two separate issues here. (1) pkg help is missing documentation about bootstrap -> "man pkg" documents bootstrap, but "pkg help" does not. This is a bug. (2) pkg help output is too long -> You can't escape the fact that pkg is growing and has a lot of features. Consistently documenting them is important. -> Maybe pkg can follow the example of git. If you type "git help", it only lists a subset of the 'most popular' commands. "git help -a" lists all the commands -- Craig From owner-freebsd-pkg@FreeBSD.ORG Sun Sep 21 23:53:53 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3F54FE97; Sun, 21 Sep 2014 23:53:53 +0000 (UTC) Received: from hades.sorbs.net (hades.sorbs.net [67.231.146.201]) by mx1.freebsd.org (Postfix) with ESMTP id 2B617AD0; Sun, 21 Sep 2014 23:53:52 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from isux.com (firewall.isux.com [213.165.190.213]) by hades.sorbs.net (Oracle Communications Messaging Server 7.0.5.29.0 64bit (built Jul 9 2013)) with ESMTPSA id <0NC90033ZZW87F00@hades.sorbs.net>; Sun, 21 Sep 2014 16:57:46 -0700 (PDT) Message-id: <541F6507.70904@sorbs.net> Date: Mon, 22 Sep 2014 01:53:43 +0200 From: Michelle Sullivan User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.24) Gecko/20100301 SeaMonkey/1.1.19 To: ports@FreeBSD.org Subject: Re: [HEADSUP] pkg(8) is now the only package management tool References: <20140901195520.GB77917@ivaldir.etoilebsd.net> <54050D07.4010404@sorbs.net> In-reply-to: <54050D07.4010404@sorbs.net> Cc: pkg@FreeBSD.org, stable@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Sep 2014 23:53:53 -0000 Michelle Sullivan wrote: > Baptiste Daroussin wrote: > >> Hi all, >> >> The ports tree has been modified to only support pkg(8) as package management >> system for all supported version of FreeBSD. >> >> if you were still using pkg_install (pkg_* tools) you will have to upgrade your >> system. >> >> The simplest way is >> cd /usr/ports/ports-mgmt/pkg >> make install >> then run >> pkg2ng >> >> So despite being told 'use the quarterly, patches can be applied to it if requested' and updating ports I maintain asking specifically for the patches to be merged... Still all broken (though patches applied to HEAD)... Nice one... -- Michelle Sullivan http://www.mhix.org/ From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 00:56:49 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9829B6D5; Mon, 22 Sep 2014 00:56:49 +0000 (UTC) Received: from mail-oi0-x22b.google.com (mail-oi0-x22b.google.com [IPv6:2607:f8b0:4003:c06::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47B6AFC7; Mon, 22 Sep 2014 00:56:49 +0000 (UTC) Received: by mail-oi0-f43.google.com with SMTP id v63so2999310oia.30 for ; Sun, 21 Sep 2014 17:56:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=nIaCU/nE561IRkj6CswMrz4Kaq8+6HEyzogKQFqbwsQ=; b=ARdurdQLoLPCjubBzOt+OKSHKa/1DwY8QoVsEpHfvF3YqH0dU2HtWvfwHQ88P3nvIL Hqk+ryS9+FuXzXdcAMBiYzGCrE4T55OXNy7AQVdg8P5BPcQKOVH/bItex/iFPZUxo8WM 1S28whHr6e9aetLibDAMeH6exbtkVr680DDAL8uvuGmthwXVy4kDLfMFvVpO9JoSicw9 6Mhn7Qx8QQ/0Eh+bdwCBex4XD79Qsntrfv4MiB3/RZVrcb+KUFR9aVrFp66iSPJG8I+Z vh2rYB47FEqy/mAXLF9Qx+Nn+y+K93MM4whoa52lXWBOcSs4DXmSX9/s2zZPapC1/Keq V/NA== MIME-Version: 1.0 X-Received: by 10.182.19.135 with SMTP id f7mr23646618obe.40.1411347408500; Sun, 21 Sep 2014 17:56:48 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Sun, 21 Sep 2014 17:56:48 -0700 (PDT) In-Reply-To: References: <54194AA9.8070604@volny.cz> <541B3EBC.6000303@FreeBSD.org> <541B4876.4060709@FreeBSD.org> Date: Sun, 21 Sep 2014 21:56:48 -0300 Message-ID: Subject: Re: Registering installation for dialog4ports-0.1.5_2, *** [fake-pkg] Error code 74 From: Thiago Farina To: Craig Rodrigues Content-Type: text/plain; charset=UTF-8 Cc: =?UTF-8?B?VsOhY2xhdiBIb8WhZWs=?= , pkg , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 00:56:49 -0000 On Sun, Sep 21, 2014 at 6:18 PM, Craig Rodrigues wrote: > On Thu, Sep 18, 2014 at 2:02 PM, Bryan Drewery wrote: > >> On 9/18/2014 3:58 PM, Craig Rodrigues wrote: >> > > > There are two separate issues here. > (1) pkg help is missing documentation about bootstrap > -> "man pkg" documents bootstrap, but "pkg help" does not. This > is a bug. > > (2) pkg help output is too long > -> You can't escape the fact that pkg is growing and has a lot of > features. > Consistently documenting them is important. > -> Maybe pkg can follow the example of git. > If you type "git help", it only lists a subset of the 'most > popular' commands. > "git help -a" lists all the commands If someone is interested in helping out with this. The code can be found here -> https://github.com/freebsd/pkg/blob/master/src/main.c#L144 Regards, -- Thiago Farina From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 01:26:20 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 13E38BDE; Mon, 22 Sep 2014 01:26:20 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2D2DB2AD; Mon, 22 Sep 2014 01:26:18 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36632871; Mon, 22 Sep 2014 08:26:16 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8M1QCcA082568; Mon, 22 Sep 2014 08:26:15 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8M1QCmC082567; Mon, 22 Sep 2014 08:26:12 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 22 Sep 2014 08:26:12 +0700 From: Victor Sudakov To: Craig Rodrigues Subject: Re: portaudit -C Message-ID: <20140922012612.GA81996@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 01:26:20 -0000 Craig Rodrigues wrote: > > > > portaudit says, "The portaudit tool is now obsolete, please remove > > portaudit and use the command 'pkg audit' instead." > > > > portaudit had a very useful function: "portaudit -C": > > > > -C Print a vulnerability report for the port in the current working > > directory. Mostly useful for port developers. > > > > How do I do it with "pkg audit"? > > > > Hi, > > You can do something like this: > > cd /usr/ports/net/asterisk11 > make -d x check-vulnerable # make -d x check-vulnerable make: illegal argument to d option -- x We need a different "x". BTW the "check-vulnerable" target is not documented in ports(7), I had to hunt for in in /usr/ports/Mk/* Maybe we need some "pretty-print-vulnerable" target once portaudit is now obsolete? > > or > > cd /usr/ports/net/asterisk11 > pkg audit `make -V PKGNAME` This requires that net/asterisk11 be already installed, doesn't it? -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 08:13:17 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FA2C943 for ; Mon, 22 Sep 2014 08:13:17 +0000 (UTC) Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8A623E9A for ; Mon, 22 Sep 2014 08:13:16 +0000 (UTC) Received: by mail-la0-f52.google.com with SMTP id gq15so6171568lab.39 for ; Mon, 22 Sep 2014 01:13:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=rwtTXC0OXnbJzjr4AHoMKUXId7stFdKMsisFrSLAljk=; b=xWZJ1ihtA7ADrcyGeKKMRxkSaiSz9w0YBKPeqbSu0Z9oJGbyNiKnZkSlB4gxRe5AiO VrSrLWV/T+fW1m8n3v0uHEFAonaXc3Zzcjne2LoaPraoVc310o/p/7pEXzHH61EOXKv3 0RVvwG7XYLC1MBJgx9F5FJrvMdRvt3jRn03l0s6F2NO0TX2pPIVZCtrzKnab+ryMnuwp Pf0F9Kp4/rKCWBbg1kdDG+YPYmEcppM5vcKJojhJJ15nRVdoOEhYYa8jLfv5pcDjKRVk nUSTG9xGf0aR8hOroxrVgDPLNbv1X7JjroQ3mUPoz/d8Ld1foGFniBYXz4scNuCs72rI dV0Q== MIME-Version: 1.0 X-Received: by 10.112.134.101 with SMTP id pj5mr22598805lbb.47.1411373594461; Mon, 22 Sep 2014 01:13:14 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Mon, 22 Sep 2014 01:13:14 -0700 (PDT) In-Reply-To: <20140922012612.GA81996@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> <20140922012612.GA81996@admin.sibptus.tomsk.ru> Date: Mon, 22 Sep 2014 01:13:14 -0700 X-Google-Sender-Auth: 2zVjZGr1FQXQwVjLjJFv3VC3qnI Message-ID: Subject: Re: portaudit -C From: Craig Rodrigues To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 08:13:17 -0000 On Sun, Sep 21, 2014 at 6:26 PM, Victor Sudakov wrote: > > # make -d x check-vulnerable > make: illegal argument to d option -- x > > I'm not sure what version of FreeBSD you are using, but in FreeBSD 10 and higher, "make -d x check-vulnerable" works. > We need a different "x". > > BTW the "check-vulnerable" target is not documented in ports(7), I had > to hunt for in in /usr/ports/Mk/* > There are *lots* of things in /usr/ports/Mk/* that are not documented in ports(7). :) > Maybe we need some "pretty-print-vulnerable" target once portaudit is > now obsolete? > That's a good question to post on the freebsd-ports@freebsd.org mailing list to get feedback on. > > > > > or > > > > cd /usr/ports/net/asterisk11 > > pkg audit `make -V PKGNAME` > > This requires that net/asterisk11 be already installed, doesn't it? > No. -- Craig From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 08:56:34 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 084226F6; Mon, 22 Sep 2014 08:56:34 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 2A874348; Mon, 22 Sep 2014 08:56:32 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36634825; Mon, 22 Sep 2014 15:56:30 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8M8uR8k093396; Mon, 22 Sep 2014 15:56:29 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8M8uRXk093395; Mon, 22 Sep 2014 15:56:27 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 22 Sep 2014 15:56:26 +0700 From: Victor Sudakov To: Craig Rodrigues Subject: Re: portaudit -C Message-ID: <20140922085626.GA93280@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> <20140922012612.GA81996@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 08:56:34 -0000 Craig Rodrigues wrote: > > > > > # make -d x check-vulnerable > > make: illegal argument to d option -- x > > > > > I'm not sure what version of FreeBSD you are using, but in FreeBSD 10 and > higher, > "make -d x check-vulnerable" works. 9.3-RELEASE in this case. > > We need a different "x". > > > > BTW the "check-vulnerable" target is not documented in ports(7), I had > > to hunt for in in /usr/ports/Mk/* > > > > There are *lots* of things in /usr/ports/Mk/* that are not documented in > ports(7). :) Most of them are of the "no user serviceable parts inside" kind. [dd] > > > > > > cd /usr/ports/net/asterisk11 > > > pkg audit `make -V PKGNAME` > > > > This requires that net/asterisk11 be already installed, doesn't it? > > > > No. $ $ pwd /var/poudriere/ports/default/www/squid $ pkg audit `make -V PKGNAME` 0 problem(s) in the installed packages found. $ I see the phrase "installed packages" there. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 09:25:14 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 686919D for ; Mon, 22 Sep 2014 09:25:14 +0000 (UTC) Received: from mail-lb0-x231.google.com (mail-lb0-x231.google.com [IPv6:2a00:1450:4010:c04::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E2B8A8A9 for ; Mon, 22 Sep 2014 09:25:13 +0000 (UTC) Received: by mail-lb0-f177.google.com with SMTP id z12so6220546lbi.8 for ; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=+STFmTnf5649Os9DISrf12b/NmzfdqhFlOHFpdAUoDo=; b=lyuRewKF9xANBfrN3khxEaHVTwnQ4xfUGLLSHzgONUcz1urxlZticceF2uYUasqYX7 3OJe0sLaButuvIP/CygcRXaj+SlMEyq2dfK5CmVEXvIoo7Jvy4a+IGjjEmKvbm6rn4t2 tIotZxens2nhGbdyWuJJy03Af0IwjHlTcohvlKlXMHiLJWjmTocXNk0I8sr5y2k782VW ndP3dTfqGrFkGbQmHLG0Tp3RyA6HkeckOQ8K0QWW/8zuMiAuuisn/K3eGn6ARwwPyjt6 U3RYYbk0PLzokk1BMMEmAcXN0OSngyP0m5M9hpwVmYDt6CxDylcLqB5C6HPJenQsywGv sILg== MIME-Version: 1.0 X-Received: by 10.152.36.4 with SMTP id m4mr24301891laj.17.1411377911885; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.197.107 with HTTP; Mon, 22 Sep 2014 02:25:11 -0700 (PDT) In-Reply-To: <20140922085626.GA93280@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> <20140922012612.GA81996@admin.sibptus.tomsk.ru> <20140922085626.GA93280@admin.sibptus.tomsk.ru> Date: Mon, 22 Sep 2014 02:25:11 -0700 X-Google-Sender-Auth: JX18fI3L9avJ0VULw9uumWd1zAo Message-ID: Subject: Re: portaudit -C From: Craig Rodrigues To: Victor Sudakov Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 09:25:14 -0000 On Mon, Sep 22, 2014 at 1:56 AM, Victor Sudakov wrote: > > > > > > > > > cd /usr/ports/net/asterisk11 > > > > pkg audit `make -V PKGNAME` > > > > > > This requires that net/asterisk11 be already installed, doesn't it? > > > > > > > No. > > $ > $ pwd > /var/poudriere/ports/default/www/squid > $ pkg audit `make -V PKGNAME` > 0 problem(s) in the installed packages found. > $ > > I see the phrase "installed packages" there. > The message from 'pkg audit' is wrong. It parses /var/db/pkg/vuln.xml to list the vulnerabilities. If you give it an exact package name, it searches vuln.xml for that. The package does not need to be installed. For example: pkg audit phpmyfaq-1.5.2 -- Craig From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 10:15:45 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F24564A3; Mon, 22 Sep 2014 10:15:44 +0000 (UTC) Received: from relay2.tomsk.ru (mail.sibptus.tomsk.ru [212.73.124.5]) by mx1.freebsd.org (Postfix) with ESMTP id 1F795DAA; Mon, 22 Sep 2014 10:15:43 +0000 (UTC) X-Virus-Scanned: by clamd daemon 0.98.1 for FreeBSD at relay2.tomsk.ru Received: from admin.sibptus.tomsk.ru (account sudakov@sibptus.tomsk.ru [212.73.125.240] verified) by relay2.tomsk.ru (CommuniGate Pro SMTP 5.1.16) with ESMTPSA id 36635255; Mon, 22 Sep 2014 17:15:41 +0700 Received: from admin.sibptus.tomsk.ru (sudakov@localhost [127.0.0.1]) by admin.sibptus.tomsk.ru (8.14.9/8.14.7) with ESMTP id s8MAFdj1095071; Mon, 22 Sep 2014 17:15:41 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) Received: (from sudakov@localhost) by admin.sibptus.tomsk.ru (8.14.9/8.14.7/Submit) id s8MAFdKb095070; Mon, 22 Sep 2014 17:15:39 +0700 (NOVT) (envelope-from vas@mpeks.tomsk.su) X-Authentication-Warning: admin.sibptus.tomsk.ru: sudakov set sender to vas@mpeks.tomsk.su using -f Date: Mon, 22 Sep 2014 17:15:38 +0700 From: Victor Sudakov To: Craig Rodrigues Subject: Re: portaudit -C Message-ID: <20140922101538.GA94283@admin.sibptus.tomsk.ru> References: <20140921153841.GA75919@admin.sibptus.tomsk.ru> <20140922012612.GA81996@admin.sibptus.tomsk.ru> <20140922085626.GA93280@admin.sibptus.tomsk.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Organization: AO "Svyaztransneft", SibPTUS X-PGP-Key: http://www.dreamwidth.org/pubkey?user=victor_sudakov X-PGP-Fingerprint: 10E3 1171 1273 E007 C2E9 3532 0DA4 F259 9B5E C634 User-Agent: Mutt/1.5.23 (2014-03-12) Cc: freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 10:15:45 -0000 Craig Rodrigues wrote: > > > > > > > > > > cd /usr/ports/net/asterisk11 > > > > > pkg audit `make -V PKGNAME` > > > > > > > > This requires that net/asterisk11 be already installed, doesn't it? > > > > > > > > > > No. > > > > $ > > $ pwd > > /var/poudriere/ports/default/www/squid > > $ pkg audit `make -V PKGNAME` > > 0 problem(s) in the installed packages found. > > $ > > > > I see the phrase "installed packages" there. > > > > The message from 'pkg audit' is wrong. Good to know, thank you. > It parses /var/db/pkg/vuln.xml to > list the vulnerabilities. > If you give it an exact package name, it searches vuln.xml for that. The > package does not need to be installed. > > For example: > > pkg audit phpmyfaq-1.5.2 > -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:sudakov@sibptus.tomsk.ru From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 12:51:27 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3606F888; Mon, 22 Sep 2014 12:51:27 +0000 (UTC) Received: from mx2.paymentallianceintl.com (mx2.paymentallianceintl.com [216.26.158.171]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mx2.paymentallianceintl.com", Issuer "Go Daddy Secure Certification Authority" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D75451B1; Mon, 22 Sep 2014 12:51:26 +0000 (UTC) Received: from firewall.mikej.com (162-230-214-65.lightspeed.lsvlky.sbcglobal.net [162.230.214.65]) by mx2.paymentallianceintl.com (8.14.5/8.13.8) with ESMTP id s8MCpH2a045336 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 22 Sep 2014 08:51:18 -0400 (EDT) (envelope-from mikej@mikej.com) Received: from mail.mikej.com ([192.168.6.63]) by firewall.mikej.com (8.14.9/8.14.9) with ESMTP id s8MCotGC064968; Mon, 22 Sep 2014 08:51:16 -0400 (EDT) (envelope-from mikej@mikej.com) X-Authentication-Warning: firewall.mikej.com: Host [192.168.6.63] claimed to be mail.mikej.com MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Mon, 22 Sep 2014 08:50:55 -0400 From: Michael Jung To: Ports FreeBSD Subject: Re: [CFT] SSP Package Repository available In-Reply-To: <53F4CE0E.8040106@FreeBSD.org> References: <523D79CD.2090302@FreeBSD.org> <53F4CE0E.8040106@FreeBSD.org> Message-ID: X-Sender: mikej@mikej.com User-Agent: Roundcube Webmail/1.0.2 Cc: pkg@freebsd.org, owner-freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 12:51:27 -0000 On 2014-08-20 12:34, Bryan Drewery wrote: > On 9/21/2013 5:49 AM, Bryan Drewery wrote: >> Ports now support enabling Stack Protector [1] support on FreeBSD 10 >> i386 and amd64, and older releases on amd64 only currently. >> >> Support may be added for earlier i386 releases once all ports properly >> respect LDFLAGS. >> >> To enable, just add WITH_SSP=yes to your make.conf and rebuild all >> ports. >> >> The default SSP_CLFAGS is -fstack-protector, but -fstack-protector-all >> may optionally be set instead. >> >> Please help test this on your system. We would like to eventually >> enable >> this by default, but need to identify any major ports that have >> run-time >> issues due to it. >> >> [1] https://en.wikipedia.org/wiki/Buffer_overflow_protection >> > > We have not had any feedback on this yet and want to get it enabled by > default for ports and packages. > > We now have a repository that you can use rather than the default to > help test. We need your help to identify any issues before switching > the > default. > > This repository is available for: > > head > 10.0 > 9.1,9.2,9.3 > > It is not available for 8.4. If someone is willing to test on 8.4 I > will > build a repository for it. > > Place this in /usr/local/etc/pkgs/repos/FreeBSD_ssp.conf: > > FreeBSD: { enabled: no } > FreeBSD_ssp: { > url: "pkg+http://pkg.FreeBSD.org/${ABI}/ssp", > mirror_type: "srv", > signature_type: "fingerprints", > fingerprints: "/usr/share/keys/pkg", > enabled: yes > } > > Once that is done you should force reinstall packages from this > repository: > > pkg update > pkg upgrade -f > > Thanks for your help! > Bryan Drewery > On behalf of portmgr. I have been building (poudriere) and running some 1100+ ports WITH_SSP_PORT=yes under 10-STABLE and CURRENT without issue. This is using both our local repository and the ssp repository listed above. --mikej From owner-freebsd-pkg@FreeBSD.ORG Mon Sep 22 16:11:41 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5F91572 for ; Mon, 22 Sep 2014 16:11:41 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6CB04E36 for ; Mon, 22 Sep 2014 16:11:41 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8MGBeUu023520 for ; Mon, 22 Sep 2014 16:11:40 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8MGBeXq023518 for pkg@FreeBSD.org; Mon, 22 Sep 2014 16:11:40 GMT (envelope-from bdrewery) Received: (qmail 42361 invoked from network); 22 Sep 2014 11:11:38 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 22 Sep 2014 11:11:38 -0500 Message-ID: <54204A33.3070700@FreeBSD.org> Date: Mon, 22 Sep 2014 11:11:31 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Michelle Sullivan , ports@FreeBSD.org Subject: Re: [HEADSUP] pkg(8) is now the only package management tool References: <20140901195520.GB77917@ivaldir.etoilebsd.net> <54050D07.4010404@sorbs.net> <541F6507.70904@sorbs.net> In-Reply-To: <541F6507.70904@sorbs.net> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="j9M15kmcleetDPhw7XHuDmKAXdcSBPCre" Cc: pkg@FreeBSD.org, stable@FreeBSD.org, current@FreeBSD.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Sep 2014 16:11:41 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --j9M15kmcleetDPhw7XHuDmKAXdcSBPCre Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable On 9/21/2014 6:53 PM, Michelle Sullivan wrote: > Michelle Sullivan wrote: >> Baptiste Daroussin wrote: >> =20 >>> Hi all, >>> >>> The ports tree has been modified to only support pkg(8) as package ma= nagement >>> system for all supported version of FreeBSD. >>> >>> if you were still using pkg_install (pkg_* tools) you will have to up= grade your >>> system. >>> >>> The simplest way is >>> cd /usr/ports/ports-mgmt/pkg >>> make install >>> then run=20 >>> pkg2ng >>> >>> =20 >=20 > So despite being told 'use the quarterly, patches can be applied to it > if requested' and updating ports I maintain asking specifically for the= > patches to be merged... >=20 > Still all broken (though patches applied to HEAD)... Nice one... >=20 Which ports and PR? --=20 Regards, Bryan Drewery --j9M15kmcleetDPhw7XHuDmKAXdcSBPCre Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUIEo2AAoJEDXXcbtuRpfP58wIAJ1zYr4wC8ZuH9Quqci4SiIJ /7+fYYEFL32zUqBIYpEJuZaE8Gz8LlUqydRxbfay9bcDWTypLFlSkQ21Ryr/SjY3 okoe9eXB/RaSzTaKNaDiJCK/DFdyPViXYPCIc8YvppTr46wyzYSwzRXlFezS8x7/ nQi4l8tfwcn1VQQkkfMCQiJKN6DepofrK1Jw1qA4ZHV4MQ5XW+NA0zdhEENCD/O5 voIXmIi7g+zTOS0ODZ1yVLiVZ9fqspEP5y4rM/IM1yrSqzOBB4ByYchURZOWnViz IrtOOqu6g+rkORucwtF8fPAlxXzkc8TKVchJoOUI/uQ4Dp5iJodgUYQH5U1PA8o= =tx7X -----END PGP SIGNATURE----- --j9M15kmcleetDPhw7XHuDmKAXdcSBPCre-- From owner-freebsd-pkg@FreeBSD.ORG Tue Sep 23 08:24:10 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C6879CAE for ; Tue, 23 Sep 2014 08:24:10 +0000 (UTC) Received: from smtp25.services.sfr.fr (smtp25.services.sfr.fr [93.17.128.119]) by mx1.freebsd.org (Postfix) with ESMTP id 88E1FB0 for ; Tue, 23 Sep 2014 08:24:09 +0000 (UTC) Received: from filter.sfr.fr (localhost [109.14.151.76]) by msfrf2516.sfr.fr (SMTP Server) with ESMTP id A6EEC7000044 for ; Tue, 23 Sep 2014 10:15:07 +0200 (CEST) Authentication-Results: sfrmc.priv.atos.fr; dkim=none (no signature); dkim-adsp=none (no policy) header.from=listjm@club-internet.fr Received: from [192.168.1.67] (76.151.14.109.rev.sfr.net [109.14.151.76]) by msfrf2516.sfr.fr (SMTP Server) with ESMTP id 80E6D70000B0 for ; Tue, 23 Sep 2014 10:15:07 +0200 (CEST) X-SFR-UUID: 20140923081507528.80E6D70000B0@msfrf2516.sfr.fr Message-ID: <54212BFA.2050702@club-internet.fr> Date: Tue, 23 Sep 2014 10:14:50 +0200 From: Juan =?iso-8859-1?b?UmFt824=?= Molina Menor User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: [CFT] SSP Package Repository available Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 08:24:10 -0000 On 9/21/2013 5:49 AM, Bryan Drewery wrote: > Ports now support enabling Stack Protector [1] support on FreeBSD 10 > i386 and amd64, and older releases on amd64 only currently. Hi! I have updated my 10.1-BETA2 (i386) system to use the SSP package repository, together with the FreeBSD_new_xorg repository. It’s a modest set-up, with 390 packages. Force-upgrading was seamless and after a reboot all seems to work as well as before. Two questions though: Can I keep this repository till we are informed of the switch to SSP by default? (that is to say: would it be timely updated as it is the case now?) Can I test the upcoming linux_base-c6 packages with this SSP repository? Best regards, Juan From owner-freebsd-pkg@FreeBSD.ORG Tue Sep 23 16:58:48 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 80D99852 for ; Tue, 23 Sep 2014 16:58:48 +0000 (UTC) Received: from mail-lb0-x22d.google.com (mail-lb0-x22d.google.com [IPv6:2a00:1450:4010:c04::22d]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0CAFBA0E for ; Tue, 23 Sep 2014 16:58:47 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id 10so7405019lbg.32 for ; Tue, 23 Sep 2014 09:58:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Q5ASAI8QhIDjvoucvziVgIZKTihFzftoxIldY9CIhzM=; b=lmDSFo7Vc2xkxCI1dxbyKdupkuDsdnVfkjh/sd+cAPPVFi1h5v5L9zt8aupTTsVQAG Fock8tzwIwM5TWJAKKN0hPuZqSTJGai/5e2nGZUbcZSzwyAeq395pG26l656/j+YH885 zo65DMjxc1HtoN5A3yQqIJ4724dvMD+BesFGjPR9/M2t/T0tbR4r8s8+zQ7N9jk3UJ+h qh9FlFGLNHSXsId/X7BZBgdn5ssHE2BSBNlwe/bX5YZM0KAUkH/NPe61vufNwzRljWbr vvfqtcdmrVmuDWuiPG8UbG9NlwrWqP0Q911mvWmmEliSBqGVfmd7tVBW8AtJ6JPzhTDQ HBZg== MIME-Version: 1.0 X-Received: by 10.152.115.232 with SMTP id jr8mr746626lab.69.1411491525941; Tue, 23 Sep 2014 09:58:45 -0700 (PDT) Received: by 10.25.36.70 with HTTP; Tue, 23 Sep 2014 09:58:45 -0700 (PDT) Date: Tue, 23 Sep 2014 09:58:45 -0700 Message-ID: Subject: Poudriere hooks? From: Patrick Gibson To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 16:58:48 -0000 Is there any way to run a hook within a jail when doing a bulk build? We use the enterprise version of Phusion Passenger (www/rubygem-passenger), and I have a script to download the source from Phusion into the distfiles directory, and patch the port to use the modified version. But as we're moving to a Poudriere-based build system, I haven't figured out a good way to do this within the jailed environment during a bulk build. From owner-freebsd-pkg@FreeBSD.ORG Tue Sep 23 19:28:28 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 65EA3EC for ; Tue, 23 Sep 2014 19:28:28 +0000 (UTC) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.infracaninophile.co.uk", Issuer "ca.infracaninophile.co.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E8FE2C91 for ; Tue, 23 Sep 2014 19:28:27 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.2.117.99]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.9/8.14.9) with ESMTP id s8NJSHZX044777 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO) for ; Tue, 23 Sep 2014 20:28:19 +0100 (BST) (envelope-from matthew@FreeBSD.org) Authentication-Results: smtp.infracaninophile.co.uk; dmarc=none header.from=FreeBSD.org DKIM-Filter: OpenDKIM Filter v2.9.2 smtp.infracaninophile.co.uk s8NJSHZX044777 Authentication-Results: smtp.infracaninophile.co.uk/s8NJSHZX044777; dkim=none reason="no signature"; dkim-adsp=none; dkim-atps=neutral Message-ID: <5421C9C0.60003@FreeBSD.org> Date: Tue, 23 Sep 2014 20:28:00 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Re: Poudriere hooks? References: In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="qPc5QvX12VkQ80oGmahLQmAr7xH6Wxm8x" X-Virus-Scanned: clamav-milter 0.98.4 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on lucid-nonsense.infracaninophile.co.uk X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Sep 2014 19:28:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --qPc5QvX12VkQ80oGmahLQmAr7xH6Wxm8x Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 23/09/2014 17:58, Patrick Gibson wrote: > Is there any way to run a hook within a jail when doing a bulk build? W= e > use the enterprise version of Phusion Passenger (www/rubygem-passenger)= , > and I have a script to download the source from Phusion into the distfi= les > directory, and patch the port to use the modified version. But as we're= > moving to a Poudriere-based build system, I haven't figured out a good = way > to do this within the jailed environment during a bulk build. If you use one of the SVN based methods of checking out the ports tree, then you can apply your patches to the checked-out tree that poudriere generates, and -- at the cost of occasionally having to do some merging -- your modified port will be preserved across updates. If you run 'poudriere ports -l' it will tell you where the ports tree that poudriere uses is. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. PGP: http://www.infracaninophile.co.uk/pgpkey --qPc5QvX12VkQ80oGmahLQmAr7xH6Wxm8x Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.20 (Darwin) iQJ8BAEBCgBmBQJUIcnRXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NTNBNjhCOTEzQTRFNkNGM0UxRTEzMjZC QjIzQUY1MThFMUE0MDEzAAoJELsjr1GOGkAT0dgQAJ0vBRYdaioY9XffjCSwNRdr afd6Cp+ichw4khYE0LF0vqt4w5hytVktHJSseLcAvGKV6lJfPvc+L9rm1pwCAlFt zHseGZnoDGT5Rbil1I0C/xWsSbxeifRkbvu71e1cQRKBpCdPrtN0h8Rn+YFQ0HOG 6CXa83hT8REWnZlIkcqeucl8ibxfQHA3Hcr01I95RU3XZU8aTpGORHPlpwXkyOhu FzueJWaqxZ+Mv5HHpRbcwPN4M+vGptjCE254Ty/qWhnjBV/oFSLtbDxxqUdJFA89 NIGEdNjoYmOpLi1T7b0FUtLhO4Ci0SJhxh3Z697r0w9WE1HHtmXcVDLiGQ2eg/js Ar99SEfVonrKWYgjxgO9EJDh1kzPSFFpisg6hIL+OlN79Q3ftc4iepupahfJCTuh YKwj0d3vBSeqleh+JPjb5j3aWXGswn4/DqA3ZJsLDtjuU1AMurwM+0B/wYQZGAbp VUppd7JVrQ/eNpz/DntiHZyKdPRumq8qr9hYYhMpF3VkUpetxmfrBxhVm8ERRyAB 5LLEwGbaO5CiucgMsoLH2kgT3Yy845b8h45/wJeFDod3P98rP59aZd22P1PT/XYV 8P+dvZZCHiOkROgz2hR3SkM7ALrLI230wjd76o9PBIoVeaMxw5IyzKbRR2sX2Jkf 9Orbip7M3dLYuZasHYYV =OvFM -----END PGP SIGNATURE----- --qPc5QvX12VkQ80oGmahLQmAr7xH6Wxm8x-- From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 03:20:33 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9BC4BD03; Wed, 24 Sep 2014 03:20:33 +0000 (UTC) Received: from astart2.astart.com (108-248-95-193.lightspeed.sndgca.sbcglobal.net [108.248.95.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 200261C7; Wed, 24 Sep 2014 03:20:31 +0000 (UTC) Received: from laptop_93.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id s8O3KNoU044664; Tue, 23 Sep 2014 20:20:23 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <54223877.1000302@astart.com> Date: Tue, 23 Sep 2014 20:20:23 -0700 From: Patrick Powell Reply-To: papowell@astart.com Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Suggestion on how to add search order to multiple reponsitories Content-Type: multipart/mixed; boundary="------------070901020907000709010302" Cc: FreeBSD Ports ML X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 03:20:33 -0000 This is a multi-part message in MIME format. --------------070901020907000709010302 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Currently there does not appear to be simple way to specify the order that repositories searched for packages, or at least there is none documented as such that I can find. Suppose we add a 'repo_order' field to the repository specification, i.e. - FreeBSDMyStuff: { URL: http://myserver/${ABI}/latest ENABLED: yes MIRROR_TYPE: SRV repo_order: 1 } FreeBSD: { URL: http://pkg.freebsd.org/${ABI}/latest ENABLED: yes MIRROR_TYPE: SRV repo_order: 2 } When doing a search for packages, the found/discovered packages would be sorted by the value of the order field. By default, if there is no value for the order field then this entry would come last. If there are two entries with no or the same order value then they would be sorted on the repo name, as is currently done. Also, when displaying repositories, i.e. - pkg -v -v, you would sort the display entries by the repo_order field as well. Just to jumpstart this effort I am attaching a set of patches for pkg-1.4.0.pre-alpha15. This implements the basic functionality to add repo_order to the repository definitions and adds support to display the repo_order when doing 'pkg search'. I would happy to add this ordering functionality to other parts of the pkg support, but I need a bit of help with the current code. From my understanding/reading/crystal ball gazing/looking at the code entrails, it appears that when doing a 'pkg install X' the X is first used to determine the set of packages in question. Once these have been determined there is a rather intimidating (recursive as well?) procedure which is used to determine any dependencies. Somewhere in this process there is a place where the listed/named repositories are searched for candidates for dependencies. It appears at a casual reading that the repositories are searched in the reverse order they were put in the reponsitory list and candidates found during the search are then added to the dependency list as they are found. This has the effect of having entries found in earlier listed repositories overwrite those found in later listed respositories (I thought this was VERY clever!). Rather than modify this code, I would suggest adding a 'repository ordering' step or routine. Just after the repositories are found/listed, the repository list should be sorted (stably) using the name and the repo_order field. That is, all of the repositories with a lower repo_order value would be moved ahead of those with lower repo_order values, while preserving the order for those with the same repo_order value. If this is done and the algorithm for searching the repositories is as I have outlined it, then you should get the desired repository priority effect. And perhaps no other code changes would be required. I hope. Perhaps. Maybe. --------------070901020907000709010302 Content-Type: text/plain; charset=us-ascii; name="patch-pkg-1.4.0.pre-alpha15" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-pkg-1.4.0.pre-alpha15" KioqIHBrZy0xLjQuMC5wcmUtYWxwaGExNS9kb2NzL3BrZ19wcmludGYuMwlNb24gU2VwIDE1 IDEzOjE4OjI2IDIwMTQKLS0tIHBrZy0xLjQuMC5wcmUtYWxwaGExNS5vcmlnL2RvY3MvcGtn X3ByaW50Zi4zCVN1biBKdW4gIDggMTI6NTk6NTIgMjAxNAoqKioqKioqKioqKioqKioKKioq IDY0NCw2NTUgKioqKgogIFZhbGlkIG9ubHkgZHVyaW5nIG9wZXJhdGlvbnMgd2hlbiBvbmUg dmVyc2lvbiBvZiBhIHBhY2thZ2UgaXMgYmVpbmcKICByZXBsYWNlZCBieSBhbm90aGVyLgog IC5WdCBzdHJ1Y3QgcGtnICoKLSAuSXQgQ20gJVoKLSBSZXBvc2l0b3J5IE9yZGVyIChyZXBv X29yZGVyKSBbaW50ZWdlcl0gdmFsdWUuCi0gVmFsdWUgaXMgc2V0IGluIHRoZSByZXBvc2l0 b3J5IGluZm9ybWF0aW9uIGFuZCBpcyBsaW1pdGVkIHRvIDAtMTAwIChkZWZhdWx0IDEwMCku Ci0gV2hlbiBzZWxlY3RpbmcgcGFja2FnZXMgZm9yIGluc3RhbGxhdGlvbiwgcmVwb3NpdG9y aWVzIHdpdGggbG93ZXIgb3JkZXIgbnVtYmVycwotIGFyZSBzZWFyY2hlZCBiZWZvcmUgcGFj a2FnZXMgd2l0aCBoaWdoZXIgb3JkZXIgbnVtYmVycy4KLSAuVnQgc3RydWN0IHBrZyAqCiAg Lkl0IENtICVhCiAgQXV0b3JlbW92ZSBmbGFnIFtib29sZWFuXQogIC5WdCBzdHJ1Y3QgcGtn ICoKLS0tIDY0NCw2NDkgLS0tLQoqKiogcGtnLTEuNC4wLnByZS1hbHBoYTE1L2RvY3MvcGtn LmNvbmYuNQlNb24gU2VwIDE1IDEzOjMzOjAyIDIwMTQKLS0tIHBrZy0xLjQu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gPSByZXBvX29yZGVyOwogIAogIAlpZiAobWlycm9yX3R5cGUgIT0g TlVMTCkgewogIAkJaWYgKHN0cmNhc2VjbXAobWlycm9yX3R5cGUsICJzcnYiKSA9PSAwKQot LS0gNTQ2LDU1MSAtLS0tCioqKiBwa2ctMS40LjAucHJlLWFscGhhMTUvbGlicGtnL3BrZ19t YW5pZmVzdC5jCU1vbiBTZXAgMTUgMTM6MDM6NDYgMjAxNAotLS0gcGtnLTEuNC4wLnByZS1h bHBoYTE1Lm9yaWcvbGlicGtnL3BrZ19tYW5pZmVzdC5jCVN1biBTZXAgIDcgMjM6MjM6MjQg MjAxNAoqKioqKioqKioqKioqKioKKioqIDk5LDEwNSAqKioqCiAgCXsgIm9wdGlvbl9kZXNj cmlwdGlvbnMiLCBQS0dfT1BUSU9OX0RFU0NSSVBUSU9OUywgVUNMX09CSkVDVCwgcGtnX29i an0sCiAgCXsgIm9yaWdpbiIsICAgICAgICAgICAgICBQS0dfT1JJR0lOLCAgICAgICAgICAg ICAgVUNMX1NUUklORywgcGtnX3N0cmluZ30sCiAgCXsgInBhdGgiLCAgICAgICAgICAgICAg ICBQS0dfUkVQT1BBVEgsICAgICAgICAgICAgVUNMX1NUUklORywgcGtnX3N0cmluZ30sCi0g CXsgInJlcG9fb3JkZXIiLCAgICAgICAgICBQS0dfUkVQT19PUkRFUiwgICAgICAgICAgVUNM X0lOVCwgICAgcGtnX2ludH0sCiAgCXsgInJlcG9wYXRoIiwgICAgICAgICAgICBQS0dfUkVQ T1BBVEgsICAgICAgICAgICAgVUNMX1NUUklORywgcGtnX3N0cmluZ30sCiAgCXsgInBrZ3Np emUiLCAgICAgICAgICAgICBQS0dfUEtHU0laRSwgICAgICAgICAgICAgVUNMX0lOVCwgICAg cGtnX2ludH0sCiAgCXsgInByZWZpeCIsICAgICAgICAgICAgICBQS0dfUFJFRklYLCAgICAg ICAgICAgICAgVUNMX1NUUklORywgcGtnX3N0cmluZ30sCi0tLSA5OSwxMDQgLS0tLQo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iAxNjozMjo0MyAyMDE0CioqKioqKioqKioqKioqKgoqKiogMTExLDExNyAq KioqCiAgICogVwogICAqIFgKICAgKiBZCiEgICogWiAgcGtnICAgICAgICAgIHJlcG9fb3Jk ZXIKICAgKgogICAqIGEgIHBrZyAgICAgICAgICBhdXRvcmVtb3ZlIGZsYWcKICAgKgotLS0g MTExLDExNyAtLS0tCiAgICogVwogICAqIFgKICAgKiBZCiEgICogWgogICAqCiAgICogYSAg cGtnICAgICAgICAgIGF1dG9yZW1vdmUgZmxhZwogICAqCioqKioqKioqKioqKioqKgoqKiog Nzg2LDgwMCAqKioqCiAgCQlQUF9BTEwsCiAgCQkmZm9ybWF0X2hvbWVfdXJsLAogIAl9LAot IAlbUFBfUEtHX1JFUE9fT1JERVJdID0KLSAJewotIAkJJ1onLAotIAkJJ1wwJywKLSAJCWZh bHNlLAotIAkJdHJ1ZSwKLSAJCVBQX0FMTCwKLSAJCSZmb3JtYXRfcmVwb19vcmRlciwKLSAJ fSwKICAJW1BQX0xJVEVSQUxfUEVSQ0VOVF0gPQogIAl7CiAgCQknJScsCi0tLSA3ODYsNzkx IC0tLS0KKioqKioqKioqKioqKioqCioqKiAxODg0LDE5MDMgKioqKgogIAlyZXR1cm4gKHN0 cmluZ192YWwoc2J1ZiwgdXJsLCBwKSk7CiAgfQogIAotIAotIC8qCi0gICogJVogLS0gUmVw byBPcmRlci4gaW50ZWdlcgotICAqLwotIHN0cnVjdCBzYnVmICoKLSBmb3JtYXRfcmVwb19v cmRlcihzdHJ1Y3Qgc2J1ZiAqc2J1ZiwgY29uc3Qgdm9pZCAqZGF0YSwgc3RydWN0IHBlcmNl bnRfZXNjICpwKQotIHsKLSAJY29uc3Qgc3RydWN0IHBrZwkqcGtnID0gZGF0YTsKLSAJaW50 NjRfdAkJCSByZXBvX29yZGVyOwotIAotIAlwa2dfZ2V0KHBrZywgUEtHX1JFUE9fT1JERVIs ICZyZXBvX29yZGVyKTsKLSAJcmV0dXJuIChpbnRfdmFsKH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ZpbmUgSU5GT19VU0VSUwkJKDFMTDw8MjQpCiAgI2RlZmluZSBJTkZPX0dST1VQUwkJ KDFMTDw8MjUpCiEgI2RlZmluZSBJTkZPX1JFUE9VUkwJCSgxTEw8PDI2KQogICNkZWZpbmUg SU5GT19MT0NLRUQJCSgxTEw8PDI3KQohICNkZWZpbmUgSU5GT19PUFRJT05fREVGQVVMVFMg ICAgKDFMTDw8MjgpCiEgI2RlZmluZSBJTkZPX09QVElPTl9ERVNDUklQVElPTlMgKDFMTDw8 MjkpCiAgCiEgI2RlZmluZSBJTkZPX0xBU1RGSUVMRAlJTkZPX0xPQ0tFRAogICNkZWZpbmUg SU5GT19BTEwJKCgoSU5GT19MQVNURklFTEQpIDw8IDEpIC0gMSkKICAKICAvKiBJZGVudGlm eWluZyB0YWdzICovCioqKiBwa2ctMS40LjAucHJlLWFscGhhMTUvc3JjL3NlYXJjaC5jCU1v biBTZXAgMTUgMTI6MDg6MzggMjAxNAotLS0gcGtnLTEuNC4wLnByZS1hbHBoYTE1Lm9yaWcv c3JjL3NlYXJjaC5jCU1vbiBBdWcgIDQgMTQ6NTk6NDAgMjAxNAoqKioqKioqKioqKioqKioK KioqIDY5LDc1ICoqKioKICAJeyAib3B0aW9ucyIsICAgICAgICAgICAgICAnbycgIH0sCiAg CXsgInBrZy1zaXplIiwJICAgICAgICAgICdQJyAgfSwKICAJeyAicHJlZml4IiwgICAgICAg ICAgICAgICAncCcgIH0sCi0gCXsgInJlcG9fb3JkZXIiLCAgICAgICAgICAgJ1onICB9LAog IAl7ICJyZXBvc2l0b3J5IiwgICAgICAgICAgICdSJyAgfSwKICAJeyAicmVxdWlyZWQtYnki LCAgICAgICAgICAncicgIH0sCiAgCXsgInNoYXJlZC1saWJzLXJlcXVpcmVkIiwgJ0InICB9 LAotLS0gNjksNzQgLS0tLQoqKioqKioqKioqKioqKioKKioqIDE3NywxODUgKioqKgogIAlj YXNlICdvJzoKICAJCW9wdCA9IElORk9fT1BUSU9OUzsKICAJC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AkJIHNlYXJjaCA9IGZhbHNlOwo= --------------070901020907000709010302-- From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 03:46:31 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 937DF77; Wed, 24 Sep 2014 03:46:31 +0000 (UTC) Received: from astart2.astart.com (108-248-95-193.lightspeed.sndgca.sbcglobal.net [108.248.95.193]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4340667B; Wed, 24 Sep 2014 03:46:30 +0000 (UTC) Received: from laptop_93.private (localhost [127.0.0.1]) by astart2.astart.com (8.14.4/8.14.4) with ESMTP id s8O3kTQC044742; Tue, 23 Sep 2014 20:46:29 -0700 (PDT) (envelope-from papowell@astart.com) Message-ID: <54223E95.6080305@astart.com> Date: Tue, 23 Sep 2014 20:46:29 -0700 From: Patrick Powell Reply-To: papowell@astart.com Organization: Astart Technologies User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: FreeBSD Port: x11-servers/xorg-server References: <5414A4B6.5010706@UToledo.edu> <5416B1FE.1010801@dumbbell.fr> <1411306792093-5950838.post@n5.nabble.com> <1411317698961-5950873.post@n5.nabble.com> <541F2CA4.6@hiwaay.net> <1411341142791-5950945.post@n5.nabble.com> <541F64A4.3030002@hiwaay.net> <542096D6.2000403@astart.com> <5420F4C9.7090109@hiwaay.net> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 03:46:31 -0000 On 09/22/14 23:50, Kevin Oberman wrote: > On Mon, Sep 22, 2014 at 9:19 PM, William A. Mahaffey III > wrote: > >> On 09/22/14 16:38, Patrick Powell wrote: >> >>> On 09/21/14 16:52, William A. Mahaffey III wrote: >>> >>>> On 09/21/14 18:12, Robert_Burmeister wrote: >>>> >>>>> William A. Mahaffey III wrote >>>>> >>>>>> On 09/21/14 11:41, Robert_Burmeister wrote: >>>>>> >>>>>>> On 13.09.2014 22:10, Robert Burmeister wrote: >>>>>>>>>>> FreeBSD 10.1 i386 >>>>>>>>>>> xorg-server 1.12.4_9,1 and 1.12.4_1,1 >>>>>>>>>>> Still don't have mouse support after upgrade from 1.12.4_8,1 >>>>>>>>>>> >>>>>>>>>> [ 1786.822] (EE) Failed to load module "mouse" (module does not >>>>>>>>> exist, >>>>>>>>> 0) >>>>>>>>> >>>>>>>> Have you installed x11-drivers/xf86-input-mouse? >>>>>>>> >>>>>>>>> [ 1786.825] (EE) Failed to load module "kbd" (module does not >>>>>>>>> exist, >>>>>>>>> 0) >>>>>>>>> >>>>>>>> And x11-drivers/xf86-input-keyboard? >>>>>>>> _______________________________________________ >>>>>>>> >>>>>>> Installing x11-drivers/xf86-input-mouse and >>>>>>> x11-drivers/xf86-input-keyboard >>>>>>> fixed the problem, however, I don't understand why upgrading >>>>>>> from xorg-server 1.12.4_8,1 to xorg-server 1.12.4_9,1 >>>>>>> would require new drivers, or lose the ones it had. >>>>>>> >>>>>>> I would think these drivers would/should be a dependency for >>>>>>> xorg-server >>>>>>> in the Ports system... >>>>>>> _______________________________________________ >>>>>>> >>>>>> I have had that same problem verbatim the last 2 x-server upgrades I >>>>>> did, & that was the fix, (re?)install the kbd & mouse drivers. I >>>>>> (pkg-)upgraded this A.M., no such issues .... >>>>>> ---------------------------------------------------------------------- >>>>>> >>>>> Even more interesting... >>>>> x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-keyboard >>>>> have xorg-server as a dependency, and so cannot be a circular >>>>> dependency. >>>>> >>>>> I'm guessing that the mouse and keyboard drivers got deleted as >>>>> dependents >>>>> of >>>>> xorg-server during the upgrade, but there are no dependencies in my >>>>> desktop >>>>> build >>>>> process that require that they be put back, even through a complete >>>>> system >>>>> recompile. >>>>> >>>>> I'm thinking 'x11-drivers/xorg-drivers' and 'x11/xorg-minimal' should be >>>>> bumped >>>>> when xorg-server is upgraded. >>>>> >>>>> (When my current recompile is done, I will check that my xorg-drivers >>>>> didn't >>>>> get removed as well.) >>>>> >>>> >>>> I am using pkg, no ports, no recompiling .... FBSD 9.3, BTW .... >>>> >>>> >>>> Just a thought - check to make sure that the x11-drivers/xf86-input-keyboard >>> port on the PKGng server you are using was actually rebuilt for the new >>> version of xorg-server. I had this problem a couple of weeks ago and the X >>> log file hinted that the keyboard driver was not compatible with the >>> version of xorg-server. At the time I thought that this was due to a lag >>> in the PKGng server building the new drivers so I compiled and installed >>> the x11-drivers/xf86-input-keyboard. The problem went away. >>> >>> This appears to be the same sort of issue. Perhaps the driver(s) are not >>> getting rebuilt for the new version of xorg-server? Or perhaps this is >>> related to packages on the 'with_new_xorg' PKGng server versus packages on >>> the standard PKGng server? >>> _______________________________________________ >>> freebsd-x11@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>> >>> >> Would that (drivers not getting rebuilt right) be a pkg problem or an X11 >> problem (or something else) ? Just checking .... >> >> >> -- >> >> William A. Mahaffey III > > It's a ports issue. The ports system (which is used by pkg) depends on > incrementing version numbers to tell when a port has been updated and needs > to be rebuilt or when a port needs updating because a dependency has been > updated in a way that affects the port. The former is typically the result > of a change to a port that changes hte version number. The later is a bump > of the PORT_REVISION to indicate to the ports system that some change that > did not come from a change upstream, but local to FreeBSD requires a port > rebuild. > > In this case, it does not work. The actual version number has not changed > as the upstream version has not changed. PORT_REVISION would result in the > ports being rebuilt, but that does not play with the definition of > WITH_NEW_XORG. I somehow needs to be bumped when any system sets > WITH_NEW_XORG and I don't see any way in hte current structure to do this. > It is the result of having two parallel ports trees. > > One possible fix is to have code in the Makefile to check WITH_NEW_XORG > and, if it is defined, use a different PORT_REVISION. If the old Xorg > driver gets a bump of PORT_REVESION, the new one would, as well, but I > don't see any reason this could not be done as both numbers are in the same > Makefile and should be only a few lines apart. something like: > . if defined(WITH_NEW_XORG) > PORT_REVISION=2 > . else > PORT_REVISION=1 > . endif > > This may break the index, so I'm not sure it would work as simply as this, > but I bet it could be made to work, > -- > R. Kevin Oberman, Network Engineer, Retired > E-mail: rkoberman@gmail.com > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > I can't check this out right now, BUT are the keyboard/mouse drivers on the WITH_NEW_XORG repo server built correctly? If that is the case then you can force PKG to fetch them from that REPO and then you can (using some magic I don't understand, setting something in the comment field) force PKG to always fetch from this repo. I have a plan B on this, which is to have a 'repo search order' capability added to PKG. IF you search the WITH_NEW_XORG repo first, THEN search the standard repo AND if you have two packages with the same version, etc, then you get it from the first repository you searched. If the packages on the WITH_NEW_XORG server have the same version/etc as the packages on the standardard server BUT they have been built with NEW_XORG then this should work. I think. Perhaps. Maybe. This idea may be bogus. From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 04:23:54 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 168F6890; Wed, 24 Sep 2014 04:23:54 +0000 (UTC) Received: from fly.hiwaay.net (fly.hiwaay.net [216.180.54.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CFF239FB; Wed, 24 Sep 2014 04:23:53 +0000 (UTC) Received: from kabini1.local (rbn1-216-180-76-51.adsl.hiwaay.net [216.180.76.51]) (authenticated bits=0) by fly.hiwaay.net (8.13.8/8.13.8/fly) with ESMTP id s8O4Np2Z027980 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 23 Sep 2014 23:23:51 -0500 Message-ID: <542248CE.9050202@hiwaay.net> Date: Tue, 23 Sep 2014 23:30:06 -0500 From: "William A. Mahaffey III" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.1.0 MIME-Version: 1.0 To: freebsd-x11@freebsd.org Subject: Re: FreeBSD Port: x11-servers/xorg-server References: <5414A4B6.5010706@UToledo.edu> <5416B1FE.1010801@dumbbell.fr> <1411306792093-5950838.post@n5.nabble.com> <1411317698961-5950873.post@n5.nabble.com> <541F2CA4.6@hiwaay.net> <1411341142791-5950945.post@n5.nabble.com> <541F64A4.3030002@hiwaay.net> <542096D6.2000403@astart.com> <5420F4C9.7090109@hiwaay.net> <54223E95.6080305@astart.com> In-Reply-To: <54223E95.6080305@astart.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Cc: ports@freebsd.org, freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 04:23:54 -0000 On 09/23/14 22:46, Patrick Powell wrote: > On 09/22/14 23:50, Kevin Oberman wrote: >> On Mon, Sep 22, 2014 at 9:19 PM, William A. Mahaffey III >> >> wrote: >> >>> On 09/22/14 16:38, Patrick Powell wrote: >>> >>>> On 09/21/14 16:52, William A. Mahaffey III wrote: >>>> >>>>> On 09/21/14 18:12, Robert_Burmeister wrote: >>>>> >>>>>> William A. Mahaffey III wrote >>>>>> >>>>>>> On 09/21/14 11:41, Robert_Burmeister wrote: >>>>>>> >>>>>>>> On 13.09.2014 22:10, Robert Burmeister wrote: >>>>>>>>>>>> FreeBSD 10.1 i386 >>>>>>>>>>>> xorg-server 1.12.4_9,1 and 1.12.4_1,1 >>>>>>>>>>>> Still don't have mouse support after upgrade from 1.12.4_8,1 >>>>>>>>>>>> >>>>>>>>>>> [ 1786.822] (EE) Failed to load module "mouse" (module does >>>>>>>>>>> not >>>>>>>>>> exist, >>>>>>>>>> 0) >>>>>>>>>> >>>>>>>>> Have you installed x11-drivers/xf86-input-mouse? >>>>>>>>> >>>>>>>>>> [ 1786.825] (EE) Failed to load module "kbd" (module does not >>>>>>>>>> exist, >>>>>>>>>> 0) >>>>>>>>>> >>>>>>>>> And x11-drivers/xf86-input-keyboard? >>>>>>>>> _______________________________________________ >>>>>>>>> >>>>>>>> Installing x11-drivers/xf86-input-mouse and >>>>>>>> x11-drivers/xf86-input-keyboard >>>>>>>> fixed the problem, however, I don't understand why upgrading >>>>>>>> from xorg-server 1.12.4_8,1 to xorg-server 1.12.4_9,1 >>>>>>>> would require new drivers, or lose the ones it had. >>>>>>>> >>>>>>>> I would think these drivers would/should be a dependency for >>>>>>>> xorg-server >>>>>>>> in the Ports system... >>>>>>>> _______________________________________________ >>>>>>>> >>>>>>> I have had that same problem verbatim the last 2 x-server >>>>>>> upgrades I >>>>>>> did, & that was the fix, (re?)install the kbd & mouse drivers. I >>>>>>> (pkg-)upgraded this A.M., no such issues .... >>>>>>> ---------------------------------------------------------------------- >>>>>>> >>>>>>> >>>>>> Even more interesting... >>>>>> x11-drivers/xf86-input-mouse and x11-drivers/xf86-input-keyboard >>>>>> have xorg-server as a dependency, and so cannot be a circular >>>>>> dependency. >>>>>> >>>>>> I'm guessing that the mouse and keyboard drivers got deleted as >>>>>> dependents >>>>>> of >>>>>> xorg-server during the upgrade, but there are no dependencies in my >>>>>> desktop >>>>>> build >>>>>> process that require that they be put back, even through a complete >>>>>> system >>>>>> recompile. >>>>>> >>>>>> I'm thinking 'x11-drivers/xorg-drivers' and 'x11/xorg-minimal' >>>>>> should be >>>>>> bumped >>>>>> when xorg-server is upgraded. >>>>>> >>>>>> (When my current recompile is done, I will check that my >>>>>> xorg-drivers >>>>>> didn't >>>>>> get removed as well.) >>>>>> >>>>> >>>>> I am using pkg, no ports, no recompiling .... FBSD 9.3, BTW .... >>>>> >>>>> >>>>> Just a thought - check to make sure that the >>>>> x11-drivers/xf86-input-keyboard >>>> port on the PKGng server you are using was actually rebuilt for >>>> the new >>>> version of xorg-server. I had this problem a couple of weeks ago >>>> and the X >>>> log file hinted that the keyboard driver was not compatible with the >>>> version of xorg-server. At the time I thought that this was due to >>>> a lag >>>> in the PKGng server building the new drivers so I compiled and >>>> installed >>>> the x11-drivers/xf86-input-keyboard. The problem went away. >>>> >>>> This appears to be the same sort of issue. Perhaps the driver(s) >>>> are not >>>> getting rebuilt for the new version of xorg-server? Or perhaps >>>> this is >>>> related to packages on the 'with_new_xorg' PKGng server versus >>>> packages on >>>> the standard PKGng server? >>>> _______________________________________________ >>>> freebsd-x11@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-x11 >>>> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >>>> >>>> >>> Would that (drivers not getting rebuilt right) be a pkg problem or >>> an X11 >>> problem (or something else) ? Just checking .... >>> >>> >>> -- >>> >>> William A. Mahaffey III >> >> It's a ports issue. The ports system (which is used by pkg) depends on >> incrementing version numbers to tell when a port has been updated and >> needs >> to be rebuilt or when a port needs updating because a dependency has >> been >> updated in a way that affects the port. The former is typically the >> result >> of a change to a port that changes hte version number. The later is a >> bump >> of the PORT_REVISION to indicate to the ports system that some change >> that >> did not come from a change upstream, but local to FreeBSD requires a >> port >> rebuild. >> >> In this case, it does not work. The actual version number has not >> changed >> as the upstream version has not changed. PORT_REVISION would result >> in the >> ports being rebuilt, but that does not play with the definition of >> WITH_NEW_XORG. I somehow needs to be bumped when any system sets >> WITH_NEW_XORG and I don't see any way in hte current structure to do >> this. >> It is the result of having two parallel ports trees. >> >> One possible fix is to have code in the Makefile to check WITH_NEW_XORG >> and, if it is defined, use a different PORT_REVISION. If the old Xorg >> driver gets a bump of PORT_REVESION, the new one would, as well, but I >> don't see any reason this could not be done as both numbers are in >> the same >> Makefile and should be only a few lines apart. something like: >> . if defined(WITH_NEW_XORG) >> PORT_REVISION=2 >> . else >> PORT_REVISION=1 >> . endif >> >> This may break the index, so I'm not sure it would work as simply as >> this, >> but I bet it could be made to work, >> -- >> R. Kevin Oberman, Network Engineer, Retired >> E-mail: rkoberman@gmail.com >> _______________________________________________ >> freebsd-x11@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-x11 >> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" >> > I can't check this out right now, BUT are the keyboard/mouse drivers > on the WITH_NEW_XORG > repo server built correctly? If that is the case then you can force > PKG to fetch them from that REPO > and then you can (using some magic I don't understand, setting > something in the comment field) force > PKG to always fetch from this repo. I can't vouch for how they're built, but here's where they came from: [root@kabini1, /etc, 11:25:16pm] 324 % pkg query -g '%n: %R' 'xf86*' xf86-input-keyboard: FreeBSD_new_xorg xf86-input-mouse: FreeBSD_new_xorg xf86-video-ati: FreeBSD_new_xorg xf86-video-intel: FreeBSD_new_xorg xf86-video-mach64: FreeBSD xf86-video-nv: FreeBSD xf86-video-openchrome: FreeBSD xf86-video-r128: FreeBSD xf86-video-vesa: FreeBSD_new_xorg xf86dga: FreeBSD xf86dgaproto: FreeBSD xf86driproto: unknown-repository xf86miscproto: FreeBSD xf86vidmodeproto: FreeBSD [root@kabini1, /etc, 11:25:19pm] 325 % > > I have a plan B on this, which is to have a 'repo search order' > capability added to PKG. > IF you search the WITH_NEW_XORG repo first, THEN search the standard > repo > AND if you have two packages with the same version, etc, then you get > it from the first > repository you searched. Someone posted that very suggestion a week or so ago, generated several replies, & it was rejected (IIRC) as a bad idea for some reason .... I like it myself, but what do I know ???? > > If the packages on the WITH_NEW_XORG server have the same version/etc > as the packages on the > standardard server BUT they have been built with NEW_XORG then this > should work. > > I think. Perhaps. Maybe. This idea may be bogus. > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" > -- William A. Mahaffey III ---------------------------------------------------------------------- "The M1 Garand is without doubt the finest implement of war ever devised by man." -- Gen. George S. Patton Jr. From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 11:53:10 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A5F443AB for ; Wed, 24 Sep 2014 11:53:10 +0000 (UTC) Received: from avasout07.plus.net (avasout07.plus.net [84.93.230.235]) by mx1.freebsd.org (Postfix) with ESMTP id 39207DDE for ; Wed, 24 Sep 2014 11:53:09 +0000 (UTC) Received: from curlew.milibyte.co.uk ([84.92.153.232]) by avasout07 with smtp id uzsz1o003516WCc01zt0SW; Wed, 24 Sep 2014 12:53:02 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=OOap3EqB c=1 sm=1 tr=0 a=lfSX4pPLp9EkufIcToJk/A==:117 a=lfSX4pPLp9EkufIcToJk/A==:17 a=D7rCoLxHAAAA:8 a=0Bzu9jTXAAAA:8 a=PBtdaOD29JoA:10 a=FAb_M-RF9CUA:10 a=IVpisvOK1BcA:10 a=ZTb9aqGL9YkA:10 a=8nJEP1OIZ-IA:10 a=6I5d2MoRAAAA:8 a=NP8VjI5kDbKkaj4afa4A:9 a=wPNLvfGTeEIA:10 a=Vdaloe5F0ioA:10 Received: from curlew.lan ([192.168.1.13]) by curlew.milibyte.co.uk with esmtp (Exim 4.84) (envelope-from ) id 1XWl7x-000Klg-Ug; Wed, 24 Sep 2014 12:52:59 +0100 From: Mike Clarke To: freebsd-ports@freebsd.org, papowell@astart.com, ports@freebsd.org Date: Wed, 24 Sep 2014 12:52:55 +0100 Message-ID: <1661807.9J09C5k3ze@curlew.lan> User-Agent: KMail/4.12.5 (FreeBSD/9.3-RELEASE-p2; KDE/4.12.5; amd64; ; ) In-Reply-To: <54223E95.6080305@astart.com> References: <5414A4B6.5010706@UToledo.edu> <54223E95.6080305@astart.com> MIME-Version: 1.0 X-SA-Exim-Connect-IP: 192.168.1.13 X-SA-Exim-Mail-From: jmc-freebsd2@milibyte.co.uk X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on curlew.lan X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham autolearn_force=no version=3.4.0 Subject: Re: FreeBSD Port: x11-servers/xorg-server Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="iso-8859-1" X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on curlew.milibyte.co.uk) Cc: freebsd-x11@freebsd.org, freebsd-pkg@freebsd.org X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 11:53:10 -0000 On Tuesday 23 Sep 2014 20:46:29 Patrick Powell wrote: > I can't check this out right now, BUT are the keyboard/mouse > drivers on the WITH_NEW_XORG > repo server built correctly? They appear to be built OK, curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-mouse xf86-input-mouse 1.9.0_4 FreeBSD xf86-input-mouse 1.9.0_4 FreeBSD_new_xorg curlew:/home/mike% pkg rquery "%n %v %R" xf86-input-keyboard xf86-input-keyboard 1.8.0_5 FreeBSD xf86-input-keyboard 1.8.0_5 FreeBSD_new_xorg Both repos have the same version but when I ran pkg upgrade it used FreeBSD for both these drivers with the result that I couldn't log in with KDM until I forcibly installed them from FreeBSD_new_xorg > If that is the case then you can > force PKG to fetch them from that REPO > and then you can (using some magic I don't understand, setting > something in the comment field) force > PKG to always fetch from this repo. > > I have a plan B on this, which is to have a 'repo search order' > capability added to PKG. > IF you search the WITH_NEW_XORG repo first, THEN search the > standard repo AND if you have two packages with the same version, > etc, then you get it from the first > repository you searched. Would an alternative approach when upgrading a package be to check to see if the existing package is annotated with a repository tag and use its value to decide which repository to use. This would have worked in my above example. curlew:/home/mike% pkg query "%n %At %Av" xf86-input-mouse xf86-input- keyboard xf86-input-mouse repo_type binary xf86-input-mouse repository FreeBSD_new_xorg xf86-input-keyboard repo_type binary xf86-input-keyboard repository FreeBSD_new_xorg It would however require the repository to be specified by the user when initially installing the package. The instructions in https://lists.freebsd.org/pipermail/freebsd-ports/2013-November/087487.html give the impression that the value of the annotation should influence the choice of repository but this does not appear to happen. -- Mike Clarke From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 21:28:25 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB8BBDD8 for ; Wed, 24 Sep 2014 21:28:25 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 9C1DEE42 for ; Wed, 24 Sep 2014 21:28:25 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 6B2D0D16A4A for ; Wed, 24 Sep 2014 23:28:18 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id rjeqD-oPahgo for ; Wed, 24 Sep 2014 23:28:17 +0200 (CEST) Message-ID: <54233771.4090803@dat.pl> Date: Wed, 24 Sep 2014 23:28:17 +0200 From: Maciej Milewski MIME-Version: 1.0 To: pkg@FreeBSD.org Subject: Can't compile pkg on mips Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 21:28:25 -0000 Hi, I have problem with compiling pkg-1.3.8 on my RSPro mips board: =3D=3D=3D> Building for pkg-1.3.8 /usr/bin/make all-recursive Making all in external /usr/bin/make all-am Making all in libpkg Making all in repo Making all in binary Making all in . Making all in src CC pkg-info.o cc1: warnings being treated as errors info.c: In function 'exec_info': info.c:266: warning: implicit declaration of function 'cap_rights_init' info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes integer from pointer without a cast *** [pkg-info.o] Error code 1 make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src= 1 error make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/src= *** [all-recursive] Error code 1 make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 1 error make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 *** [all] Error code 2 make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 1 error make: stopped in /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg However my system isn't quite fresh (it's 10-CURRENT r253582) if that might make the difference. Currently ports are throwing: =3D=3D=3D> pkgconf-0.9.7 pkg(8) must be version 1.3.8 or greater, but yo= u have 1.2.7_3. You must upgrade pkg(8) first. and I'm stuck. Any hints are welcome. --=20 Pozdrawiam, Maciej Milewski From owner-freebsd-pkg@FreeBSD.ORG Wed Sep 24 22:55:08 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B2E7C2B0 for ; Wed, 24 Sep 2014 22:55:08 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6D7BF951 for ; Wed, 24 Sep 2014 22:55:07 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1XWvSi-0001Me-1A for freebsd-pkg@freebsd.org; Thu, 25 Sep 2014 00:55:04 +0200 Received: from n07-06-08.opera-mini.net ([185.26.182.36]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 00:55:04 +0200 Received: from p by n07-06-08.opera-mini.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 25 Sep 2014 00:55:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-pkg@freebsd.org From: Pierre Subject: Re: firefox: pkg: Cannot solve problem using SAT solver Date: Wed, 24 Sep 2014 22:48:10 +0000 (UTC) Lines: 27 Message-ID: References: <201409140845.s8E8jmkC000795@mech-as221.men.bris.ac.uk> <541558C4.507@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 185.26.182.36 (Opera/9.80 (X11; FreeBSD 10.0-RELEASE amd64) Presto/2.12.388 Version/12.16) X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Sep 2014 22:55:08 -0000 Radek KrejÄa writes: > > > > Have I forgotten something? > > > > You're the second person to report this. It does seem to be a problem > > with the firefox port in the FreeBSD repository. Looks like it > > conflicts with it's own dependencies. > > It looks, that problem should be in jpeg-turbo, because some packages need jpeg and others jpeg-turbo. But > I dont know if is the reason. > > And this situation is about 3 weeks old. > > Radek > _______________________________________________ > freebsd-pkg@... mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-pkg > To unsubscribe, send any mail to "freebsd-pkg-unsubscribe@..." > > I got a same issue installing Mate. So I just typed pkg add /var/cache/pkg/ mate-x.x.x, it works pierre From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 15:20:56 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 90FBF2DF for ; Thu, 25 Sep 2014 15:20:56 +0000 (UTC) Received: from mail-wg0-x234.google.com (mail-wg0-x234.google.com [IPv6:2a00:1450:400c:c00::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2BC68C8D for ; Thu, 25 Sep 2014 15:20:56 +0000 (UTC) Received: by mail-wg0-f52.google.com with SMTP id n12so6295065wgh.11 for ; Thu, 25 Sep 2014 08:20:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=XtRJ5uD8qPsKkT6+1so+75vCv260KxvR4buIqcf/U9s=; b=WgXjqt7RWWYqebQ4O7i3z1o0DHkOhgKcATF7NrlU8jC8SdSCa3aQAdswVeal2TM2dp 9r5xHGV12Cdaur9NbM7ifo7ib3Y8K3Pqx2k2X9BVQsbuQYLqvmTamfmp4jxzE1UYkIZg DIU1K58KOERn5BsgZ9UQGm6J4sAMljcjRe3y4FPq70GVdLS2KYX5QB2grbTTJPDpa4Td TCNqP5agto0hldUIloYphDb0mvaUeV5b3vH2m1m9EbMVCtdpNYrxV7dDbmUajIMYyb94 OhbceDvwWPQW0uAZn6uAaTCxXxZy4J3UKHsVN8lgPQxCikwKw106KHe43DyL8ygiPRkH +02Q== MIME-Version: 1.0 X-Received: by 10.180.21.199 with SMTP id x7mr2259139wie.73.1411658454444; Thu, 25 Sep 2014 08:20:54 -0700 (PDT) Sender: cmeyer1969@gmail.com Received: by 10.216.116.197 with HTTP; Thu, 25 Sep 2014 08:20:54 -0700 (PDT) Date: Thu, 25 Sep 2014 08:20:54 -0700 X-Google-Sender-Auth: pl-pRPTSZiUZeYRkOb0blmeRwPE Message-ID: Subject: Updating openssl with pkg From: Chris Meyer To: freebsd-pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 15:20:56 -0000 I'm running 9.2-RELEASE-p12 and using pkg (original system switched to pkg using pkg2ng). The system comes with openssl 0.9.8y. I have done 'pkg install openssl' and 'pkg info' shows openssl-1.0.1_15 is now installed. However, when I do 'openssl version' it still shows version 0.9.8y. How do I get the system to use the new version of openssl when installed using pkg? From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 16:01:26 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 94DB7186; Thu, 25 Sep 2014 16:01:26 +0000 (UTC) Received: from mail-oi0-x233.google.com (mail-oi0-x233.google.com [IPv6:2607:f8b0:4003:c06::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5751C14A; Thu, 25 Sep 2014 16:01:26 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id h136so2568457oig.38 for ; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WIpuOZTdewujlyzrYBe3c3ukF+XkE8HN2hGfBB4fq+4=; b=IHV1DGypO093cH9Pd+Nd7DNrD01DRG2CAb2wYuX7kibk6isjwlY0ekWN0SVt+DMtlZ aRZpVyZJB+LN3X7BcLCKGJAa3REFsOYwHD1EicAdJXe+DxhGdV/vRgEIcexV0LQT9rGd VzjR4u4m+/33rJITpleLC0q+HV3qyfWTaaGAEbcGOIEsYOSPO/R6kMt21L0giKt/jaBL 8fO1k1X8uEWKlZq6SDrS+3SqIqsbpA0+0pdhonE+cRGB6SgxIwBTHGZMeDJ7NHdKalpz 9zlp7PIUDgcWUMOdRJddkOkPn5bntW1klQ+88r3MeKt2+RYSDd2BnwkZUeYMoQXn8zFw BO2w== MIME-Version: 1.0 X-Received: by 10.60.44.193 with SMTP id g1mr15026112oem.26.1411660883780; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Thu, 25 Sep 2014 09:01:23 -0700 (PDT) In-Reply-To: <54233771.4090803@dat.pl> References: <54233771.4090803@dat.pl> Date: Thu, 25 Sep 2014 13:01:23 -0300 Message-ID: Subject: Re: Can't compile pkg on mips From: Thiago Farina To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 16:01:26 -0000 On Wed, Sep 24, 2014 at 6:28 PM, Maciej Milewski wrote: > Hi, > I have problem with compiling pkg-1.3.8 on my RSPro mips board: > ===> Building for pkg-1.3.8 > /usr/bin/make all-recursive > Making all in external > /usr/bin/make all-am > Making all in libpkg > Making all in repo > Making all in binary > Making all in . > Making all in src > CC pkg-info.o > cc1: warnings being treated as errors > info.c: In function 'exec_info': > info.c:266: warning: implicit declaration of function 'cap_rights_init' > info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes > integer from pointer without a cast > *** [pkg-info.o] Error code 1 > Have you tried fixing this warning? As it is treating warnings as errors the compilation fails. Hope that helps, Regards, -- Thiago Farina From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 16:19:53 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EC491C29; Thu, 25 Sep 2014 16:19:53 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id A82F7A12; Thu, 25 Sep 2014 16:19:53 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 40EAAD16A4A; Thu, 25 Sep 2014 18:19:52 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id nRSwXovpq1nW; Thu, 25 Sep 2014 18:19:51 +0200 (CEST) In-Reply-To: References: <54233771.4090803@dat.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: Can't compile pkg on mips From: Maciej Milewski Date: Thu, 25 Sep 2014 18:19:49 +0200 To: Thiago Farina Message-ID: <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 16:19:54 -0000 On 25 wrzeÅ›nia 2014 18:01:23 CEST, Thiago Farina wrote: >On Wed, Sep 24, 2014 at 6:28 PM, Maciej Milewski wrote: >> Hi, >> I have problem with compiling pkg-1.3.8 on my RSPro mips board: >> ===> Building for pkg-1.3.8 >> /usr/bin/make all-recursive >> Making all in external >> /usr/bin/make all-am >> Making all in libpkg >> Making all in repo >> Making all in binary >> Making all in . >> Making all in src >> CC pkg-info.o >> cc1: warnings being treated as errors >> info.c: In function 'exec_info': >> info.c:266: warning: implicit declaration of function >'cap_rights_init' >> info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes >> integer from pointer without a cast >> *** [pkg-info.o] Error code 1 >> >Have you tried fixing this warning? As it is treating warnings as >errors the compilation fails. > >Hope that helps, > >Regards, Yes tried removing -Werror from src/Makefile. If that's sth connected with capsicum then my system might be built before that got to the tree. I'll try of I can build and flash newer image for that device. -- WysÅ‚ane z Androida za pomocÄ… K-9 Mail. Prosze wybaczyć lakoniczność. From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 16:27:20 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8BBD95D7 for ; Thu, 25 Sep 2014 16:27:20 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6C228AFA for ; Thu, 25 Sep 2014 16:27:20 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PGRKlZ005175 for ; Thu, 25 Sep 2014 16:27:20 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8PGRKgr005172 for pkg@freebsd.org; Thu, 25 Sep 2014 16:27:20 GMT (envelope-from bdrewery) Received: (qmail 96808 invoked from network); 25 Sep 2014 11:27:18 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 25 Sep 2014 11:27:18 -0500 Message-ID: <5424425A.9040709@FreeBSD.org> Date: Thu, 25 Sep 2014 11:27:06 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Maciej Milewski , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> In-Reply-To: <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj" Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 16:27:20 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/25/2014 11:19 AM, Maciej Milewski wrote: >=20 >=20 > On 25 wrze=C5=9Bnia 2014 18:01:23 CEST, Thiago Farina wrote: >> On Wed, Sep 24, 2014 at 6:28 PM, Maciej Milewski wrote: >>> Hi, >>> I have problem with compiling pkg-1.3.8 on my RSPro mips board: >>> =3D=3D=3D> Building for pkg-1.3.8 >>> /usr/bin/make all-recursive >>> Making all in external >>> /usr/bin/make all-am >>> Making all in libpkg >>> Making all in repo >>> Making all in binary >>> Making all in . >>> Making all in src >>> CC pkg-info.o >>> cc1: warnings being treated as errors >>> info.c: In function 'exec_info': >>> info.c:266: warning: implicit declaration of function >> 'cap_rights_init' >>> info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes >>> integer from pointer without a cast >>> *** [pkg-info.o] Error code 1 >>> >> Have you tried fixing this warning? As it is treating warnings as >> errors the compilation fails. >> >> Hope that helps, >> >> Regards, > Yes tried removing -Werror from src/Makefile. If that's sth connected w= ith capsicum then my system might be built before that got to the tree. I= 'll try of I can build and flash newer image for that device. >=20 Huh that's strange. The header is included properly. What FreeBSD version is this? --=20 Regards, Bryan Drewery --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUJEJaAAoJEDXXcbtuRpfP8KYH/3EpvmSSxra+W2A/x+Q7fAUJ y1pdGyc3JkJ8KvFnReP+SKZaP/HTa/BUoKkO2G8TnOWQ3TIxgEJU9t0T9ZcHF1HN HvPDXFd63LW3M6zUMoIz3zuIFCqZxInaol3shuknAeedAPkIAG72ir2WUYs6kzrP y3cd3ZniU5QFiCJOqNUwQ9LybgW/9OqeurdG0PADcJ5tmydycTQh/AbgHow0KEqK MH6DHrUMUIsdC07zs2MzITjWNlzoOBz8NhY1IX5m8ERKnXDL9ZXHwKQCqmBZeWbE n/UKgdTDYzUo4OdwUJ8ktYn1e6+szd2ADIJCCdhfXGB86eP+pAs0xUF4f00fT7g= =Wvpt -----END PGP SIGNATURE----- --D5B4kViMhnAnx28cl3EnnL18bGBIU7Ipj-- From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 19:33:33 2014 Return-Path: Delivered-To: pkg@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7DD00972 for ; Thu, 25 Sep 2014 19:33:33 +0000 (UTC) Received: from exch01.corp.dsl4u.ca (exch01.corp.dsl4u.ca [208.113.61.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "exch01.corp.dsl4u.ca", Issuer "GeoTrust DV SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 363D6338 for ; Thu, 25 Sep 2014 19:33:32 +0000 (UTC) Received: from exch01.corp.dsl4u.ca ([10.10.18.10]) by exch01.corp.dsl4u.ca ([10.10.18.10]) with mapi id 14.02.0387.000; Thu, 25 Sep 2014 15:32:23 -0400 From: Peter Sprokkelenburg To: "pkg@FreeBSD.org" Subject: Legacy system Thread-Topic: Legacy system Thread-Index: Ac/Y9xZfxHrXf2RpTpiP5ZresWYKFQ== Date: Thu, 25 Sep 2014 19:32:22 +0000 Message-ID: <593F4F4552EC764FBA345306F57D4C6C47A8194C@exch01.corp.dsl4u.ca> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.113.14.6] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 19:33:33 -0000 I have a system that we only use internally and it some how got *missed* on= getting upgrade to pkg from pkg_ Attempting to upgrade now give an error - /usr/ports/ports-mgmt/pkg]# make You are about to convert your system to pkg while you have ports/packages installed with the old pkg_install tools. To switch to pkg: 1) Install ports-mgmt/pkg 2) Convert your package database by running pkg2ng *** [pre-everything] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. Any work arounds to get this installed and running on pkg? Haven't been abl= e to find much... ----- Peter Sprokkelenburg http://www.dsl4u.ca From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 20:27:09 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7763B434; Thu, 25 Sep 2014 20:27:09 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 33F8EB41; Thu, 25 Sep 2014 20:27:08 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 257B6D16A0F; Thu, 25 Sep 2014 22:27:07 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id jws7PKlmWdTk; Thu, 25 Sep 2014 22:27:06 +0200 (CEST) Message-ID: <54247A94.6090901@dat.pl> Date: Thu, 25 Sep 2014 22:27:00 +0200 From: Maciej Milewski MIME-Version: 1.0 To: Bryan Drewery , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> In-Reply-To: <5424425A.9040709@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:27:09 -0000 On 25.09.2014 18:27, Bryan Drewery wrote: > On 9/25/2014 11:19 AM, Maciej Milewski wrote: >> >> On 25 wrze=C5=9Bnia 2014 18:01:23 CEST, Thiago Farina wrote: >>> On Wed, Sep 24, 2014 at 6:28 PM, Maciej Milewski wrote:= >>>> Hi, >>>> I have problem with compiling pkg-1.3.8 on my RSPro mips board: >>>> =3D=3D=3D> Building for pkg-1.3.8 >>>> /usr/bin/make all-recursive >>>> Making all in external >>>> /usr/bin/make all-am >>>> Making all in libpkg >>>> Making all in repo >>>> Making all in binary >>>> Making all in . >>>> Making all in src >>>> CC pkg-info.o >>>> cc1: warnings being treated as errors >>>> info.c: In function 'exec_info': >>>> info.c:266: warning: implicit declaration of function >>> 'cap_rights_init' >>>> info.c:267: warning: passing argument 2 of 'cap_rights_limit' makes >>>> integer from pointer without a cast >>>> *** [pkg-info.o] Error code 1 >>>> >>> Have you tried fixing this warning? As it is treating warnings as >>> errors the compilation fails. >>> >>> Hope that helps, >>> >>> Regards, >> Yes tried removing -Werror from src/Makefile. If that's sth connected = with capsicum then my system might be built before that got to the tree. = I'll try of I can build and flash newer image for that device. >> > Huh that's strange. The header is included properly. > > What FreeBSD version is this? > FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac after manual edit src/Makefile and removing -Werror compilation went few lines further: =3D=3D=3D> Building for pkg-1.3.8 /usr/bin/make all-recursive Making all in external /usr/bin/make all-am Making all in libpkg Making all in repo Making all in binary Making all in . Making all in src CCLD pkg pkg-info.o: In function `exec_info': info.c:(.text+0x5ac): undefined reference to `cap_rights_init' pkg-ssh.o: In function `exec_ssh': ssh.c:(.text+0x160): undefined reference to `cap_rights_init' pkg-updating.o: In function `exec_updating': updating.c:(.text+0x334): undefined reference to `cap_rights_init' *** [pkg] Error code 1 --=20 Pozdrawiam, Maciej Milewski From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 20:27:16 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0AD64454 for ; Thu, 25 Sep 2014 20:27:16 +0000 (UTC) Received: from mail-qg0-x22c.google.com (mail-qg0-x22c.google.com [IPv6:2607:f8b0:400d:c04::22c]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BE63FB43 for ; Thu, 25 Sep 2014 20:27:15 +0000 (UTC) Received: by mail-qg0-f44.google.com with SMTP id f51so8340897qge.31 for ; Thu, 25 Sep 2014 13:27:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=IlCRbHY1SqByBlAv0Ya1g4rCJSvqw6YHje2yMr8q6CQ=; b=IRTYXRzlii3tFGdjbVTOUfTwP+Zi7idFVf20UHZr1Cm782hjNp/RefHCS4pxRUsfDG aSN17V4j0wJw5SPsw7RJ3Xg9J6ejDtr4KVQ7iIAqS6cmetXXlQZ5eGmhjvcfgT2MRivi eXd6fmZy6jED8CZo4BDQjVj02mqwVRVy/lQR0mdrJLDeLunnYxAFCm0hcZAho8YedFHL gKqPueS89BHCKNX7lUAeXPxOI19GeL0+GgXD+ByVlEDQm9c5Lppj/7kT35Isw1it7wr6 r01BIaXBDIwuJIPxckoSkFuKyiK4uvMWcKvv/HWAxtXn1aDqKWbXrVoegwluSHH6cF4+ kjdg== MIME-Version: 1.0 X-Received: by 10.140.89.105 with SMTP id u96mr24021476qgd.74.1411676834879; Thu, 25 Sep 2014 13:27:14 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.140.28.68 with HTTP; Thu, 25 Sep 2014 13:27:14 -0700 (PDT) In-Reply-To: <593F4F4552EC764FBA345306F57D4C6C47A8194C@exch01.corp.dsl4u.ca> References: <593F4F4552EC764FBA345306F57D4C6C47A8194C@exch01.corp.dsl4u.ca> Date: Thu, 25 Sep 2014 13:27:14 -0700 X-Google-Sender-Auth: dfHFGXqkf4yrzbJrMJSwJtpTHfc Message-ID: Subject: Re: Legacy system From: Craig Rodrigues To: Peter Sprokkelenburg Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:27:16 -0000 On Thu, Sep 25, 2014 at 12:32 PM, Peter Sprokkelenburg < peters@connections.ca> wrote: > I have a system that we only use internally and it some how got *missed* > on getting upgrade to pkg from pkg_ > > Attempting to upgrade now give an error - > > /usr/ports/ports-mgmt/pkg]# make > You are about to convert your system to pkg while you have ports/packages > installed with the old pkg_install tools. > > To switch to pkg: > 1) Install ports-mgmt/pkg > 2) Convert your package database by running pkg2ng > > *** [pre-everything] Error code 1 > > Stop in /usr/ports/ports-mgmt/pkg. > > Hi, Can you follow the steps (in order) here: https://www.freebsd.org/doc/handbook/pkgng-intro.html#pkgng-initial-setup and report anything that is unclear in that doc, so we can clean it up? -- Craig From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 20:33:53 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9CB8F654; Thu, 25 Sep 2014 20:33:53 +0000 (UTC) Received: from mail-ob0-x229.google.com (mail-ob0-x229.google.com [IPv6:2607:f8b0:4003:c01::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5BDB1C36; Thu, 25 Sep 2014 20:33:53 +0000 (UTC) Received: by mail-ob0-f169.google.com with SMTP id uy5so6126674obc.14 for ; Thu, 25 Sep 2014 13:33:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=KxOTzrOWYlqjzT4fgFOYqs7hzQivplLjpxtB6AGuyv4=; b=emiTe2/v1+v9l823X7nYLxf/Kk3Vm/cmtV2BquQoTWDGGhtSluP7xEhutWA0GGdg8H ODyrIdi0sbSmb4FLIX5EwH0SwJSBMKonu32YMqIfKEK3ElGkdYDUlznCKRlqGYrMHOAN mWgkI2tbcNkPXTiZ9a/9KjvGlnS0/M+zUdsgOZRYWN65zeK2hQgRKV4ZRQ2mlRWtrMAD +PG9Ek1twmJzjkupRpGdPK+qIg5lQFBtflL7JyVHKi/ueTYI5dUF47b9im5N2c6H9l0c 8o94Kf+UNiF95AxsBJ21XElU1sLHB6ztBpPT7KTukAtWR78cmBl3dXeow6gaCWPcZtFU yBqg== MIME-Version: 1.0 X-Received: by 10.182.197.165 with SMTP id iv5mr16339213obc.55.1411677232694; Thu, 25 Sep 2014 13:33:52 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Thu, 25 Sep 2014 13:33:52 -0700 (PDT) In-Reply-To: <54247A94.6090901@dat.pl> References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> Date: Thu, 25 Sep 2014 17:33:52 -0300 Message-ID: Subject: Re: Can't compile pkg on mips From: Thiago Farina To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 20:33:53 -0000 On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >> What FreeBSD version is this? >> > FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac > > after manual edit src/Makefile and removing -Werror compilation went few > lines further: > ===> Building for pkg-1.3.8 > /usr/bin/make all-recursive > Making all in external > /usr/bin/make all-am > Making all in libpkg > Making all in repo > Making all in binary > Making all in . > Making all in src > CCLD pkg > pkg-info.o: In function `exec_info': > info.c:(.text+0x5ac): undefined reference to `cap_rights_init' > pkg-ssh.o: In function `exec_ssh': > ssh.c:(.text+0x160): undefined reference to `cap_rights_init' > pkg-updating.o: In function `exec_updating': > updating.c:(.text+0x334): undefined reference to `cap_rights_init' > *** [pkg] Error code 1 > Can you do `grep -Rn cap_rights_limit . `, to figure out where "cap_rights_limit" is? It is missing either a ".a" or ".o" where this symbol is, hence it isn't linking. Not your fault though. -- Thiago Farina From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 21:27:27 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0FF35C1; Thu, 25 Sep 2014 21:27:27 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id BEF85269; Thu, 25 Sep 2014 21:27:26 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 7B868D16A0F; Thu, 25 Sep 2014 23:27:24 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 8ujeWPUUqkWX; Thu, 25 Sep 2014 23:27:23 +0200 (CEST) Message-ID: <542488B9.6090700@dat.pl> Date: Thu, 25 Sep 2014 23:27:21 +0200 From: Maciej Milewski MIME-Version: 1.0 To: Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 21:27:27 -0000 On 25.09.2014 22:33, Thiago Farina wrote: > On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >>> What FreeBSD version is this? >>> >> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >> >> after manual edit src/Makefile and removing -Werror compilation went few >> lines further: >> ===> Building for pkg-1.3.8 >> /usr/bin/make all-recursive >> Making all in external >> /usr/bin/make all-am >> Making all in libpkg >> Making all in repo >> Making all in binary >> Making all in . >> Making all in src >> CCLD pkg >> pkg-info.o: In function `exec_info': >> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >> pkg-ssh.o: In function `exec_ssh': >> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >> pkg-updating.o: In function `exec_updating': >> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >> *** [pkg] Error code 1 >> > Can you do `grep -Rn cap_rights_limit . `, to figure out where > "cap_rights_limit" is? > > It is missing either a ".a" or ".o" where this symbol is, hence it > isn't linking. > > Not your fault though. Sure I can: /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8# grep -Rn cap_rights_limit . ./src/ssh.c:78: if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS ) { ./src/ssh.c:79: warn("cap_rights_limit() failed"); ./src/info.c:267: if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS ) { ./src/info.c:268: warn("cap_rights_limit() failed"); ./src/updating.c:141: if (cap_rights_limit(fileno(fd), &rights) < 0 && errno != ENOSYS ) { ./src/updating.c:142: warn("cap_rights_limit() failed"); Binary file ./src/pkg-info.o matches Binary file ./src/pkg-ssh.o matches Binary file ./src/pkg-updating.o matches -- Pozdrawiam, Maciej Milewski From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 22:20:24 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6BCFD117; Thu, 25 Sep 2014 22:20:24 +0000 (UTC) Received: from exch01.corp.dsl4u.ca (exch01.corp.dsl4u.ca [208.113.61.90]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client CN "exch01.corp.dsl4u.ca", Issuer "GeoTrust DV SSL CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 209199E6; Thu, 25 Sep 2014 22:20:22 +0000 (UTC) Received: from exch01.corp.dsl4u.ca ([10.10.18.10]) by exch01.corp.dsl4u.ca ([10.10.18.10]) with mapi id 14.02.0387.000; Thu, 25 Sep 2014 18:20:21 -0400 From: Peter Sprokkelenburg To: Craig Rodrigues Subject: RE: Legacy system Thread-Topic: Legacy system Thread-Index: Ac/Y9xZfxHrXf2RpTpiP5ZresWYKFQAKYg4AAAR+SSA= Date: Thu, 25 Sep 2014 22:20:20 +0000 Message-ID: <593F4F4552EC764FBA345306F57D4C6C47A81B71@exch01.corp.dsl4u.ca> References: <593F4F4552EC764FBA345306F57D4C6C47A8194C@exch01.corp.dsl4u.ca> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [208.113.14.6] MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 22:20:24 -0000 Craig, Thank you for the link. I had some pkgdb corruption that I had to clean up first, that is all sorte= d and I was able to install pkg following the instructions. The /usr/sbin/pkg REALLY helped. Thanks again! ----- Peter Sprokkelenburg http://www.dsl4u.ca From: crodr001@gmail.com [mailto:crodr001@gmail.com] On Behalf Of Craig Rod= rigues Sent: Thursday, September 25, 2014 4:27 PM To: Peter Sprokkelenburg Cc: pkg@FreeBSD.org Subject: Re: Legacy system On Thu, Sep 25, 2014 at 12:32 PM, Peter Sprokkelenburg > wrote: I have a system that we only use internally and it some how got *missed* on= getting upgrade to pkg from pkg_ Attempting to upgrade now give an error - /usr/ports/ports-mgmt/pkg]# make You are about to convert your system to pkg while you have ports/packages installed with the old pkg_install tools. To switch to pkg: 1) Install ports-mgmt/pkg 2) Convert your package database by running pkg2ng *** [pre-everything] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. Hi, Can you follow the steps (in order) here: https://www.freebsd.org/doc/handbook/pkgng-intro.html#pkgng-initial-setup and report anything that is unclear in that doc, so we can clean it up? -- Craig From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 22:59:16 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 54D9D99 for ; Thu, 25 Sep 2014 22:59:16 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 19C83D6C for ; Thu, 25 Sep 2014 22:59:16 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8PMxFGJ034266 for ; Thu, 25 Sep 2014 22:59:15 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8PMxF6u034264 for pkg@freebsd.org; Thu, 25 Sep 2014 22:59:15 GMT (envelope-from bdrewery) Received: (qmail 11801 invoked from network); 25 Sep 2014 17:59:14 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 25 Sep 2014 17:59:14 -0500 Message-ID: <54249E38.5000209@FreeBSD.org> Date: Thu, 25 Sep 2014 17:59:04 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 MIME-Version: 1.0 To: Maciej Milewski , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> <542488B9.6090700@dat.pl> In-Reply-To: <542488B9.6090700@dat.pl> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QMCemjPR4gPSGcHnh4FGart7McpfOmhW2" Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 22:59:16 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --QMCemjPR4gPSGcHnh4FGart7McpfOmhW2 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/25/2014 4:27 PM, Maciej Milewski wrote: > On 25.09.2014 22:33, Thiago Farina wrote: >> On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >>>> What FreeBSD version is this? >>>> >>> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >>> >>> after manual edit src/Makefile and removing -Werror compilation went = few >>> lines further: >>> =3D=3D=3D> Building for pkg-1.3.8 >>> /usr/bin/make all-recursive >>> Making all in external >>> /usr/bin/make all-am >>> Making all in libpkg >>> Making all in repo >>> Making all in binary >>> Making all in . >>> Making all in src >>> CCLD pkg >>> pkg-info.o: In function `exec_info': >>> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >>> pkg-ssh.o: In function `exec_ssh': >>> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >>> pkg-updating.o: In function `exec_updating': >>> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >>> *** [pkg] Error code 1 >>> Can you post your config.log please? It generates during the build of pkg in the work dir. --=20 Regards, Bryan Drewery --QMCemjPR4gPSGcHnh4FGart7McpfOmhW2 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUJJ44AAoJEDXXcbtuRpfPpkMIALW3PMq3dC85IHbLWLJaq3TA dVc1ZHg3ontTLcR3kMv9VQYIjGmzSj6KzPMW0h3R8TP06wWuH+rtEGJj6ZyhtoRU K6EKu+r0iqrVnuaFk12Q4NERdO6j89uM+RGKsa9MmnTGu+4iH9wxo4KBOgc8beUk IgvjP0MftSeRlR2NGfpbJUonw1/Aw27l5B9P5OJOFHv8OMNt3zzDQ13bPTK1tsFS Skdzjcsz6AKZpz2yby1Rks1+IZZwBvcR2wx5EiYIgbvyYiCKme1g7TfiGOHei9en qhtIDU8w2TK+QTDo1RvFj/jcVdvNJNQBNtcaVnk0AtlhmhhSPzykMl0zsBmxpUk= =u3iY -----END PGP SIGNATURE----- --QMCemjPR4gPSGcHnh4FGart7McpfOmhW2-- From owner-freebsd-pkg@FreeBSD.ORG Thu Sep 25 23:07:49 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A432C36E; Thu, 25 Sep 2014 23:07:49 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id 11849E7F; Thu, 25 Sep 2014 23:07:48 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id ADBFED16A0F; Fri, 26 Sep 2014 01:07:41 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id L5JFZgoqNrZE; Fri, 26 Sep 2014 01:07:40 +0200 (CEST) Message-ID: <5424A03B.8080207@dat.pl> Date: Fri, 26 Sep 2014 01:07:39 +0200 From: Maciej Milewski MIME-Version: 1.0 To: Bryan Drewery , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> <542488B9.6090700@dat.pl> <54249E38.5000209@FreeBSD.org> In-Reply-To: <54249E38.5000209@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Sep 2014 23:07:49 -0000 On 26.09.2014 00:59, Bryan Drewery wrote: > On 9/25/2014 4:27 PM, Maciej Milewski wrote: >> On 25.09.2014 22:33, Thiago Farina wrote: >>> On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >>>>> What FreeBSD version is this? >>>>> >>>> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >>>> >>>> after manual edit src/Makefile and removing -Werror compilation went few >>>> lines further: >>>> ===> Building for pkg-1.3.8 >>>> /usr/bin/make all-recursive >>>> Making all in external >>>> /usr/bin/make all-am >>>> Making all in libpkg >>>> Making all in repo >>>> Making all in binary >>>> Making all in . >>>> Making all in src >>>> CCLD pkg >>>> pkg-info.o: In function `exec_info': >>>> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >>>> pkg-ssh.o: In function `exec_ssh': >>>> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >>>> pkg-updating.o: In function `exec_updating': >>>> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >>>> *** [pkg] Error code 1 >>>> > Can you post your config.log please? It generates during the build of > pkg in the work dir. > > Attached, might be cut by list rules. -- Pozdrawiam, Maciej Milewski From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 01:04:50 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CB0A0F4F for ; Fri, 26 Sep 2014 01:04:50 +0000 (UTC) Received: from mail-ie0-f170.google.com (mail-ie0-f170.google.com [209.85.223.170]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9C498C8A for ; Fri, 26 Sep 2014 01:04:50 +0000 (UTC) Received: by mail-ie0-f170.google.com with SMTP id x19so11910108ier.29 for ; Thu, 25 Sep 2014 18:04:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=wZ1SlHh7ttaexP4bUNBH44vAEZvayIeVtxwJxOMVfiQ=; b=RvJAnl3m6/Lr54cEHmz5AMA/HvutW1AuGok739BtL3OQsO9NNyAbmCdQ2xCpSsHw0D N0bPiQCRGcduI//9Dm7/CVmLUIPu1NpSDPXqzhAuwjAieL/HuYiD63awVwSposXEsGEy clZFfXS9JJYCP7i4w5ouZLXw+BhNF6BQteuprUIN+6H8RLPUhfyZR9TU3RbimaToDhJM TJ4m6XdITc3L0KH0K9bxlDtmXxFQJMpw4VOiuvPTnhKVlsYrPemAXKfai6Oc7MJ3/Glo OTHg9SnI4HPp/OIr373mluXXIQuwT/MHzm82hkd/zbGyNXH1zH8JP0dQJR2d8QeH/SC1 NOng== X-Gm-Message-State: ALoCoQmFjDswfVZTsh4aF9OWfnbHxnZMmxInGd7YZTRJM2FP/dt3l/kyKmUPlAu2N5k94d742lxD MIME-Version: 1.0 X-Received: by 10.42.78.135 with SMTP id n7mr22782981ick.4.1411693489284; Thu, 25 Sep 2014 18:04:49 -0700 (PDT) Received: by 10.107.156.130 with HTTP; Thu, 25 Sep 2014 18:04:49 -0700 (PDT) Date: Thu, 25 Sep 2014 19:04:49 -0600 Message-ID: Subject: Cant install ports-mgmt/pkg From: Tim Skinner To: pkg@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 01:04:51 -0000 Hello, I've run into a problem trying to install ports-mgmt/pkg. When trying to run make or portmaster I get the following error: You are about to convert your system to pkg while you have ports/packages installed with the old pkg_install tools. To switch to pkg: 1) Install ports-mgmt/pkg 2) Convert your package database by running pkg2ng *** [pre-everything] Error code 1 So it is telling me I cant install pkg without first installing pkg, it would be funny if it wasn't totally blocking my work :) I have two machines in this state that I must have forgotten to update to pkg. I have tried putting WITHOUT_PKGNG=yes in /etc/make.conf but that trick apparently does not work anymore. This system is: FreeBSD proxy2 9.3-RELEASE FreeBSD 9.3-RELEASE #2 r269738: Sun Aug 10 12:01:22 MDT 2014 Do you know of a work around to get pkg installed? Do I need to downgrade to an earlier kernel? Thanks, -Tim Skinner From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 02:01:14 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 82D50E39 for ; Fri, 26 Sep 2014 02:01:14 +0000 (UTC) Received: from mail-la0-x233.google.com (mail-la0-x233.google.com [IPv6:2a00:1450:4010:c03::233]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B3393FA for ; Fri, 26 Sep 2014 02:01:13 +0000 (UTC) Received: by mail-la0-f51.google.com with SMTP id pv20so4032530lab.24 for ; Thu, 25 Sep 2014 19:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=txgRAV++V/xcfliVSXGCEYfdltOhbncoKqh4pZmdKrQ=; b=Pzh1RErw6CTWfdzBB2SGVCkx6hVBc7TvSOWhR6wFcymgf3G1w0OLYZhbH4esN4LlXy eLmThXZLKwfLK3iB+2BLkunE5VVhIKIsBBJDds1ujyhJUSsR74TTXi3uaI2KVTYYB6pz LSMU2hutE04hD/AShyHsPt+DjhzLaEKewYRgcJx4RCh/3P1AEXnvBt3pO5yWZAqezt5J YnhStHtUUONtGF3n88a0oim9q+EMyDg0uNiRuAtk1dT8H0/JK+EIWFxI2FfsGull6jAJ SLRJ5NUqBrQzbYV6Vps+IWAbl2uMd6D/FZMptzyIrCEkzWhCA/axuQ8zqCJr6ssm13cb kTPg== MIME-Version: 1.0 X-Received: by 10.152.21.168 with SMTP id w8mr17312810lae.59.1411696872049; Thu, 25 Sep 2014 19:01:12 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.131.66 with HTTP; Thu, 25 Sep 2014 19:01:12 -0700 (PDT) In-Reply-To: References: Date: Thu, 25 Sep 2014 19:01:12 -0700 X-Google-Sender-Auth: 0qnFPhldpkUZQzG45POPLCGSNRQ Message-ID: Subject: Re: Cant install ports-mgmt/pkg From: Craig Rodrigues To: Tim Skinner Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: pkg X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 02:01:14 -0000 On Thu, Sep 25, 2014 at 6:04 PM, Tim Skinner wrote: > > You are about to convert your system to pkg while you have ports/packages > installed with the old pkg_install tools. > > To switch to pkg: > 1) Install ports-mgmt/pkg > 2) Convert your package database by running pkg2ng > > *** [pre-everything] Error code 1 > Can you try this: https://lists.freebsd.org/pipermail/freebsd-pkg/2014-September/000687.html -- Craig From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 03:47:08 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F317244E; Fri, 26 Sep 2014 03:47:07 +0000 (UTC) Received: from mail-oi0-x234.google.com (mail-oi0-x234.google.com [IPv6:2607:f8b0:4003:c06::234]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B211F9C; Fri, 26 Sep 2014 03:47:07 +0000 (UTC) Received: by mail-oi0-f52.google.com with SMTP id a141so7785646oig.11 for ; Thu, 25 Sep 2014 20:47:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UBZijIDBelUDhUBMwSm88uOTf8FN3PTLEDJOcyKiCMk=; b=wygE0CKJMIxu/v/EV3GyRq7tOzIAgKKssZAgTdMNT77Tn5DC/BSpUcN/gLPSed5kDO m2gJEZWiT2CA8v33LuBqvdbBooMtgsuM87GVhWU2BrIwgIvzKx02olpTG14DMZ/4rmOb +8JGqXbB5NXlwuFJFsz8x8b2Q8+eV4X3ODFLR89c0m/rcro5C4TnBNCjg8dleSarGw1p e8LiViMkeRKGb12p8khTgpe8ECIOXV7DmD0nI7fklu0vIYA1koXzOME4ntOC8uDrgDLR qVwYq5rLHaqRIfbVp/g1SYci4cvn/7CGVV4qU+1jHDrIjg6bzGhzZ+8vlavH7nUKU8dn Cq5A== MIME-Version: 1.0 X-Received: by 10.182.3.100 with SMTP id b4mr7550262obb.79.1411703227054; Thu, 25 Sep 2014 20:47:07 -0700 (PDT) Received: by 10.202.78.66 with HTTP; Thu, 25 Sep 2014 20:47:07 -0700 (PDT) In-Reply-To: <542488B9.6090700@dat.pl> References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> <542488B9.6090700@dat.pl> Date: Fri, 26 Sep 2014 00:47:07 -0300 Message-ID: Subject: Re: Can't compile pkg on mips From: Thiago Farina To: Maciej Milewski Content-Type: text/plain; charset=UTF-8 Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 03:47:08 -0000 On Thu, Sep 25, 2014 at 6:27 PM, Maciej Milewski wrote: > On 25.09.2014 22:33, Thiago Farina wrote: >> On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote: >>>> What FreeBSD version is this? >>>> >>> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >>> >>> after manual edit src/Makefile and removing -Werror compilation went few >>> lines further: >>> ===> Building for pkg-1.3.8 >>> /usr/bin/make all-recursive >>> Making all in external >>> /usr/bin/make all-am >>> Making all in libpkg >>> Making all in repo >>> Making all in binary >>> Making all in . >>> Making all in src >>> CCLD pkg >>> pkg-info.o: In function `exec_info': >>> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >>> pkg-ssh.o: In function `exec_ssh': >>> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >>> pkg-updating.o: In function `exec_updating': >>> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >>> *** [pkg] Error code 1 >>> >> Can you do `grep -Rn cap_rights_limit . `, to figure out where >> "cap_rights_limit" is? >> >> It is missing either a ".a" or ".o" where this symbol is, hence it >> isn't linking. >> >> Not your fault though. > Sure I can: > /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8# grep -Rn > cap_rights_limit . > ./src/ssh.c:78: if (cap_rights_limit(fd, &rights) < 0 && errno != ENOSYS ) { > ./src/ssh.c:79: warn("cap_rights_limit() failed"); > ./src/info.c:267: if (cap_rights_limit(fd, &rights) < 0 && > errno != ENOSYS ) { > ./src/info.c:268: warn("cap_rights_limit() failed"); > ./src/updating.c:141: if (cap_rights_limit(fileno(fd), &rights) < 0 && > errno != ENOSYS ) { > ./src/updating.c:142: warn("cap_rights_limit() failed"); > Binary file ./src/pkg-info.o matches > Binary file ./src/pkg-ssh.o matches > Binary file ./src/pkg-updating.o matches > Do you have HAVE_CAPSICUM defined? It needs to be defined in order to sys/capability.h to get included. But I think that does not explain the link issue. It is weird that it is not finding something from libc. -- Thiago Farina From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 08:19:00 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 483E111D; Fri, 26 Sep 2014 08:19:00 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id BEEE094; Fri, 26 Sep 2014 08:18:59 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 98F0BD16A0F; Fri, 26 Sep 2014 10:18:56 +0200 (CEST) X-Virus-Scanned: amavisd-new at dat.pl Received: from man.dat.pl ([127.0.0.1]) by man.dat.pl (man.dat.pl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id pqIRkZeWeDKG; Fri, 26 Sep 2014 10:18:55 +0200 (CEST) Message-ID: <5425216D.9090405@dat.pl> Date: Fri, 26 Sep 2014 10:18:53 +0200 From: Maciej Milewski MIME-Version: 1.0 To: Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> <542488B9.6090700@dat.pl> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: "pkg@FreeBSD.org" , Bryan Drewery X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 08:19:00 -0000 On 26.09.2014 05:47, Thiago Farina wrote: > On Thu, Sep 25, 2014 at 6:27 PM, Maciej Milewski wrote: >> On 25.09.2014 22:33, Thiago Farina wrote: >>> On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote:= >>>>> What FreeBSD version is this? >>>>> >>>> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >>>> >>>> after manual edit src/Makefile and removing -Werror compilation went= few >>>> lines further: >>>> =3D=3D=3D> Building for pkg-1.3.8 >>>> /usr/bin/make all-recursive >>>> Making all in external >>>> /usr/bin/make all-am >>>> Making all in libpkg >>>> Making all in repo >>>> Making all in binary >>>> Making all in . >>>> Making all in src >>>> CCLD pkg >>>> pkg-info.o: In function `exec_info': >>>> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >>>> pkg-ssh.o: In function `exec_ssh': >>>> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >>>> pkg-updating.o: In function `exec_updating': >>>> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >>>> *** [pkg] Error code 1 >>>> >>> Can you do `grep -Rn cap_rights_limit . `, to figure out where >>> "cap_rights_limit" is? >>> >>> It is missing either a ".a" or ".o" where this symbol is, hence it >>> isn't linking. >>> >>> Not your fault though. >> Sure I can: >> /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8# grep -Rn >> cap_rights_limit . >> ./src/ssh.c:78: if (cap_rights_limit(fd, &rights) < 0 && errno !=3D EN= OSYS ) { >> ./src/ssh.c:79: warn("cap_rights_limit() failed"); >> ./src/info.c:267: if (cap_rights_limit(fd, &rights) < 0 = && >> errno !=3D ENOSYS ) { >> ./src/info.c:268: warn("cap_rights_limit() faile= d"); >> ./src/updating.c:141: if (cap_rights_limit(fileno(fd), &rights) < 0 = && >> errno !=3D ENOSYS ) { >> ./src/updating.c:142: warn("cap_rights_limit() failed"); >> Binary file ./src/pkg-info.o matches >> Binary file ./src/pkg-ssh.o matches >> Binary file ./src/pkg-updating.o matches >> > Do you have HAVE_CAPSICUM defined? It needs to be defined in order to > sys/capability.h to get included. > > But I think that does not explain the link issue. It is weird that it > is not finding something from libc. > Grep shows that it's defined: Is it autodectected somehow? =20 # grep -nr HAVE_CAPSICUM * = =20 config.log:3815:#define HAVE_CAPSICUM 1 config.status:1086:D["HAVE_CAPSICUM"]=3D" 1" configure:13295:$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h configure.ac:224: AC_DEFINE(HAVE_CAPSICUM, 1, [Define 1 if you have 'capsicum'.]) configure.bak:13295:$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h libpkg/ssh.c:31:#ifdef HAVE_CAPSICUM libpkg/ssh.c:134:#ifdef HAVE_CAPSICUM pkg_config.h:17:#define HAVE_CAPSICUM 1 pkg_config.h.in:16:#undef HAVE_CAPSICUM src/ssh.c:31:#ifdef HAVE_CAPSICUM src/ssh.c:58:#ifdef HAVE_CAPSICUM src/ssh.c:76:#ifdef HAVE_CAPSICUM src/audit.c:259:#ifdef HAVE_CAPSICUM src/info.c:35:#ifdef HAVE_CAPSICUM src/info.c:99:#ifdef HAVE_CAPSICUM src/info.c:265:#ifdef HAVE_CAPSICUM src/event.c:40:#ifdef HAVE_CAPSICUM src/event.c:215:#ifdef HAVE_CAPSICUM src/event.c:319:#ifdef HAVE_CAPSICUM src/updating.c:32:#ifdef HAVE_CAPSICUM src/updating.c:84:#ifdef HAVE_CAPSICUM src/updating.c:139:#ifdef HAVE_CAPSICUM --=20 Pozdrawiam, Maciej Milewski From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 14:35:48 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 186B17FA for ; Fri, 26 Sep 2014 14:35:48 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E8E78323 for ; Fri, 26 Sep 2014 14:35:47 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.9/8.14.9) with ESMTP id s8QEZlxd053947 for ; Fri, 26 Sep 2014 14:35:47 GMT (envelope-from bdrewery@freefall.freebsd.org) Received: (from bdrewery@localhost) by freefall.freebsd.org (8.14.9/8.14.9/Submit) id s8QEZlM2053945 for pkg@freebsd.org; Fri, 26 Sep 2014 14:35:47 GMT (envelope-from bdrewery) Received: (qmail 75449 invoked from network); 26 Sep 2014 09:35:42 -0500 Received: from unknown (HELO ?10.10.0.24?) (freebsd@shatow.net@10.10.0.24) by sweb.xzibition.com with ESMTPA; 26 Sep 2014 09:35:42 -0500 Message-ID: <542579AF.8030602@FreeBSD.org> Date: Fri, 26 Sep 2014 09:35:27 -0500 From: Bryan Drewery Organization: FreeBSD User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: Maciej Milewski , Thiago Farina Subject: Re: Can't compile pkg on mips References: <54233771.4090803@dat.pl> <057b903c-628f-4843-b7de-c0f7cb9750b4@email.android.com> <5424425A.9040709@FreeBSD.org> <54247A94.6090901@dat.pl> <542488B9.6090700@dat.pl> <5425216D.9090405@dat.pl> In-Reply-To: <5425216D.9090405@dat.pl> OpenPGP: id=6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gnl5QG137M9AbIW3oXjRrsd233itG9k8R" Cc: "pkg@FreeBSD.org" X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 14:35:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --gnl5QG137M9AbIW3oXjRrsd233itG9k8R Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 9/26/2014 3:18 AM, Maciej Milewski wrote: > On 26.09.2014 05:47, Thiago Farina wrote: >> On Thu, Sep 25, 2014 at 6:27 PM, Maciej Milewski wrote: >>> On 25.09.2014 22:33, Thiago Farina wrote: >>>> On Thu, Sep 25, 2014 at 5:27 PM, Maciej Milewski wrote= : >>>>>> What FreeBSD version is this? >>>>>> >>>>> FreeBSD RSPRO 10.0-CURRENT FreeBSD 10.0-CURRENT #9 r253582+713ffac >>>>> >>>>> after manual edit src/Makefile and removing -Werror compilation wen= t few >>>>> lines further: >>>>> =3D=3D=3D> Building for pkg-1.3.8 >>>>> /usr/bin/make all-recursive >>>>> Making all in external >>>>> /usr/bin/make all-am >>>>> Making all in libpkg >>>>> Making all in repo >>>>> Making all in binary >>>>> Making all in . >>>>> Making all in src >>>>> CCLD pkg >>>>> pkg-info.o: In function `exec_info': >>>>> info.c:(.text+0x5ac): undefined reference to `cap_rights_init' >>>>> pkg-ssh.o: In function `exec_ssh': >>>>> ssh.c:(.text+0x160): undefined reference to `cap_rights_init' >>>>> pkg-updating.o: In function `exec_updating': >>>>> updating.c:(.text+0x334): undefined reference to `cap_rights_init' >>>>> *** [pkg] Error code 1 >>>>> >>>> Can you do `grep -Rn cap_rights_limit . `, to figure out where >>>> "cap_rights_limit" is? >>>> >>>> It is missing either a ".a" or ".o" where this symbol is, hence it >>>> isn't linking. >>>> >>>> Not your fault though. >>> Sure I can: >>> /data/builds/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8# grep -Rn >>> cap_rights_limit . >>> ./src/ssh.c:78: if (cap_rights_limit(fd, &rights) < 0 && errno !=3D E= NOSYS ) { >>> ./src/ssh.c:79: warn("cap_rights_limit() failed"); >>> ./src/info.c:267: if (cap_rights_limit(fd, &rights) < 0= && >>> errno !=3D ENOSYS ) { >>> ./src/info.c:268: warn("cap_rights_limit() fail= ed"); >>> ./src/updating.c:141: if (cap_rights_limit(fileno(fd), &rights) < 0= && >>> errno !=3D ENOSYS ) { >>> ./src/updating.c:142: warn("cap_rights_limit() failed"); >>> Binary file ./src/pkg-info.o matches >>> Binary file ./src/pkg-ssh.o matches >>> Binary file ./src/pkg-updating.o matches >>> >> Do you have HAVE_CAPSICUM defined? It needs to be defined in order to >> sys/capability.h to get included. >> >> But I think that does not explain the link issue. It is weird that it >> is not finding something from libc. >> > Grep shows that it's defined: Is it autodectected somehow? > =20 > # grep -nr HAVE_CAPSICUM > * = =20 >=20 > config.log:3815:#define HAVE_CAPSICUM 1 > config.status:1086:D["HAVE_CAPSICUM"]=3D" 1" > configure:13295:$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h > configure.ac:224: AC_DEFINE(HAVE_CAPSICUM, 1, [Define 1 > if you have 'capsicum'.]) > configure.bak:13295:$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h > libpkg/ssh.c:31:#ifdef HAVE_CAPSICUM > libpkg/ssh.c:134:#ifdef HAVE_CAPSICUM > pkg_config.h:17:#define HAVE_CAPSICUM 1 > pkg_config.h.in:16:#undef HAVE_CAPSICUM > src/ssh.c:31:#ifdef HAVE_CAPSICUM > src/ssh.c:58:#ifdef HAVE_CAPSICUM > src/ssh.c:76:#ifdef HAVE_CAPSICUM > src/audit.c:259:#ifdef HAVE_CAPSICUM > src/info.c:35:#ifdef HAVE_CAPSICUM > src/info.c:99:#ifdef HAVE_CAPSICUM > src/info.c:265:#ifdef HAVE_CAPSICUM > src/event.c:40:#ifdef HAVE_CAPSICUM > src/event.c:215:#ifdef HAVE_CAPSICUM > src/event.c:319:#ifdef HAVE_CAPSICUM > src/updating.c:32:#ifdef HAVE_CAPSICUM > src/updating.c:84:#ifdef HAVE_CAPSICUM > src/updating.c:139:#ifdef HAVE_CAPSICUM >=20 >=20 IMHO your world is out of sync. Like you have newer /usr/include than /li= b. --=20 Regards, Bryan Drewery --gnl5QG137M9AbIW3oXjRrsd233itG9k8R Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJUJXmzAAoJEDXXcbtuRpfPZfEIAMvMCWv0lUhjNryDpJXyjsXF pxE6wC+vFIjLltBbcO8oYrHvzV3XA06LWDkuCvjqTno2UwotqwkG0dE137W4jFRf UeiKEqr/I3pl5QkSHn5wjwhHYIymGah4s23ETIiKAxTz65q2VR6y+9Hn08IyZvZZ d+4D0S/ewULWLwJFKEX+ZHuI/deKJScMZvtY0G2kzkZFd30DV2uoyUuhXeeLGX9x EoudS0epCrKm83uR1H2KyT1hsZGcJVylfW087fvyLasr82aL2xgarIVjWJXc3zJH kCTrz6Ejn0g/6tpt7iH7kdanXa+9RYGtyo9C5tbaWM1jap8iTh/gi7Dt/Sl0jJ0= =iSBP -----END PGP SIGNATURE----- --gnl5QG137M9AbIW3oXjRrsd233itG9k8R-- From owner-freebsd-pkg@FreeBSD.ORG Fri Sep 26 15:22:17 2014 Return-Path: Delivered-To: freebsd-pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 41D566BD for ; Fri, 26 Sep 2014 15:22:17 +0000 (UTC) Received: from alln-iport-2.cisco.com (alln-iport-2.cisco.com [173.37.142.89]) (using TLSv1 with cipher IDEA-CBC-SHA (128/128 bits)) (Client CN "alln-iport.cisco.com", Issuer "Cisco SSCA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 08F33AF1 for ; Fri, 26 Sep 2014 15:22:16 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgsFACSEJVStJV2Q/2dsb2JhbABfgw5TV4MBx0SIWxYBe4QtFUA2AgUWCwILAwIBAgFYCAEBiDqaO487lgGBLIxfFhGCCYJigVMBBKR3h0WGRIN/IS8BgkkBAQE X-IronPort-AV: E=Sophos;i="5.04,604,1406592000"; d="scan'208";a="81590928" Received: from rcdn-core-8.cisco.com ([173.37.93.144]) by alln-iport-2.cisco.com with ESMTP; 26 Sep 2014 15:22:09 +0000 Received: from [10.19.102.119] (sjc-julhunte-8816.cisco.com [10.19.102.119]) by rcdn-core-8.cisco.com (8.14.5/8.14.5) with ESMTP id s8QFM9KY010592 for ; Fri, 26 Sep 2014 15:22:09 GMT Message-ID: <542584A2.7030206@marcuscom.com> Date: Fri, 26 Sep 2014 11:22:10 -0400 From: Joe Marcus Clarke User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:31.0) Gecko/20100101 Thunderbird/31.1.2 MIME-Version: 1.0 To: freebsd-pkg@freebsd.org Subject: Why clean /usr/local? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Sep 2014 15:22:17 -0000 It was pointed out on the Tinderbox list that pkg now cleans up directories like /usr/local/bin (i.e., removes them) if all ports are uninstalled. This, of course, ticks off TB. My question is, why remove directories owned by BSD.local.dist? This is a behavior change, and before I go changing TB code, I'd like to get some perspective. Thanks. Joe -- PGP Key : http://www.marcuscom.com/pgp.asc From owner-freebsd-pkg@FreeBSD.ORG Sat Sep 27 16:48:18 2014 Return-Path: Delivered-To: pkg@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9A49A5CB for ; Sat, 27 Sep 2014 16:48:18 +0000 (UTC) Received: from mail-lb0-f173.google.com (mail-lb0-f173.google.com [209.85.217.173]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2176A2DE for ; Sat, 27 Sep 2014 16:48:16 +0000 (UTC) Received: by mail-lb0-f173.google.com with SMTP id 10so14207091lbg.18 for ; Sat, 27 Sep 2014 09:48:15 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding; bh=5bnOXrxQ/Zpp8B9/5RVZ+g94myxzhEN3Kw9uZkKebl4=; b=fDZT9waCMsdR+jgOsJq84+xVzn/x4yugvg1w9AAZPp/zOP01PzipanJDnyEWnfK58I YWBvvenLPvKOLOjrTBE1kSOaV5oRXTzRqEBPQ+hWlFrgmpaSOciyXvAeF4uGssGqVvuH ZFcKL6rUgjFOOCP3wAbW95rkH5CN+0aG540FXtOJ9sn1HplDHITOsfHETjSewc/4exql BRPbVEyKgsajzl/pPt6mPIlCB7lolAgFIR2YsqPBCJgQlEv9LJvyE81MHPjoOu6vjTBf dRoBU6CcNCwsSqk+MA+srSVvj45mob/iwpXxl8JdKvWVHBeAV68c7mItrWEG7G40bUzj QqjQ== X-Gm-Message-State: ALoCoQnaxFmmOd/PLpRjSNA9+O/9zSkPHqzSmB5muP5841Yr58qSZs6RhNb3NERPexwB3+vx0Kch X-Received: by 10.112.78.38 with SMTP id y6mr3580927lbw.94.1411836495088; Sat, 27 Sep 2014 09:48:15 -0700 (PDT) Received: from [192.168.1.2] (hd5b91cc8.k9211.dyn.perspektivbredband.net. [213.185.28.200]) by mx.google.com with ESMTPSA id uj2sm3055143lbc.28.2014.09.27.09.48.13 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 27 Sep 2014 09:48:14 -0700 (PDT) Message-ID: <5426EA50.1010900@davor.se> Date: Sat, 27 Sep 2014 18:48:16 +0200 From: Davor Babic User-Agent: Postbox 3.0.11 (Windows/20140602) MIME-Version: 1.0 To: pkg@FreeBSD.org Subject: Broken repository Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-pkg@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Binary package management and package tools discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Sep 2014 16:48:18 -0000 Hello, I'm not sure who I'm supposed to contact about this, so I'm sending this message here. It's currently not possible to install the 'ack' package with pkg. This is the output I get when I try to do pkg install ack: pkg: http://pkg.FreeBSD.org/freebsd:10:x86:64/latest/All/ack-2.12.txz: Not Found -- Davor Babic davor@davor.se