From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 27 14:26:57 2015 Return-Path: Delivered-To: hackers@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 3531DAB for ; Fri, 27 Mar 2015 14:26:57 +0000 (UTC) Received: from smtp.fagskolen.gjovik.no (smtp.fagskolen.gjovik.no [IPv6:2001:700:1100:1:200:ff:fe00:b]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.fagskolen.gjovik.no", Issuer "Fagskolen i Gj??vik" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9B82FBDE for ; Fri, 27 Mar 2015 14:26:55 +0000 (UTC) Received: from mail.fig.ol.no (localhost [127.0.0.1]) by mail.fig.ol.no (8.14.9/8.14.9) with ESMTP id t2REQoBv095769 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Mar 2015 15:26:50 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) Received: from localhost (trond@localhost) by mail.fig.ol.no (8.14.9/8.14.9/Submit) with ESMTP id t2REQnHM095766; Fri, 27 Mar 2015 15:26:50 +0100 (CET) (envelope-from trond@fagskolen.gjovik.no) X-Authentication-Warning: mail.fig.ol.no: trond owned process doing -bs Date: Fri, 27 Mar 2015 15:26:49 +0100 (CET) From: =?ISO-8859-1?Q?Trond_Endrest=F8l?= Sender: Trond.Endrestol@fagskolen.gjovik.no To: rank1seeker@gmail.com Subject: Re: ports-mgmt/pkg (still) fails to install in DESTDIR In-Reply-To: <20150327152000.000015e6@gmail.com> Message-ID: References: <20150327152000.000015e6@gmail.com> User-Agent: Alpine 2.11 (BSF 23 2013-08-11) Organization: Fagskolen Innlandet OpenPGP: url=http://fig.ol.no/~trond/trond.key MIME-Version: 1.0 X-Spam-Status: No, score=-1.0 required=5.0 tests=ALL_TRUSTED, AWL autolearn=ham autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on mail.fig.ol.no Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 14:26:57 -0000 On Fri, 27 Mar 2015 15:20+0100, rank1seeker@gmail.com wrote: > # make -C /usr/ports/ports-mgmt/pkg DESTDIR=/poligon/freebsd install clean > Fails at: > ------------------ > ====> Compressing man pages (compress-man) > ===> Installing for pkg-1.4.12 > ===> Checking if pkg already installed > ===> Registering installation for pkg-1.4.12 > pkg-static: Cannot open "/var/run/ld-elf.so.hints": No such file or directory I've seen this from time to time. I resolved it in two steps: rm /var/run/ld-elf*.so.hints /etc/rc.d/ldconfig start In your case, this should be done from within the chroot env. > *** Error code 1 > > Stop. > make[1]: stopped in /tmp/mountpoint.w4WP0q/ports-mgmt/pkg > *** Error code 1 > > Stop. > make: stopped in /tmp/mountpoint.w4WP0q/ports-mgmt/pkg > ===> Chrooted make in /poligon/freebsd failed > ===> Cleaning up... > *** Error code 1 > > Stop. > make: stopped in /usr/ports/ports-mgmt/pkg > ------------------ > > I've found this, but it was 2 years ago and still not implemented/fixed: > http://lists.freebsd.org/pipermail/svn-src-stable-10/2013-December/000495.html > > My fix vas to chroot in DESTDIR and simply issue: > # pkg -v > Which started bootstrapp ... -- +-------------------------------+------------------------------------+ | Vennlig hilsen, | Best regards, | | Trond Endrestøl, | Trond Endrestøl, | | IT-ansvarlig, | System administrator, | | Fagskolen Innlandet, | Gjøvik Technical College, Norway, | | tlf. mob. 952 62 567, | Cellular...: +47 952 62 567, | | sentralbord 61 14 54 00. | Switchboard: +47 61 14 54 00. | +-------------------------------+------------------------------------+ From owner-freebsd-hackers@FreeBSD.ORG Fri Mar 27 15:55:34 2015 Return-Path: Delivered-To: hackers@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 8CF5CA55; Fri, 27 Mar 2015 15:55:34 +0000 (UTC) Received: from dchagin.static.corbina.net (dchagin.static.corbina.ru [78.107.232.239]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "dchagin.static.corbina.net", Issuer "dchagin.static.corbina.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E7638942; Fri, 27 Mar 2015 15:55:32 +0000 (UTC) Received: from dchagin.static.corbina.net (localhost [127.0.0.1]) by dchagin.static.corbina.net (8.14.9/8.14.9) with ESMTP id t2RFhmK6090886 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 27 Mar 2015 18:43:48 +0300 (MSK) (envelope-from dchagin@dchagin.static.corbina.net) Received: (from dchagin@localhost) by dchagin.static.corbina.net (8.14.9/8.14.9/Submit) id t2RFhmUt090885; Fri, 27 Mar 2015 18:43:48 +0300 (MSK) (envelope-from dchagin) Date: Fri, 27 Mar 2015 18:43:48 +0300 From: Chagin Dmitry To: Edward Tomasz Napierala Subject: Re: Linux core under FreeBSD. Message-ID: <20150327154348.GA90856@dchagin.static.corbina.net> References: <20150327124058.GA3991@brick.home> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150327124058.GA3991@brick.home> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: hackers@FreeBSD.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Mar 2015 15:55:34 -0000 On Fri, Mar 27, 2015 at 01:40:58PM +0100, Edward Tomasz Napierala wrote: > Is there a way to debug a core generated by Linux process running > under Linuxulator on 11-CURRENT? Thanks! > ptrace implemented only for i386, so ktrace/kdump and machdep.uprintf_signal=1 -- Have fun! chd