Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jan 2009 11:34:57 -0500
From:      Jimmie James <jimmiejaz@gmail.com>
To:        freebsd-ports@freebsd.org,  freebsd-questions@freebsd.org
Subject:   x11-toolkits/linux-gtk2 problem/question.
Message-ID:  <4979F1B1.4090808@gmail.com>

Next in thread | Raw E-Mail | Index | Archive | Help
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 <format:bdb_hash> 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 <format:bdb_hash> in /var/db/pkg ... - 1110 packages 
found (-0 +1) . done]



-- 
Over the years I've come to regard you as people I've met.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?4979F1B1.4090808>