Re: [gentoo-user] sudo-1.9.8_p2 produces Segmentation Fault on any use
On 11/9/2021 11:27 PM, Jack wrote: Works fine for me. Can you try it with strace to see if you can tell where it crashes? That or emerge with sufficient debug info that you can run it under gdb and get a backtrace? Thanks, I'll try that when I have a suitably large chunk of free time.
Re: [gentoo-user] sudo-1.9.8_p2 produces Segmentation Fault on any use
On 11/9/2021 11:59 PM, Matt Connell (Gmail) wrote: On Tue, 2021-11-09 at 22:36 +0200, Anton wrote: Is it just me, or has anybody else seen a similar problem? Working fine here, with the following USE set: USE="-gcrypt -ldap nls offensive pam -sasl secure-path (-selinux) sendmail -skey ssl -sssd" ABI_X86="(64)" I wonder if your issue isn't related to updated PAM libraries. The post emerge messages for PAM suggest either rebooting or restarting certain services after upgrades. I thought so too, but neither reboot, nor re-merging the PAM libraries made a difference. To be fully honest, for "re-merging the PAM libraries" I only looked at the immediate dependencies, so there's some room for error there. Still, I think the best next step is to try what others suggested: study the strace or the core file to try to understand in which library the problem occurres.
[gentoo-user] sudo-1.9.8_p2 produces Segmentation Fault on any use
On a recent update, `sudo` got upgraded from sudo-1.9.6_p1-r2 to sudo-1.9.8_p2. Since then, any call to `sudo` other than `sudo --help` resulted in a Segmentation Fault. I have tried remerging sudo again or remerging the PAM-related dependencies, but it did not help. Switching back to 1.9.6, however, resulted in a working sudo. Is it just me, or has anybody else seen a similar problem? Best, Anton
Re: [gentoo-user] Strategies for testing an ebuild
On 10/20/2020 7:23 PM, tastytea wrote: On 2020-10-20 11:01-0700 Anton wrote: Hi there, I am taking on maintaining a package in gentoo-sci overlay. What are good ways to test that my ebuild works before creating a pull request? I am thinking to install a Gentoo Prefix, snapshot its "vanilla" state, and run `emerge $mypackage` in the vanilla Prefix as a test. Are there better strategies? There is a package to automate this, via docker: dev-python/ebuildtester. For other methods, see <https://wiki.gentoo.org/wiki/Test_environment>. Kind regards, tastytea Thanks, tastytea, this is very helpful.
[gentoo-user] Strategies for testing an ebuild
Hi there, I am taking on maintaining a package in gentoo-sci overlay. What are good ways to test that my ebuild works before creating a pull request? I am thinking to install a Gentoo Prefix, snapshot its "vanilla" state, and run `emerge $mypackage` in the vanilla Prefix as a test. Are there better strategies? Thanks, Anton
Re: [gentoo-user] Autoexecute when "returning" from sudo ?
Hi, Meino I'd make a script, sudo_with_rehash: sudo "$@" rehash and add to whatever is the equivalent of .bashrc for zsh: alias sudo="source sudo_with_rehash" Would that work for you? Best, Anton On Wed, Oct 31, 2018 at 4:49 AM wrote: > Hi, > > often I have this scenario: > I miss an application/script, a setting or something like that. > To apply the modifikation I becom root from the shell I was using as user. > I modificate/install or whatever change is needed... > I CTRL-D back to my user shell. > > Now I have to do a "rehash" (I am using zsh) to make the change > visible/accessible. Sometimes I forget that. > > So...is it possible to auto-execute a "rehash" or whatever is needed, > when the user is comeing back from his alternate life as root? > > Thanks a lot for any help in advance! > Cheers! > Meino > > > >
[gentoo-user] Re: emerge dev-hasell/stack fails with unclear error
On Monday, February 26, 2018 10:24:44 AM EST you wrote: > When emerging dev-haskell/stack-1.3.2 I'm getting: > > > [ 84 of 121] Compiling Stack.Path ( src/Stack/Path.hs, > dist/build/Stack/Path.o ) > [ 85 of 121] Compiling Stack.Package( src/Stack/Package.hs, > dist/build/Stack/Package.o ) > [100 of 121] Compiling Stack.Upload ( src/Stack/Upload.hs, > dist/build/Stack/Upload.o ) > [101 of 121] Compiling Control.Concurrent.Execute ( > src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o > ) > * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase): > * setup build failed > * > * Call stack: > * ebuild.sh, line 124: Called src_compile > * environment, line 2851: Called haskell-cabal_src_compile > * environment, line 2049: Called cabal_src_compile > * environment, line 771: Called cabal-build > * environment, line 535: Called die > * The specific snippet of code: > * ./setup "$@" || die "setup build failed" > * > > > So _probably_ something went wrong when compiling Control.Concurrent.Execute > -- but I see no way to tell what was the problem. How do I debug this? > Well, cd /var/tmp/portage/dev-haskell/stack-1.3.2/work/stack-1.3.2 runhaskell Setup build does show an error. It looks like package version mismatch, digging into it... Sorry for the noise. Strange that emerge did not show any error message from the compillation, though... -- Anton
[gentoo-user] emerge dev-hasell/stack fails with unclear error
When emerging dev-haskell/stack-1.3.2 I'm getting: [ 84 of 121] Compiling Stack.Path ( src/Stack/Path.hs, dist/build/Stack/Path.o ) [ 85 of 121] Compiling Stack.Package( src/Stack/Package.hs, dist/build/Stack/Package.o ) [100 of 121] Compiling Stack.Upload ( src/Stack/Upload.hs, dist/build/Stack/Upload.o ) [101 of 121] Compiling Control.Concurrent.Execute ( src/Control/Concurrent/Execute.hs, dist/build/Control/Concurrent/Execute.o ) * ERROR: dev-haskell/stack-1.3.2::gentoo failed (compile phase): * setup build failed * * Call stack: * ebuild.sh, line 124: Called src_compile * environment, line 2851: Called haskell-cabal_src_compile * environment, line 2049: Called cabal_src_compile * environment, line 771: Called cabal-build * environment, line 535: Called die * The specific snippet of code: * ./setup "$@" || die "setup build failed" * So _probably_ something went wrong when compiling Control.Concurrent.Execute -- but I see no way to tell what was the problem. How do I debug this? The requisite information is below or attached. Thanks! -- Anton emerge -pqv '=dev-haskell/stack-1.3.2::gentoo' [ebuild N] dev-haskell/stack-1.3.2 USE="-doc -hscolour -profile {-test}" Portage 2.3.19 (python 3.5.4-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-6.4.0, glibc-2.25-r10, 4.12.12-gentoo x86_64) = System Settings = System uname: Linux-4.12.12-gentoo-x86_64-Intel-R-_Core-TM-_i5-3337U_CPU_@_1.80GHz-with-gentoo-2.4.1 KiB Mem: 3855216 total, 2080004 free KiB Swap:3145724 total, 1141036 free Timestamp of repository gentoo: Sun, 25 Feb 2018 01:30:01 + Head commit of repository gentoo: c0fe6a0d4e379ce403f88e54f23d77695fe2cf05 sh bash 4.4_p12 ld GNU ld (Gentoo 2.29.1 p3) 2.29.1 app-shells/bash: 4.4_p12::gentoo dev-java/java-config: 2.2.0-r3::gentoo dev-lang/perl:5.24.3::gentoo dev-lang/python: 2.7.14-r1::gentoo, 3.5.4-r1::gentoo dev-util/cmake: 3.9.6::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.4.1-r2::gentoo sys-apps/openrc: 0.34.11::gentoo sys-apps/sandbox: 2.12::gentoo sys-devel/autoconf: 2.13::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.11.6-r2::gentoo, 1.15.1-r1::gentoo sys-devel/binutils: 2.29.1-r1::gentoo sys-devel/gcc:6.4.0-r1::gentoo sys-devel/gcc-config: 1.8-r1::gentoo sys-devel/libtool:2.4.6-r3::gentoo sys-devel/make: 4.2.1::gentoo sys-kernel/linux-headers: 4.13::gentoo (virtual/os-headers) sys-libs/glibc: 2.25-r10::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-extra-opts: local location: /usr/local/portage masters: gentoo ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://mirror.leaseweb.com/gentoo/ http://104.19.136.75/gentoo/ ftp://gentoo.mirrors.ovh.net/gentoo-distfiles/ http://104.19.137.75/gentoo/; LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi kwallet lcms libnotify mad mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre p
Re: [gentoo-user] Is there rpcgen in Gentoo and how to compile dev-perl/Ace?
Thanks a lot Andreas! Emerging net-libs/prcsvc-proto did solve the problem, and I was eventually able to compile dev-perl/Ace. On Thu, Nov 9, 2017 at 8:12 PM, Andreas K. Huettel <dilfri...@gentoo.org> wrote: > Am Freitag, 10. November 2017, 01:50:04 CET schrieb Anton Molyboha: > > Hi all, > > > > I am trying to emerge dev-perl/Ace-1.920.0-r2 on my Gentoo Prefix on > MacOS > > and it fails trying to run "rpcgen -I -K -1 rpcace.x" and not finding > > rpcgen (or rather finding the XCode version of it which I don't want) > > > > rpcgen is part of > 1) sys-libs/glibc[rpc] (not useful for you) > 2) net-libs/rpcsvc-proto > > > > > TL;DR: I have two questions: > > 1) Does anybody know of a Gentoo package which provides the tool "rpcgen" > > 2) Does anybody know how dev-perl/Ace is meant to be compiled and whether > > the dependence on rpcgen is necessary. > > > > I'll have a look later. Best if you file a bug with all the info that you > sent > to the list, then it won't be forgotten. > I have filed https://bugs.gentoo.org/637114 with all the info and marked it as a blocker for 381391 "(glibc-rpc) - [TRACKER] Packages failing to build with no rpc in sys-libs/glibc" > > (I suppose dev-perl/Ace will also break with sys-libs/glibc-2.26, where the > built-in rpc support is going away, so this doesnt just affect your > prefix. :) > > -- > Andreas K. Hüttel > dilfri...@gentoo.org > Gentoo Linux developer (council, perl, libreoffice) > > Anton
[gentoo-user] Is there rpcgen in Gentoo and how to compile dev-perl/Ace?
Hi all, I am trying to emerge dev-perl/Ace-1.920.0-r2 on my Gentoo Prefix on MacOS and it fails trying to run "rpcgen -I -K -1 rpcace.x" and not finding rpcgen (or rather finding the XCode version of it which I don't want) This being Prefix, things are expected to fail, so both options are possible: 1) rpcgen is provided by some package which is not listed as a dependency of dev-perl/Ace 2) dev-perl/Ace does not really need rpcgen and a proper build configuration would avoid trying to call it. As for option 1, Wikipedia says that rpcgen is part of "Sun Microsystems ONC RPC". The only package I could find that would mention sunrpc in the description is net-libs/libtirpc, but I don't see any mention of rpcgen in its sources (I could not emerge it yet either) Maybe I am looking in the wrong place and something else would provide a working rpcgen? There are quite a few rpc-related packages in Gentoo and I would not be able to just try each of them. As for option 2 - I don't actually know what dev-perl/Ace is, I need it for bioperl which I need for something else... I don't see any rpc-related use flags and not sure where else to look that would influence its dependence on that rpcgen. TL;DR: I have two questions: 1) Does anybody know of a Gentoo package which provides the tool "rpcgen" 2) Does anybody know how dev-perl/Ace is meant to be compiled and whether the dependence on rpcgen is necessary. The information requested by a failing emerge is attached (including the slightly modified ebuild working around previous build failures) Thanks in advance! Anton Ace-1.920.0-r2.ebuild Description: Binary data build.log Description: Binary data emerge-info.log Description: Binary data emerge-pqv.log Description: Binary data
Re: [gentoo-user] Wiki-viewer anyone?
On Fri, Oct 6, 2017 at 6:49 PM, R0b0t1 <r03...@gmail.com> wrote: > On Fri, Oct 6, 2017 at 5:41 PM, <tu...@posteo.de> wrote: > > On 10/06 05:49, Andrew Tselischev wrote: > >> On Fri, Oct 06, 2017 at 07:07:04PM +0200, tu...@posteo.de wrote: > >> > Hi, > >> > > >> > The u8g8lib, which contains libraries to drive a great amount of > >> > displays for mainly embedded electronics has a wiki on github, which > >> > can be oficially git-pulled as a local copy...which I did. > >> > > >> > Now I have tons of *.md (markdown) -files instead of html and I > >> > dont know of any handy viewer for these. > >> > > >> > Since I want to update the repo from time to time > >> > I dont want to convert them. > >> > > >> > Is there any recommended quick and clean way to view these files on > the fly as > >> > they would be html? > >> > > >> > Thanks a lot for any help in advance! > >> > Cheers > >> > Meino > >> > > >> > >> Markdown is a markup language that was specifically designed to be > readable in the source. > >> > >> However, if you still find it hard to read, perhaps syntax highlighting > in a fancy > >> text editor can help approximate the intended effects of the markup. > >> > >> Also, there are markdown-to-HTML translators. Some are even included in > portage tree. > >> > > > > > > I dont want to convert the md-files to html, since I want to update > > the repo later (see above). > > The problem are files referencing other files. Reading the md-files > > via vim (for example) would imply to grab all references by hand. > > Fortheremore, tne docs are filled with graphics (for example images > > of the fonts, which can be used), which cannot be displayed with an > > ASCII-editor. > > Formatting is necassary with this docs... > > > > Typically what is done is you render the whole Wiki to HTML, and then > view it in a browser. You don't edit the HTML directly. It should be > possible to generate it incrementally. > > The one catch is that they might be relying on GitHub's integrated > Wiki system. If they are, you might need to install Gollum to process > the markdown files to HTML. > > Cheers, > R0b0t1 > > This is a definite overkill, but I'm using JetBrains' IntelliJ Idea (actually PyCharm) with the markdown plugin. It shows markdown and html side-to-side in the editor. Anton
Re: [gentoo-user] [OT] atom+nouveau
Hi=) I have asus eeepc with Atom N570, Intel NM10 motherboard and nvidia ION 2 (GT218). Don't know if it's related, but I had the same black screen with official nvidia drivers long time ago, so I stick to nouveau instead. It was all normal until wayland came around and xorg-server fails every couple releases. So I have these issues time to time 1. X is dead, black screen on boot even on console without gnome, can login and type commands, but everything is black, can connect over ssh fix: rollback to previous working xorg-server (or unmask newer if available), then recompile all installed xorg drivers again and everything is working 2. X is alive, but when loading gdm nothing happened, black screen, notebook unresponsive, can't even go to tty1 ctrl+alt+f1, gdm eat all cpu and memory, then after 5-15 minutes crushes and freezes completely even on ssh fix: connect over ssh if possible or liveusb, disable display manager, so only terminal is loaded on boot. that's gnome issue, so I manually disable wayland for it instead of default at /etc/gdm/custom.conf [daemon] WaylandEnable=false enable dm and load gnome on xorg and everything is working normally wayland is ok, but sometimes is not 3. Also there can be issues with xorg and nouveau firmware compatibility, and you can try to install/uninstall sys-firmware/nvidia-firmware package to test with that firmware you can have hardware acceleration enabled over vdpau, otherwise you can only use software renderer and video is sometimes luggy 4. Sometimes xorg libinput crushes and I have mouse+touch+keyboard not working with wayland, so I rollback or uninstall it, recompile xorg server and drivers and stick to X instead of wayland usually I have at xorg-drivers INPUT_DEVICES="evdev keyboard libinput mouse synaptics wacom" Maybe with kde it has similar issues, haven't tested currently I have wayland and X working normally and I have these package versions x11-base/xorg-server-1.19 sys-firmware/nvidia-firmware-340.32 gnome 3.22 sys-kernel/vanilla-sources-4.8.12, will be 4.9.0 soon but that's unrelated in my case Hope some of it may be useful for you=)
[gentoo-user] how to upgrade perl
In my case perl-cleaner was quite useless=( but it has an update since then, so maybe it will work now. But if it will be blocking updates you can always do it in some brutal way=))) run emerge perl with "--nodeps" and after do the same for every package that uses perl you can find their files at /usr/lib64/perl5/vendor_perl/5.20.2/ and use something like portageq owners / /usr/lib64/perl5/vendor_perl/5.20.2/* to find all packages that need reinstall, again if perl-cleaner won't work simple emerge won't help, because it will try to compile some packages in wrong order and I have perl 5.24, using that repo /etc/portage/repos.conf/gentoo.conf [gentoo] location = /usr/portage/gentoo sync-type = git sync-uri = https://github.com/gentoo-mirror/gentoo.git auto-sync = true On Monday, June 20, 2016, leewrote: > > Hi, > > how do you do an update despite perl blocking it? > > > emerge -a --update --newuse --deep --with-bdeps=y --keep-going @world > [...] > dev-lang/perl:0 > > (dev-lang/perl-5.22.2:0/5.22::gentoo, ebuild scheduled for merge) pulled > in by > =dev-lang/perl-5.22* required by > (virtual/perl-IO-Zlib-1.100.0-r6:0/0::gentoo, installed) > ^ ^ > (and 8 more with the same problem) > > (dev-lang/perl-5.20.2:0/5.20::gentoo, installed) pulled in by > dev-lang/perl:0/5.20=[-build(-)] required by > (dev-perl/Encode-Locale-1.30.0-r1:0/0::gentoo, installed) > > =dev-lang/perl-5.20* required by > (virtual/perl-Pod-Parser-1.620.0:0/0::gentoo, installed) > ^ ^ > (and 56 more with the same problems) > [...] > > > It seems that some pppl found perl 5.24 somewhere, which doesn't seem to > be available: > > > eix dev-lang/perl > [I] dev-lang/perl > Available versions: 5.20.2(0/5.20) ~5.20.2-r1(0/5.20) > ~5.22.0(0/5.22) ~5.22.1(0/5.22) {berkdb debug doc gdbm ithreads} > Installed versions: 5.20.2(01:11:43 AM 04/06/2015)(berkdb gdbm > -debug -doc -ithreads) > Homepage:http://www.perl.org/ > Description: Larry Wall's Practical Extraction and Report > Language > > > An update is overdue. What should I do? > >
Re: [gentoo-user] Help installing skype
Hi=) Can't really help with 32bit conflicts, I gave up on it since other unofficial packages got broken. But you can try workaround with disabled abi_x86_32, put skype ebuild to your local overlay and remove all abi_x86_32 related in it. And it still can fail=) Or you can give a try to web.skype.com
Re: [gentoo-user] Re: Anyone else having a problem with bash?
Same for me, but it appears only after I'm canceling some job on terminal with CTRL+C, maybe in 10% of total cases. I thought that was some side-effect of switching env back, but because job is terminated in a bad way haven't considered that as a bug.
Re: [gentoo-user] D and Gentoo
Hi=) There's Digital Mars D Compiler (dev-lang/dmd) at sunrise overlay, latest is 2.063.2, it's compilable and seems to be working =) On Sun, Jan 12, 2014 at 8:14 PM, Elias Diem pub.li...@webconect.ch wrote: Hi all What's the best way to have a D compiler in Gentoo? I know that there is a USE flag for gcc which adds D, but apparently it doesn't work. -- Greetings Elias
Re: [gentoo-user] how to use my SSD the right way ;-)
Hi, there is a native queuing at my INTEL SSD 64GB, so i'v set noop scheduler via udev rules. And it's kind a luggish when deleting a lot files like kernel sources (at ext4,xfs,btrfs, FS makes no difference, some cheap hardware stuff). Will test some day another scheduler like deadline on top of native one at hardware, it's some kernel overhead but hope system will not freeze for half a minute or more at high I/O For me best performance was at XFS, but for you ZFS (or less stable BTRFS) may be a better choice if you have powerful enough CPU, my 2 core + HT Intel Atom is too slow for it =( and fstab options for my XFS (discard = trim option) attr2,discard,inode64,noquota,relatime And the best guide is at Arch wiki=) As always=) https://wiki.archlinux.org/index.php/Solid_State_Drives
Re: [gentoo-user] Parallella supercomputer
Hi=) as far as i heard Parallella runs linux kernel on Zynq ARM core ONLY and Parallella cores act as a co-processor. So you can't get all its fancy cores out of box=(( you'll probably need to make some extreme kernel + openjdk hacks (and may be a lot of others). The main problem is that system runs on ARM core and Parallella cores are actually OpenRISC cores and i think that linux is not ready for such multiarch system, but I hope someday it will. I wanted to get some Parallella boards too, but for my needs maybe couple of Beagle Bone Black are more appropriate=) It's an ARM Cortex-A8 dev board with 2 1GHz cores, some 3d accelerator, 512MB DDR3 RAM, 2GB integrated eMMC storage + microSD slot, LAN, USB host and micro USB client for power and external PC control, microHDMI and audio through that HDMI, and a lot of GPIO and other pins. Doesn't have so many cores but 45$ only and it may run gentoo=) Perfect for scalable OSGi/JEE home cloud. http://beagleboard.org/Products/BeagleBone%20Black http://circuitco.com/support/index.php?title=BeagleBoneBlack (sorry for bad grammar, not my native language xD)
Re: [gentoo-user] see what's been emerged
Hi. On Mon, Jan 18, 2010 at 10:03:26 -0500, James wrote: I posted this question about a year ago and can't find the email or answer for the life of me...so I'll try again. :) I'm trying to find a file or database that keeps track of everything I've emerged since I set my system up, preferably in chronological order. Where / how can I obtain this information? I know that portage keeps track of it somehow. You can use qlop --list which in app-portage/portage-utils. -- Cheers, Anton pgpTXXcazvcOe.pgp Description: PGP signature
Re: [gentoo-user] Gnome Edit Menus
On Tue, Oct 13, 2009 at 06:58:56 -0400, dhk wrote: When I run alacarte I get the following error. $ alacarte Traceback (most recent call last): File /usr/bin/alacarte, line 36, in module main() File /usr/bin/alacarte, line 32, in main app = MainWindow(datadir, version, sys.argv) File /usr/lib64/python2.6/site-packages/Alacarte/MainWindow.py, line 48, in __init__ self.editor = MenuEditor() File /usr/lib64/python2.6/site-packages/Alacarte/MenuEditor.py, line 36, in __init__ self.__loadMenus() File /usr/lib64/python2.6/site-packages/Alacarte/MenuEditor.py, line 42, in __loadMenus self.applications.path = os.path.join(util.getUserMenuPath(), self.applications.tree.get_menu_file()) File /usr/lib64/python2.6/posixpath.py, line 65, in join if b.startswith('/'): AttributeError: 'NoneType' object has no attribute 'startswith' I've run python-updater and there's no change. Is this a corrupt program? Which version of x11-misc/alacarte you use? See bug 282337: http://bugs.gentoo.org/show_bug.cgi?id=282337 -- Anton
Re: [gentoo-user] Gnome Edit Menus
On Mon, Oct 12, 2009 at 10:13:04 -0400, dhk wrote: After the last update when I got Gnome 2.26 Most everything the the main application menu was gone. I right clicked on the main app panel and selected Edit Menus and after making a few changes I pressed Revert and now Edit Menus doesn't work at all. The window doesn't even come up. How can I fix this? Does anyone know the command line for Edit Menus? To run Gnome menu editor try $ alacarte Also see in ~/.config/menus for menu backups. You can replace current menu (applications.menu) with older file (applications.menu.undo-*). And read Gnome 2.26 Upgrade Guide section about menu file-collision: http://gnome.gentoo.org/howtos/gnome-2.26-upgrade.xml -- Anton
Re: [gentoo-user] [OT] suggest not-net-hungry Linux
В сообщении от Friday 26 September 2008 22:38:36 Andrew Gaydenko написал(а): No, no, no!... I was, is and am going to be on Gentoo. Just want to install Linux to my friend's PC. I can download installation CD iso (or two), but the main problem is, that PC during next few months will have dialup connection (33600) only. As a result, I need to choose Linux with minimal net traffic in mind (just security updates will be sufficient). There are no any special demands (OOo, images and PDF viewer, Firefox, Thunderbird and Krusader (or other two panel file manager) will be a sufficient apps set for beginning, + booting to level 5). Suggestions? P.S. You see, there is a little sense to address this question to, say, suse or ubuntu or other candidate's community :-) - so, excuse please for OT. Andrew I have been using gentoo two years. And I have dialup connection only. My desktop - KDE. :) The secret is: emerge-delta-webrsync for updating portages and deltup for sources. -- Best regargs, Anton Kochnev Contact: JID [EMAIL PROTECTED]
Re: [gentoo-user] KDE-4.0.4 (not a nag)
Dmitry S. Makovey пишет: Hi everybody, does anybody know what's happening to KDE4 in gentoo land ? Gentoo-KDE folks were pretty responsive with previous 4.0.x releases updating portage tree etc., but now I can't find much updates on what's happening with 4.0.4. Was it 3.5.9 preparations that took priority? Note: this message is not a nag, it's just my curiosity speaking (well and desire to finally switch to KDE4 as 4.0.3 had some glitches and functionality gaps that prevented my permanent switch so far). I know who knows :) People from #gentoo-kde at irc.freenode.net can probably answer ur questions. -- gentoo-user@lists.gentoo.org mailing list
Re: [gentoo-user] Script to kill long-running application
Alan McKinnon wrote: On Monday 28 April 2008, Joris Dobbelsteen wrote: Dear, I'm looking for a script that can kill an application after it has been running for a 'long' time. I like to measure the start time (as it offloads work, the CPU time time is not a good estimate). Does anyone have something useful or some pointers to something I can use for this? Preferably the script should monitor the processes that are currently running. Assuming by long time you mean wall clock time, I would try this approach: 1. start your app from a wrapper script that starts your app then creates a file named like /var/run/my-monitor/pid and contains the output from 'date' when it was started. 2. write another script that will read all files in /var/run/my-monitor/ and calculate the difference between start time and current time. If it passes some threshold, kill the process with the PID of the filename 3. run this second script from cron every minute: * * * * * root my-monitor-killer alan Also take a look at /etc/security/limits.conf (pam_limit) -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] cle266 xv problem
Hello all. I have a VIA embedded video card: lspci: 01:00.0 VGA compatible controller: VIA Technologies, Inc. VT8623 [Apollo CLE266] integrated CastleRock graphics (rev 03) XVideo doesn't work for me. :( I use xf86-video-via driver from portage. Xorg starting ok, but mplayer doesn't play with -vo xv. A have attached Xorg.log, mplayer output and xvinfo output. I also tried to use unichrome-0.2.6, and openchrome trunk from 2007-01-20. But there is the same problem. Can anybody help me? PS. I have found the same bug at https://bugs.freedesktop.org/show_bug.cgi?id=3075 but there is no solution. _XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6 _XSERVTransOpen: transport open failed for inet6/linux-50-197:2 _XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6 XDMCP warning: INET6 UDP socket creation failed X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: UNKNOWN Current Operating System: Linux linux-50-197 2.6.18-gentoo-r6 #7 PREEMPT Thu Jan 25 09:52:44 ALMT 2007 i686 Build Date: 18 January 2007 Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.2.0.log, Time: Thu Jan 25 20:33:02 2007 (==) Using config file: /etc/X11/xorg.conf (==) ServerLayout Xorg Configured (**) |--Screen Screen00 (0) (**) | |--Monitor Monitor00 (**) | |--Device Card00 (**) |--Input Device Keyboard0 (**) Option XkbRules xorg (**) XKB: rules: xorg (**) Option XkbModel pc104 (**) XKB: model: pc104 (**) Option XkbLayout us,ru (**) XKB: layout: us,ru (**) Option XkbVariant ,winkeys (**) XKB: variant: ,winkeys (**) Option XkbOptions grp:rwin_toggle,grp_led:scroll (**) XKB: options: grp:rwin_toggle,grp_led:scroll (==) Keyboard: CustomKeycode disabled (**) |--Input Device Mouse0 (**) FontPath set to: /usr/share/fonts/corefonts, /usr/share/fonts/cyrillic, /usr/share/fonts/Type1, /usr/share/fonts/100dpi, /usr/share/fonts/75dpi, /usr/share/fonts/misc, /usr/share/fonts/ttf-bitstream-vera (**) RgbPath set to /usr/X11R6/lib/X11/rgb (==) ModulePath set to /usr/lib/xorg/modules (**) Option AllowMouseOpenFail true (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory) (II) No APM support in BIOS or kernel (II) Module ABI versions: X.Org ANSI C Emulation: 0.3 X.Org Video Driver: 1.0 X.Org XInput driver : 0.6 X.Org Server Extension : 0.3 X.Org Font Renderer : 0.5 (II) Loader running on linux (II) LoadModule: bitmap (II) Loading /usr/lib/xorg/modules/fonts/libbitmap.so (II) Module bitmap: vendor=X.Org Foundation compiled for 7.1.1, module version = 1.0.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.5 (II) Loading font Bitmap (II) LoadModule: pcidata (II) Loading /usr/lib/xorg/modules/libpcidata.so (II) Module pcidata: vendor=X.Org Foundation compiled for 7.1.1, module version = 1.0.0 ABI class: X.Org Video Driver, version 1.0 (++) using VT number 3 (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 1106,3123 card 1106, rev 00 class 06,00,00 hdr 00 (II) PCI: 00:01:0: chip 1106,b091 card , rev 00 class 06,04,00 hdr 01 (II) PCI: 00:10:0: chip 1106,3038 card 1106,3038 rev 80 class 0c,03,00 hdr 80 (II) PCI: 00:10:3: chip 1106,3104 card 1106,3104 rev 82 class 0c,03,20 hdr 00 (II) PCI: 00:11:0: chip 1106,3177 card 1106, rev 00 class 06,01,00 hdr 80 (II) PCI: 00:11:1: chip 1106,0571 card 1106,0571 rev 06 class 01,01,8a hdr 00 (II) PCI: 00:11:5: chip 1106,3059 card 1106,4161 rev 50 class 04,01,00 hdr 00 (II) PCI: 00:12:0: chip 1106,3065 card 1106,0102 rev 74 class 02,00,00 hdr 00 (II) PCI: 01:00:0: chip 1106,3122 card 1106,3122 rev 03 class 03,00,00 hdr 00 (II) PCI: End of PCI scan (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,1), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x - 0x (0x1) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x - 0x (0x0) MX[B] (II) PCI-to-PCI bridge: (II) Bus 1: bridge is at (0:1:0), (0,1,1), BCTRL: 0x000c (VGA_EN is set) (II) Bus 1 non-prefetchable memory range: [0] -1 0 0xdde0 - 0xdfef (0x210) MX[B] (II) Bus 1 prefetchable memory range: [0] -1 0 0xd5d0 - 0xddcf (0x800) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:17:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (--) PCI:*(1:0:0) unknown vendor (0x1106) unknown chipset