Re: [gentoo-user] Re: Failing to compile hydrogen
Am 15/02/2012 04:59, schrieb meino.cra...@gmx.de: »Q«boxc...@gmx.net [12-02-14 18:12]: On Tue, 14 Feb 2012 17:58:49 +0100 meino.cra...@gmx.de wrote: How can I circumvent the problem? I can't vouch for it, but there's a patch attached to the bug. https://bugs.gentoo.org/show_bug.cgi?id=372003 Hi, thank you for your help and the patch! :) How can I include this patch into the normal build process of gentoo ? Thank you very much in advance for any help! create a local overlay, copy the hydrogen dir, copy the patch, edit the ebuild to include the patch, compile. sounds a lot more comlicated than it actually is and it should be easy to find tutorials for the individual steps :)
Re: [gentoo-user] Re: app-emulation/virtualbox-modules and kernel sources
Am Thu, 10 Nov 2011 18:13:04 + (UTC) schrieb Grant Edwards grant.b.edwa...@gmail.com: On 2011-11-10, Jonas de Buhr jonas.de.b...@gmx.net wrote: Hello everyone! virtualbox modules fails with the following * Messages for package app-emulation/virtualbox-modules-4.1.4: * Could not find a Makefile in the kernel source directory. [...] # uname -a Linux hostname 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux i don't get it. does anybody know whats wrong? Presumably there isn't a Makefile in /usr/src/Linux? sorry, i was in a hurry, i really should have asked more specific questions. yes, there is no makefile in the kernel sources and that causes all make commands in the kernel source dir to fail (of course). i have the sources for 3.0.6 installed and configured emerge to change the symlinks on install of kernel sources. but... does emerge delete the older makefiles? why would it? i hope there is a reasonable explanation for the makefiles disappearing, i really can't use a failing HD at the moment. If you've done a make clean or something similar in the linux source directory (or if you've never built a kernel), you'll have to well, i built the kernel i am running, is there a different way? :P re-generate at least the files required to build modules. Try doing make modules_prepare in your linux source directory. The full story is in /usr/src/linux/Documentation/kbuild/modules.txt sectio 2. thanks!
[gentoo-user] app-emulation/virtualbox-modules and kernel sources
Hello everyone! virtualbox modules fails with the following * Messages for package app-emulation/virtualbox-modules-4.1.4: * Could not find a Makefile in the kernel source directory. * Please ensure that /usr/src/linux points to a complete set of Linux sources * Unable to calculate Linux Kernel version for build, attempting to use running version * Could not find a usable .config in the kernel source directory. * Please ensure that /usr/src/linux points to a configured set of Linux sources. * If you are using KBUILD_OUTPUT, please set the environment var so that * it points to the necessary object directory so that it might find .config. * ERROR: app-emulation/virtualbox-modules-4.1.4 failed (setup phase): * Kernel not configured; no .config found in # ls -l /usr/src/linux/.config -rw-r--r-- 1 root root 77090 9. Okt 19:25 /usr/src/linux/.config # ls -l /usr/src/ lrwxrwxrwx 1 root root 22 10. Nov 17:55 linux - linux-2.6.39-gentoo-r3 drwxr-xr-x 20 root root 4096 27. Okt 13:31 linux-2.6.39-gentoo-r3 drwxr-xr-x 23 root root 4096 20. Okt 15:14 linux-3.0.6-gentoo # uname -a Linux hostname 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux i don't get it. does anybody know whats wrong? thanks, jonas
Re: [gentoo-user] Network problem with linux server
Am 07/11/2011 12:13, schrieb Massimiliano Ziccardi: Hi All. [SNIP] Please!! Do you have any advice? yes. read and follow the manuals provided by your distribution (your description doesn't sound gentoo-ish, but EVERY distro should have this in their documentation). Thanks, Massimiliano
Re: [gentoo-user] Unable to login to gentoo
Am Tue, 1 Nov 2011 12:40:09 +0530 schrieb Vishnupradeep intermedia.vis...@gmail.com: Installed Gentoo Linux with KDE. Worked on it for some days without any problem. The disk became full (now deleted some files downloaded to my documents to get 1.5Gb free space). Now i can't login to Gentoo. The login screen appears when username and password is entered and press enter It never logins. just reappears. failing kde login is likely due to a still full disk. show us the output of df -h please. Pressed Ctrl+Alt+F1 and logedin as root no commands are accessible, not even 'ls' echo $PATH and mount please :) Help needed.
Re: [gentoo-user] Re: How to install music player without graphic ?
Am 23.10.2011 06:58, schrieb Nikos Chantziaras: On 10/23/2011 07:05 AM, Lavender wrote: I added USE=-KDE to /etc/make.conf , but when I use emerge like below : # sudo emerge mplayer OR #sudo emerge amorok I found that the emerge always download something which contact with X11/lib . I don't know why the USE I set have no effect. Well, these are X applications (and Amarok is a KDE application.) Obviously they need X to work. USE flags are there to configure *optional* dependencies and behaviors. For mplayer and Amarok, these dependencies are not optional. for amarok this is true, but mplayer works well without X: http://www.mplayerhq.hu/DOCS/HTML/en/softreq.html USE=-X emerge mplayer should work fine. but i recommend mp3blaster for console music playback. As others mentioned, you should install a command line player. There are a few. mpg123 is not really a media player though. You might want to look at this: http://tuxarena.blogspot.com/2009/04/several-powerful-console-music-players.html
Re: [gentoo-user] Which desktop antivirus?
Am Sat, 22 Oct 2011 13:43:53 +0200 schrieb Florian Philipp li...@binarywings.net: Am 22.10.2011 13:29, schrieb Nilesh Govindarajan: On Sat 22 Oct 2011 04:57:33 PM IST, Mick wrote: Hi All, I'm asked for a desktop antivirus (the box is running KDE) but I have never used an antivirus on Linux. This page that I googled up shows a number of them: http://www.makeuseof.com/tag/free-linux-antivirus-programs/ Meanwhile, portage only lists clamav under app-antivirus/. The machine in question is running kmail to receive/send messages from ISP mail servers and ssmtp to send log messages for relaying via said ISP. What have you tried and what would you recommend for such a desktop setup? IMHO, you don't need antivirus on a Linux box, unless you're going to run a mail relay, where you are responsible for saving recipents from viruses. I agree. Check that your ISP performs virus checks. If not or if you want to be extra sure, I think kmail can work with clamav -- at least it could in the old 3.x days when I still used it. The simplest reason of all is, Linux doesn't know how to execute Windows binaries. Well, this is an oversimplification. 1) Any box running Wine is possibly as exposed to your classic pretty-women.exe mail attachments as any windows systems. 2) You should also be worried about Open/LibreOffice macro viruses as well as PDF vulnerabilities. Not to forget Flash, Java or Mozilla based exploits. or image rendering library bugs. or mono. or tricky multi-platform viruses/worms. saying that linux based viruses don't exist is simply wrong. there may not be much in the wild, but they definitely are out there. it is probably more difficult to write a successful virus for linux than for windows for a number or reasons but in principle the problem is the same as on windows. i think the main technical reason is the heterogeneity of the installations. one or two local exploits and you can hit almost any windows XP installation. in linux you have to deal with n combinations of kernel-version, glibc-version, etc. and there is very little you can depend on to be in a fixed location in memory since different compiler options may already change that. there are ways around all this of course[1], but its a lot of work. too much for the limited impact. also, a lot of malware seems to depend on social engineering for infection these days. i think thats going to work less good on a lot of linux users because the system conditions you to think before you act. that aside, i predict that we will see some linux viruses or worms with larger infections in the future. i guess the first ones will be for ubuntu because it has a large base of rather consistent base installations. /jonas -- [1] fun idea: something exploiting bugs in the usb storage subsystem or file system handling code spreading to usb sticks. you could probably even make that multi-platform if you find the needed bugs for different OSes. Still, keeping your system up-to-date and observing the freshly revived GLSA notifications is more likely to save your butt than clamav. Cheers, Florian Philipp
[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Fwd: gnome-applets-python 装不上
just give the *full* output of the emerge command you ran. Am 21.10.2011 10:03, schrieb co: Thankyou, I found this [SNIP]
[gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Re: [gentoo-user] Fwd: gnome-applets-python 装不上
Am 21.10.2011 11:15, schrieb co: [SNIP] libtool: link: mv -f .libs/gnomeapplet.expT .libs/gnomeapplet.exp libtool: link: echo { global: .libs/gnomeapplet.ver libtool: link: cat .libs/gnomeapplet.exp | sed -e s/\(.*\)/\1;/ .libs/gnomeapplet.ver libtool: link: echo local: *; }; .libs/gnomeapplet.ver libtool: link: x86_64-pc-linux-gnu-gcc -shared .libs/gnomeapplet_la-appletmodule.o .libs/gnomeapplet_la-applet.o -Wl,--as-needed -lpanel-applet-2 /usr/lib64/libgnomeui-2.so -L/usr/lib64 -lpng14 /usr/lib64/libgnome-keyring.so /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so -lX11 -lSM -lICE -lbonoboui-2 /usr/lib64/libgnomevfs-2.so -lxml2 -ldbus-glib-1 -ldbus-1 -lpthread -lssl -lcrypto -ldl -lresolv -lutil -lgnomecanvas-2 -lgnome-2 -lpopt /usr/lib64/libbonobo-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libORBit-2.so /usr/lib64/libart_lgpl_2.so -lm /usr/lib64/libgtk-x11-2.0.so /usr/lib64/ libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 /usr/lib64/libfontconfig.so -lfreetype -lz -lbz2 -lexpat -lgconf-2 -lgmodule-2.0 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0 -pthread -march=core2 -Wl,-O1 -pthread -pthread -Wl,-soname -Wl,gnomeapplet.so -Wl,-version-script -Wl,.libs/gnomeapplet.ver -o .libs/gnomeapplet.so /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lpng14 libpng14 doesn't exist. probably because it was updated and broken .la files are still present. eselect news list and read the item about libpng15. everything you neeed to do is described there. short version: delete all .la files under /usr/ which contain png14 then do revdep-rebuild. collect2: ld returned 1 exit status [SNIP] 2011/10/21 Jonas de Buhrjonas.de.b...@gmx.net just give the *full* output of the emerge command you ran. Am 21.10.2011 10:03, schrieb co: Thankyou, I found this [SNIP]
Re: [gentoo-user] consolekit daemon problem
Am Fri, 21 Oct 2011 09:58:11 -0400 schrieb cov...@ccs.covici.com: Hi. I am using consolekit on gentoo 64-bit unstable and its giving me warnings saying unable to add monitor -- n o space left on device. File systems seem to be fine and a google search did not show anything relevant. Anyone have any ideas? yes. post log entries/error messages and the output of df.
Re: [gentoo-user] consolekit daemon problem
Am Fri, 21 Oct 2011 14:43:43 -0400 schrieb cov...@ccs.covici.com: Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 21 Oct 2011 09:58:11 -0400 schrieb cov...@ccs.covici.com: Hi. I am using consolekit on gentoo 64-bit unstable and its giving me warnings saying unable to add monitor -- n o space left on device. File systems seem to be fine and a google search did not show anything relevant. Anyone have any ideas? yes. post log entries/error messages and the output of df. Oct 21 14:42:15 ccs console-kit-daemon[20795]: WARNING: Failed to add monitor on '/dev/tty4': No space left on device and similar many messages like that. What file system is it trying to use -- all the df's look good to me. hmmm. inodes? does df -i show 100% somewhere?
Re: [gentoo-user] consolekit daemon problem
Am Fri, 21 Oct 2011 16:11:33 -0400 schrieb cov...@ccs.covici.com: Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 21 Oct 2011 14:43:43 -0400 schrieb cov...@ccs.covici.com: Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 21 Oct 2011 09:58:11 -0400 schrieb cov...@ccs.covici.com: Hi. I am using consolekit on gentoo 64-bit unstable and its giving me warnings saying unable to add monitor -- n o space left on device. File systems seem to be fine and a google search did not show anything relevant. Anyone have any ideas? yes. post log entries/error messages and the output of df. Oct 21 14:42:15 ccs console-kit-daemon[20795]: WARNING: Failed to add monitor on '/dev/tty4': No space left on device and similar many messages like that. What file system is it trying to use -- all the df's look good to me. hmmm. inodes? does df -i show 100% somewhere? Nope. I wonder if the message is misleading? is there a specific reason that you do not post the output of the df commands? normally it's full HD or running out of inodes. searching the web i found one other guy having this problem a year ago, not reproduceable, no solution provided and in german: http://forum.ubuntuusers.de/topic/console-kit-daemon-warning-failed-to-add-moni/#post-2513925 are there other error messages regarding console-kit or with no space left in syslog? can you maybe strace the console-kit-daemon or run it verbose or increase its log level and see what it does when it prints this message?
Re: [gentoo-user] Issue 3 - CD Playing
Am Wed, 19 Oct 2011 23:27:20 -0400 schrieb Colleen Beamer colleen.bea...@gmail.com: On 10/19/11 10:25, J. Roeleveld wrote: On Wed, October 19, 2011 7:39 am, Colleen Beamer wrote: Semi-solved. On 10/18/11 19:21, Mark Knecht wrote: On Tue, Oct 18, 2011 at 4:16 PM, Colleen Beamer colleen.bea...@gmail.com wrote: Hi everyone, My CD drive will read data CD's, but will not play audio CD's. I've tried with kscd and Kaffeine. When I try to play an audio CD in kaffeine, I get an alert box that says: Cannot find input plgin for MRL cdda:// I can now play an audio CD in kaffeine. I have no idea what I did! I did add a couple of packages and because of this changed some use flags and updated my system with --newuse, but that's all I did. However, I still cannot play a CD in kscd. Hi Colleen, I didn't find it in this thread yet, but I am wondering if you have the CD-drive connected to the soundcard or not. Some applications will rip and play the cdda-tracks directly from the CD. Others will simply tell the CD-drive to play an audio-cd and have the cd-drive do the decoding. In the latter case, the audio-signal goes over a little cable from the cd-drive to the soundcard. I assume that it is connected because I could play an audio file (ogg) from my hard drive. Also, now I can play CD's using kaffeine, just not kscd. I can rip them using asunder. hi colleen, that is not how it works, those are two very different methods of playing audio. if the cable between the cdrom and the soundcard is connected, you can play CDs directly from the drive with minimum software interaction or tell the cdrom to play the cd on the soundcard. that has nothing to do with playing ogg from HD, the data takes a totally different path. i do not know if kscd does that, but as joost pointed out that would be a good explanation why you can play CDs in kaffeine but not in kscd. check for the cable. /jonas Regards, Colleen
Re: [gentoo-user] Build error on poppler
Am Wed, 19 Oct 2011 17:13:54 -0700 schrieb Mark Knecht markkne...@gmail.com: On Wed, Oct 19, 2011 at 5:03 PM, meino.cra...@gmx.de wrote: Jonas de Buhr jonas.de.b...@gmx.net [11-10-19 17:05]: SNIP 1. equery b /usr/bin/g-ir-scanner 2. emerge that package (should be something with gobject) 3. emerge poppler again. or revdep-rebuild and emerge poppler again. Hi Jonas! That fixes the problem! Thank you very much! :) you're welcome :) Best regards, mcc You should file a bug report. Sounds like the poppler ebuild is missing a dependency. i don't think so, looks like normal link breakage to me. but /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/glib/poppler-private.h:125: syntax error, unexpected ')', expecting ',' or ';' in ' time_t *gdate);' at ')' looks weird. i wonder how it still compiles. - Mark
Re: [gentoo-user] Issue 3 - CD Playing
Am Wed, 19 Oct 2011 23:06:33 -0400 schrieb Colleen Beamer colleen.bea...@gmail.com: On 10/19/11 03:51, Mick wrote: On Wednesday 19 Oct 2011 04:54:02 Colleen Beamer wrote: On 10/18/11 21:07, Mark Knecht wrote: On Tue, Oct 18, 2011 at 5:06 PM, Colleen Beamer colleen.bea...@gmail.com wrote: SNIP [snip] /dev/cdrom /mnt/cdrom auto noauto,user 0 0 To listen to audio CDs you should *not* mount the CD. Therefore the above entry is not required. Well, what can I say. I followed the Gentoo Handbook. :-) no one said it's wrong to have that entry in the fstab. it just doesn't have anything to do with cd playback. Since you are trying to use KDE apps to play CDs you ought to check that you have installed: kde-base/kdemultimedia-meta kde-base/kdemultimedia-kioslaves Yes, have both installed. :-)
Re: [gentoo-user] Issue 3 - CD Playing
Am Thu, 20 Oct 2011 09:58:15 +0200 schrieb Jonas de Buhr jonas.de.b...@gmx.net: Am Wed, 19 Oct 2011 23:27:20 -0400 schrieb Colleen Beamer colleen.bea...@gmail.com: On 10/19/11 10:25, J. Roeleveld wrote: On Wed, October 19, 2011 7:39 am, Colleen Beamer wrote: Semi-solved. On 10/18/11 19:21, Mark Knecht wrote: On Tue, Oct 18, 2011 at 4:16 PM, Colleen Beamer colleen.bea...@gmail.com wrote: Hi everyone, My CD drive will read data CD's, but will not play audio CD's. I've tried with kscd and Kaffeine. When I try to play an audio CD in kaffeine, I get an alert box that says: Cannot find input plgin for MRL cdda:// I can now play an audio CD in kaffeine. I have no idea what I did! I did add a couple of packages and because of this changed some use flags and updated my system with --newuse, but that's all I did. However, I still cannot play a CD in kscd. Hi Colleen, I didn't find it in this thread yet, but I am wondering if you have the CD-drive connected to the soundcard or not. Some applications will rip and play the cdda-tracks directly from the CD. Others will simply tell the CD-drive to play an audio-cd and have the cd-drive do the decoding. In the latter case, the audio-signal goes over a little cable from the cd-drive to the soundcard. I assume that it is connected because I could play an audio file (ogg) from my hard drive. Also, now I can play CD's using kaffeine, just not kscd. I can rip them using asunder. hi colleen, that is not how it works, those are two very different methods of playing audio. if the cable between the cdrom and the soundcard is connected, you can play CDs directly from the drive with minimum software interaction or tell the cdrom to play the cd on the soundcard. that has nothing to do with playing ogg from HD, the data takes a totally different path. i do not know if kscd does that, but as joost pointed out that would be a good explanation why you can play CDs in kaffeine but not in kscd. check for the cable. or tell kscd to use digital playback: http://forums.opensuse.org/hardware/408961-kscd-wont-play-cds-sata-drive.html /jonas Regards, Colleen
Re: [gentoo-user] Networkmanager-9999 won't compile
Am Wed, 19 Oct 2011 15:00:23 +0530 schrieb Nilesh Govindarajan cont...@nileshgr.com: This is what I get when I try to install networkmanager- which is required by gnome-3.2.0 [SNIP] -pthread -pthread -Wl,--as-needed ../marshallers/.libs/libmarshallers.a ./logging/.libs/libnm-logging.a ./dns-manager/.libs/libdns-manager.a ./vpn-manager/.libs/libvpn-manager.a ./dhcp-manager/.libs/libdhcp-manager.a ./ip6-manager/.libs/libip6-manager.a ./supplicant-manager/.libs/libsupplicant-manager.a ./dnsmasq-manager/.libs/libdnsmasq-manager.a ./ppp-manager/.libs/libppp-manager.a ./modem-manager/.libs/libmodem-manager.a ./bluez-manager/.libs/libbluez-manager.a ./settings/.libs/libsettings.a /media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-/work/networkmanager-/libnm-util/.libs/libnm-util.so ./backends/.libs/libnmbackend.a ../libnm-util/.libs/libnm-util.so -luuid -lssl3 -lsmime3 -lnssutil3 -lnss3 -lplds4 -lplc4 -lnspr4 -ldbus-glib-1 -ldbus-1 -lpthread /usr/lib64/libgudev-1.0.so -L/usr/lib64 /usr/lib64/libudev.so -lgthread-2.0 -lnl -lpolkit-gobject-1 -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lrt -lglib-2.0 -lm -ldl -pthread NetworkManager-main.o: In function `main': main.c:(.text+0xa63): undefined reference to `g_thread_supported' collect2: ld returned 1 exit status make[4]: *** [NetworkManager] Error 1 make[4]: Leaving directory `/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-/work/networkmanager-/src' make[3]: *** [all-recursive] Error 1 make[3]: Leaving directory `/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-/work/networkmanager-/src' make[2]: *** [all] Error 2 make[2]: Leaving directory `/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-/work/networkmanager-/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/media/500GB/gentoo_portage/tmp/portage/net-misc/networkmanager-/work/networkmanager-' make: *** [all] Error 2 The error is g_thread_supported is an undefined reference. This seems to be related to glib. what is your version of glib? in the version i have installed (dev-libs/glib-2.28.8) it is a macro in gthread: # grep g_thread_supported /usr/include/glib-2.0/glib/gthread.h * g_thread_supported macro but provided for language bindings. (g_thread_supported () ? G_THREAD_UF (op, arg) : (fail)) (g_thread_supported () ? \ (g_thread_supported () ? ((void(*)(GCond*, GMutex*, gulong, gchar*))\ (g_thread_supported () ?\ #define g_thread_supported() 1 #define g_thread_supported() (g_threads_got_initialized) an a macro is not a function you can link to compiled into the library: # nm /usr/lib64/libgthread-2.0.a | grep g_thread_supported that would explain why linking against it doesn't work. maybe that changed in newer versions of glib? Anybody has a solution? I tried masking networkmanager, but emerge won't allow me to do that when I try to install gnome-base/gnome-3.2.0 (layman overlay)
Re: [gentoo-user] Build error on poppler
Am 19.10.2011 04:28, schrieb meino.cra...@gmx.de: Hi, this morning I got this (after update poppler and xorgserver had to be updated): /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/glib/poppler-private.h:125: syntax error, unexpected ')', expecting ',' or ';' in ' time_t *gdate);' at ')' g-ir-scanner: compile: gcc -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -march=native -O2 -pipe -msse3 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/fofi -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/goo -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/poppler -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/poppler -I/usr/include -I/usr/include/freetype2 -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7/glib -I/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pixman-1 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/incl ude/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/gio-unix-2.0/ -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng15 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -c -o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.c g-ir-scanner: link: gcc -o /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16 -march=native -O2 -pipe -msse3 -L. -Wl,-rpath=. -lpoppler-glib -pthread -lgio-2.0 -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0 /var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7_build/glib/tmp-introspectdLnPK7/Poppler-0.16.o g-ir-scanner: Poppler: warning: 6 warnings suppressed (use --warn-all to see them) [ 77%] Built target gir-girs Scanning dependencies of target gir-typelibs [ 77%] Generating Poppler-0.16.typelib /usr/bin/g-ir-compiler: error while loading shared libraries: libffi.so.4: cannot open shared object file: No such file or directory 1. equery b /usr/bin/g-ir-scanner 2. emerge that package (should be something with gobject) 3. emerge poppler again. or revdep-rebuild and emerge poppler again. make[2]: *** [glib/Poppler-0.16.typelib] Error 127 make[1]: *** [glib/CMakeFiles/gir-typelibs.dir/all] Error 2 make: *** [all] Error 2 emake failed * ERROR: app-text/poppler-0.16.7 failed (compile phase): * Make failed! * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2967: Called cmake-utils_src_compile * environment, line 874: Called _execute_optionaly 'src_compile' * environment, line 316: Called enable_cmake-utils_src_compile * environment, line 1128: Called cmake-utils_src_make * environment, line 893: Called die * The specific snippet of code: * emake $@ || die Make failed!; * * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7', * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'. * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'. * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7' Failed to emerge app-text/poppler-0.16.7, Log file: '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log' * Messages for package app-text/poppler-0.16.7: * ERROR: app-text/poppler-0.16.7 failed (compile phase): * Make failed! * * Call stack: * ebuild.sh, line 56: Called src_compile * environment, line 2967: Called cmake-utils_src_compile * environment, line 874: Called _execute_optionaly 'src_compile' * environment, line 316: Called enable_cmake-utils_src_compile * environment, line 1128: Called cmake-utils_src_make * environment, line 893: Called die * The specific snippet of code: * emake $@ || die Make failed!; * * If you need support, post the output of 'emerge --info =app-text/poppler-0.16.7', * the complete build log and the output of 'emerge -pqv =app-text/poppler-0.16.7'. * The complete build log is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/poppler-0.16.7/temp/environment'. * S: '/var/tmp/portage/app-text/poppler-0.16.7/work/poppler-0.16.7' * GNU info directory index is up-to-date.
Re: [gentoo-user] pam-1.1.4 emerge error on x86
Am Sat, 15 Oct 2011 19:50:23 +0100 schrieb Mick michaelkintz...@gmail.com: [snip snip] [snip...] Thank you! :-) you're welcome ;) its really easy to help you because you provide the right information =) To save me asking next time ... how did you know that pax-utils was to blame? i saw this error: /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found * ERROR: sys-libs/pam-1.1.4 failed (install phase): and with % equery b scanelf * Searching for scanelf ... app-misc/pax-utils-0.2.2 (/usr/bin/scanelf) i knew that it belonged to pax-utils. that only works, if a package owning that binary is installed. if there wasn't, i would have used a web search engine. the results normally contain man pages saying which package the command belongs to. that means either /usr/bin/scanelf is missing or /usr/bin is not in the path (at least not in the environment of portage). i thought the latter would be unlikely :)
Re: [gentoo-user] CONFIG_USB_SUSPEND, where ?
Am Sat, 15 Oct 2011 00:54:48 -0700 schrieb Canek Peláez Valdés can...@gmail.com: On Sat, Oct 15, 2011 at 12:49 AM, Alain Didierjean alain.didierj...@free.fr wrote: * Messages for package sys-fs/udisks-1.0.4-r1: * CONFIG_USB_SUSPEND: is not set when it should be. As the message above from emerge says, no way to update sys-fs/udisks as CONFIG_USB_SUSPEND is not set. The problem is where to find that option. Not in linux/.config, so where ? i think it only shows up there if it is already set. AFAIK the kernel options are defined in the various Kconfig files spread throughout the source tree. in this case drivers/usb/core/Kconfig when searching for an option you can do find /usr/src/linux/ -name Kconfig \ -exec grep USB_SUSPEND {} /dev/null \; which gives you two hits: /usr/src/linux/drivers/usb/core/Kconfig:config USB_SUSPEND /usr/src/linux/drivers/usb/core/Kconfig:depends on USB_SUSPEND and grep -A 20 'config USB_SUSPEND' /usr/src/linux/drivers/usb/core/Kconfig giving you description and help: config USB_SUSPEND bool USB runtime power management (autosuspend) and wakeup depends on USB PM_RUNTIME help If you say Y here, you can use driver calls or the sysfs power/control file to enable or disable autosuspend for individual USB peripherals (see Documentation/usb/power-management.txt for more details). Also, USB remote wakeup signaling is supported, whereby some USB devices (like keyboards and network adapters) can wake up their parent hub. That wakeup cascades up the USB tree, and could wake the system from states like suspend-to-RAM. If you are unsure about this, say N here. Cool tip for the future: Go to /usr/src/linux, type make menuconfig. Then type / (slash). Then type SUSPEND and ENTER. It will show you all the kernel options with SUSPEND on them. or this, of course ;) In particular, for USB_SUSPEND it says: Symbol: USB_SUSPEND [=y] Type : boolean Prompt: USB runtime power management (autosuspend) and wakeup Defined at drivers/usb/core/Kconfig:93 Depends on: USB_SUPPORT [=y] USB [=y] PM_RUNTIME [=y] Location: - Device Drivers - USB support (USB_SUPPORT [=y]) - Support for Host-side USB (USB [=y]) So there, is in Device Drivers - USB support - Support for Host-side USB. Regards.
Re: [gentoo-user] Apologize to everyone for my nonprofessional
Am Sat, 15 Oct 2011 12:31:24 +0100 schrieb Neil Bothwick n...@digimed.co.uk: On Sat, 15 Oct 2011 03:10:37 -0700, Canek Peláez Valdés wrote: It's arbitrary (basically) on executables and libraries. If an script needs something more (from /var, lets say), then the rule should be written in such a way that it can be called after that directory is mounted. If you try to put the same restriction with *executables* (not data, like in the ALSA case), then you need to start moving every executable to /, because that's the only way to guarantee that it would be available aearly on boot time (if you don't use an initramfs and have /usr separated). Anything needed for early boot is already in /. The problem is that udev is trying to run all its rules at that early stage, when it should not. This currently causes some actions to fail because /usr is not mounted yet. The solution is not to mount /usr early, because that only deals with one case, but to make sure that udev does not run actions until the full system is available. This has been stated many times by several people in the previous threads. correct. It basically removes the need for a pesky init* thingy, although for the life of me I cannot understand why someone will not see the technical advantages of actually using an initramfs. why would anyone *want* an initramfs? its a clumsy workaround for limitations that should be overcome with better solutions. We understand its advantages in some circumstances, but I cannot understand why someone will not see the technical disadvantages of actually using an initramfs. either you read your schopenhauer or you are good at spotting bad/unfair arguments ;) Care to explain? Again? It's already been covered many times before. You expect people to blindly accept your POV that an initramfs is a good thing, yet refuse to see the circumstances where others believe it is not. For one thing, implementing this in a stable, running system without interruption is a non-trivial task.
Re: [gentoo-user] Dennis Ritchie
Am Sat, 15 Oct 2011 13:26:40 +0100 schrieb Matt Harrison iwasinnamuk...@genestate.com: On 15/10/2011 12:33, luis jure wrote: hello boys [1], i know i don't participate much on this list, but this does not mean that i don't try to follow most of the threads (not all of them, i admit). i realized just now that no one has commented on the news of the recent death of dennis ritchie. considering that his contributions to the development of computational technologies were not only paramount, but affect all of us in a very direct way, i think we could somehow compensate for the lack of echo of these news in the media, by dedicating some time to celebrate his memory and express our gratitude. I agree, I have spent the last few hours trying to explain his work to the folks here who were so saddened by Steve Jobs passing. While it is very sad on both counts, I am getting annoyed by the opinion that Richie might have helped popularise C, but SJ invented the iPhone...which is 10x more useful. I swear I'm dealing with a bunch of cretins here :P haha wow. i admire your self-control :P im sure, by everyone who counts, dennis ritchie will be remembered for his work.
Re: [gentoo-user] pam-1.1.4 emerge error on x86
Am Sat, 15 Oct 2011 13:24:02 +0100 schrieb Mick michaelkintz...@gmail.com: On Saturday 15 Oct 2011 00:20:14 Jonas de Buhr wrote: Am Sat, 15 Oct 2011 00:01:04 +0100 schrieb Mick michaelkintz...@gmail.com: Have you seen this before? `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found you could try reinstalling app-misc/pax-utils. this is either a missing dependency or for some reason your pax-utils install is broken. Thank you! I've remerged pax-utils. This is an old laptop and both the main battery and CMOS battery have run out of juice. I noticed that the clock was out by more than 100 years - but I think that I had sync'ed portage in the meanwhile. I have not been able to proceed with pam, because world now wants to emerge ruby. However, it comes up with this error: Verifying ebuild manifests !!! Digest verification failed: !!! /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild !!! Reason: Filesize does not match recorded size !!! Got: 5574 !!! Expected: 5569 I've deleted the ebuild, then resync'ed twice with different mirrors and the error persists. Another box I have (which does not come up with this error) shows: $ ls -la /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild -rw-r--r-- 1 root root 5574 Oct 14 09:31 /usr/portage/dev- lang/ruby/ruby-1.8.7_p352.ebuild So, is 5574 the wrong size, or is the ebuild file in the latest sync'ing of portage wrong? did you delete just the ebuild or the Manifest too? i suspect that due to wrong date setting portage did not update the Manifest file which contains the filesize. rm -rf /usr/portage/dev-lang/ruby emerge --sync should help in that case. but you might run into more date related update problems later. maybe you should correct your date and extract a portage snapshot and sync to get rid of those problems once and for all. my /usr/portage/dev-lang/ruby/Manifest says EBUILD ruby-1.8.7_p352.ebuild 5574 RMD160 e822545306c9e2b2a17767895b851f72c772a149 SHA1 0117f543aa6d7ae064af74af7199deefe6e0dc9d SHA256 79d0f2b28b0b39bf23b9208071f7d50f04a6d76254f42073b2b3e9cc612955a7 so 5574 should be the correct filesize. what does grep ruby-1.8.7_p352 /usr/portage/dev-lang/ruby/Manifest say? if resyncing absolutely does not work, you can compare the SHA256 of the ebuild on your two computers and if they are the same it should be relatively safe to do ebuild /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild manifest which will rebuild the Manifest file containing the filesize and the checksums and after that you can emerge.
Re: [gentoo-user] Re: Dennis Ritchie
Am Sat, 15 Oct 2011 17:47:07 +0300 schrieb Nikos Chantziaras rea...@arcor.de: On 10/15/2011 03:26 PM, Matt Harrison wrote: On 15/10/2011 12:33, luis jure wrote: I have spent the last few hours trying to explain his work to the folks here who were so saddened by Steve Jobs passing. While it is very sad on both counts, I am getting annoyed by the opinion that Richie might have helped popularise C, but SJ invented the iPhone...which is 10x more useful. If you're not insanely rich, nobody cares if you die. It's not about how much you contributed to human society. It's about how much money you made. i don't think its about money, but about popularity. everybody knows who steve jobs is, thats why his death makes front page. average joe doesn't know ritchie and doesn't care about C.
Re: [gentoo-user] pam-1.1.4 emerge error on x86
Am Sat, 15 Oct 2011 18:17:41 +0100 schrieb Mick michaelkintz...@gmail.com: On Saturday 15 Oct 2011 14:09:46 Jonas de Buhr wrote: Am Sat, 15 Oct 2011 13:24:02 +0100 schrieb Mick michaelkintz...@gmail.com: On Saturday 15 Oct 2011 00:20:14 Jonas de Buhr wrote: Am Sat, 15 Oct 2011 00:01:04 +0100 schrieb Mick michaelkintz...@gmail.com: Have you seen this before? `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' make[1]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4' /var/tmp/portage/sys-libs/pam-1.1.4/temp/environment: line 2226: scanelf: command not found you could try reinstalling app-misc/pax-utils. this is either a missing dependency or for some reason your pax-utils install is broken. Thank you! I've remerged pax-utils. This is an old laptop and both the main battery and CMOS battery have run out of juice. I noticed that the clock was out by more than 100 years - but I think that I had sync'ed portage in the meanwhile. I have not been able to proceed with pam, because world now wants to emerge ruby. However, it comes up with this error: Verifying ebuild manifests !!! Digest verification failed: !!! /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild !!! Reason: Filesize does not match recorded size !!! Got: 5574 !!! Expected: 5569 I've deleted the ebuild, then resync'ed twice with different mirrors and the error persists. Another box I have (which does not come up with this error) shows: $ ls -la /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild -rw-r--r-- 1 root root 5574 Oct 14 09:31 /usr/portage/dev- lang/ruby/ruby-1.8.7_p352.ebuild So, is 5574 the wrong size, or is the ebuild file in the latest sync'ing of portage wrong? did you delete just the ebuild or the Manifest too? i suspect that due to wrong date setting portage did not update the Manifest file which contains the filesize. rm -rf /usr/portage/dev-lang/ruby emerge --sync should help in that case. but you might run into more date related update problems later. maybe you should correct your date and extract a portage snapshot and sync to get rid of those problems once and for all. my /usr/portage/dev-lang/ruby/Manifest says EBUILD ruby-1.8.7_p352.ebuild 5574 RMD160 e822545306c9e2b2a17767895b851f72c772a149 SHA1 0117f543aa6d7ae064af74af7199deefe6e0dc9d SHA256 79d0f2b28b0b39bf23b9208071f7d50f04a6d76254f42073b2b3e9cc612955a7 so 5574 should be the correct filesize. what does grep ruby-1.8.7_p352 /usr/portage/dev-lang/ruby/Manifest say? if resyncing absolutely does not work, you can compare the SHA256 of the ebuild on your two computers and if they are the same it should be relatively safe to do ebuild /usr/portage/dev-lang/ruby/ruby-1.8.7_p352.ebuild manifest which will rebuild the Manifest file containing the filesize and the checksums and after that you can emerge. I removed the manifest resync'ed and it emerged without any errors. Thank you! :-) you're welcome ;) its really easy to help you because you provide the right information =)
Re: [gentoo-user] How to cross compile Perl for ARM?
hi peter! Am Fri, 14 Oct 2011 13:14:51 +0200 schrieb czernitko czerni...@gmail.com: Hello! I started playing a little bit with cross compilation for ARM architecture. Using crossdev I created a toolchain for arm-none-linux-gnueabi tuple. Now I'd like to emerge some more packages, but perl constantly refuses to emerge and it is needed by many packages. For example when running # arm-none-linux-gnueabi-emerge -av1 perl [ebuild N ] dev-lang/perl-5.12.4-r1 to /usr/arm-none-linux-gnueabi/ USE=berkdb gdbm -build -debug -doc -ithreads 0 kB [ebuild N ] app-admin/perl-cleaner-2.10 to /usr/arm-none-linux-gnueabi/ 0 kB it fails right in configure phase. Relevant logs are attached, except for configure log which I couldn't find. When I've read through /usr/arm-none-linux-gnueabi/tmp/portage/dev-lang/perl-5.12.4-r1/work/perl-5.12.4/Cross/README which is aimed to give more instructions for cross compiling, I've found out that I should run make patch make from Cross directory. Unfortunately, I've got no clue how to combine that with the whole emerge process? there is probably a better way to do this, but it should be possible to make a local overlay and modify the ebuild's src_compile to do emake in the Cross directory. http://devmanual.gentoo.org/ebuild-writing/index.html I know I could compile it by hand, but then portage would not know that perl is already installed and it would try to install it anyway... there are some ways around that, but its still ugly. a lot of the things you are finding out now might be *very* interesting to me in a few months, i am also planning a small project that might include cross compiling to arm. are you documenting your progress somewhere? can you please point me to the documents that helped you put together the cross compilation toolchain? from looking at build.log: Checking your choice of C compiler and flags for coherency... I've tried to compile and run the following simple program: #include stdio.h int main() { printf(Ok\n); return(0); } I used the command: arm-none-linux-gnueabi-gcc -o try -O2 -pipe -fomit-frame-pointer -I/usr/arm-none-linux-gnueabi/usr/include/ -I/usr/arm-none-linux-gnueabi/include/ -DOVR_DBL_DIG=14 -L/usr/arm-none-linux-gnueabi/lib -L/usr/arm-none-linux-gnueabi/usr/lib -L/usr/local/lib try.c -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lc -lgdbm_compat ./try and I got the following output: /bin/sh: ./try: cannot execute binary file The program compiled OK, but exited with status 126. that actually sounds like it successfully cross-compiled try.c, but *of course* it does not run on your host platform! that check is probably omitted in Cross/Makefile which might why they are telling you to run that one. Any help would be highly appreciated! Peter
Re: [gentoo-user] Set eth0 parameters via conf.d?
Am Fri, 14 Oct 2011 19:31:57 +0700 schrieb Pandu Poluan pa...@poluan.info: Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? yes, set: txqueuelen_eth0=1000 or whichever value you want. have a look at /usr/share/doc/openrc-0.8.3-r1/net.example.bz2 your version of openrc may be different. in that case try locate net.example /jonas
Re: [gentoo-user] Set eth0 parameters via conf.d?
Am Fri, 14 Oct 2011 21:39:15 +0700 schrieb Pandu Poluan pa...@poluan.info: On Oct 14, 2011 9:12 PM, Jonas de Buhr jonas.de.b...@gmx.net wrote: Am Fri, 14 Oct 2011 19:31:57 +0700 schrieb Pandu Poluan pa...@poluan.info: Is it possible to set eth0 parameters (e.g., txqueuelen) via /etc/conf.d/net ? yes, set: txqueuelen_eth0=1000 Ah , thanks! So, basically, any parameter settable using 'ip link set' can be declared as parameter_eth0? i'm not sure about that, give it a try ;) I'm using openrc-0.9.3-r1 then the example file you should read should be located at /usr/share/doc/openrc-0.9.3-r1/net.example.bz2
Re: [gentoo-user] pam-1.1.4 emerge error on x86
Am Sat, 15 Oct 2011 00:01:04 +0100 schrieb Mick michaelkintz...@gmail.com: Have you seen this before? /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ make[3]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1 .1.4/doc/sag' make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1 .1.4/doc/sag' Making install in adg make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM- 1.1.4/doc/adg' make[3]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM- 1.1.4/doc/adg' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4 /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4 /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html test -f html/Linux-PAM_ADG.html || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 html/Linux-PAM_ADG.html html/adg-*.html \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./html/Linux-PAM_ADG.html \ ./html/sag-*.html \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html/ test -f Linux-PAM_ADG.txt || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 Linux-PAM_ADG.txt /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./Linux-PAM_ADG.txt \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ test -f Linux-PAM_ADG.pdf || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 Linux-PAM_ADG.pdf /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./Linux-PAM_ADG.pdf \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ make[3]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/adg' make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/adg' Making install in mwg make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/mwg' make[3]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/mwg' make[3]: Nothing to be done for `install-exec-am'. /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4 /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4 /bin/sh ../../mkinstalldirs /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html test -f html/Linux-PAM_MWG.html || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 html/Linux-PAM_MWG.html html/mwg-*.html \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./html/Linux-PAM_MWG.html \ ./html/sag-*.html \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html/ test -f Linux-PAM_MWG.txt || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 Linux-PAM_MWG.txt /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./Linux-PAM_MWG.txt \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ test -f Linux-PAM_MWG.pdf || exit 0; \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 Linux-PAM_MWG.pdf /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ || \ /bin/sh /var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/install-sh -c -m 644 ./Linux-PAM_MWG.pdf \ /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/ make[3]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/mwg' make[2]: Leaving directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc/mwg' make[2]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' make[3]: Entering directory `/var/tmp/portage/sys-libs/pam-1.1.4/work/Linux-PAM-1.1.4/doc' make[3]: Nothing to be done for `install-exec-am'. test -z /usr/share/doc/pam-1.1.4/html || /bin/mkdir -p /var/tmp/portage/sys-libs/pam-1.1.4/image//usr/share/doc/pam-1.1.4/html
Re: [gentoo-user] Re: this is spam
Am 12.10.2011 01:16, schrieb Matthew Finkel: On Tue, Oct 11, 2011 at 11:08 AM, Jonas de Buhrjonas.de.b...@gmx.netwrote: Just because the person is from China, doesn't mean we should assume they're a spammer (following Alan's last reply). that was not my reason to assume it and i think i made that very clear.
Re: [gentoo-user] /usr/bin/[ and coreutils
Am Tue, 11 Oct 2011 22:42:00 -0700 schrieb Canek Peláez Valdés can...@gmail.com: On Tue, Oct 11, 2011 at 10:35 PM, William Kenworthy bi...@iinet.net.au wrote: I have been checking my system for some deep seated problems and in the process, ran across the fact that equery files sys-apps/coreutils-8.7 shows a file included called /usr/bin/[ - thats right, left square bracket! Is that a bug or if real, what would you use it for? It doesnt seem to be on the file system ... moriah ~ # /usr/bin/[ /usr/bin/[: missing `]' moriah ~ # doesnt show much! Relax. It's an alias for test technically it's not an alias, but different binaries % ls -l /usr/bin/\[ -rwxr-xr-x 1 root root 35096 Jan 20 2011 /usr/bin/[ % ls -l /usr/bin/test -rwxr-xr-x 1 root root 31000 Jan 20 2011 /usr/bin/test built from the same source file coreutils/src/test.c with a #define LBRACKET that mainly changes the behavior of the argument parser in case it is built as [. , so instead of using if test blah; then ... fi in bash, you can use if [ blah ]; then ... fi Just do /usr/bin/[ --help to get an idea. It has been there since I started using Linux, if I remember correctly, many years ago. Regards.
Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?
hey guys, please don't get me wrong on this one, i mean no offense. can anyone explain to me what this is? are these lavender threads some kind of trolling i don't get? it (apparently on purpose, since hints in that direction are ignored) combines loads of annoying qualities: - nondescriptive titles - doing everything to rip apart threads: no In-Reply-To and even subject changes - no line-breaks - difficult to read incorrect punctuation (plenk) - problem details are kept nebulous and info requests are ignored - none of the proposed solutions are ever tried or commented it's nice how much many people on this this list are willing to help in spite of all this. but am i really the only one who finds the behavior described above at least confusing? anyway, i'm quite convinced it is fake. /jonas Am Sun, 9 Oct 2011 21:44:28 +0800 schrieb Lavender 448463...@qq.com: Thank you all ! Thanks for helping , now I know which things I should do . -- 原始邮件 -- 发件人: Michael Molmike...@gmail.com; 发送时间: 2011年10月9日(星期天) 晚上9:40 收件人: gentoo-usergentoo-user@lists.gentoo.org; 主题: Re: [gentoo-user] Anyone can afford information about build kernel? On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol mike...@gmail.com wrote: On Sun, Oct 9, 2011 at 12:53 AM, Lavender 448463...@qq.com wrote: Yeah, your reply is exact what I mean , but I'm really confused by those modules' names, I can't find any contact between the hard device name and its module name . For example, there is a module named 3c59x.ko , I totally don't know what device it present for , This got a *lot* easier back when sysfs was added. cd /sys/module/modulename/drivers/ And go from there lspci will help you see the 'text' name for the device in question. For example, let's say I don't know what the 'ahci' module is for. $ cd /sys/module/ahci/drivers $ ls pci:ahci $ cd pci\:ahci/ $ ls :00:11.0 bind module new_id remove_id uevent unbind $ sudo lspci|grep 11.0 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] $ So now I know the ahci module manages my SATA controller. Came up with something possibly a little handier. This command should tell you what driver is associated with every device on the system. find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' -f10-|sed -e 's/\.\.\///g' Output could probably still be a bit better cleaned up, but it should help.
this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)
Am Tue, 11 Oct 2011 13:03:27 +0200 schrieb Jonas de Buhr jonas.de.b...@gmx.net: it's nice how much many people on this this list are willing to help in spite of all this. but am i really the only one who finds the behavior described above at least confusing? anyway, i'm quite convinced it is fake. no, apparently i am not the only one thinking that: http://www.stopforumspam.com/ipcheck/58.243.95.123 /jonas Am Sun, 9 Oct 2011 21:44:28 +0800 schrieb Lavender 448463...@qq.com: Thank you all ! Thanks for helping , now I know which things I should do . -- 原始邮件 -- 发件人: Michael Molmike...@gmail.com; 发送时间: 2011年10月9日(星期天) 晚上9:40 收件人: gentoo-usergentoo-user@lists.gentoo.org; 主题: Re: [gentoo-user] Anyone can afford information about build kernel? On Sun, Oct 9, 2011 at 9:30 AM, Michael Mol mike...@gmail.com wrote: On Sun, Oct 9, 2011 at 12:53 AM, Lavender 448463...@qq.com wrote: Yeah, your reply is exact what I mean , but I'm really confused by those modules' names, I can't find any contact between the hard device name and its module name . For example, there is a module named 3c59x.ko , I totally don't know what device it present for , This got a *lot* easier back when sysfs was added. cd /sys/module/modulename/drivers/ And go from there lspci will help you see the 'text' name for the device in question. For example, let's say I don't know what the 'ahci' module is for. $ cd /sys/module/ahci/drivers $ ls pci:ahci $ cd pci\:ahci/ $ ls :00:11.0 bind module new_id remove_id uevent unbind $ sudo lspci|grep 11.0 00:11.0 SATA controller: ATI Technologies Inc SB700/SB800 SATA Controller [AHCI mode] $ So now I know the ahci module manages my SATA controller. Came up with something possibly a little handier. This command should tell you what driver is associated with every device on the system. find /sys/devices -name driver -print0|xargs -0 ls -l|cut -d' ' -f10-|sed -e 's/\.\.\///g' Output could probably still be a bit better cleaned up, but it should help.
Re: this is spam (was: Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?)
Am Tue, 11 Oct 2011 13:54:06 +0100 schrieb Mick michaelkintz...@gmail.com: On Tuesday 11 Oct 2011 12:51:12 Jonas de Buhr wrote: Am Tue, 11 Oct 2011 13:03:27 +0200 schrieb Jonas de Buhr jonas.de.b...@gmx.net: it's nice how much many people on this this list are willing to help in spite of all this. but am i really the only one who finds the behavior described above at least confusing? anyway, i'm quite convinced it is fake. no, apparently i am not the only one thinking that: http://www.stopforumspam.com/ipcheck/58.243.95.123 Interesting! Well, the broken English is not an insurmountable problem as long as we understand the question asked. Not everyone is blessed with good knowledge of the English language. i totally agree to that given any effort on the other end i would do my best to help as well. The questions seem genuine, so it may help the OP or others that have similar problems. right, the replies probably gave the thread some value ;) but there was *no* reaction at all to the proposed solutions, hints and info requests. why ask for help if you don't even try the suggestions? it takes you about ten minutes of reading this list to realize that the usual way of solving problems is a cycle of i am trying to do X and receive error Y-hey, try Z-oh, now A happens-try B too etc. Now, if as you say it is indeed spam, what escapes me is why would someone spam the list in this manner? It doesn't make sense. my point exactly! i don't get it - this intially led me to post this comment in the first place. what really points into the direction of spam in my opinion is using the different names mentioned of stopforumspam. and that others went as far as reporting it. So I am led to believe that the peculiarities you mention are probably a cultural (or personal) issue. possible. but what makes it even more confusing is that this doesn't go well with my experience of chinese people having a hard time with english (i can't really put my finger on it, but it doesn't feel right) and how they react to hey, you're doing X wrong, thats rude. not meaning to stereotype, it just made it more suspicious.
Re: [gentoo-user] Re: [gentoo-user] 回复: [gentoo-user] Anyone can afford information about build kernel?
Am Tue, 11 Oct 2011 08:54:37 -0400 schrieb Michael Mol mike...@gmail.com: On Tue, Oct 11, 2011 at 7:03 AM, Jonas de Buhr jonas.de.b...@gmx.net wrote: hey guys, please don't get me wrong on this one, i mean no offense. can anyone explain to me what this is? are these lavender threads some kind of trolling i don't get? it (apparently on purpose, since hints in that direction are ignored) combines loads of annoying qualities: - nondescriptive titles - doing everything to rip apart threads: no In-Reply-To and even subject changes - no line-breaks - difficult to read incorrect punctuation (plenk) - problem details are kept nebulous and info requests are ignored - none of the proposed solutions are ever tried or commented To me, the Lavender's messages read like someone is going through an automated translation tool to get between English and their native language. (In this case, Chinese) Anyone can afford ... ? sounds like bad forced translation between semantic idioms. Anyone can afford information about build kernel Can anyone afford information about build kernel Can anyone spend time helping about build kernel Can anyone spend time helping me build my kernel That explains the punctuation (poor translation tool(!)) and nebulous requests. His responses indicated he was reading what had been sent in reply. His first reply and his second reply were closely related, and when commands were offered that allowed him to find the exact information he needed, he gave his third reply indicating he had what he needed. I'm using GMail as my email client, and threading and subject lines showed intact for me until your this is spam message following the one I'm replying to. interesting, so gmail is aware of the chinese equivalent of Re (回复) but doesn't use the In-Reply-To: header correctly? As for line endings, I can think of two possible reasons. The first (and, I suspect, more likely) would be that Lavender is using an email gateway that automatically translates between English and Chinese, and the email gateway did not implement line wrapping (or did so poorly). The second might be that Chinese email clients, frequently operating with an ideogram langauge, don't need to line-wrap so frequently, so Lavender's email client might be buggy in that regard. it's nice how much many people on this this list are willing to help in spite of all this. but am i really the only one who finds the behavior described above at least confusing? anyway, i'm quite convinced it is fake. I have no reason to believe it's fake. I'm reasonably sure it was machine-processed, but I expect there was a human at the far end. i agree that there is definitely a human at the other end. you raise some good points. the automated translation might even trigger automated entries in the spam database. but why use three names at the same time? still there might be an explanation for it. as said before i meant no offense. im not 100% convinced, but your explanation sounds reasonable, let's not make a lengthy discussion out of it :) thx for your insightful reply!
Re: [gentoo-user] I can't INSTALL vim-core!!!
please run etc-update and try again Am Sat, 8 Oct 2011 21:05:31 +0800 schrieb 1990 dqgcs dqgcs1...@gmail.com: HI After emerge -auvDN world,Portage asks me to reinstall app-editors/vim-core-7.3.266,but finaly i failed it stays at installing /var/tmp/portage/app-editors/vim-core-7.3.266/image//usr/share/man/fr/man1/vim.1 forever(in fact,i wait about half an hour) what should i do?PLZ help!!! the attachement is the output of the emerge while installing gvim. Best Wishes Nicola Eleree
Re: [gentoo-user] OT: change and improvement
Am 07.10.2011 02:55, schrieb Michael Orlitzky: On 10/06/11 19:42, Jonas de Buhr wrote: If we have some grub-legacy and some grub2 installs, why would you do that? Eventually, grub2 will be all that's available from portage. At that point, I can either, 1) Install grub2 on some machines. 2) Maintain grub-legacy (and install media) myself. i really don't think thats the way its going to be. i think there will be grub and grub2 in portage potentially forever. like with python 2 and 3. even if not, 2) takes you one cp command and a little bit of disk space for the grub tarball. have a look at the link i posted. if you really want to keep it simple, grub2 can be configured with a single grub.cfg file. How much work would it be for you to, * Learn grub2 if you're ok with the single .cfg: done. * Travel to my office here in Baltimore first class flight please. * Test it on all combinations of hardware that we currently run * Document the standard config and any special cases ok. * Upgrade a bunch of my servers at 4am? why not choose a convenient time to upgrade? If you still think it's not much then I'd be happy to have you do it while I drink margaritas. no, i still don't think its as much of a big deal as you make of it. about as much work as a kernel upgrade. let's wait for grub2 to go stable before you send me that ticket ;)
Re: [gentoo-user] kscd-4.7.2 fails to build
Am 07.10.2011 10:03, schrieb Dale: /usr/lib64/libneon.so.27: undefined reference to `gnutls_certificate_verify_peers' gnutls_certificate_verify_peers is deprecated in gnutls. you could try emerging net-libs/neon with USE=-gnutls ssl for a quick workaround.
Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED
Am 07.10.2011 10:47, schrieb Dale: Jonas de Buhr wrote: Am 07.10.2011 10:03, schrieb Dale: /usr/lib64/libneon.so.27: undefined reference to `gnutls_certificate_verify_peers' gnutls_certificate_verify_peers is deprecated in gnutls. you could try emerging net-libs/neon with USE=-gnutls ssl for a quick workaround. For those who run into this, just remove the gnutls flag and do a emerge -uvaDN world. I had it in make.conf so I must have needed it at some point in the past. Man that is a old USE line. lol Thanks for the tip. It worked. i think you should file a bug on this. i guess the deprecated function has finally been removed from gnutls and thats why you get the undefined reference error. so we either need a new version of neon which uses gnutls_certificate_verify_peers2() or the ebuild needs to be changed not to use gnutls (at least not above a certain version).
Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED
Hi Dale, if you want, you can try mkdir -p /usr/local/portage/net-libs cp -ax /usr/portage/net-libs/neon /usr/local/portage/net-libs/ echo 'PORTDIR_OVERLAY=/usr/local/portage' /etc/make.conf mkdir -p /usr/local/portage/net-libs/ cp verify_peer2.patch /usr/local/portage/net-libs/files/ cp neon-0.29.6.ebuild /usr/local/portage/net-libs/neon/ ebuild /usr/local/portage/net-libs/neon-0.29.6.ebuild manifest USE=-ssl gnutls emerge net-libs/neon kde-base/kscd with the attached patch and ebuild. neon compiles, but i dont want to install kscd on my server ;) attach it to the bug report if it works, please. Am 07.10.2011 10:47, schrieb Dale: Jonas de Buhr wrote: Am 07.10.2011 10:03, schrieb Dale: /usr/lib64/libneon.so.27: undefined reference to `gnutls_certificate_verify_peers' gnutls_certificate_verify_peers is deprecated in gnutls. you could try emerging net-libs/neon with USE=-gnutls ssl for a quick workaround. For those who run into this, just remove the gnutls flag and do a emerge -uvaDN world. I had it in make.conf so I must have needed it at some point in the past. Man that is a old USE line. lol Thanks for the tip. It worked. Dale :-) :-) # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-libs/neon/neon-0.29.6.ebuild,v 1.8 2011/07/20 22:14:39 halcy0n Exp $ EAPI=3 inherit autotools libtool versionator DESCRIPTION=HTTP and WebDAV client library HOMEPAGE=http://www.webdav.org/neon/; SRC_URI=http://www.webdav.org/neon/${P}.tar.gz; LICENSE=GPL-2 SLOT=0 KEYWORDS=alpha amd64 arm hppa ia64 ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~sparc-fbsd ~x86-fbsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris IUSE=doc expat gnutls kerberos libproxy nls pkcs11 ssl static-libs zlib IUSE_LINGUAS=cs de fr ja nn pl ru tr zh_CN for lingua in ${IUSE_LINGUAS}; do IUSE+= linguas_${lingua} done unset lingua RESTRICT=test RDEPEND=expat? ( dev-libs/expat ) !expat? ( dev-libs/libxml2 ) gnutls? ( app-misc/ca-certificates =net-libs/gnutls-2.0 pkcs11? ( dev-libs/pakchois ) ) !gnutls? ( ssl? ( =dev-libs/openssl-0.9.6f pkcs11? ( dev-libs/pakchois ) ) ) kerberos? ( virtual/krb5 ) libproxy? ( net-libs/libproxy ) nls? ( virtual/libintl ) zlib? ( sys-libs/zlib ) DEPEND=${RDEPEND} dev-util/pkgconfig src_prepare() { local lingua linguas for lingua in ${IUSE_LINGUAS}; do use linguas_${lingua} linguas+= ${lingua} done sed -i -e s/ALL_LINGUAS=.*/ALL_LINGUAS=\${linguas}\/g configure.in AT_M4DIR=macros eautoreconf elibtoolize epatch ${FILESDIR}/verify_peers2.patch } src_configure() { local myconf if has_version sys-libs/glibc; then einfo Enabling SSL library thread-safety using POSIX threads... myconf+= --enable-threadsafe-ssl=posix fi if use expat; then myconf+= --with-expat else myconf+= --with-libxml2 fi if use gnutls; then myconf+= --with-ssl=gnutls --with-ca-bundle=/etc/ssl/certs/ca-certificates.crt elif use ssl; then myconf+= --with-ssl=openssl fi econf \ --enable-shared \ $(use_with kerberos gssapi) \ $(use_with libproxy) \ $(use_enable nls) \ $(use_with pkcs11 pakchois) \ $(use_enable static-libs static) \ $(use_with zlib) \ ${myconf} } src_install() { emake DESTDIR=${D} install-lib install-headers install-config install-nls || die emake install failed find ${ED} -name *.la -print0 | xargs -0 rm -f if use doc; then emake DESTDIR=${D} install-docs || die emake install-docs failed fi dodoc AUTHORS BUGS NEWS README THANKS TODO doman doc/man/*.[1-8] } pkg_postinst() { ewarn Neon has a policy of breaking API across minor versions, this means ewarn that any package that links against Neon may be broken after ewarn updating. They will remain broken until they are ported to the ewarn new API. You can downgrade Neon to the previous version by doing: ewarn ewarn emerge --oneshot '${CATEGORY}/${PN}-$(get_version_component_range 1-2 ${PV})' ewarn ewarn You may also have to downgrade any package that has not been ewarn ported to the new API yet. } diff -u -r neon-0.29.6/src/ne_socket.c neon-0.29.6_patched/src/ne_socket.c --- neon-0.29.6/src/ne_socket.c 2010-10-09 18:07:17.0 +0200 +++ neon-0.29.6_patched
Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED
Am 07.10.2011 12:31, schrieb Jonas de Buhr: mkdir -p /usr/local/portage/net-libs/ should have been mkdir -p /usr/local/portage/net-libs/files of course. cp verify_peer2.patch /usr/local/portage/net-libs/files/ i will stop spamming now :)
Re: [gentoo-user] kscd-4.7.2 fails to build SOLVED
Am Fri, 07 Oct 2011 12:44:20 +0200 schrieb Jonas de Buhr jonas.de.b...@gmx.net: Am 07.10.2011 12:31, schrieb Jonas de Buhr: mkdir -p /usr/local/portage/net-libs/ should have been nope, that was still wrong... mkdir -p /usr/local/portage/net-libs/neon/files cp verify_peer2.patch /usr/local/portage/net-libs/neon/files/
Re: [gentoo-user] OT: change and improvement
Am Fri, 07 Oct 2011 09:59:54 -0400 schrieb Michael Orlitzky mich...@orlitzky.com: On 10/07/2011 03:36 AM, Jonas de Buhr wrote: Am 07.10.2011 02:55, schrieb Michael Orlitzky: On 10/06/11 19:42, Jonas de Buhr wrote: If we have some grub-legacy and some grub2 installs, why would you do that? Eventually, grub2 will be all that's available from portage. At that point, I can either, 1) Install grub2 on some machines. 2) Maintain grub-legacy (and install media) myself. i really don't think thats the way its going to be. i think there will be grub and grub2 in portage potentially forever. like with python 2 and 3. even if not, 2) takes you one cp command and a little bit of disk space for the grub tarball. Python2 will stick around because most packages (portage!) don't work with python3. Grub doesn't have the same problem. (2) requires me to at least, * Figure out how to build a Gentoo install CD * Fork grub-legacy on our servers somewhere build a package and put it on an ftp. monitor the bug-grub mailing list for critical bugs. repeat. or mirror it daily and autobuild the package. no need to build an install cd or fork grub. but it is true that this is less convenient than portage. its probably less work to switch to grub2 IF grub legacy really ever gets thrown out of portage. mixing both is the worst idea in my opinion. * Test it against all future kernel releases * Document why we're doing this, and how to do the first three steps. * Upgrade a bunch of my servers at 4am? why not choose a convenient time to upgrade? 4am *is* the convenient time to upgrade. If you still think it's not much then I'd be happy to have you do it while I drink margaritas. no, i still don't think its as much of a big deal as you make of it. about as much work as a kernel upgrade. let's wait for grub2 to go stable before you send me that ticket ;) This fails as a debate strategy since you wouldn't have to pay my mortgage and feed me if you screwed up =) hey, that was *your* idea in the first place ;) Kernel upgrades usually take me a full day. I get to skip most of the documentation step, but have to deal with heterogeneous configs. out of interest: why do you have different configs? even if you have different hardware you could still build a one fits all-kernel. or are they that specialized? I'm not saying that this is some huge problem on a cosmic scale, but it is going to waste a day and risk downtime for no user-visible benefit. lets just agree on that. im kinda tired of this discussion. there's nothing we can do about it anyway.
[gentoo-user] OT: change and improvement (was: Is grub2 stable and who uses it?)
Am Thu, 6 Oct 2011 00:18:49 +0100 schrieb Peter Humphrey pe...@humphrey.ukfsn.org: On Wednesday 05 October 2011 17:47:21 Jonas de Buhr wrote: sometimes things indeed need to change in order to improve. I remember things being improved. While I was in my 50s I was continually faced with youngsters' ideas for improving the company's methods. Stupid, every one. When challenged, they couldn't say how their proposed new solutions would lead to specified gains by anybody, but the changes were forced through anyway. This isn't get-up-and-go; it's I've-got-to-make-my- mark. i never said change equals improvement or change for the sake of change is a good thing. and i pointed out that i cannot judge this for grub2 since i don't know it. but the reverse is true too - rejecting every change just because its not how we always did it potentially keeps you from making important development. most of the oh it's so weird-whining often comes from just not being used to it. flip your door lock upside down - you'll hate it with passion for a week and then you won't even notice. flip it again and the process will repeat. at your age you should be able to look at things with a little more distance and insight instead of ripping statements out of context and insulting people. that said, even without context, that statement is still true. you just derived wrong statements from it using flawed logic. /jonas
Re: [gentoo-user] OT: change and improvement
Am Thu, 06 Oct 2011 15:27:14 -0400 schrieb Michael Orlitzky mich...@orlitzky.com: On 10/06/2011 04:20 AM, Jonas de Buhr wrote: most of the oh it's so weird-whining often comes from just not being used to it. flip your door lock upside down - you'll hate it with passion for a week and then you won't even notice. flip it again and the process will repeat. But if someone else snuck into your house and flipped your locks every week? This one change won't be catastrophic, but I will probably spend a good eight hours researching, testing, implementing, and documenting it. In the end, *if everything goes according to plan*, stuff will work exactly how it does now. nothing forces you to switch to grub2. If Grub were the only package to do this -- fine, whatever. But next week it will be something else. I don't know what my point is, but it feels good to bitch about it. don't get me started, the suppressed memories about HAL-config or broken suse-10 usermount may come back ;) but grub2 config doesn't look all that bad to me... http://www.linuxfromscratch.org/lfs/view/development/chapter08/grub.html seems like you can have a single grub.cfg and ignore the rest
Re: [gentoo-user] OT: change and improvement
Am Thu, 06 Oct 2011 17:23:32 -0400 schrieb Michael Orlitzky mich...@orlitzky.com: nothing forces you to switch to grub2. True in theory, but not in practice. the purpose of theory is to predict what happens in practice. if it does't, the theory is wrong. Legacy grub will go away eventually. If we have some grub-legacy and some grub2 installs, why would you do that? Either way is going to require a non-zero amount of work, while zero is the amount of work I would prefer to do. have a look at the link i posted. if you really want to keep it simple, grub2 can be configured with a single grub.cfg file. gentoo regularly requires some manual work during upgrades. i really don't get which this is such a big deal.
Re: [gentoo-user] 回复: [gentoo-user] Help!
Hello Lavender, we are going to help you. So please relax, tell your mail client to wrap lines at 72 characters and use the reply button to answer. For now, build a kernel with genkernel according to the handbook and stick to the rest of the hints you already got in the other replies. Save manual kernel building for later when you have more experience. /jonas Am Wed, 5 Oct 2011 17:33:22 +0800 schrieb Lavender 448463...@qq.com: I did that manually, did I lose something when I build the kernel ? But I really turn the options which handbook mentioned on . I don't know how to work out. -- 原始邮件 -- 发件人: Yohan Pereirayohan.pere...@gmail.com; 发送时间: 2011年10月5日(星期三) 下午3:18 收件人: gentoo-usergentoo-user@lists.gentoo.org; 主题: Re: [gentoo-user] Help! On Wednesday 05 Oct 2011 12:52:41 Lavender wrote: Hi, everybody! I installed gentoo according to Gentoo Handbook , then I login gentoo . But I found that I couldn't use wpa_supplicant for scanning netcard device failed . I think that means the netcard module not loaded, so I type lsmod and the output have only one line-Modules , according to the Handbook I have written many modules to the file /etc/modules.autoload.d/kernel2.6 though I don't know those modules respond for what. Now the question is that I don't know whether gentoo loaded those modules that in file kernel2.6 which I created. Handbook said that modules in /etc/modules.autoload.d/kernel2.6 will be loaded automatically, but why there is only one line in output when I use command lsmod? I’m going to be crazy! When I use gentoo I really realize that the knowlege needed is far more than I just have, I have to acknowledge that I'm a freshman.So please help me. How did you build your kernel? using genkernel or manually?
Re: [gentoo-user] Why grub can't load win kernel
Am Wed, 5 Oct 2011 17:39:59 +0200 schrieb Alan McKinnon alan.mckin...@gmail.com: What version of grub, and what options (USE flags) was grub built with? which of the grub USE flags do you think could cause this behavior?
Re: [gentoo-user] Why grub can't load win kernel
Am Wed, 5 Oct 2011 23:48:09 +0800 schrieb Lavender 448463...@qq.com: Sorry, I'm a gentoo newcomer, so I am totally not familar with this OS. Does USE make sense with grub ? And in the building there is no error, I had grub-install done. which was the *exact* commandline for grub-install? please copy it from your shell history grep grub-install ~/.bash_history and show us the output. also please send in the output of fdisk -l and your complete grub.conf Grub boot interface can show up , I can choose which OS to boot, but I couldn't boot win , what is the problem in your opinion? -- Original -- From: Alan McKinnonalan.mckin...@gmail.com; Date: Wed, Oct 5, 2011 11:39 PM To: gentoo-usergentoo-user@lists.gentoo.org; Subject: Re: [gentoo-user] Why grub can't load win kernel On Wed, 5 Oct 2011 23:32:10 +0800 Lavender 448463...@qq.com wrote: The configuration of win kernel in grub.conf is like below: rootnoverify (hd0,0) makeactive chainloader +1 It worked yesterday , but after I rebuilding grub software, it can't work. I don't know why, it still can boot gentoo kernel, I am confused,because grub only can do operations to MBR, it can not influence contents on windows partition. I also tried boot manually in grub command interface, but after showing load stage2 it goes back to grub I'm gonna pissed. I have many important things in windows system, will someone figure it out? What version of grub, and what options (USE flags) was grub built with? Any errors from the build of grub? (check /var/log/portage/elog) Did you run grub-install like the ebuild tells you to do at the end?
Re: [gentoo-user] Is grub2 stable and who uses it?
Am Wed, 5 Oct 2011 09:20:07 -0700 schrieb ny6...@gmail.com: Why does Gentoo still 'standardize' on grub instead of going forward with grub2? Grub2 is weird (coming from anything that isn't grub2), and if you mess up the upgrade, you can't boot. It's a support nightmare. Wow - what an improvement. :| if you mess up the bootloader you can't boot. thats trivial, easy to solve and not at all related to grub2. im not defending grub2 (the little i know about it is what has been said here) but sometimes things indeed need to change in order to improve.
Re: [gentoo-user] Why grub can't load win kernel
Am Wed, 5 Oct 2011 21:20:07 +0200 schrieb Alan McKinnon alan.mckin...@gmail.com: which of the grub USE flags do you think could cause this behavior? I have no idea. I'm asking for full fault report information, mentioning everything I can think of that could be relevant. You know, the things one should mention in the first post instead of stuff don't work. Why? yeah, there could have been more info included...
Re: [gentoo-user] {OT} Development framework with access restriction?
svn can restrict access to directories http://stackoverflow.com/questions/2288810/how-to-restrict-svn-repository-user-account-to-one-directory That would be perfect if it allowed access per file instead of per directory. I thought about re-arranging the layout to accommodate that limitation but I don't think it makes sense. do you not want him to change it or do you not want him to be able to read your code? if you do not want him to read your code i'm guessing thats because of hardcoded DB-passwords etc? move them into config files. or checkout a working copy and replace the passwords with dummy strings. if you just don't want him to change your code (or after you cleaned out the things he is not allowed to read) you could import it into git, have him clone the repository and make all his changes/developments. then pull his changes and *carefully* observe the merge to make sure nothing of your code gets changed.
Re: [gentoo-user] {OT} Development framework with access restriction?
The problem with that is he will need to test his code in the working system. why in the production system? I need a way for him to be able to read/write to a certain file or files within the working system, but have no read/write access to any other files in the system. Is SFTP perhaps the way to go for this? - Grant For some reason I thought SFTP would provide access control but now I'm thinking it's just like SSH in that access control is based on file ownership and permissions? yes. If that's the case, can anyone think of a better way to control remote access to my files than chmod/chown? someone already did ;) http://www.gentoo-wiki.info/HOWTO_Use_filesystem_ACLs I think it would be nice if the access control were built into the transport mechanism, version control system, or something else already in use, but it doesn't sound like that's going to happen. its certainly possible to control the write access with ACLs. read access however is a different story because as soon as his code runs in the context of the webrowser he will likely be able to read the rest of the code.
Re: [gentoo-user] Re: build problems with vmware-modules
On 09/27/2011 10:08 PM, Jonas de Buhr wrote: hello everone! i'm having problems running vmware. a recend emerge -DuvaN world upgraded vmware to version 6.5.5 and i upgraded the kernel to # uname -a Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux With VMWare, you need recent versions to work with non-ancient kernel versions. i've been running vmware 6.x with 2.6.31 before with no problems. if its that incompatible with newer kernels the dependencies should state that and 7.x should become stable. but it seems you're right: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/filesystem.c:84:4: error: unknown field ‘get_sb’ specified in initializer seems some stuff changed in the kernel https://lkml.org/lkml/2011/3/17/29 VMware 7.x should work fine with kernel 2.6.39. i will give 7.x a try. thanks!
Re: [gentoo-user] Re: Kernel compiles ... monitoring
Top shows CC taking about 50% or in that vacinity... nothing else of note is running. But man I've been at this for 3 days, or so. Created at least 6 different kernels and none will get me booted... either I get a panic and root cannot be mounted, or the screen goes black shortly after grub screen... and nothing more happens. I've tried 3.0.4 and backed up to 2.6.39* ... all this on a machine that has run gentoo for several yrs. And I'm not a complete greenhorn either. There must be some other source of problem I don't know about is all I can think... hardware problem? try memtest86 and a HD check with a (boot cd-)tool from the vendor.
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
On Monday, September 26, 2011 10:26:03 PM Jonas de Buhr wrote: I am assuming that unlike the old days when I used to boot Linux on PCs using a floppy with SmartBootManager, now we'll need to generate some key/hash for our freshly compiled kernel, then add it to the BIOS firmware and flash the BIOS with it before we are able to boot into it? Is it more complicated than that? how are you going to write to the bios if it doesn't let you? maybe you are determined enough to manually flash the chip every time you update grub but i think thats a buzzkill for 90% of the users ;) Eerhm... If Grub is the bootloader, wouldn't we just need to have a signed version of Grub? depends if we are talking about hashes being saved in the bios or signatures being checked by the bios. hashes would have to be written to the bios everytime the binary of the bootloader changes. signatures would have to be renewed everytime the binary changes. this is even worse because you will most likely need the some private key to do that which you will not get your hands on. if anyone can create the signature, it's pointless. so you would have to rely on your bios vendor to sign every possible binary of the bootloader. and then you're still locked out.
Re: [gentoo-user] {OT} Development framework with access restriction?
I'd like to hire a freelancer to work on my website. I don't want to provide access to all of my code, but instead only the particular file or files being worked on. Does anyone know of a development framework that would help facilitate that sort of thing? Would no shell access along with restricted SFTP access be the simplest, safest, most effective way to go? svn can restrict access to directories http://stackoverflow.com/questions/2288810/how-to-restrict-svn-repository-user-account-to-one-directory
[gentoo-user] build problems with vmware-modules
hello everone! i'm having problems running vmware. a recend emerge -DuvaN world upgraded vmware to version 6.5.5 and i upgraded the kernel to # uname -a Linux toxic 2.6.39-gentoo-r3 #4 SMP Thu Sep 22 16:06:58 CEST 2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel GNU/Linux when i try to run vmware the module updater starts (sounds good, the modules should be gone) and complains it can't find the kernel headers. # ls -l /usr/src/ lrwxrwxrwx 1 root root 22 21. Sep 18:00 linux - linux-2.6.39-gentoo-r3 even if i specifically select the directory containing the kernel source it doesn't find them. i then tried to emerge vmware-modules, guessing that might fix it, which fails: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.c: In function ‘DentryOpRevalidate’: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.c:121:4: error: implicit declaration of function ‘path_lookup’ cc1: warning: unrecognized command line option -Wno-unused-but-set-variable At top level: cc1: warning: unrecognized command line option -Wno-unused-but-set-variable make[3]: *** [/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.o] Error 1 cc1: warning: unrecognized command line option -Wno-unused-but-set-variable make[2]: *** [_module_/var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only] Error 2 make[1]: *** [sub-make] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.39-gentoo-r3' make: *** [vmblock.ko] Error 2 emake failed full logs attached. am i missing something or is this a bug? /jonas [32;01m * [39;49;00mPackage:app-emulation/vmware-modules-1.0.0.25-r3 [32;01m * [39;49;00mRepository: x-portage [32;01m * [39;49;00mMaintainer: vad...@gentoo.org vmw...@gentoo.org [32;01m * [39;49;00mUSE:amd64 elibc_glibc kernel_linux multilib userland_GNU [32;01m * [39;49;00mFEATURES: sandbox [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found kernel object directory: [32;01m*[0m /lib/modules/2.6.39-gentoo-r3/build [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.39-gentoo-r3 Unpacking source... Unpacking vmware-modules-1.0.0.25.amd64.tar.bz2 to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmci.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vsock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Preparing source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... [32;01m*[0m Applying 1.0.0.25-makefile-kernel-dir.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-makefile-include.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying sched_h-2.6.32.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-autoconf-generated.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying apic.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-sk_sleep.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-unlocked_ioctl.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-sema.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m Source prepared. Configuring source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... Source configured. Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... [32;01m*[0m Preparing vmblock module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.39-gentoo-r3/build Using 2.6.x kernel build system. make -C /lib/modules/2.6.39-gentoo-r3/build SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-2.6.39-gentoo-r3' CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/filesystem.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/stubs.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dbllnklst.o CC [M]
Re: [gentoo-user] build problems with vmware-modules
i just figured a build log in english might be more useful [32;01m * [39;49;00mPackage:app-emulation/vmware-modules-1.0.0.25-r3 [32;01m * [39;49;00mRepository: x-portage [32;01m * [39;49;00mMaintainer: vad...@gentoo.org vmw...@gentoo.org [32;01m * [39;49;00mUSE:amd64 elibc_glibc kernel_linux multilib userland_GNU [32;01m * [39;49;00mFEATURES: sandbox [32;01m*[0m Determining the location of the kernel source code [32;01m*[0m Found kernel source directory: [32;01m*[0m /usr/src/linux [32;01m*[0m Found kernel object directory: [32;01m*[0m /lib/modules/2.6.39-gentoo-r3/build [32;01m*[0m Found sources for kernel version: [32;01m*[0m 2.6.39-gentoo-r3 Unpacking source... Unpacking vmware-modules-1.0.0.25.amd64.tar.bz2 to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmblock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmci.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmmon.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vmnet.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Unpacking ./vmware-modules-1.0.0.25/vsock.tar to /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Source unpacked in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work Preparing source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... [32;01m*[0m Applying 1.0.0.25-makefile-kernel-dir.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-makefile-include.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying sched_h-2.6.32.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-autoconf-generated.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying apic.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-sk_sleep.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-unlocked_ioctl.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m [32;01m*[0m Applying 1.0.0.25-sema.patch ... [A[118C [34;01m[ [32;01mok[34;01m ][0m Source prepared. Configuring source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... Source configured. Compiling source in /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work ... [32;01m*[0m Preparing vmblock module make -j9 HOSTCC=x86_64-pc-linux-gnu-gcc CROSS_COMPILE=x86_64-pc-linux-gnu- LDFLAGS= auto-build VMWARE_VER=VME_V65 KERNEL_DIR=/usr/src/linux KBUILD_OUTPUT=/lib/modules/2.6.39-gentoo-r3/build Using 2.6.x kernel build system. make -C /lib/modules/2.6.39-gentoo-r3/build SUBDIRS=$PWD SRCROOT=$PWD/. \ MODULEBUILDDIR= modules make[1]: Entering directory `/usr/src/linux-2.6.39-gentoo-r3' CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/filesystem.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/stubs.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dbllnklst.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/file.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/block.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/module.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/./include/vmware.h:38:0, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dbllnklst.c:19: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/./include/vm_basic_types.h:108:7: warning: __FreeBSD__ is not defined CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/super.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/control.o CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/inode.o cc1: warning: unrecognized command line option -Wno-unused-but-set-variable CC [M] /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/dentry.o In file included from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/vmblockInt.h:40:0, from /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/linux/module.c:34: /var/tmp/portage/app-emulation/vmware-modules-1.0.0.25-r3/work/vmblock-only/./include/vm_basic_types.h:108:7: warning: __FreeBSD__ is not defined cc1: warning: unrecognized command line option -Wno-unused-but-set-variable In file included from
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
between a fully-signed system (Windows 9 / OS XI or so) or a cracked boot, with little in the way of switching between the two, at least initially I know which one I'd pick if it came down to it :) And you really need not worry about it, some geek (Torvalds?) will surely find out a way. yes, there will most likely be a technical way to circumvent it. the problem is that involved companies might try (and likely succeed) to make that illegal. the reasoning will be this: it is assumed that you only make that modification to run pirated copies of commercial operating systems. that you will also need that mod to run free operating systems on it will just not count. at least not for commercially offering the mod. just look at decss. or playstation mod chips.
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
yes, there will most likely be a technical way to circumvent it. the problem is that involved companies might try (and likely succeed) to make that illegal. the reasoning will be this: it is assumed that you only make that modification to run pirated copies of commercial operating systems. that you will also need that mod to run free operating systems on it will just not count. at least not for commercially offering the mod. just look at decss. or playstation mod chips. I thought this is where we already are? yes, this weird way of thinking is already established and seems to be widely accepted. my point is that it is going to be applied to UEFI cracking. meaning: a technical solution for this will not help us at all.
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
I am assuming that unlike the old days when I used to boot Linux on PCs using a floppy with SmartBootManager, now we'll need to generate some key/hash for our freshly compiled kernel, then add it to the BIOS firmware and flash the BIOS with it before we are able to boot into it? Is it more complicated than that? how are you going to write to the bios if it doesn't let you? maybe you are determined enough to manually flash the chip every time you update grub but i think thats a buzzkill for 90% of the users ;)
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
On 26 September 2011 20:29, Jonas de Buhr jonas.de.b...@gmx.net wrote: between a fully-signed system (Windows 9 / OS XI or so) or a cracked boot, with little in the way of switching between the two, at least initially And you really need not worry about it, some geek (Torvalds?) will surely find out a way. yes, there will most likely be a technical way to circumvent it. the problem is that involved companies might try (and likely succeed) to make that illegal. Unfortunately, under the DMCA, breaking any encryption / copy-protection mechanism is illegal under US copyright law of all things (and by extension, globally :-/ ). I listened to a pretty interesting debate about this related to the Right to Repair act in the States, which relates to the right to access car firmware / software. The consensus seems to be that the pitifully easy-to-crack encryption is only there so that the software becomes covered by the DMCA. What a mess. agreed. still there might be different ways. replacing the whole bios chip (or software) with something different for example. then you technically didn't break any encryption, so no dmca. but i still think that would sooner or later get you in trouble if you offer that service commercially.
Re: [gentoo-user] Re: Kernel compiles ... monitoring
hi harry! don't take my word for it, but i don't think there is an easy solution to this :) cmake creates makefiles which show the percentage completed in a build step. maybe you can look into how it does that and apply that to the kernel? /jonas Harry hputnam3 at gmail.com writes: How can one tell how far along a kernel compile is? I can see the modules being built in /var/log/genkernel.log (Aside: Please, no hysteria about using genkernel) But I'd like to know of some way to guesstimate how much of the process is completed. Is there a list the compile has generated and is following somewhere under /usr/src/linux? Or some other way of knowing where the compile is in terms of percentage completed? Just reporting a further bit on this: You might think that tailing the log output and grepping for the module names in .config would be one way, and I suppose it is, but no directly because the compile does not appear to follow .config all the time. Seems to follow closely when there modules in a row, but then jumps to whole different sections... so still not very helpful
Re: [gentoo-user] Slightly OT but interesting nonetheless...
The only problem with that attitude is that it eventually leads you to the same position that Microsoft is in with Windows -- where too many years of refusing to drop backwards compatibility were completely holding them back. i thought of that too. as with many other things, the trick is to find the right balance. important code changes/cleanups sometimes have to be made, even if they break things. if that happens too often its going to annoy the users.
Re: [gentoo-user] [OT] Should I be worried that I won't be able to dual boot in Gentoo?
I used to build and blueprint my own engines (cars and motorbikes). Then gradually cars became electronic appliances, locked down to the extent where engine modifications became difficult and expensive to implement. I fear that PCs and before that laptops may be heading the same way. :-( this has the potential to go really bad. on the other hand tpm had too. maybe we should relax. it's not about being complicated though. you can't blame the industry for building more complicated engines that perform a lot better. that doesn't need to keep you from building your own engine (although it will probably be no competition). and i think cars are a lot more hackable today than they ever were. thats not the same as putting a lock on the front lid only the manufacturer can open. concerning computers, the lockout (if there will be any) is purely artifical. the complexity doesn't keep people from tinkering with it.
Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited
The devices are connected, there's only a switch between them (a billion ADSL router). wait... billion as in billion the company? and you are using your router as a switch? please connect the two computers without any switch (crossover cable if they aren't 1000mbit) and try again. maybe the router is doing something funny with port 80? most routers DO run firewalls.
Re: [gentoo-user] Modifying LiveCDs
What I'd like to do is drop the stage3 and Portage snapshots onto the ISO before burning, but I've never done anything with mastering bootable discs. Could someone provide me with some pointers? http://lmgtfy.com/?q=build+your+own+live+cd+gentoo SCNR :P alternatively you could use catalyst: http://www.gentoo.org/proj/en/releng/catalyst/ or you just mount the iso, modify it, run mkisofs on it and burn it. the mkisofs options you are looking for are -b and -c. /jonas
Re: [gentoo-user] Modifying LiveCDs
http://lmgtfy.com/?q=build+your+own+live+cd+gentoo Not so useful, thanks. Google fails me regularly. Personalized searches are getting to be a real sore spot for me; not just mine, but those of people pointing me at Google assuming my searches for the same keywords will get the same results. Particular grating is when someone sends me a link to a search, then the link to what I was looking for, and says something like first hit. My first *page* didn't even have that link on it. well... i didn't know if it was ok to post links to unofficial gentoo resources on this list which is why i went with the search. i also meant to point out that what you are looking for is fairly common knowledge and that you can easily find all the information you need with a simple search query. and i assumed that you would be capable to find the one search result that does describe all you need to know in the first 5 hits. i even checked that it is in there in different google TLDs and with different hl= options. alternatively you could use catalyst: http://www.gentoo.org/proj/en/releng/catalyst/ or you just mount the iso, modify it, run mkisofs on it and burn it. the mkisofs options you are looking for are -b and -c. I knew there was going to be something I wasn't going to know, and it looks like the values passed to -b and -c are it. again, the hint you maybe didn't get was: you will have to do some of the work yourself. I don't want to build a CD from scratch (and doing so looks like it would require setting up a fully generic box to build). I just want to add two files to an existing ISO. How would I extract boot_catalog and eltorito_boot_image from an existing ISO? you can actually omit -c i think. use isolinux.bin (should be on the livecd) as boot image.
[gentoo-user] Re: OT: google search results (was: Modifying LiveCDs)
This is because Google uses geo-targeting to determine what results you may be interested in (assuming your geo-location from your IP address), and are you sure google uses ip geo-location? the results change a lot if you just change the TLD or hl= /jonas
[gentoo-user] Bug 290437 (gcc-config)
Hi guys, i just ran into this bug again: sys-devel/gcc-config suggests gcc re-merge when profile is invalid https://bugs.gentoo.org/show_bug.cgi?id=290437 which is in status RESOLVED FIXED which is clearly not the case. who can change the status of a bug? /jonas
Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited
ssh works. routing should be ok then. Connection from the same client to a third gentoo box running a webserver works. what about connecting to the webserver from that third gentoo box? Anyone seen this behavior? There's no iptables, you did check that on both machines, didn't you? what about tcp-wrappers? the hosts are gentoo and on the same subnet. I've only seen admin prohibited ICMP from filtering by cisco ACLs - what could be the problem?
Re: [gentoo-user] Cant connect to local webserver - ICMP admin prohibited
what about connecting to the webserver from that third gentoo box? Same ICMP response, so its not a client side issue. yep. No iptables on any of the boxes. No tcpwrappers. is there anything in between on the network? does traceroute show anything unusual? what happens if you try to connect to a closed port (81 for example)?
Re: [gentoo-user] Bug 290437 (gcc-config)
Hmm, odd. I thought everyone used to be able to reopen bugs. Ooops. i assumed the opposite because several people complained about having the same bug after it was closed in the comments but did not reopen it. But in fact i did not try. Shame on me :) Well, it looks like mailto:vap...@gentoo.org (Mike Frysinger) closed the bug, so you might ask him about it. Or write to mailto:toolch...@gentoo.org as this herd is currently assigned to the bug. Vapier and halcy0n seem to be the only ones in that herd. Ok, thanks!
Re: [gentoo-user] Amarok
Hi! I'm thinking I will change Amarok to Audacious. Maybe you should have a look at aTunes, rhythmbox, exaile, gmusicbrowser and jajuk too... :) Anybody else experienced this or just I'm cursed? :) I had a lot of stability problems with amarok on opensuse. IMHO it's not worth the hassle, go with one of the alternatives. jdb
Re: [gentoo-user] USB printer and new cups
But my main problem is another one: How do I tell CUPS which device my printer is? I tried usb:/dev/usb/lp0 (found this notation when googling 'usb printer device uri'), but nothing happens when I try to print. with cups loaded and printer connected: # /usr/libexec/cups/backend/usb direct usb://Kyocera/FS-1010 (...) ^ cups device URI
Re: [gentoo-user] Portage + checksums
This was an argument against Gentoo more than six or seven years ago with regards to the security of whole portage system. Every package management system which uses hashes to verify integrity has the same problems. I think a lot of source tarballs are downloaded from the official sites anyway. Someone really paranoid might manually check the patches. A number of suggestions were made in those early days, one of them being to sync with two mirrors and diff the ebuilds/Manifests/Distfiles affected by these two most recent syncs. As far as I know people didn't go for this because it was perceived that the system as implemented was secure enough and anyway the proposed solution would put too much pressure on the mirrors. I do not have the intention to restart the discussion you mentioned. But getting hashes and tarballs from the same source (mirror) doesn't go far for security. At the moment I just trust the official mirrors and trust that the community would realize soon if there were trojaned packages the same way I trust apache or the kernel devs not to do anything funny. But I still like the idea of files signed with asynchr. crypt. I sure will have a look into FEATURES=sign. /jdb
Re: [gentoo-user] Xauthority and su
Hi, when maintaining a machine from remote I sometimes have to switch to a non-root user (whose password I don't want to know) to try something out. For that, I log into that machine by ssh -Y r...@ Now, how can I switch to user USER such that the X credentials are copied. Unfortunately, sux (from X11-misc/sux) doesn't work in that case. I always get X11 connection rejected because of wrong authentication. Are there any means to achieve this? Hi Helmut, you need to read man xauth :) /jdb
Re: [gentoo-user] Xauthority and su
Are there any means to achieve this? Hi Helmut, you need to read man xauth :) or maybe this: http://www.xs4all.nl/~zweije/xauth-6.html#ss6.3 skip the DISPLAY-part if you're using ssh -Y. /jdb
Re: [gentoo-user] Xauthority and su
Hi Jonas, unfortunately, I don't understand your advice. I do have X11 forwarding configured and I don't have any problems when working as the same user for which I logged in via ssh -Y. But if I change the user by using su (doesn't work) or sux (works on a local machine), Xauthorization fails. hi, sorry i was a bit in a hurry. it's been a while since i looked into this but i think you can add your users x-magic-cookie to your authorized cookies, your cookie to his cookies or a new cookie to his cookies and your authorized cookies (which you can delete later so he doesn't have access to your session anymore). from the top of my head i'm not sure which way round it works (maybe both?) which is why i only advised reading of the manpage ;) hope this helps, jdb
Re: [gentoo-user] Xauthority and su
I do have X11 forwarding configured and I don't have any problems when working as the same user for which I logged in via ssh -Y. But if I change the user by using su (doesn't work) or sux (works on a local machine), Xauthorization fails. oh wait... maybe the problem is something different? after the su - you also lose the DISPLAY setting which was set after logging in with ssh -Y. you should check the DISPLAY variable before and after the su on the remote machine.
Re: [gentoo-user] help renaming files
i'm using es_UY.UTF8 and i can't make tr do anything useful. any ideas? script it. python for example works well with unicode. you may want os.rename() and maybe a dictionary with your substitutions. /jdb
Re: [gentoo-user] Xauthority and su
oh wait... maybe the problem is something different? after the su - you also lose the DISPLAY setting which was set after logging in with ssh -Y. you should check the DISPLAY variable before and after the su on the remote machine. That's the reason why I tried sux from x11-misc/sux . well you will need both. proper authorization and a correct DISPLAY variable.
Re: [gentoo-user] Portage + checksums
Hi! Do you know if someone makes a change to a copy of apache hosted on a public mirror, will the sync between the servers determine that it's corrupted (via 'bad' checksum) on the public side and replace it? I'm not sure how gentoo mirrors do the syncing but in a lot of cases an error like this would show up on the downloading (client-/mirror-) side which wont help you at all if you don't trust the mirror. The way I undestand this a problem is that any mirror may simply regenerate hash values like RMD160 or SHA1 for modified sourcefiles. If you don't compare them to those from a trusted server you will never know. So a general aproach to this may be that some gentoo core team would sign everything with one (or a set of) private key(s) of some kind and publish the corresponding public key(s) on their website and with the install images. The signature could easily be copied to mirrors but not regenerated for changed sourcefiles. However that would be a lot more work for the gentoo developers since *few* (else it's pointless) trusted people with access to the private key would have to approve every single update for every arch and compare every source tarball to a trusted one. Maybe you could run your own mirror and sync it to a trusted one? Bye, jdb
[gentoo-user] Problems with booting from SD card on EEE 1201H
Hello Everyone! I am trying to install gentoo on my eee1201h and used this howto: http://www.gentoo.org/doc/en/liveusb.xml to setup a bootable SD card. The system boots but depscan fail with line 128: /bin/chmod: Input/Output Error line 139: Bus Error and a lot more. Almost every command i issue in the shell fails with Input/Output error (even ls). Any ideas how I can get this to work? Thanks, jdb