From owner-freebsd-questions@FreeBSD.ORG Fri Jan 23 16:34:55 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 91143106567C for ; Fri, 23 Jan 2009 16:34:55 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: from mail-gx0-f21.google.com (mail-gx0-f21.google.com [209.85.217.21]) by mx1.freebsd.org (Postfix) with ESMTP id 32E6E8FC1E for ; Fri, 23 Jan 2009 16:34:54 +0000 (UTC) (envelope-from jimmiejaz@gmail.com) Received: by gxk14 with SMTP id 14so5381930gxk.19 for ; Fri, 23 Jan 2009 08:34:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:reply-to :user-agent:mime-version:to:subject:content-type :content-transfer-encoding; bh=4UN5Ce1QS91/ffVSOmCF6s8VhDr34KDpsaogEYB9yeE=; b=AIOOYcKwvIKSXUphkgxTA0mw/I5VtRJenBM+d0XpiuvXanPgDlEOv6FsHL7kyeVd2k ab2YqVUeSyMHVyDYLv66YtVrNamyHgd5ZFmejG+1eZg87fHPVyrzOjoQSv/dmsa+PS6T Hifso+jDwZsibgaTEeSgLxSblgRZF5LdT0nzs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:reply-to:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; b=EgspRSdxByIdL/RYfhL0V3as+yBY1gPQurczF3On628dRWN8PdtWVO5x1zwz6Cr6oe oLXuwus8a3BYkP20TlBz2OEYusClatfk5fDTZz1fClj40vSwrhWvmNg6kqgarcyE2d+s EgjrsMRrD/Th022T0n1ZLoim7mtfXQrsv5EKM= Received: by 10.65.241.15 with SMTP id t15mr1328601qbr.8.1232728494062; Fri, 23 Jan 2009 08:34:54 -0800 (PST) Received: from fortytwo.zapto.org ([70.51.165.247]) by mx.google.com with ESMTPS id p30sm8577240qbp.37.2009.01.23.08.34.53 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 Jan 2009 08:34:53 -0800 (PST) Message-ID: <4979F1B1.4090808@gmail.com> Date: Fri, 23 Jan 2009 11:34:57 -0500 From: Jimmie James User-Agent: Thunderbird 2.0.0.7pre (X11/20080610) MIME-Version: 1.0 To: freebsd-ports@freebsd.org, freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: x11-toolkits/linux-gtk2 problem/question. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jimmiejaz@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jan 2009 16:34:56 -0000 While it looks like it install/runs fine (i.e, linux-flash9 works, skype works) the following error is show (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0) Following this advice, all I could find, http://archive.netbsd.se/?ml=freebsd-emulation&a=2005-11&t=1506833 The fix is, to tell /compat/linux/etc/nsswitch.conf to look at NIS too. Is UID 0 in your /etc/passwd? Can you try changeing /compat/linux/etc/nsswitch.conf to something like this: passwd: files nisplus nis shadow: files nisplus nis group: files nisplus nis Uid 0 is in my /etc/passwd, there's no /compat/linux/etc/passwd., and changing /compat/linux/etc/nsswitch.conf to read the same doesn't fix the error message. Advice, suggestions? #portupgrade -f x11-toolkits/linux-gtk2 ---> Reinstalling 'linux-gtk2-2.6.10_1' (x11-toolkits/linux-gtk2) ---> Building '/usr/ports/x11-toolkits/linux-gtk2' ===> Cleaning for linux-gtk2-2.6.10_1 ===> Extracting for linux-gtk2-2.6.10_1 => MD5 Checksum OK for rpm/i386/fedora/4/gtk2-2.6.10-2.fc4.4.i386.rpm. => SHA256 Checksum OK for rpm/i386/fedora/4/gtk2-2.6.10-2.fc4.4.i386.rpm. => MD5 Checksum OK for rpm/i386/fedora/4/gtk2-engines-2.6.3-2.i386.rpm. => SHA256 Checksum OK for rpm/i386/fedora/4/gtk2-engines-2.6.3-2.i386.rpm. ===> linux-gtk2-2.6.10_1 depends on file: /usr/local/bin/rpm2cpio - found ===> Patching for linux-gtk2-2.6.10_1 ===> Configuring for linux-gtk2-2.6.10_1 ---> Backing up the old version ---> Uninstalling the old version ---> Deinstalling 'linux-gtk2-2.6.10_1' pkg_delete: package 'linux-gtk2-2.6.10_1' is required by these other packages and may not be deinstalled (but I'll delete it anyway): nspluginwrapper-1.2.2_1 [Updating the pkgdb in /var/db/pkg ... - 1109 packages found (-1 +0) (...) done] ---> Installing the new version via the port ===> Installing for linux-gtk2-2.6.10_1 ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/lib/libatk-1.0.so.0 - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/lib/libjpeg.so.62 - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/lib/libpng12.so.0 - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/lib/libtiff.so.3 - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/lib/libpango-1.0.so.0 - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/bin/sh - found ===> linux-gtk2-2.6.10_1 depends on file: /compat/linux/usr/X11R6/lib/libXrender.so.1 - found ===> Generating temporary packing list cd /usr/ports/x11-toolkits/linux-gtk2/work && /usr/bin/find * -type d -exec /bin/mkdir -p "/compat/linux/{}" \; cd /usr/ports/x11-toolkits/linux-gtk2/work && /usr/bin/find * ! -type d | /usr/bin/cpio -pm -R root:wheel /compat/linux 28726 blocks (process:47722): GLib-WARNING **: getpwuid_r(): failed due to unknown user id (0) ===> Running linux ldconfig /compat/linux/sbin/ldconfig -r /compat/linux ===> Registering installation for linux-gtk2-2.6.10_1 ===> Cleaning for linux-gtk2-2.6.10_1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 1110 packages found (-0 +1) . done] -- Over the years I've come to regard you as people I've met.