Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Mar 2015 15:26:49 +0100 (CET)
From:      =?ISO-8859-1?Q?Trond_Endrest=F8l?= <Trond.Endrestol@fagskolen.gjovik.no>
To:        rank1seeker@gmail.com
Cc:        hackers@FreeBSD.org
Subject:   Re: ports-mgmt/pkg (still) fails to install in DESTDIR
Message-ID:  <alpine.BSF.2.11.1503271524410.7386@mail.fig.ol.no>
In-Reply-To: <20150327152000.000015e6@gmail.com>
References:  <20150327152000.000015e6@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <owner-freebsd-hackers@FreeBSD.ORG>
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 <dchagin@freebsd.org>
To: Edward Tomasz Napierala <trasz@FreeBSD.org>
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
 <freebsd-hackers.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/freebsd-hackers>, 
 <mailto:freebsd-hackers-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-hackers/>;
List-Post: <mailto:freebsd-hackers@freebsd.org>
List-Help: <mailto:freebsd-hackers-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-hackers>,
 <mailto:freebsd-hackers-request@freebsd.org?subject=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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.11.1503271524410.7386>