From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 19:56:36 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 20D433B6 for ; Tue, 18 Nov 2014 19:56:36 +0000 (UTC) Received: from mail-pd0-x22f.google.com (mail-pd0-x22f.google.com [IPv6:2607:f8b0:400e:c02::22f]) (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 E35A6B36 for ; Tue, 18 Nov 2014 19:56:35 +0000 (UTC) Received: by mail-pd0-f175.google.com with SMTP id y10so5253648pdj.34 for ; Tue, 18 Nov 2014 11:56:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=Je4I4wAme+v0Zcip5EE5Ymc47cBjb1gGYDxgNrwLcC8=; b=OCepjQrZl5ebudayN8Nnh8VdDyMMCmLpDTUzkbsNS2cI/4B2Wkmn6531KZeDy6JYWr R0r3mr9ZfO0HBzvw9lelqmkxrc7sNirEs8srk20n7s2e0jayaTzqaXdh1Ysf+lWQhDOV xmodxW24Gxmw2iX0A1MxaCaDFW720VH4Rh72P2U6ZSSEFd9eyaS3rd1KiN5eZYwAe+uE 4pHYPhOw+8MBvJfdYaXdH4zDjIE1p9wGYSHiw81vJyf91Y7XsfnbhcY1t8fZHsgOw5l/ tNinbHQTMmGKlZc3PGsdjmXBtD9uADE6ZWDgZDWXI5MZpnt98gtpNy85KOafZE8mXINY M9kQ== X-Received: by 10.66.228.131 with SMTP id si3mr40142732pac.32.1416340595235; Tue, 18 Nov 2014 11:56:35 -0800 (PST) Received: from [10.0.1.31] ([209.12.167.58]) by mx.google.com with ESMTPSA id th7sm16447819pac.47.2014.11.18.11.56.34 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 11:56:34 -0800 (PST) Message-ID: <546BA46C.4050908@gmail.com> Date: Tue, 18 Nov 2014 11:56:28 -0800 From: Jungle Boogie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-mips@freebsd.org Subject: is pkgng=no valid? Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 19:56:36 -0000 Hello All, This was previously posted on -questions[0] but no response so I'd thought I'd try the architecture board. This is an ubiquity edge router lite[1] with -current running. # uname -a FreeBSD erl 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r274603: Sun Nov 16 14:45:30 PST 2014 root at buildme:/usr/obj/mips.mips64/usr/src/sys/ERL mips # cat /etc/make.conf CPUTYPE?=native WITH_PKGNG=no Is the pkgng "no" valid? As you can see, this is mips so pkg won't work but when I try: root at erl:/usr/ports/sysutils/tmux # make config-recursive install clean ===> Setting user-specified options for tmux-1.9.a_2 and dependencies ===> Building/installing dialog4ports as it is required for the config dialog ===> Cleaning for dialog4ports-0.1.5_2 ===> License BSD2CLAUSE accepted by the user ===> dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /usr/ports/ports-mgmt/pkg ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by pkg-1.3.8_3 for building ===> Extracting for pkg-1.3.8_3 ===> License BSD2CLAUSE accepted by the user ===> Fetching all distfiles required by pkg-1.3.8_3 for building => SHA256 Checksum OK for pkg-1.3.8.tar.xz. ===> Patching for pkg-1.3.8_3 ===> Applying FreeBSD patches for pkg-1.3.8_3 ===> Configuring for pkg-1.3.8_3 ===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/m4/libtool.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/aclocal.m4 ===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/configure Can I have ports skip pkg stuff? [0] https://lists.freebsd.org/pipermail/freebsd-questions/2014-November/262333.html [1] http://www.ubnt.com/edgemax/edgerouter-lite/ Thanks! -- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 20:02:27 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2A70154C for ; Tue, 18 Nov 2014 20:02:27 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 DB173C01 for ; Tue, 18 Nov 2014 20:02:26 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1Xqoyo-000Lb0-B8; Tue, 18 Nov 2014 21:02:26 +0100 Date: Tue, 18 Nov 2014 21:02:26 +0100 From: Kurt Jaeger To: Jungle Boogie Subject: Re: is pkgng=no valid? Message-ID: <20141118200226.GP44537@home.opsec.eu> References: <546BA46C.4050908@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546BA46C.4050908@gmail.com> Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 20:02:27 -0000 Hi! > Is the pkgng "no" valid? No. -- pi@opsec.eu +49 171 3101372 6 years to go ! From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 20:56:48 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9E6D5198 for ; Tue, 18 Nov 2014 20:56:48 +0000 (UTC) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 6327217B for ; Tue, 18 Nov 2014 20:56:48 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id v63so8187080oia.29 for ; Tue, 18 Nov 2014 12:56:47 -0800 (PST) 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=dsT+RaTsVOzgzJ/e5qwxi94iWv2R+PKlCzQIiLCkdXA=; b=fiEYbnoYsxwj0JHnq2d2wL4cCzYoXwCFCmMFikWcd5c1q6hOFe/SAM5mUnh3eqv9f1 wXX4eL8/GXkOZcvvwX4oYV60BnLtkjvV2gwnbsS4peHv7ZvozQmwZdc0OvRpsKHtENYD AqtfZ/RFa9PzxovJYQGPwlx7tPEic0W/qr6LDPqR5DsSr955P+FMUlINtsC+oZaIFQHv 2YZ5lWJdNpsraZj1B5IGKz3JiCYvyyltdN/+GixUsv846mu8IXtfCJaKQa3RZM3fDJxK qQh2nIaCuypZW68tnCgIHzRiI9Fs3ILMrwOtmHSVASMJYeSfxeCgLDQWHLyDzdaRtVso NwWw== MIME-Version: 1.0 X-Received: by 10.60.61.40 with SMTP id m8mr32131822oer.22.1416344207680; Tue, 18 Nov 2014 12:56:47 -0800 (PST) Received: by 10.182.171.73 with HTTP; Tue, 18 Nov 2014 12:56:47 -0800 (PST) In-Reply-To: <20141118200226.GP44537@home.opsec.eu> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> Date: Tue, 18 Nov 2014 12:56:47 -0800 Message-ID: Subject: Re: is pkgng=no valid? From: jungle Boogie To: Kurt Jaeger Content-Type: text/plain; charset=UTF-8 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 20:56:48 -0000 Hi Kurt, On 18 November 2014 12:02, Kurt Jaeger wrote: > Hi! > >> Is the pkgng "no" valid? > > No. Okay, that helps! How can I get ports to stop looking for pkg then? > > -- > pi@opsec.eu +49 171 3101372 6 years to go ! Thanks, jb -- ------- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 21:26:31 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9AD02716 for ; Tue, 18 Nov 2014 21:26:31 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 55E6067C for ; Tue, 18 Nov 2014 21:26:31 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1XqqIA-000M6T-Fv; Tue, 18 Nov 2014 22:26:30 +0100 Date: Tue, 18 Nov 2014 22:26:30 +0100 From: Kurt Jaeger To: jungle Boogie Subject: Re: is pkgng=no valid? Message-ID: <20141118212630.GQ44537@home.opsec.eu> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 21:26:31 -0000 Hi! > >> Is the pkgng "no" valid? > > No. > Okay, that helps! How can I get ports to stop looking for pkg then? >From what I understand, you can't. The first port to be built will be pkg. -- pi@opsec.eu +49 171 3101372 6 years to go ! From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 21:33:34 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C22FE92C for ; Tue, 18 Nov 2014 21:33:34 +0000 (UTC) Received: from mail-pa0-x229.google.com (mail-pa0-x229.google.com [IPv6:2607:f8b0:400e: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 8D6D17C1 for ; Tue, 18 Nov 2014 21:33:34 +0000 (UTC) Received: by mail-pa0-f41.google.com with SMTP id rd3so10850018pab.0 for ; Tue, 18 Nov 2014 13:33:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=1sSAky0H7WopzVOsBuENwN4I5J5PARGyChValMq1hXc=; b=ucEhMRKS3kENF+PaMkgDGPILpUW/Ui2ceA5dkcvicjoas0UuYH6FCs/odDPh5r/WoP IK2Px6uVteikn49jPof2mBNNXE4xjeeTCpO5rY6B2/wzElmtuuR/TYPIZiaeqYmxyhaE RNJlP5n6UFMD2x3dmrNeCp0FtpvQlXWzWHZp0kOwC4DiUarkhhqgp8rgsmHxn4z6KlXO k2MxXzMeKUEZ9H9MHR7d7FIjNR5yo/xaUXcO9ZqjqBkCOjhCLaPr3S/fYqUQcPPdTnzG V+DY/B85PPU+O/DUJT8qzY/zUnO7fkXyqsEdjVU3dD0mHlmohb446blgVTeJBg4Z8cO0 Xd1A== X-Received: by 10.66.90.201 with SMTP id by9mr13284403pab.148.1416346414090; Tue, 18 Nov 2014 13:33:34 -0800 (PST) Received: from [10.0.1.31] ([209.12.167.58]) by mx.google.com with ESMTPSA id yl6sm38647791pbc.91.2014.11.18.13.33.33 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 13:33:33 -0800 (PST) Message-ID: <546BBB26.5050603@gmail.com> Date: Tue, 18 Nov 2014 13:33:26 -0800 From: Jungle Boogie User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: Kurt Jaeger Subject: Re: is pkgng=no valid? References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> In-Reply-To: <20141118212630.GQ44537@home.opsec.eu> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 21:33:34 -0000 Dear Kurt, Freebsd-mips -------------------------------------------- From: Kurt Jaeger Sent: Tue, 18 Nov 2014 22:26:30 +0100 To: Jungle Boogie Cc: freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? > > Hi! > From what I understand, you can't. The first port to be built > will be pkg. > Well the problem I have is that any application I attempt to install from ports, like vim-lite, tmux, etc, all fail after several hours of trying. Can you share your /etc/make.conf? I doubt it will make a difference on my build, though. -- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 21:48:55 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 47268C6E for ; Tue, 18 Nov 2014 21:48:55 +0000 (UTC) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (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 003CB8FC for ; Tue, 18 Nov 2014 21:48:54 +0000 (UTC) Received: from pi by home.opsec.eu with local (Exim 4.82 (FreeBSD)) (envelope-from ) id 1Xqqdq-000M8k-MG; Tue, 18 Nov 2014 22:48:54 +0100 Date: Tue, 18 Nov 2014 22:48:54 +0100 From: Kurt Jaeger To: Jungle Boogie Subject: Re: is pkgng=no valid? Message-ID: <20141118214854.GR44537@home.opsec.eu> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546BBB26.5050603@gmail.com> Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 21:48:55 -0000 Hi! > > From what I understand, you can't. The first port to be built > > will be pkg. > Well the problem I have is that any application I attempt to install from > ports, like vim-lite, tmux, etc, all fail after several hours of trying. I think it's not easy to build on ERL. I tested a bit and had similar experiences. > Can you share your /etc/make.conf? I doubt it will make a difference on my > build, though. It will have to wait until the weekend. My ERL-box should be live, but for some reasons, isnt. -- pi@opsec.eu +49 171 3101372 6 years to go ! From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 21:57:51 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0731CF7C for ; Tue, 18 Nov 2014 21:57:51 +0000 (UTC) Received: from mail-oi0-x229.google.com (mail-oi0-x229.google.com [IPv6:2607:f8b0:4003:c06::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 BD8B79DB for ; Tue, 18 Nov 2014 21:57:50 +0000 (UTC) Received: by mail-oi0-f41.google.com with SMTP id a3so6651640oib.28 for ; Tue, 18 Nov 2014 13:57:50 -0800 (PST) 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=BZvWYPOM6f/L1XXOqaHl8n10/Dyu3nhZhhQvg4s2c1E=; b=sd/rY7/VEpiril+8UK9k+XvRBs4tmf1gkCeM/sqxRtf1Ag3fmEdkiVSMtxJ3VrCBA3 U9EtyalpabXtmIpUccJUiU31RmwCLrm40rnQMS/GKl5W0N2Wa3KSQwFGhSPlu6KLLbiB hEpHjPLDd/Mrw4jbKnZkd/DooKnvGcuP8VxraQDKiyVFCPbQwoxs7q51ZqqYcyNBznkp /FfClfCH0u468dcTXFRoqXyMRzuz9LEBk4A3K9A35vEI6sg3Ufd4KKArqHeOFGuFzkY/ d2oXn7uc+vhy6YAnD6lyQNeuTBVUWLHVlNA5oEZXxur0us6YPSuytXgtBXCFCgcHX+RA zWiw== MIME-Version: 1.0 X-Received: by 10.60.84.166 with SMTP id a6mr3991184oez.58.1416347870143; Tue, 18 Nov 2014 13:57:50 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.143.1 with HTTP; Tue, 18 Nov 2014 13:57:50 -0800 (PST) In-Reply-To: <546BBB26.5050603@gmail.com> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> Date: Tue, 18 Nov 2014 16:57:50 -0500 X-Google-Sender-Auth: Qq81yE--jRpYGLaaODd7CZ21VhM Message-ID: Subject: Re: is pkgng=no valid? From: Nathan Dorfman To: Jungle Boogie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 21:57:51 -0000 On Tue, Nov 18, 2014 at 4:33 PM, Jungle Boogie wrote: > Well the problem I have is that any application I attempt to install from > ports, like vim-lite, tmux, etc, all fail after several hours of trying. > > Can you share your /etc/make.conf? I doubt it will make a difference on my > build, though. I haven't tried the specific ports you mention, but I have successfully built some other ports on my EdgeRouter Lite running FreeBSD/mips. (They also depend on pkgng, like all ports, and that built/installed just fine.) I didn't touch make.conf. The only difference I can think of immediately is that I'm running 10-stable and you're on 11-current. From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 22:27:03 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 06291E57 for ; Tue, 18 Nov 2014 22:27:03 +0000 (UTC) Received: from mail-pd0-x235.google.com (mail-pd0-x235.google.com [IPv6:2607:f8b0:400e:c02::235]) (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 C4055CC9 for ; Tue, 18 Nov 2014 22:27:02 +0000 (UTC) Received: by mail-pd0-f181.google.com with SMTP id z10so6962379pdj.40 for ; Tue, 18 Nov 2014 14:27:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; bh=rxS1d+fh016hUWSciZ2MF8SAYRtNEdyQ1KsieWxFN+k=; b=rcFUh/PXwiWdjWfvHcNHFaAJoHsd7cr51d5mrvdOlCjuuBxssl8QoVrdrbkKo194Jz aNQYVA2VyXlbvxBwuZCjfxdnTRoZTVLiqgOOKk1DeiQk42wiHzgLaorisJaji/YD792U VQ1oqaijoYw2WRh5SSGMJqZlkd9yiyAU2xoGBlLGPvY7gDOkSaQsaL397x7zkT4xWQhA 4zvXZSSGmusZvErdcabHe7rszi0yIY4tD4yWu0CROqH9m87lKHbw9zm90QOlk8N5nBpq mT+KYNqLJbE9o/WA+95nXn2Fq6NiwLjNKafUag6NNTjCLx8mO7e4xDhbeQ0SePUoJa9z PIGA== X-Received: by 10.66.140.69 with SMTP id re5mr40689261pab.18.1416349622277; Tue, 18 Nov 2014 14:27:02 -0800 (PST) Received: from [10.0.1.31] ([209.12.167.58]) by mx.google.com with ESMTPSA id xr10sm39106155pab.35.2014.11.18.14.27.01 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Nov 2014 14:27:01 -0800 (PST) Message-ID: <546BC7AE.3080705@gmail.com> Date: Tue, 18 Nov 2014 14:26:54 -0800 From: Jungle Boogie Reply-To: freebsd-mips@freebsd.org User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 22:27:03 -0000 Dear Nathan, Kurt, Freebsd-mips -------------------------------------------- From: Nathan Dorfman Sent: Tue, 18 Nov 2014 16:57:50 -0500 To: Jungle Boogie Cc: Kurt Jaeger, freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? > >> Can you share your /etc/make.conf? I doubt it will make a difference on my >> build, though. > > > I haven't tried the specific ports you mention, but I have successfully > built some other ports on my EdgeRouter Lite running FreeBSD/mips. (They > also depend on pkgng, like all ports, and that built/installed just fine.) > I didn't touch make.conf. The only difference I can think of immediately is > that I'm running 10-stable and you're on 11-current. > Can you name one port you have installed? If it fails, I'll try a / your 10-stable. -- inum: 883510009027723 sip: jungleboogie@sip2sip.info xmpp: jungle-boogie@jit.si From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 22:45:15 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 23F54915 for ; Tue, 18 Nov 2014 22:45:15 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 036ABEA0 for ; Tue, 18 Nov 2014 22:45:14 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 22B6C193964 for ; Tue, 18 Nov 2014 22:45:13 +0000 (UTC) Subject: Compiling ports, mips64 From: Sean Bruno Reply-To: sbruno@freebsd.org To: freebsd-mips@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-4bZ+kk08DzjBkNJPU/AW" Date: Tue, 18 Nov 2014 14:45:11 -0800 Message-ID: <1416350711.1248.56.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 22:45:15 -0000 --=-4bZ+kk08DzjBkNJPU/AW Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable http://dpaste.com/1CSHMDR I've tried with both gcc and clang+small hack and I keep getting stopped here while building ports. --- pkg_config.h --- =3D=3D=3D> Staging for pkg-1.3.8_3 =3D=3D=3D> Generating temporary packing list if test -z 'strip'; then /nxb-bin/usr/bin/make INSTALL_PROGRAM=3D"/bin/sh= /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/install-sh -c -s" install_sh_PRO= GRAM=3D"/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/install-sh -c -s" = INSTALL_STRIP_FLAG=3D-s install; else /nxb-bin/usr/bin/make INSTALL_PRO= GRAM=3D"/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/install-sh -c -s" = install_sh_PROGRAM=3D"/bin/sh /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/ins= tall-sh -c -s" INSTALL_STRIP_FLAG=3D-s "INSTALL_PROGRAM_ENV=3DSTRIPPROG=3D= 'strip'" install; fi Making install in external /nxb-bin/usr/bin/make install-am Making install in libpkg Making install in repo Making install in binary Making install in . /bin/mkdir -p '/usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib' /bin/sh ../libtool --mode=3Dinstall /usr/bin/install -c -o root -g wheel= -s libpkg.la libpkg_static.la '/usr/ports/ports-mgmt/pkg/work/stage/usr/l= ocal/lib' libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg.so.3.0.= 0 /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg.so.3.0.0 libtool: install: strip --strip-unneeded /usr/ports/ports-mgmt/pkg/work/sta= ge/usr/local/lib/libpkg.so.3.0.0 libtool: install: (cd /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib &&= { ln -s -f libpkg.so.3.0.0 libpkg.so.3 || { rm -f libpkg.so.3 && ln -s lib= pkg.so.3.0.0 libpkg.so.3; }; }) libtool: install: (cd /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib &&= { ln -s -f libpkg.so.3.0.0 libpkg.so || { rm -f libpkg.so && ln -s libpkg.= so.3.0.0 libpkg.so; }; }) libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg.lai /us= r/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg_static.= lai /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.la libtool: install: /usr/bin/install -c -o root -g wheel .libs/libpkg_static.= a /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a libtool: install: strip --strip-debug /usr/ports/ports-mgmt/pkg/work/stage/= usr/local/lib/libpkg_static.a libtool: install: chmod 644 /usr/ports/ports-mgmt/pkg/work/stage/usr/local/= lib/libpkg_static.a libtool: install: ranlib /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib= /libpkg_static.a ranlib: fatal: Invalid filename *** Error code 70 Stop. make[6]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libpkg *** Error code 1 Stop. make[5]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libpkg *** Error code 1 Stop. make[4]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libpkg *** Error code 1 Stop. make[3]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 *** Error code 1 Stop. make[2]: stopped in /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8 *** Error code 1 Stop. make[1]: stopped in /usr/ports/ports-mgmt/pkg *** Error code 1 Stop. make: stopped in /usr/ports/ports-mgmt/pkg --=-4bZ+kk08DzjBkNJPU/AW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUa8v3XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kP40IAJqU9p7R1DlTmAltdSfG+JaY EfvOsb1B220tHOmsQuJTH6jEsFyjQZoBA5CDxCQBZxV8jHrecIbnUv5mb0UA5yYC Jbg4udAHxu5GxQWPm8CgCZqpkasTmyQjWR90KrKVDj5K7uiX6vFzYHMoROSg7OFl AB+VaJhuq/Yk4OzSdUZfTibfqOZw7SbODsb2o4XL+nkO/KN2nvqXVr9mC0Y3PqXK hU8K0oh1e0Sf4GqaX15c/fHX58M2MkuUrTjesDORtTluWUKtcXzM1qXMzwxW/YmJ R9QAJNNkaNPGfiQ3OB9bR358btpMcQ7s4xg3AZSfCwldqz3rbWyKjLhsYC4gdnw= =MoKa -----END PGP SIGNATURE----- --=-4bZ+kk08DzjBkNJPU/AW-- From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 22:54:58 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2821F9C9 for ; Tue, 18 Nov 2014 22:54:58 +0000 (UTC) Received: from mail-oi0-x22d.google.com (mail-oi0-x22d.google.com [IPv6:2607:f8b0:4003:c06::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 7B2D8F6C for ; Tue, 18 Nov 2014 22:54:57 +0000 (UTC) Received: by mail-oi0-f45.google.com with SMTP id a141so9353601oig.32 for ; Tue, 18 Nov 2014 14:54:56 -0800 (PST) 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:content-type; bh=a2d1q5EhNiwA9pdfOEuCYQ/Zzau78r4aGA3R0fHiyno=; b=KlZeFfPa71tOSYaxFaSMybrZD2534fPvIgkzfNM5OvGB/ID482yImM9vppZYpcENKB FrURqgXA4qKbIoBWTCIiJuH2Gmg5ZJBSZBIIGWEcMQQUKgx6ECs8aLsUznvCeBLI6TXg rilOsGeilAhmSuFwQPSHkhGsSMWbloapgp5/VP5pZZoXWZgtZTEXcs9VrG7L+liwSpGC 6uCq0MUbCiTs9kj4ovXoZGZv1+XFoiJ1rfXnFnQ9wDLCsGWKwdoEdJfxK2HThsfMx6+P vmLQf7s5/mOsWV8PUf8wMOnlgDIrQL62giuntIjSWtEwXcapr4dUwiT2TIi8XGughAe8 Rq5Q== MIME-Version: 1.0 X-Received: by 10.202.71.212 with SMTP id u203mr14778355oia.54.1416351296515; Tue, 18 Nov 2014 14:54:56 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.143.1 with HTTP; Tue, 18 Nov 2014 14:54:56 -0800 (PST) In-Reply-To: <546BC7AE.3080705@gmail.com> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> Date: Tue, 18 Nov 2014 17:54:56 -0500 X-Google-Sender-Auth: VRr7M2YIlCJa1uB8HF6AOGFZE1Y Message-ID: Subject: Re: is pkgng=no valid? From: Nathan Dorfman To: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 22:54:58 -0000 On Tue, Nov 18, 2014 at 5:26 PM, Jungle Boogie wrote: > Can you name one port you have installed? If it fails, I'll try a / your > 10-stable. > Well, I definitely built/installed dnsmasq and openvpn. However if it's failing for you in the pkgng dependency, I don't expect it to make a difference. Worth a try before reinstalling your whole system, I suppose. Have you tried building pkgng separately, i.e. cd /usr/ports/*/pkgng && make install? From owner-freebsd-mips@FreeBSD.ORG Tue Nov 18 23:34:44 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2D3F67A3 for ; Tue, 18 Nov 2014 23:34:44 +0000 (UTC) Received: from udns.ultimatedns.net (unknown [IPv6:2602:d1:b4d6:e600:4261:86ff:fef6:aa2a]) (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 DA64D400 for ; Tue, 18 Nov 2014 23:34:43 +0000 (UTC) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id sAINZWSP081987; Tue, 18 Nov 2014 15:35:32 -0800 (PST) (envelope-from bsd-lists@bsdforge.com) To: Jungle Boogie , Kurt Jaeger In-Reply-To: <20141118200226.GP44537@home.opsec.eu> References: <546BA46C.4050908@gmail.com>, <20141118200226.GP44537@home.opsec.eu> From: "Chris H" Subject: Re: is pkgng=no valid? Date: Tue, 18 Nov 2014 15:35:32 -0800 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <652fccb6b1857a94ce7839cf2487fa6a@ultimatedns.net> Content-Transfer-Encoding: 8bit Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Nov 2014 23:34:44 -0000 On Tue, 18 Nov 2014 21:02:26 +0100 Kurt Jaeger wrote > Hi! > > > Is the pkgng "no" valid? > > No. *technically* true... But, and I've often considered this... you can probably disable the pkg(8) requirement, by grep(1)ping ports/Mk/ for "pkg". A *really* quick search just now. Seems to indicate most of the "magic" exists in Mk/Uses/pkgconfig.mk. Might be as simple as re-naming that file. Probably not. Anyway. Just thought I'd mention it, in case it helps. :) --Chris > > -- > pi@opsec.eu +49 171 3101372 6 years to go > ! _______________________________________________ > freebsd-mips@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mips > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 00:47:37 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CA696D43; Wed, 19 Nov 2014 00:47:37 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id A8789CFE; Wed, 19 Nov 2014 00:47:37 +0000 (UTC) Received: from anubis.morrow.me.uk (unknown [93.89.81.46]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 902F84508A; Wed, 19 Nov 2014 00:47:35 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk 902F84508A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1416358055; bh=Wdmi7UNoqi5nPQYmALnHJHJNs8UTAYR2he/cPe55uAU=; h=Date:From:To:Subject:In-Reply-To; b=MD75xzKruWBY+jFJCZe4Gz4YlgFVHfmpo+E+HjKYkRrzKxELHzdmaitKFH1AMNgwl FwOT9hO4caWkaR4TNTlJW9wkyIUtTkXsanE0h2bsQ5LWVUJ6f3Cbf4JztALwO6p5Ca uyT6kJ76X3aYTAEUEoopDyLFjWWoPwLXI36JOuvs= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id ED09F164AE; Wed, 19 Nov 2014 00:47:33 +0000 (GMT) Date: Wed, 19 Nov 2014 00:47:33 +0000 From: Ben Morrow To: sbruno@freebsd.org, freebsd-mips@freebsd.org Subject: Re: Compiling ports, mips64 Message-ID: <20141119004731.GA95832@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1416350711.1248.56.camel@bruno> X-Newsgroups: gmane.os.freebsd.devel.mips User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 00:47:37 -0000 Quoth sbruno@freebsd.org: > > I've tried with both gcc and clang+small hack and I keep getting stopped > here while building ports. > > --- pkg_config.h --- > ===> Staging for pkg-1.3.8_3 > ===> Generating temporary packing list [...] > libtool: install: strip --strip-debug > /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a > libtool: install: chmod 644 > /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a > libtool: install: ranlib > /usr/ports/ports-mgmt/pkg/work/stage/usr/local/lib/libpkg_static.a > ranlib: fatal: Invalid filename > *** Error code 70 There is a bug in strip on mips; it doesn't strip static libraries properly. I am using this as a (very crude) workaround: --- a/contrib/binutils/binutils/objcopy.c +++ b/contrib/binutils/binutils/objcopy.c @@ -2754,6 +2754,9 @@ strip_main (int argc, char *argv[]) continue; } + if (fnmatch("*.a", argv[i], 0) == 0) + continue; + if (preserve_dates) /* No need to check the return value of stat(). It has already been checked in get_file_size(). */ There isn't much point stripping static libs anyway, given that the final executable is going to be stripped again. Ben From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 00:51:57 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D09C4D9D for ; Wed, 19 Nov 2014 00:51:57 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id AABCCDA5 for ; Wed, 19 Nov 2014 00:51:57 +0000 (UTC) Received: from anubis.morrow.me.uk (unknown [93.89.81.46]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id ED4F045087 for ; Wed, 19 Nov 2014 00:42:42 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk ED4F045087 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1416357763; bh=DuxBu3phdu0eaIsaQ5s0m+5tgm8/oldMEM63yhQSLLM=; h=Date:From:To:Subject:References:In-Reply-To; b=AtV95GbT6mv/59qLH9IK6lxOM4dhQPcBYWzA8kejYecqniiDGfCs9p3o2GYrL5TeY qXbnL19BaEeeAwEAuOSakyY+EgdP8WneAA397pGcInHPpeUvQWkOkRPNYdKOn+y61/ dLFM0MP3h2pikjv8aKEqUj36kQBqjDne8OfK+Lbk= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id D7496164AC; Wed, 19 Nov 2014 00:42:38 +0000 (GMT) Date: Wed, 19 Nov 2014 00:42:38 +0000 From: Ben Morrow To: freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? Message-ID: <20141119004236.GA95694@anubis.morrow.me.uk> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <546BC7AE.3080705@gmail.com> X-Newsgroups: gmane.os.freebsd.devel.mips User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 00:51:57 -0000 Quoth freebsd-mips@freebsd.org: > From: Nathan Dorfman > > > >> Can you share your /etc/make.conf? I doubt it will make a difference on my > >> build, though. > > > > I haven't tried the specific ports you mention, but I have successfully > > built some other ports on my EdgeRouter Lite running FreeBSD/mips. (They > > also depend on pkgng, like all ports, and that built/installed just fine.) > > I didn't touch make.conf. The only difference I can think of immediately is > > that I'm running 10-stable and you're on 11-current. > > > > Can you name one port you have installed? If it fails, I'll try a / your > 10-stable. I don't know if this helps; this is on an ERL, and everything appears to be working properly. As you can see from uname, I cross-compiled world and kernel; I also cross-compiled the ports, using poudriere and qemu user-mode (I was running a jail on amd64 with a mips world using qemu, with the toolchain replaced with statically-linked amd64->mips cross binaries). It certainly wasn't fast, but I prefer not to do compilations on production machines (and 'my VDSL router' is production enough to count). I had to patch a few things to get everything to work. In particular, pkg won't build on mips without a patch to strip(1) that stops it from trying to strip static libraries: there's a bug there that hasn't been fixed yet. Ben ~% uname -a FreeBSD thoth.morrow.me.uk 10.1-RC3 FreeBSD 10.1-RC3 #1 2041efc(mauzo/10.1): Tue Oct 28 06:04:32 GMT 2014 root@anubis:/usr/obj/mips.mips64/usr/src/sys/THOTH mips ~% pkg info ack-2.14 Grep-like text finder for large trees of text ca_root_nss-3.17.2 The root certificate bundle from the Mozilla Project cmake-3.0.2 Cross-platform Makefile generator cmake-modules-3.0.2 Modules and Templates for CMake curl-7.38.0_2 Non-interactive tool to get files from FTP, GOPHER, HTTP(S) servers cyrus-sasl-2.1.26_9 RFC 2222 SASL (Simple Authentication and Security Layer) cyrus-sasl-gssapi-2.1.26_2 SASL GSSAPI authentication plugin daemontools-0.76_17 Service monitoring and logging utilities by djb db5-5.3.28_2 The Oracle Berkeley DB, revision 5.3 expat-2.1.0_1 XML 1.0 parser written in C gettext-0.18.3.1_1 GNU gettext package gmake-4.1 GNU version of 'make' utility indexinfo-0.2 Utility to regenerate the GNU info page index kstart-4.1_1 Russ Allbery\'s k5start and krenew libevent2-2.0.21_3 API for executing callback functions on events or timeouts libltdl-2.4.2.418 System independent dlopen wrapper mauzo-tools-20141026_1 Random utilities mksh-r50.d MirBSD Korn Shell mpd5-5.7_1 Multi-link PPP daemon based on netgraph(4) nsd-4.1.0_1 Authoritative only non-recursive name server nss_ldap-1.265_11 RFC 2307 NSS module openldap-sasl-client-2.4.40 Open source LDAP client implementation with SASL2 support openldap-sasl-server-2.4.40 Open source LDAP server implementation p5-File-Next-1.12 File-finding iterator pam_abl-0.6.0 Blacklisting responsible for repeated failed authentication attempts pam_krb5-4.6_2 Pluggable Authentication Module for Kerberos 5 pamtester-0.1.2 Command line pam authentication tester pcre-8.35_1 Perl Compatible Regular Expressions library perl5-5.16.3_11 Practical Extraction and Report Language pkg-1.3.8_3 Package manager popt-1.16_1 Getopt(3) like library with a number of enhancements, from Redhat postfix-2.11.1_4,1 Secure alternative to widely-used Sendmail pstree-2.36 List processes as a tree rsync-3.1.1_3 Network file distribution/synchronization utility sudo-1.8.11.p1 Allow others to run commands as root tinycdb-0.78_1 Analogous to cdb, but faster vim-7.4.430_2 Improved version of the vi editor From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 02:03:36 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 6A70FB22 for ; Wed, 19 Nov 2014 02:03:36 +0000 (UTC) Received: from mail-oi0-x22a.google.com (mail-oi0-x22a.google.com [IPv6:2607:f8b0:4003:c06::22a]) (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 2C27466A for ; Wed, 19 Nov 2014 02:03:36 +0000 (UTC) Received: by mail-oi0-f42.google.com with SMTP id v63so8460311oia.15 for ; Tue, 18 Nov 2014 18:03:35 -0800 (PST) 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:cc:content-type; bh=bZq0mq+NIySO0avvmfnHQBy6g8hIizxIJSpdBfs/lhM=; b=F2Hp+i8yXBKBLXMBZF33avse0f2PJvoL/YBxaUTtq2i0nLFRVxw7RF7RlX1x57r/6h zMiAJuEz9ycCwMuXRYDOaK9wTGEhZ2LKCcne7Pinbw/tBZHAnIyVoVH6yWrznYooDqmt FHywL4YSkDWY9jgiP2BhHljRXeGroZPeVYdpaIOok0Vf+M7eh7fU7qRWwCprjCohIsij Vgeu03bwc+EY1iSdc3O2ObBhjf5SDCY4YaAEJqNbbOKMqbKe/TRVZCGl+F3fTBOkEZ7Y JiiEBhvv6M9ZmxcYLtjfTpo9n3m3PTJUsV5sRvhd/84fjaBUkVcIZoEtNCT2CJq3Q8Wj TjQQ== MIME-Version: 1.0 X-Received: by 10.60.94.167 with SMTP id dd7mr33832558oeb.35.1416362615254; Tue, 18 Nov 2014 18:03:35 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.143.1 with HTTP; Tue, 18 Nov 2014 18:03:35 -0800 (PST) In-Reply-To: <20141119004236.GA95694@anubis.morrow.me.uk> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> Date: Tue, 18 Nov 2014 21:03:35 -0500 X-Google-Sender-Auth: JaEhvaV3SgEzpawyH-7fWZbr0mQ Message-ID: Subject: Re: is pkgng=no valid? From: Nathan Dorfman Cc: freebsd-mips@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 02:03:36 -0000 On Tue, Nov 18, 2014 at 7:42 PM, Ben Morrow wrote: > I had to patch a few things to get everything to work. In particular, > pkg won't build on mips without a patch to strip(1) that stops it from > trying to strip static libraries: there's a bug there that hasn't been > fixed yet. D'oh, my memory seems to be failing me. What Ben is saying does sound familiar now. I might have just worked around it by using something like 'cd /usr/ports/*/pkgng && make STRIP=/bin/echo install' Not as clean a solution as patching strip, certainly, but hopefully it gets you up and running if you don't want to bother with all that. > Ben From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 12:53:48 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C1AA566A for ; Wed, 19 Nov 2014 12:53:48 +0000 (UTC) Received: from mail.issei-syoji.co.jp (mail.issei-syoji.co.jp [203.143.100.227]) by mx1.freebsd.org (Postfix) with ESMTP id 6B38E168 for ; Wed, 19 Nov 2014 12:53:48 +0000 (UTC) Received: from SRVPEETERS (unknown [91.183.125.209]) by mail.issei-syoji.co.jp (Postfix) with ESMTP id 7C0453087C3 for ; Wed, 19 Nov 2014 21:53:45 +0900 (JST) From: "Charles Benneth" Subject: Re: Product Inquiry To: freebsd-mips@freebsd.org MIME-Version: 1.0 Reply-To: elliota234@live.co.uk Date: Wed, 19 Nov 2014 13:53:54 +0100 Message-Id: <20141119125345.7C0453087C3@mail.issei-syoji.co.jp> Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 12:53:48 -0000 - This mail is in HTML. Some elements may be ommited in plain text. - Good day, My Name is Mr Charles Bennett the Sales Manager off tong heer thiala= nd co LTD I Am Interested in some of your product could you kindly sen= d me your full catalog of products with clear photos, and list of FOB = prices in USD with prices,competitive prices for serious starting. Wai= ting your quick response. Best Regards TONG HEER ( EXPORT ) CO. LTD. Amata Nakorn Industrial Estate 700/553, Moo 7, T.Don Hua Roh, A.Maung,= Chonburi, 20000, Thailand Tel :+66 38 454 537-9 Fax :+66 38 454 327 From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 16:13:11 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 576B2D4A for ; Wed, 19 Nov 2014 16:13:11 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 E81E5D23 for ; Wed, 19 Nov 2014 16:13:10 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so5878122wid.15 for ; Wed, 19 Nov 2014 08:13:09 -0800 (PST) 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=klz46Cppe7a2KwdJ3yKFgbX4BcZuz4jAv+mC+Z2PFzA=; b=vScJRkPnF6WjFmmDvqQk2QT+kPHmdUk8QPcBKNQpqedhOFmfwisPEcMqgK5J52VV6A AEQakTCavmfzGnZPsyHVCcGXfjmtUDaQRDxdTF4K4mLEWOtFOgL9RFtqM7L9K0AxP5Jc yK8FCfE4R0/A2AJJ+XUqgcnycCj4oAYxJhva8sRSpeI7kFE6sRLZ87//3BpHiL/3vY2f uabopnV6lhC3CjEVIUWQhJ+mX99xFBMtEMWy1Ar6/0V3Zpnd0qOLV4tArOu03cAEtpRi OC4J9pzgZay+6e3IHPMu6Ths1W25C/S64Amdgfay4iX21J2pnDr6HRYaF16SWtHwoq0E tzUQ== MIME-Version: 1.0 X-Received: by 10.180.108.35 with SMTP id hh3mr14565135wib.59.1416413589330; Wed, 19 Nov 2014 08:13:09 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Wed, 19 Nov 2014 08:13:09 -0800 (PST) Date: Wed, 19 Nov 2014 08:13:09 -0800 X-Google-Sender-Auth: cdlBs6SJpCv0tbpEd2JnksCJx9Q Message-ID: Subject: freebsd-wifi-build: emulator builds now possible From: Adrian Chadd To: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 16:13:11 -0000 Hi, I've just added a 'malta' target to my wifi build scripts. 'malta' is a mips32 big-endian target for qemu-devel. Steps: * update your freebsd-wifi-build git tree (http://github.com/freebsd/freebsd-wifi-build) * grab the latest -head * install qemu-devel * (ensure that makefs is up to date on your box or the fullfsimage pass won't work) * /path/to/build malta buildworld buildkernel installworld installkernel distribution fullroot fullfsimage * dd if=/dev/zero of=../malta-swap.img bs=1k count=1 seek=1048576 * qemu-system-mips -M malta -kernel /tftpboot/kernel.MALTA -hda ../fullroot-malta.img -hdb ../swap-malta.img -nographic -m 256 It'll create a 4gig FS image and a 1gig swap file. You can fire up dhclient in the emulator on le0 and get an IP address. ping and non-socket things won't work as the default networking bridge is a socket-based emulation - I haven't sat down to make the tap+bridge version of it work. The memory is specified by '-m 256'. Give smaller footprints a shot; see what happens. The swapfile is -hdb - I added that above so I could run a buildworld inside the VM. You don't _need_ to use swap, but then building software may be pretty amusing to watch. I'm going to add mipsel next, then the 64 bit versions of the above. My qemu VM is currently building world / kernel. From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 17:52:57 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 975F84D3 for ; Wed, 19 Nov 2014 17:52:57 +0000 (UTC) Received: from mail-wi0-x230.google.com (mail-wi0-x230.google.com [IPv6:2a00:1450:400c:c05::230]) (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 2AA48AF3 for ; Wed, 19 Nov 2014 17:52:57 +0000 (UTC) Received: by mail-wi0-f176.google.com with SMTP id ex7so6228815wid.3 for ; Wed, 19 Nov 2014 09:52:55 -0800 (PST) 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:content-type; bh=r8VzqqR7Ii4xcGFg9/gysXZf321UKN+bedzZQvP1qpg=; b=twOQfV03bg/lDgZ5xRmo2P+vBrNwl8XTUEJJrK5YwSfzZZOKDJIi16dbBcwXLTcoxq XNMQ2qk+A0PAXFbegX131DvERD3cmY119aoA5zS7IFZLFLLPeuvod/8J8b1tQ9KH3w7S jcirO+gSr6Kg4aJTsACoEnBrT+1lR1DeS34K9ovew//eFiGRNCIEcqQH4+khQBc4X0Ac Bt1cYHjp1EF2iZvRaa0uMnF0V57Iw5oiGCcBAszOS26cZ7SB/vWUod9ibO9GkELna+vS IR9hoaB9UEPOYepxr8VTe5nzFwNAEePDfO04/VfXdsb+SvjL3G5WgxkGxFsPnKf0WMqQ AlHQ== MIME-Version: 1.0 X-Received: by 10.180.80.133 with SMTP id r5mr7836730wix.20.1416419575702; Wed, 19 Nov 2014 09:52:55 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.216.106.136 with HTTP; Wed, 19 Nov 2014 09:52:55 -0800 (PST) In-Reply-To: References: Date: Wed, 19 Nov 2014 09:52:55 -0800 X-Google-Sender-Auth: tmpQ7uiVmeqJxmp3Kxk1sqVqL0Y Message-ID: Subject: Re: freebsd-wifi-build: emulator builds now possible From: Adrian Chadd To: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 17:52:57 -0000 Hi, there's also a maltael target now - both build and boot -HEAD in the qemu emulator. I'll write up some documentation for it soon. Thanks! -adrian On 19 November 2014 08:13, Adrian Chadd wrote: > Hi, > > I've just added a 'malta' target to my wifi build scripts. 'malta' is > a mips32 big-endian target for qemu-devel. > > Steps: > > * update your freebsd-wifi-build git tree > (http://github.com/freebsd/freebsd-wifi-build) > * grab the latest -head > * install qemu-devel > * (ensure that makefs is up to date on your box or the fullfsimage > pass won't work) > * /path/to/build malta buildworld buildkernel installworld > installkernel distribution fullroot fullfsimage > * dd if=/dev/zero of=../malta-swap.img bs=1k count=1 seek=1048576 > * qemu-system-mips -M malta -kernel /tftpboot/kernel.MALTA -hda > ../fullroot-malta.img -hdb ../swap-malta.img -nographic -m 256 > > It'll create a 4gig FS image and a 1gig swap file. > > You can fire up dhclient in the emulator on le0 and get an IP address. > ping and non-socket things won't work as the default networking bridge > is a socket-based emulation - I haven't sat down to make the > tap+bridge version of it work. > > The memory is specified by '-m 256'. Give smaller footprints a shot; > see what happens. > > The swapfile is -hdb - I added that above so I could run a buildworld > inside the VM. You don't _need_ to use swap, but then building > software may be pretty amusing to watch. > > I'm going to add mipsel next, then the 64 bit versions of the above. > > My qemu VM is currently building world / kernel. From owner-freebsd-mips@FreeBSD.ORG Wed Nov 19 21:48:50 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E4D30C54; Wed, 19 Nov 2014 21:48:50 +0000 (UTC) Received: from man.dat.pl (dat.pl [80.51.155.34]) by mx1.freebsd.org (Postfix) with ESMTP id A8DE8AE4; Wed, 19 Nov 2014 21:48:49 +0000 (UTC) Received: from man.dat.pl (localhost [127.0.0.1]) by man.dat.pl (Postfix) with ESMTP id 65E83D16A88; Wed, 19 Nov 2014 22:41:46 +0100 (CET) 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 1g0EW1_R3doh; Wed, 19 Nov 2014 22:41:45 +0100 (CET) Message-ID: <546D0E99.1000503@dat.pl> Date: Wed, 19 Nov 2014 22:41:45 +0100 From: Maciej Milewski MIME-Version: 1.0 To: Adrian Chadd , "freebsd-mips@freebsd.org" Subject: Re: freebsd-wifi-build: emulator builds now possible References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Nov 2014 21:48:51 -0000 On 19.11.2014 17:13, Adrian Chadd wrote: > Hi, > > I've just added a 'malta' target to my wifi build scripts. 'malta' is > a mips32 big-endian target for qemu-devel. Wow. Thank you very much for that Adrian. -- Pozdrawiam, Maciej Milewski From owner-freebsd-mips@FreeBSD.ORG Thu Nov 20 17:09:28 2014 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3135EC5D for ; Thu, 20 Nov 2014 17:09:28 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 19B8C91D for ; Thu, 20 Nov 2014 17:09:28 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sAKH9Rne066849 for ; Thu, 20 Nov 2014 17:09:27 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-mips@FreeBSD.org Subject: [Bug 191587] [mips] 'strip' corrupts static libraries Date: Thu, 20 Nov 2014 17:09:26 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: na@rtfm.net X-Bugzilla-Status: In Discussion X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-mips@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 17:09:28 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191587 na@rtfm.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |na@rtfm.net --- Comment #17 from na@rtfm.net --- No need for ports collection to reproduce this bug, simply: $ echo 'int fun(int x){return x+42;}' > misc.c && cc -c misc.c && ar -rc misc.a misc.o && cp misc.a misc2.a $ strip misc.a $ ranlib misc.a ranlib: warning: can't find .strtab section ranlib: fatal: Invalid filename $ ranlib misc2.a $ -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-mips@FreeBSD.ORG Thu Nov 20 23:33:08 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1D4F5C35 for ; Thu, 20 Nov 2014 23:33:08 +0000 (UTC) Received: from mail-oi0-x22f.google.com (mail-oi0-x22f.google.com [IPv6:2607:f8b0:4003:c06::22f]) (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 CED10F0A for ; Thu, 20 Nov 2014 23:33:07 +0000 (UTC) Received: by mail-oi0-f47.google.com with SMTP id v63so2822318oia.6 for ; Thu, 20 Nov 2014 15:33:07 -0800 (PST) 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=aQSvsQzHMe3iMtJ3uzBjxIXDYze5qol+blaA4x/uX60=; b=Jo+1NERpedrkX1prRx1N2h6eDrha7MTTfZh30GvI/tduurux/i+nBl1J3anpZrW+D1 jwBeaJZreG8f4NIcir2MMbd8G6CK3Cpdi2sS6mBCY13vQQzlU82QOQa7anBp+Vc1epCE MllG9f03kQFm84MC9f0UDo5BtHPFjN6jc7wPivS1cTJqlax6jmmiClwRXYCj7dwJTstl 3zROBcPTu2E4N17w1RDLxBcm4xjrcVdqCSje2DDgnqn5AbUzFUG8nFtwNQpch5NMJ2yQ kQjU85ZKFzFnJV2hCEoPdO1c/sUwGeybzIev3RtUmgBe8X3FvPEyrOrPFVrfDn3z8GGA xdxw== MIME-Version: 1.0 X-Received: by 10.60.48.4 with SMTP id h4mr919736oen.42.1416526387080; Thu, 20 Nov 2014 15:33:07 -0800 (PST) Sender: ndorfman@gmail.com Received: by 10.60.143.1 with HTTP; Thu, 20 Nov 2014 15:33:07 -0800 (PST) In-Reply-To: References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> Date: Thu, 20 Nov 2014 18:33:07 -0500 X-Google-Sender-Auth: r6gHPyiY_mdnT75r-fvd40FvJAM Message-ID: Subject: Re: is pkgng=no valid? From: Nathan Dorfman To: jungle Boogie Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 23:33:08 -0000 On Tue, Nov 18, 2014 at 9:03 PM, Nathan Dorfman wrote: > D'oh, my memory seems to be failing me. What Ben is saying does sound > familiar now. I might have just worked around it by using something > like 'cd /usr/ports/*/pkgng && make STRIP=/bin/echo install' > OK, today, at least, that doesn't seem to work either. This does: sed -i.bak 's/^old_striplib=/#&/' $WRKDIRPREFIX/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libtool It's enough to build a bunch of ports, but of course any that make their own static libraries will still break. E.g. if you want to build tmux, you have to do the same thing to libevent2, which bundles its own libtool: sed -i.bak 's/^old_striplib=/#&/' $WRKDIRPREFIX/usr/ports/devel/libevent2/work/libevent-2.0.21-stable/libtool Ben's strip patch is looking like the best solution for now. -nd. From owner-freebsd-mips@FreeBSD.ORG Thu Nov 20 23:44:36 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0255AFD1 for ; Thu, 20 Nov 2014 23:44:36 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 CE49616 for ; Thu, 20 Nov 2014 23:44:35 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 01497193964; Thu, 20 Nov 2014 23:44:33 +0000 (UTC) Subject: Re: is pkgng=no valid? From: Sean Bruno Reply-To: sbruno@freebsd.org To: Nathan Dorfman In-Reply-To: References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-vrijzxb3GxLR30unvTE0" Date: Thu, 20 Nov 2014 15:44:32 -0800 Message-ID: <1416527072.7423.40.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Cc: freebsd-mips@freebsd.org, jungle Boogie X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Nov 2014 23:44:36 -0000 --=-vrijzxb3GxLR30unvTE0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable On Thu, 2014-11-20 at 18:33 -0500, Nathan Dorfman wrote: > On Tue, Nov 18, 2014 at 9:03 PM, Nathan Dorfman wrote: >=20 > > D'oh, my memory seems to be failing me. What Ben is saying does sound > > familiar now. I might have just worked around it by using something > > like 'cd /usr/ports/*/pkgng && make STRIP=3D/bin/echo install' > > >=20 > OK, today, at least, that doesn't seem to work either. This does: >=20 > sed -i.bak 's/^old_striplib=3D/#&/' > $WRKDIRPREFIX/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libtool >=20 > It's enough to build a bunch of ports, but of course any that make their > own static libraries will still break. E.g. if you want to build tmux, yo= u > have to do the same thing to libevent2, which bundles its own libtool: >=20 > sed -i.bak 's/^old_striplib=3D/#&/' > $WRKDIRPREFIX/usr/ports/devel/libevent2/work/libevent-2.0.21-stable/libto= ol >=20 > Ben's strip patch is looking like the best solution for now. >=20 > -nd. > ________________________ I'm currently setting WITH_DEBUG=3Dy in make.conf for use with poudriere + qemu-user. Maybe this is easier? sean --=-vrijzxb3GxLR30unvTE0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUbnzgXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kWQ8H/0n0jRnfsw9gdkjSL+rNALJu sRkfIQ2a5RX0taM294RVEknHskA4MLl4jleB3ERr9wNsXap9Fhi3NTXPVz3ToqvF 6JvzaaKbvIlg1B1TKW/GEvOIu08e2YNvc/+YQXYJUDgrxWCaSCY3EUEJLmCLK/Hd zHA572mtgMOw8kt0DlrcMsgL2dBLXm5Ji0Z3UlLBs9SZJAuW0be0eebtKl7MRs+p uU46yiY4wL/4eFmWixdxkCbcTodO7UJRmGkDmCPQYtQl8D/QF1bgjH9LouennzeF IqeX/pW8nhN2Ps1pGaNI/EkeWxoq/NBJsZ+3zEqqP4a07XZx9HNYLoiR6v6cZM8= =rfgt -----END PGP SIGNATURE----- --=-vrijzxb3GxLR30unvTE0-- From owner-freebsd-mips@FreeBSD.ORG Fri Nov 21 00:50:10 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 16508D54 for ; Fri, 21 Nov 2014 00:50:10 +0000 (UTC) Received: from mail.ignoranthack.me (ignoranthack.me [199.102.79.106]) (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 E9E0B897 for ; Fri, 21 Nov 2014 00:50:09 +0000 (UTC) Received: from [192.168.200.212] (unknown [50.136.155.142]) (using SSLv3 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: sbruno@ignoranthack.me) by mail.ignoranthack.me (Postfix) with ESMTPSA id 33FDF193964 for ; Fri, 21 Nov 2014 00:50:08 +0000 (UTC) Subject: MIPS32 -- pkg repo build From: Sean Bruno Reply-To: sbruno@freebsd.org To: freebsd-mips@freebsd.org Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-iBNSXylEWTI/camxy6m3" Date: Thu, 20 Nov 2014 16:50:06 -0800 Message-ID: <1416531006.7423.45.camel@bruno> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 00:50:10 -0000 --=-iBNSXylEWTI/camxy6m3 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable http://dirty.ysv.freebsd.org/build.html?mastername=3D11mips32-11mips32&buil= d=3D2014-11-21_00h06m43s I'm making an attempt at 32bit mips packages this week. If you see ports that you know how to fix fail (e.g. boehm-gc blocks 2k packages) file a bugzilla ticket with your proposed fixes and I'll drive them into the tree. Once this build is done, a 32bit mips package repo will be available on this server for alpha testing while we figure out some mechanical bits to the qemu-emulation I'm using. sean --=-iBNSXylEWTI/camxy6m3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQF8BAABCgBmBQJUbow+XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXRCQUFENDYzMkU3MTIxREU4RDIwOTk3REQx MjAxRUZDQTFFNzI3RTY0AAoJEBIB78oecn5kZV8H/ic5ERIV+mGMOf8jMZmsg8kY RqwK5ifxYtsW0si2Zo2Zf4srUxQFs7Ifx6PcYTq7aImzxlrxS/Wu2TjufWy57nBB U4TaFofTXVQ8ffO2RB4Qm5XNPBGkqkedHNDJhPjWdiwh/dGsNMOLIOKtOMJ9Nqe5 jJd8LdxDpHA9wBMTTABt61tv5ab3sktktLBXIhSV6k6l0WkiBH5f7PWSnveHO/6w dDp3Zb0b6S6kkXtcL57wzVbtMpQPFfbYCKcCNVk8iyoaLf+W5irIu6xlAuh/548W Z3yUctH53QN1p/2Qh1O3iq+esFCXAPVmV7lvKGi76ltjVv8/mn52uk4udy9rXWU= =B5GY -----END PGP SIGNATURE----- --=-iBNSXylEWTI/camxy6m3-- From owner-freebsd-mips@FreeBSD.ORG Fri Nov 21 03:41:40 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 817B08A3; Fri, 21 Nov 2014 03:41:40 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id 58571C25; Fri, 21 Nov 2014 03:41:39 +0000 (UTC) Received: from anubis.morrow.me.uk (unknown [93.89.81.46]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 7ACBA45087; Fri, 21 Nov 2014 03:41:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk 7ACBA45087 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1416541293; bh=G1N7mhKRKd2S8Mv5B24447FQswEmRrA7HzWnwrRdWbw=; h=Date:From:To:Subject:References:In-Reply-To; b=ipA/HDb471ZJwTP1Bwh0FXu/kD27fw9k+2awwCZmS6YJuGmr2Y3NJ1nL15lT8hl3n OnSOr/LedHadeLAYoFo8LGroBLIhvbzyBbIiHj/wUjI3zRaJHkvmG+6Lgg3fH069T1 NbvRp5X/lcCYi4rS3YTyMd4Nu66AYEmKotJJ9SNI= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id B9E8516794; Fri, 21 Nov 2014 03:41:30 +0000 (GMT) Date: Fri, 21 Nov 2014 03:41:30 +0000 From: Ben Morrow To: sbruno@freebsd.org, freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? Message-ID: <20141121034128.GA18538@anubis.morrow.me.uk> References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1416527072.7423.40.camel@bruno> X-Newsgroups: gmane.os.freebsd.devel.mips User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 03:41:40 -0000 Quoth sbruno@freebsd.org: > On Thu, 2014-11-20 at 18:33 -0500, Nathan Dorfman wrote: > > On Tue, Nov 18, 2014 at 9:03 PM, Nathan Dorfman wrote: > > > > > D'oh, my memory seems to be failing me. What Ben is saying does sound > > > familiar now. I might have just worked around it by using something > > > like 'cd /usr/ports/*/pkgng && make STRIP=/bin/echo install' > > > > > > > OK, today, at least, that doesn't seem to work either. This does: > > > > sed -i.bak 's/^old_striplib=/#&/' > > $WRKDIRPREFIX/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libtool > > > > It's enough to build a bunch of ports, but of course any that make their > > own static libraries will still break. E.g. if you want to build tmux, you > > have to do the same thing to libevent2, which bundles its own libtool: > > > > sed -i.bak 's/^old_striplib=/#&/' > > $WRKDIRPREFIX/usr/ports/devel/libevent2/work/libevent-2.0.21-stable/libtool > > > > Ben's strip patch is looking like the best solution for now. > > I'm currently setting WITH_DEBUG=y in make.conf for use with poudriere + > qemu-user. Maybe this is easier? It's easier, but you end up with unstripped and unoptimised binaries, which seems like a Bad Plan to me on a machine as small as the ERL. Not stripping static libraries doesn't make any difference to any code that will actually run, since any binaries they are linked from will be stripped again before being installed. Ben From owner-freebsd-mips@FreeBSD.ORG Fri Nov 21 05:21:31 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4EFA01B6 for ; Fri, 21 Nov 2014 05:21:31 +0000 (UTC) Received: from mail-pd0-f169.google.com (mail-pd0-f169.google.com [209.85.192.169]) (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 19A496D8 for ; Fri, 21 Nov 2014 05:21:30 +0000 (UTC) Received: by mail-pd0-f169.google.com with SMTP id fp1so4521048pdb.0 for ; Thu, 20 Nov 2014 21:21:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=7kaBMAwIvPWFXx7PwZEEruD2YikBbbmd8OXhP6OFDXk=; b=VlOQBrsk+LtmQOq8Eq8kYotIgdWsxMZPBEFAPIR9PNS7JNgSjwWXAaA31U0Sp9drBb JOCRS12f7t7dWAIYnUYs94Eq9SPwHcVqwfmkZ78IUzhALhKOfVfGBS5YhqWyKSD0BHkQ T861Gf6ZzZlJGJgbAqbLJBeXGwzuns0KicWupO4A6d/cXCGkTJ+8mj07Z6rvZ3cgmnBe Oz9dHx0iBTbI6ON3W/xI/WfLmoOtFzwjJwTKnAALjTeIkjGyCwx1Jjin7g3+fiWyl1dT yW5pp4OXUDRXKFWwv/KLWxYo2sKH7XeM4S9CXtu1+oaTDywKK1gixnfvKqyyaugedkwf 4boQ== X-Gm-Message-State: ALoCoQlt3lI0jam5DT/0annyaylwgWp0kiHfUEP2y4E2wLERdFUHaNl6XUuMF0tnO/GAAZaLmIEP X-Received: by 10.66.160.74 with SMTP id xi10mr3592891pab.72.1416547289996; Thu, 20 Nov 2014 21:21:29 -0800 (PST) Received: from [10.64.27.119] ([69.53.236.236]) by mx.google.com with ESMTPSA id cq6sm3588856pad.30.2014.11.20.21.21.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 20 Nov 2014 21:21:29 -0800 (PST) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_49BC2E8A-7A33-4A2A-B3DF-E2A41755E8BE"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: is pkgng=no valid? From: Warner Losh In-Reply-To: <20141121034128.GA18538@anubis.morrow.me.uk> Date: Thu, 20 Nov 2014 22:21:24 -0700 Message-Id: References: <546BA46C.4050908@gmail.com> <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> <20141121034128.GA18538@anubis.morrow.me.uk> To: Ben Morrow X-Mailer: Apple Mail (2.1878.6) Cc: freebsd-mips@freebsd.org X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 05:21:31 -0000 --Apple-Mail=_49BC2E8A-7A33-4A2A-B3DF-E2A41755E8BE Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Nov 20, 2014, at 8:41 PM, Ben Morrow wrote: > Quoth sbruno@freebsd.org: >> On Thu, 2014-11-20 at 18:33 -0500, Nathan Dorfman wrote: >>> On Tue, Nov 18, 2014 at 9:03 PM, Nathan Dorfman wrote: >>>=20 >>>> D'oh, my memory seems to be failing me. What Ben is saying does = sound >>>> familiar now. I might have just worked around it by using something >>>> like 'cd /usr/ports/*/pkgng && make STRIP=3D/bin/echo install' >>>>=20 >>>=20 >>> OK, today, at least, that doesn't seem to work either. This does: >>>=20 >>> sed -i.bak 's/^old_striplib=3D/#&/' >>> $WRKDIRPREFIX/usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/libtool >>>=20 >>> It's enough to build a bunch of ports, but of course any that make = their >>> own static libraries will still break. E.g. if you want to build = tmux, you >>> have to do the same thing to libevent2, which bundles its own = libtool: >>>=20 >>> sed -i.bak 's/^old_striplib=3D/#&/' >>> = $WRKDIRPREFIX/usr/ports/devel/libevent2/work/libevent-2.0.21-stable/libtoo= l >>>=20 >>> Ben's strip patch is looking like the best solution for now. >>=20 >> I'm currently setting WITH_DEBUG=3Dy in make.conf for use with = poudriere + >> qemu-user. Maybe this is easier? >=20 > It's easier, but you end up with unstripped and unoptimised binaries, > which seems like a Bad Plan to me on a machine as small as the ERL. = Not > stripping static libraries doesn't make any difference to any code = that > will actually run, since any binaries they are linked from will be > stripped again before being installed. STRIP=3D might be an option (STRIP=3D/bin/true isn=92t right since it is = flags to use). But I wonder why we=92re even doing strip on a .a anyway. That part = doesn=92t make sense to me at all. Usually you just do that on shared libraries or = binaries. You might also consider STRIPCMD=3D/tmp/strip-me which looks like: #!/bin/sh case $1 *.a) /bin/true *) strip $* esac Or replacing the real strip with the above and changing =93strip=94 to = strep.real which is the real strip binary. I=92m not 100% sure that install actually honors this or not, but it = would be one way. Looking at bsd.lib.mk, though, shows we only call install with ${STRIP} for = shared libraries. Warner --Apple-Mail=_49BC2E8A-7A33-4A2A-B3DF-E2A41755E8BE Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJUbsvUAAoJEGwc0Sh9sBEAC6sQAIvsiV7vuuRaEofISJve2dxe RlEAQ/YedXG5oy3dnO4Ii3PU3Tu/0L7P+ieN41ggTM+vhUwrbG1Rx+/RPV+8OfFc nHLEwwqit6guaDSfb04oYvS+Qo50E1I+Xq4Sl4P5/1rAkjZBaBGLM3AfvuqCj1c1 inKbEIEvcrhF2yJwSak+7eWVmYwbNHNosfzfaHiwoVr1/ALAzZlTCMkPIcTKOyAm j8ZF26AHKLvmVt+Xvvoa7DrTnmuKHzcxT9FfJqA4A9Yr1yzU7KiXvGIEM72b5Sf3 tyDCrSCzzALurKHiQ1LJTnKjCOqVnBcNLC1l+YXX1FuF8SQhypQbpCGqgBXuTH7I Pnp0Po3+53jM3WsIpJ72guf7PT83lwO3gju/cpNfLbcGm0g0EpzN8P95wCfqHyMj Xla1kBERCkGNvgPlyzTJ3k8Y8c/i5PSZYUg8ZS5j8wfKbAW5NPi5M1IBskQI8vuE Y65yvN0l/B8WsEanH5Jr4pPslLPQNoaF3UrJNlvbHqHKQSjXzunTr+Ny1ZLL0u8t hRKv2e1yet2gkkT9ZkBfugB63hppCb1klWrjXmcLtRoXu7s9lBRttyZvUUZ9DC15 WH35l56zv22bRNgJJQud8MroOOxuggwS1YlvlITZKWCNV6kt9pxkcjEm4fkQO1Ud 93ObMjdYWj09iOq/rkYc =WXpE -----END PGP SIGNATURE----- --Apple-Mail=_49BC2E8A-7A33-4A2A-B3DF-E2A41755E8BE-- From owner-freebsd-mips@FreeBSD.ORG Fri Nov 21 14:03:59 2014 Return-Path: Delivered-To: freebsd-mips@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 22EAA671 for ; Fri, 21 Nov 2014 14:03:59 +0000 (UTC) Received: from isis.morrow.me.uk (isis.morrow.me.uk [204.109.63.142]) by mx1.freebsd.org (Postfix) with ESMTP id EF0FD3E4 for ; Fri, 21 Nov 2014 14:03:58 +0000 (UTC) Received: from anubis.morrow.me.uk (unknown [93.89.81.46]) (Authenticated sender: mauzo) by isis.morrow.me.uk (Postfix) with ESMTPSA id 24AB745087; Fri, 21 Nov 2014 14:03:55 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.8.3 isis.morrow.me.uk 24AB745087 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=morrow.me.uk; s=dkim201101; t=1416578637; bh=hQVgSJNSi91R24+H094AUD1scH1HibhmXQwMBlFobFc=; h=Date:From:To:Subject:References:In-Reply-To; b=RtynG/QkgGi6Vd38AX0ECumxdGbmvL0xETy5BdGYaPBTBi6z1APSkyw72Jz3WejSP ET1fYXdjvXtg/KdK2ho+0+wFA/NAFBvdPRuOAHrKoxeWQLDYgpFRu9xvT1HzzgPg3m RIM9xtjt8aq6rOIJ3HUM778Y/URrfnEX+nGHVdCU= X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.98.4 at isis.morrow.me.uk Received: by anubis.morrow.me.uk (Postfix, from userid 5001) id 3E05116822; Fri, 21 Nov 2014 14:03:52 +0000 (GMT) Date: Fri, 21 Nov 2014 14:03:52 +0000 From: Ben Morrow To: imp@bsdimp.com, freebsd-mips@freebsd.org Subject: Re: is pkgng=no valid? Message-ID: <20141121140350.GA21767@anubis.morrow.me.uk> References: <20141118200226.GP44537@home.opsec.eu> <20141118212630.GQ44537@home.opsec.eu> <546BBB26.5050603@gmail.com> <546BC7AE.3080705@gmail.com> <20141119004236.GA95694@anubis.morrow.me.uk> <20141121034128.GA18538@anubis.morrow.me.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Newsgroups: gmane.os.freebsd.devel.mips User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Nov 2014 14:03:59 -0000 Quoth Warner Losh : > On Nov 20, 2014, at 8:41 PM, Ben Morrow wrote: > > Quoth sbruno@freebsd.org: > >> > >> I'm currently setting WITH_DEBUG=y in make.conf for use with poudriere + > >> qemu-user. Maybe this is easier? > > > > It's easier, but you end up with unstripped and unoptimised binaries, > > which seems like a Bad Plan to me on a machine as small as the ERL. Not > > stripping static libraries doesn't make any difference to any code that > > will actually run, since any binaries they are linked from will be > > stripped again before being installed. > > STRIP= might be an option (STRIP=/bin/true isn't right since it is flags > to use). > > But I wonder why we're even doing strip on a .a anyway. That part doesn't > make sense to me at all. Usually you just do that on shared libraries or > binaries. No, I agree. I suppose it saves a little disk space? > You might also consider STRIPCMD=/tmp/strip-me which looks like: > > #!/bin/sh > > case $1 > *.a) /bin/true > *) strip $* > esac I started there; strip's command-line parsing is more complicated than I cared to reproduce in shell. > Or replacing the real strip with the above and changing "strip" to > strep.real which is > the real strip binary. > > I'm not 100% sure that install actually honors this or not, but it would > be one way. Looking > at bsd.lib.mk, though, shows we only call install with ${STRIP} for > shared libraries. libtool strips static libs if it thinks it's using GNU strip, and it passes the necessary arguments to only strip debug symbols and not those needed for further linking. Ben