Re: [gentoo-user] bash: genfun_has_readline
>Hello list, > >I'm seeing this every time I chroot into my rescue system: > ># chroot /mnt/rescue /bin/bash >bash: genfun_has_readline: command not found > >Google results suggest that the genfun is defined in the new version of >bashrc, >but it isn't on any of my systems, even one ~amd64. > >The same thing happened when I started a new build from stage-3, when I >chrooted into the nascent system. > >Clues, anyone? https://bugs.gentoo.org/935016 May have relevant information. DaveF > >-- >Regards, >Peter. > > > >
Re: [gentoo-user] Instrumenting emerges
>Hello list, > >Has anyone here developed a utility to record the one-minute load average once >per minute and log the results? The first bit is easy: just cat /proc/loadavg, >but the logging has me stumped for the moment. while [ true ] ; do cat /proc/loadavg |logger; sleep 60; done But you will want to read man logger to see where/how to direct the logging to somewhere more convenient than default. DaveF > >I see there's a QT-Charts module, but my impression is that it's a >programmer's tool. > >Ideas? > >-- >Regards, >Peter. > > > >
Re: [gentoo-user] Systemd query ...
>Le lun. 15 mai 2023 à 11:58, Wols Lists a écrit : > >> Nothing to do with but sparked by the Apache problem ... >> >> One of the emails mentioned that the "ExecStop" section didn't appear to >> be working ... That's caused me considerable grief in a systemd config >> file I've written ... >> >> Basically, somebody else added an ExecStop section - and all hell broke >> loose. It seemed to be firing on boot :-( And the service in question - >> ScarletDME - seemed to be killing processes at random, like DoveCot ... >> >> Okay, accidentally killing processes it shouldn't is probably down the >> fork/exec code in ScarletDME, I haven't dug into it to know, but systemd >> should not be triggering the stop in the first place. Has anybody else >> encountered anything like this? >> >> Sorry I'm not likely to respond quickly to say "solved", as I need to >> get "in the mood" to get back to debugging, but if anybody has any hints >> and tips, they'd be appreciated, and it might shed some light on that >> Apache problem :-) >> >> Cheers, >> Wol >> >> >Hi Wol, > >It was very difficult to get Apache working with systemd Gentoo. >No apache2.service found with apache installation. >so i looked at the Linux Mint OS to copy the apache2.service. >These commands > >ExecStart=/usr/sbin/apachectl start >ExecStop=/usr/sbin/apachectl graceful-stop >ExecReload=/usr/sbin/apachectl graceful > >did not work at all... >BUT, >By manually launching /usr/bin/apache2ctl, it worked. > On my gentoo system apache is installed in /usr/sbin as apache2 and apache2ctl ^ It also installs /lib/systemd/system/apache2.service which references the above files in a "gentoo-ish" way. The Linux Mint service file you list above refers to apache without the "2". Perhaps this shedd some light on your problem. DaveF >So i wrote a little simple bash script /usr/bin/op_apache > >#!/bin/bash > >case ${1} in >"start") >apache2ctl >;; >"stop") >killall apache2 >;; >"restart") >killall apache2 >sleep 1 >apache2ctl >;; >esac > >And in apache2.service, i put : > >ExecStart=/usr/bin/op_apache start >ExecStop=/usr/bin/op_apache stop >ExecReload=/usr/sbin/op_apache restart > >Now it works fine, but what a headache ! > >Cheers, > >-- >Jacques >
Re: [gentoo-user] Converting shell globs to regular expressions
>Greetings, > >does anybody know about some command to convert shell globs (shell pat- >terns) into regular expressions? Back in the old Unix days there was a >"glob" command, but "e-files" only turns up a GNU library. Would one of the functions in dev-perl/Text-Glob do what you need? DaveF > >I am aware of Python's "fnmatch.translate()" function, but this -- of >course -- returns a Python style regular expression which I can't use >together with "grep" or "gawk". So using this function would require >moving and converting the "grep" and "gawk" specific code from my Shell >script into a separate Python script. This would be doable, if neces- >sary, but I would prefer staying with just my Shell script. > >Any pointers heartily welcome :-) > >Sincerely, > Rainer >
Re: [gentoo-user] mailing list problem?
>I've recently gotten a few of my usual "Bouncing messages" messages >from the mailing list, but when I go to the archives to see if I can >identify the problematic messages, I don't see anything since the >middle of March. I've filed a bug (https://bugs.gentoo.org/903753) a >few days ago, but no response yet. > >Any thoughts or suggestions? The planned move of the gentoo services to new hardware seems to be taking longer that anticipated. See https://infra-status.gentoo.org/ Other than that, wait patiently.:) DaveF > >Thanks. > >Jack >
Re: [gentoo-user] Getting printer working, the road of Pain.
>On Thursday, 8 September 2022 21:40:25 BST Wols Lists wrote: >> On 08/09/2022 21:24, Lee wrote: >> > Who needs to go to the hassle maintaining a printer of their own, buying >> > cartridges, paper etc? I set up an online account at my neighborhood >> > Kinkos, and I just upload whatever docs I need and they print out in HD >> > whatever I need for pennies a page. Ymmv. >> >> YMMV. But if your neighbouhood Kinkos is fifty miles away your mileage >> most definitely does vary :-) > >What is a Kinkos? Was a copy shop chain. See https://en.wikipedia.org/wiki/FedEx_Office DaveF > >-- >Regards, >Peter. > > > >
Re: [gentoo-user] gcc 12.1.1 compile error on loongson2f Yeeloong
>Dear friends, I am updating the gentoo mip-n32 system on my Yeeloong >netbook. During updating of the @world, it began to update the gcc >12.1.1 from gcc 11.3.0 which is also the one doing the compilation. And >after a long-time compilation, it stops with error messages: " .. Hmm. 1G ram and 1G swap is not much memory for building gcc. You could check dmesg and syslog for out-of memory kill messages occurring during your builds. It would be easy to try again specifying MAKEOPTS="-j1". Also make sure that you have no unnecesary other processes running during the build - especially memory hogs like a web browser. You could add swap, but if you are doing much swapping it will be intolerably slow. I would also arrange for some extra cooling of the laptop just in the load is causing overheating. DaveF > > >rm gfdl.pod gcc.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod >gpl.pod cpp.pod gcov.pod lto-dump.pod make[2]: *** [Makefile:5000: >all-stage2-gcc] Error 2 make[1]: *** [Makefile:22474: stage2-bubble] >Error 2 make: *** [Makefile:22697: bootstrap-lean] Error 2 * ERROR: >sys-devel/gcc-12.1.1_p20220625::gentoo failed (compile phase): * emake >failed * * If you need support, post the output of `emerge --info >'=sys-devel/gcc-12.1.1_p20220625::gentoo'`, * the complete build log and >the output of `emerge -pqv '=sys-devel/gcc-12.1.1_p20220625::gentoo'`. >* The complete build log is located at >'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log'. >* The ebuild environment file is located at >'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/environment'. >* Working directory: >'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/build' * S: >'/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-12-20220625' >* Please include >/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/work/gcc-build-logs.tar. >bz2 in your bug report. * > > Failed to emerge sys-devel/gcc-12.1.1_p20220625, Log file: > > '/var/tmp/portage/sys-devel/gcc-12.1.1_p20220625/temp/build.log' " I >also tried to emerge 11.3.1, but it still stoped at the compile stage. >But I forgot to save the enviroment. > > >Any help? The necessary log files are attached. Thanks. >>> application/x-gzip attachment, name=buildlogs-12.1.1.tar.gz >>> application/x-gzip attachment, name=buildlogs-11.3.1.tar.gz
Re: [gentoo-user] problem emerging virt-manager 4.0.0
>Hi. In today's world update, I get the following strange output when >trying to emerge virt-manager. I am not even sure what this means. Small consolation, no great help, but you are not alone. See https://bugs.gentoo.org/836645 >From the bug title maybe downgrading dev-python/setuptools would be a workaround. DaveF > Configuring source in /var/tmp/portage/app-emulation/virt-manager-4.0.0/work/virt-manager-4.0.0 ... >python3.9 setup.py configure --default-graphics=spice >error: Multiple top-level packages discovered in a flat-layout: ['po', >'ui', 'man', 'data', 'virtinst', 'virtManager']. > >To avoid accidental inclusion of unwanted files or directories, >setuptools will not proceed with this build. > >If you are trying to create a single distribution with multiple >packages >on purpose, you should not rely on automatic discovery. >Instead, consider the following options: > >1. set up custom discovery (`find` directive with `include` or >`exclude`) >2. use a `src-layout` >3. explicitly set `py_modules` or `packages` with a list of names > >To find more information, look for "package discovery" on setuptools >docs. > * ERROR: app-emulation/virt-manager-4.0.0::gentoo failed (configure > phase): > * (no error message) > >Thanks in advance for any suggestions. > >-- >Your life is like a penny. You're going to lose it. The question is: >How do >you spend it? > > John Covici wb2una > cov...@ccs.covici.com >
Re: [gentoo-user] Re: Compile large packages as last package
>Thank you for your ideas! > >I was actually hoping for a neat hack with "/etc/portage/env/" and >"/etc/portage/package.env/", where you can set environment variables. Did you look at example 2 in https://wiki.gentoo.org/wiki//etc/portage/package.env ? It seems to address your problem. DaveF > >I will try out the following solution: > >$ < "/etc/portage/package.env/no_tmpfs.conf ># custom - 20181121 - rfischer: list packages, which are too big for >tmpfs >#app-emulation/qemu-kv no_tmpfs.conf >#app-office/libreoffice no_tmpfs.conf >#dev-java/icedtea no_tmpfs.conf >#dev-lang/ghc no_tmpfs.conf >#dev-lang/rust no_tmpfs.conf >#mail-client/thunderbird no_tmpfs.conf >#sci-libs/tensorflow no_tmpfs.conf >#sys-devel/gcc no_tmpfs.conf >#www-client/firefox no_tmpfs.conf >#www-client/ungoogled-chromium no_tmpfs.conf #throttle_make_emerge.conf > >$ < "${HOME}/bin/update.sh" >[...] >large_package_list=$(/bin/grep --extended-regexp --only-matching >"[a-z]+-[a-z]+\/[-0-9a-zA-Z]+" "/etc/portage/package.env/no_tmpfs.conf") >[...] >/usr/bin/emerge --ask --update --deep --newuse --tree --verbose >--exclude="${large_package_list//$'\n'/ }" @world >/usr/bin/emerge --ask --update --deep --newuse --tree --verbose @world > >-Ramon > >On 15/08/2021 17:48, Nikos Chantziaras wrote: >> On 14/08/2021 22:20, Ramon Fischer wrote: >>> Is there any way to tell "portage", that packages like "qtwebengine", >>> "(ungoogled-)chromium", "firefox" and so on are always compiled as >>> last package? >> >> The simplest way is to exclude those packages in the first update, and >> then allow them in the second: >> >> emerge -uDU @world --exclude "qtwebengine firefox chromium" && emerge >> -uDU @world >> >> The dependency tracker of portage will of course also exclude packages >> that depend on the excluded packages, unless they themselves have >> updates pending. In that case, they *might* get built twice; once >> against the current version of the excluded packages, and then perhaps >> again on the second run, if there's rebuild triggers involved. >> >> Most of the time though, you won't run into cases of redundant >> rebuilds. Rebuild triggers are not very common. >> >> > >-- >GPG public key: 5983 98DA 5F4D A464 38FD CF87 155B E264 13E6 99BF > > > >>> application/pgp-signature attachment, name=OpenPGP_signature
Re: [gentoo-user] Radeon navi cards and opencl
>On Monday, 30 August 2021 16:08:27 BST Peter Humphrey wrote: >> Hello list, >> >> Does anyone know whether AMD intend to make their navi cards usable with >> opencl under Linux? I have a Radeon Pro W5500, which is a navi 14 card, and >> from what I can see neither rocm-opencl nor amdgpu-pro-opencl can drive it. >> >> Rather spoils the point of upgrading to it. > >AMD have published Linux drivers on their website, but in RPM and .deb >formats. I tried one anyway, but installation stops immediately with >'unsupported OS'. Not surprising, of course, but is there any way of porting >and archive full of .debs so that it can be used in Gentoo? app-arch/deb2targz app-arch/rpm2targz perhaps? And you get to keep all the pieces if the expected APIs do not match the actual APIs. :) DaveF > >-- >Regards, >Peter. > > > >
Re: [gentoo-user] Re: File transfer via USB?
>On 4/25/21 12:14 PM, Grant Edwards wrote: >> Nope. Many years ago I used UUCP a number of times for "production" >> projects involving data gathering from remote systems via dial-up. > >:-) > >> 25+ years ago, I wrote an article about one of those projects for >> Linux Journal. > >Can you narrow that down any more? I'd like to go find a copy of it and >read it. A quick Duckduckgo search for "linux journal" grant edwards yields https://www.linuxjournal.com/article/2880 Still available. Reading it takes me back... DaveF
Re: [gentoo-user] SSSD and nsupdate installation issue
>Hey all, > >I've been trying to install SSSD on my Gentoo laptop over the past week >and keep getting stuck at the same spot. I've tried 2.2.0-r1, 2.3.1-r2, >and even 2.4.2 - all are failing during initial configuration, claiming >that "nsupdate does not support 'realm'". I've manually run the Autoconf >script and it doesn't seem to find this issue with nsupdate, so I'm >really starting to scratch my head. Admittedly, my knowledge of the >Gentoo package build process is lacking and after exhausting my >google-foo I now climb the mountain in search of guidance. > >The dependencies and flags for SSSD seem pretty straightforward, so not >sure what could be causing this. Any pointers (or commiseration) would >be much appreciated. > >A few snippets below: > >checking for executable nsupdate... yes >checking for nsupdate 'realm' support'... no >configure: error: nsupdate does not support 'realm' > >environment, line 3426: Called econf '--localstatedir=/var' >'--runstatedir=/run' '--with-pid-path=/run' >'--with-plugin-path=/usr/lib64/sssd' >'--enable-pammoddir=//lib64/security' >'--with-ldb-lib-dir=/usr/lib64/samba/ldb' >'--with-db-path=/var/lib/sss/db' >'--with-gpo-cache-path=/var/lib/sss/gpo_cache' >'--with-pubconf-path=/var/lib/sss/pubconf' >'--with-pipe-path=/var/lib/sss/pipes' >'--with-mcache-path=/var/lib/sss/mc' >'--with-secrets-db-path=/var/lib/sss/secrets' >'--with-log-path=/var/log/sssd' '--with-os=gentoo' >'--with-nscd=/usr/sbin/nscd' '--with-unicode-lib=glib2' >'--disable-rpath' '--sbindir=/usr/sbin' '--enable-local-provider' >'--without-kcm' '--without-secrets' '--with-samba' >'--with-smb-idmap-interface-version=6' '--enable-cifs-idmap-plugin' >'--without-selinux' '--without-semanage' '--enable-krb5-locator-plugin' >'--disable-pac-responder' '--with-nfsv4-idmapd-plugin' '--enable-nls' >'--with-libnl' '--with-manpages' '--with-sudo' '--with-autofs' >'--with-ssh' '--disable-valgrind' '--without-python2-bindings' >'--without-python3-bindings' '--with-initscript=sysv' > >Best, > >Alex The problem seems to be described in this bug report: https://bugs.gentoo.org/679838 It also describes a workaround (set FEATURES=-network-sandbox). DaveF
Re: [gentoo-user] package updated rss feed not working
>Lets try this again, 1st mail did not seem to get through?! > It got through to my part of tyhe world. > >On 2021-01-30 11:29, smurfd wrote: >> hey >> >> since a while back the rss feed : >> https://packages.gentoo.org/packages/updated.atom >> >> is not working. today i looked into it, i get : 429 Too Many >> Requests if i go to that page. >> >> just fyi >> >> br smurfd >> A visit to https://infra-status.gentoo.org reveals the following information: packages.gentoo.org Atom feeds broken. packages.gentoo.org is having some performance problems. We believe the root cause is Atom feeds causing expensive queries and we have disabled the feeds. If you experience a 429 error, it is likely due to this service change. We are working on resolving this; but it may be a few weeks. Fri, 01 Jan 2021 00:00:00 GMT No ETA for service recovery available. DaveF
Re: [gentoo-user] sci-electronics/ngspice-27-r1 missing tcl
>Neil Bothwick: >> On Wed, 16 Dec 2020 18:30:47 +0100 (CET), k...@aspodata.se wrote: >> >> > What can I do to make ./configure below use the suggested option ? >> > >> > sci-electronics/ngspice-27-r1's build log contains: >> > >> > checking for tclConfig.sh... >> > can't find Tcl configuration script "tclConfig.sh" >> > Should you add --with-tcl=/usr/lib64 to ./configure >> > arguments? >> >> Try EXTRA_ECONF="--with-tcl=/usr/lib64" emerge -1a ngspice > > According to: >https://wiki.gentoo.org/wiki/Project:AMD64/Multilib_layout >eselect news read 34 > > gentoo now uses /usr/lib64. Tcl installs the program in /usr/lib64: ># grep /usr/lib64/tclConfig.sh /var/db/pkg/dev-lang/tcl-8.6.8/CONTENTS >obj /usr/lib64/tclConfig.sh 854158d4603ecea0e98975dac780e04f 1581626600 > > so if ngspice doesn't find tclConfig.sh, shouldn't that be considered > a bug ? Don't know. Is there a reason why ngspice-27-r1 in particular is required? I added =sci-visualization/xgraph-12.1-r4 xgraph to package.license sci-electronics/ngspice ~amd64 sci-visualization/xgraph ~amd64 to package.accept_keywords and sci-electronics/ngspice tcl to package.use And emerge -1 ngspice built without any complaints. (And included lots of tcl stuff.) It runs, but I have no data to test it with, nor inclination to try to learn to use it. DaveF > >Regards, >/Karl Hammar > >
Re: [gentoo-user] emerge @world output unfamiliar. Am I updated?
>On 2020-10-02 10:45, n952162 wrote: >> Have I successfully updated my system? >> >> I ran this command: >> >> emerge \ >> -v \ >> --verbose-conflicts \ >> --deep \ >> -update \ >> --changed-use \ >> --keep-going \ >> --with-bdeps=y \ >> --changed-deps \ >> --backtrack=100 \ >> @world >> >> and got tons of stuff that looks like spurious debugging/tracing info Probably not. And a good thing too. Assuming the above is an accurate transcription of the command you used. -update is definitely NOT the same as --update. -update is equivalent to -u -p -d -a -t -e so --update --pretend --debug --ask --tree --empty-tree --debug, --tree produce voluminous output, --empty-tree says rebuild everything. Hope this helps. DaveF
Re: [gentoo-user] Simple replacement for "getmail"?
>On Wed, 22 Jul 2020 01:02:43 -0400, Walter Dnes wrote: > >> Would "fetchmail" work as a drop-in replacement for getmail here? Are >> there any better, simpler solutions? > >I switched to getmail years ago because of frustrations with fetchmail. >At the moment I have getmail in my overlay and unmasked so I'm still >using it, but a comparable alternative would be welcome. getmail6 is a fork of getmail-5.14. The project is on github https://github.com/getmail6 It is early days but it is currently working for me fetching from POP3, POP3 with SSL, and IMAP with ssl. My description of what I did to get it into my overlay is shown at https://github.com/getmail6/getmail6/issues/7#issuecomment-661534001 The instructions in the README say how to install it in a directory of your choice. DaveF > > >-- >Neil Bothwick > >The considered application of terror is also a form of communication. > >>> application/pgp-signature attachment
Re: [gentoo-user] arpwatch changed syntax?
>hi. > > >background: --- > >previously, i used to run it by this: > >> arpwatch -i enp7s0 -m cave...@domain.com -s /usr/sbin/sendmail > >but now, after some update, apparently this doesn't work any more. > >what seems to have changed is: > >* "-m" is replaced by "-w" or "-W". * "-s" doesn't specify sendmail >path, but is rather only a flag to suppress "reports sent by email". > >if i update the command into: > >> arpwatch -i enp7s0 -w cave...@domain.com No answers to your questions below, but you could try PATH=/usr/sbin:$PATH arpwatch -i enp7s0 -w cave...@domain.com and see if that solves your problem. DaveF > >then, it runs normally, but, it fails to send emails, with this error: > >> execl: sendmail: No such file or directory > >`whereis sendmail`: > >> sendmail: /usr/sbin/sendmail /usr/lib/sendmail /usr/lib64/sendmail >/usr/share/man/man1/sendmail.1.bz2 > > >questions: -- > >Q1: what happened that caused this syntax change? e.g. is it an update >from upstream? or is it a totally new app written by other devs? or am i >hallucinating (pretty sure it used to work tho)? > >Q2: is there any better tool to monitor arps and to email me when >interesting things happen? > >thanks a lot for your time. > >rgrds, cm. > >
Re: [gentoo-user] Console serial terminal/console with command history?
>On 05/22/2018 12:45 PM, David M. Fellows wrote: >> Since you want to blast to the past... kermit may do what you >> need. Back in the day it connected everything to everything. >> See http://www.kermitproject.org/ emerge ckermit. > >Are you advocating kermit as a protocol or as a terminal (emulator) client? As a terminal emulator that has a lot of configurabilty. > >> expect might also be twisted to do what you need. It is also in portage. > >~shudder~ Yes, but.. you can do some neat things with it. DaveF
Re: [gentoo-user] Console serial terminal/console with command history?
>Hi > >I am currently exploring Mecrisp-Stellaris FORTH on a STM32F103C8 uC. > >To communicate with the FORTH-system I use a serlal terminal console >like picocom. > >Since I am still learning this quirky though fascinating language I >really would appreciate a commandline history. > >For that I tried picocom and picocom with rlfe / rlwrap, neocon, >screen, tio. > >None worked and/or has a fixed handling of CR<=>LF, which leads >to an > ugly > output. > >Is there any serial terminal/console (no gui), which has a command >history of some sort and a configurable handling of cr<=>lf? Since you want to blast to the past... kermit may do what you need. Back in the day it connected everything to everything. See http://www.kermitproject.org/ emerge ckermit. expect might also be twisted to do what you need. It is also in portage. DaveF > >Thanks for any help in advance -- the FORTH will be with you! >Cheers >Meino > > >
Re: [gentoo-user] media-sound/podracer doesn't name downloaded podcasts
>Hello, > >As per my thread a month ago [1], I've now installed Podracer and gave >it a spin last night. > >I started by trying to download NPR's Planet Money podcast: >https://www.npr.org/sections/money/ > >I tried 3 different URLs that I found on that page, none of them worked: > >• https://www.npr.org/feeds/127413729/feed.json >• https://www.npr.org/podcasts/510289/planet-money/ >• https://www.npr.org/rss/rss.php?id=127413729 > >The podcast is also listed in iTunes, I found: >https://itunes.apple.com/us/podcast/planet-money/id290783428 > >Using that URL in my .podracer/subscriptions, Podracer downloaded 300 >mp3 files, I assume every Podcast in the show's archive. > >However the files are named by ID, which is meaningless to humans: > >$ ls podcasts/2018-02-24/ | head 20150424_blog_pmoney.mp3 >20150429_blog_pmoney.mp3 20150501_blog_pmoney.mp3 >20150506_blog_pmoney.mp3 20150508_blog_pmoney.mp3 >20150513_blog_pmoney.mp3 20150516_blog_pmoney.mp3 >20150522_blog_pmoney2.mp3 20150522_blog_pmoney.mp3 >20150527_blog_pmoney.mp3 $ Those look like dates to me. Probably the date the program was first aired. DaveF > >If anyone has any suggestions, I'd be grateful. I'll perhaps try Flexget >later today if I haven't thought of anything else. > >Stroller. > > > > >[1] >https://archives.gentoo.org/gentoo-user/message/bcd7c0ae62e60a0583f10ae3 >daf7f0e4 > >
Re: [gentoo-user] boost-1.63 dependency confusion
>The confusion is all mine, because I cannot decipher what is masking dev-util/ >boost-build-1.63: >= ># emerge -uaNDv world > >These are the packages that would be merged, in order: > >Calculating dependencies... done! > >Total: 0 packages, Size of downloads: 0 KiB > >!!! The following update has been skipped due to unsatisfied dependencies: > >dev-libs/boost:0 > > selected: (dev-libs/boost-1.62.0-r1:0/1.62.0::gentoo, installed) > skipped: (dev-libs/boost-1.63.0:0/1.63.0::gentoo, ebuild scheduled for >merge) (see unsatisfied dependency below) > >!!! All ebuilds that could satisfy "=dev-util/boost-build-1.63*" have been >masked. >!!! One of the following masked packages is required to complete your request: >- dev-util/boost-build-1.63.0::gentoo (masked by: ) > >(dependency required by "dev-libs/boost-1.63.0::gentoo" [ebuild]) >= > > >>From what I see below dev-libs/boost-1.63.0 does not look masked to me: > >$ eix -l boost-build >[U] dev-util/boost-build > Available versions: >1.62.0-r1 ^t [examples python test > PYTHON_TARGETS="python2_7"] >["python? ( python_targets_python2_7 ) test? ( python_targets_python2_7 )"] >1.63.0^t [examples python test > PYTHON_TARGETS="python2_7"] >["python? ( python_targets_python2_7 ) test? ( python_targets_python2_7 )"] > ~1.65.0^t [examples python test > PYTHON_TARGETS="python2_7"] >["python? ( python_targets_python2_7 ) test? ( python_targets_python2_7 )"] > Installed versions: 1.62.0-r1^t(09:28:37 01/28/17)(-examples -python - >test PYTHON_TARGETS="python2_7") > Homepage:http://www.boost.org/doc/tools/build/index.html > Description: A system for large project software construction, >simple to use and powerful >== > > >== >$ eshowkw boost-build >Keywords for dev-util/boost-build: > | | u | > | a a p a n r s | n | > | l m h i p r m m i i s p | e u s | r > | p d a p a p c x m i 6 o s 3 a | a s l | e > | h 6 r p 6 p 6 8 6 p 8 s c 9 s r | p e o | p > | a 4 m a 4 c 4 6 4 s k 2 v 0 h c | i d t | o >-+-+---+--- >[I]1.62.0-r1 | + + + + + + + + + ~ o o o ~ ~ + | 6 o 0 | gentoo > 1.63.0| + + + ~ + + + + ~ ~ o o o ~ ~ ~ | 6 o | gentoo > 1.65.0| ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ o o o ~ ~ ~ | 6 o | gentoo >=== > >I see that 1.63.0 and 1.65.0 have no slot defined, but I'm not sure what is >causing this. > >-- >Regards, >Mick This is caused by a portage bug. See b.g.o #554838 Updating to unstable portage-2.3.13 resolved the problem for me. DaveF
Re: [gentoo-user] How do you emerge emacs 25 with xwidgets support?
> > >On 2017-04-20 14:48, Raffaele Belardi wrote: >> Danny YUE wrote: >Still not working. > >BTW I got: >~ $ euse -i -l xwidgets >local use flags (searching: xwidgets) > >[- ] xwidgets >app-editors/emacs: Enable use of GTK widgets in Emacs buffers >(requires GTK3) > (18) 18.59-r11 [gentoo] > (23) 23.4-r14 [gentoo] > (23) 23.4-r15 [gentoo] > (24) 24.4-r4 [gentoo] > (24) 24.5-r3 [gentoo] >[+P ] (25) 25.1 [gentoo] >[+P ] (25) 25.2_rc1 [gentoo] >[+P ] (25) 25.2_rc2 [gentoo] > >[- ] xwidgets >app-editors/emacs-vcs: Enable use of GTK widgets in Emacs buffers >(requires GTK3) >[- ] (25) 25.1.91 [gentoo] >[- ] (25) 25.2. [gentoo] >[- ] (26) 26.0. [gentoo] > >It seems strange...euse tells me there is a xwidgets USE for emacs, but >equery says something different. > >Weird... app-editors/emacs and app-editors/emacs-vcs are different packages (with different use flags). DaveF > >Danny >
Dale: Re: [gentoo-user] flash plugin in seamonkey, user problem
Forwarded per Dale's request DaveF --- Begin Message --- David M. Fellows wrote: >> Neil Bothwick wrote: >>> On Thu, 3 Nov 2016 01:25:14 -0500, Dale wrote: >>> >>>> [I--] [??] www-plugins/adobe-flash-11.2.202.635:0 >>>> [IP-] [ ] www-plugins/adobe-flash-23.0.0.205:22 >>> >>>> Don't ask me >>>> how two versions can be installed at the same time tho. I dunno. I >>>> don't think it is supposed to do that for this package tho. >>> They are in different slots, notice the slot number at the end of the >>> atom, slot 0 for the older one and slot 22 for the newer one. >>> >>> You clearly don't have the older slot in @world or it would have been >>> updated, the only slot 0 version in the tree is 11.2.202.643 so I would >>> have expected depclean to remove this if it were no longer needed. >>> >>> >> >> That explains it. I didn't even think about the slots. I wasn't >> expecting it I guess. I just wonder how long I been using that old >> package instead of the new one. > To reiterate: > If you are using firefox and friends and relations, eg. seamonkey, > then you *need* to explictly emerge adobe-flash:0 so that it gets added > to your @world set. > > If you are using chromium > then you should explicitly emerge adobe-flash:22 > > Unless you are on amd_64 architcture and want to dig into installing the > freshplayerplugin firefox cannot use and will not recognize the flash > plugin provided by adobe-flash:22. > > flash is a soft runtime dependency of firefox. Portage does not seem to > track the dependencies. > > If you originally installed adobe-flash prior to the recent slotting > it will be in your world set as just adobe-flash. > Portage will diligently update this to the latest version as it comes along. > They will be the slot 22 versions. It does not automatically remove the > slot:0. > So firefox will use the aging slot:0 version resulting in the pesky warnings. > If you do a depclean emerge will remove the slot 0 version as unneeded which > leaves a firefox user with no flash. > > See https://wiki.gentoo.org/wiki/Adobe_Flash > > Last, but not least, all of the above statements are likely to become > false in the forseeable future due to the fact that Adobe has changed its > mind about how it supports flash on Linux and Gentoo will have to change its > packaging in some way. > >> At least I got rid of that pesky warning on every single video I tried >> to watch. That thing is annoying, which I guess is the point. > Yes, and deservedly so. > > DaveF >> Dale >> >> :-) :-) >> I think you are right. While youtube and some other video sites worked fine with the very new version, it appears I have at least one site I visit that wants the old version. I use a .gov website for my weather radar. Without the slot 0 version, it wouldn't load. Once installed, with the newer slot 0 version, it worked fine. I think the reason I, and maybe the OP as well, got the error message, since neither of us had it in the world file, it wasn't getting updated, even tho one was available. So, we do need to add it to the world file IF we use any sites that require the old version instead of the new and much improved crap that youtube and some other sites uses. ROFL I couldn't pass it up. Sorry. That way both slots gets updated and not just the latest and greatest crap. I just realized that this is off list. You may want to add this to the thread for the OP. Plus, it may help someone else reading this as well. If you want, just forward this email to the mailing list. Dale :-) :-) --- End Message ---
Re: [gentoo-user] flash plugin in seamonkey, user problem
>Neil Bothwick wrote: >> On Thu, 3 Nov 2016 01:25:14 -0500, Dale wrote: >> >>> [I--] [??] www-plugins/adobe-flash-11.2.202.635:0 >>> [IP-] [ ] www-plugins/adobe-flash-23.0.0.205:22 >> >>> Don't ask me >>> how two versions can be installed at the same time tho. I dunno. I >>> don't think it is supposed to do that for this package tho. >> They are in different slots, notice the slot number at the end of the >> atom, slot 0 for the older one and slot 22 for the newer one. >> >> You clearly don't have the older slot in @world or it would have been >> updated, the only slot 0 version in the tree is 11.2.202.643 so I would >> have expected depclean to remove this if it were no longer needed. >> >> > > >That explains it. I didn't even think about the slots. I wasn't >expecting it I guess. I just wonder how long I been using that old >package instead of the new one. To reiterate: If you are using firefox and friends and relations, eg. seamonkey, then you *need* to explictly emerge adobe-flash:0 so that it gets added to your @world set. If you are using chromium then you should explicitly emerge adobe-flash:22 Unless you are on amd_64 architcture and want to dig into installing the freshplayerplugin firefox cannot use and will not recognize the flash plugin provided by adobe-flash:22. flash is a soft runtime dependency of firefox. Portage does not seem to track the dependencies. If you originally installed adobe-flash prior to the recent slotting it will be in your world set as just adobe-flash. Portage will diligently update this to the latest version as it comes along. They will be the slot 22 versions. It does not automatically remove the slot:0. So firefox will use the aging slot:0 version resulting in the pesky warnings. If you do a depclean emerge will remove the slot 0 version as unneeded which leaves a firefox user with no flash. See https://wiki.gentoo.org/wiki/Adobe_Flash Last, but not least, all of the above statements are likely to become false in the forseeable future due to the fact that Adobe has changed its mind about how it supports flash on Linux and Gentoo will have to change its packaging in some way. >At least I got rid of that pesky warning on every single video I tried >to watch. That thing is annoying, which I guess is the point. Yes, and deservedly so. DaveF > >Dale > >:-) :-) >
Re: [gentoo-user] Firefox 49.0 & Youtube....Video: Yes - Audio: No...
>Hi, > >this evening I updated GENTOO and a new firefox was installed. >This one seem completly to disable flash video finally... >since I got no video/audio at all. > >I disabled all flash-related addons of my firefox and >restarted it. > >Now I got a video ... but without any audio. >(I am running jackd by the way). >I check with qjackctl whether there were any >ports which I missed to connect...nothing. > >Hmmm... Did you also update adobe-flash and depclean at about the same time? Check which versions of adobe-flash are installed. For firefox on x86 you need adobe-flash:0 (currently 11.2.202.637) For firefox on amd64 you need either adobe-flash:0 (currently 11.2.202.637) OR adobe-flash:22 (currently 23.0.0.185) and freshplayerplugin. If you had adobe-flash in @world, unslotted, recent updates will have installed the 23 versions and a subsequent depclean would remove the 11 version. > >Is there any fix for that? > >Best regards, >Meino > > > > DaveF
Re: [gentoo-user] Keep alive within SSH session
On Sun, 17 Jul 2016 17:35:55 +0100 Mick wrote - > On Sunday 17 Jul 2016 16:20:30 Ralf wrote: > > On 07/17/2016 04:02 PM, Mick wrote: > > > I am not sure of the correct approach to achieve a prolonged remote= > > > > debugging session through SSH and avoid the SSH session timing out.= > What you need is expect or Expect or pexpect depending on your base scripting language preference - tcl, perl, or python. Dave F
Re: [gentoo-user] EAPI-6 dev-python ebuilds
On Mon, 21 Mar 2016 15:50:02 + James wrote - > Hello, > > I'm looking for some EAPI-6 examples or ebuild templates to > to review. > > > Is there a simple way to parse the portage tree for EAPI=6 examples > regardless if they are testing, stable or still just beta in a git > repo somewhere? Maybe a particular dev has already revised a group > of ebuilds and I just need to search out, by dev, a list of packages and > recent date of ebuilds to find a cache of EAPI=6 ebuilds to parse? > (not sure how to proceed on this hunch). > > > # qgrep -H EAPI=5 wstools-0.4.3.ebuild > dev-python/wstools/wstools-0.4.3.ebuild:EAPI=5 > > works for a specific file, but I want to parse the entire /dev-python > portion of the portage tree. Is there a more robust tool? Maybe I should > just patch the qgrep applet to suite my needs (hardest option)? cd /usr/portage/dev-python grep -r -l "EAPI=5" * |grep 'ebuild$' Not particularly efficient, but for "one-offs"... Dave F
Re: [gentoo-user] Record sizes of directories of a directory tree (huge) most efficiently
On Wed, 27 Jan 2016 17:25:37 +0100 meino.cra...@gmx.de wrote - > Hi, > > I want to determine the size of the contents of all directories of a > tree of directories on a hexacore AMD64 machine with 4GB RAM an one > harddisk (containing that tree) -- most efficiently (least time > consuming). > > I tried this (cwd = root of that tree): > > find . -depth -type d -print0 | xargs -0 -P 6 du -bsx {} \; > > . Is there any to do this faster? > > Thank you very much in advance for any help! > Best regards, > Meino man du Dave F
Re: [gentoo-user] [WAY OT] wanna learn networking internals
On Wed, 2 Sep 2015 14:19:24 -0300 Francisco Ares wrote - > --089e013a029e929a39051ec6e045 > Content-Type: text/plain; charset=UTF-8 > > Hi, > > Sorry for such WAY out of topic message, but Gentoo users are also way out > of regular computer users. > > I intend to learn more deep details about networking intrinsics, (packets, > ports, negotiation, UDP, multicast, unicast, TCP, ethernet, DHCP, > protocols, and so on) so I decided to recur to this list. Googling the > terms, just gets me to network administration and equipment interconnection. > > Any hints on web resources for this research? W. Richard Stevens wrote *the* books on internet protocols back in the days when the world was young. He died in 1999, so they are a bit dated, but most are available online as free pdfs. They are voluminous. Try google searchs "Richard Stevens" tcp and "Richard Stevens" unix network programming for links. Dave F
Re: [gentoo-user] missing dependencies
On Wed, 26 Feb 2014 08:12:35 -0300 Francisco Ares wrote - > --001a113311e686e7f304f34d4a39 > Content-Type: text/plain; charset="UTF-8" > > Hi All, > > It has been for a while, now: every now and then, when updating a perl > module, it fails to emerge. Checking the log, it is possible to see > something like this, when I tied to update dev-perl/File-MimeInfo : > > ... > Checking prerequisites... > requires: > ! File::BaseDir is not installed > ! File::DesktopEntry is not installed > ... > > Then I checked to see, and both dev-perl/File-BaseDir and > dev-perl/File-DesktopEntry are really not installed and are not requested > for the dev-perl/File-MimeInfo update. > > At first I thought it was a one and only case. But as time goes by, there > has been perl packages that refuse to emerge at first, and then, checking > the emerge log, finding missing modules and manually emerging them, > everything goes as it should. > > Does anyone have a clue on where did I miss them? You need to run perl-cleaner to rebuild perl modules after a perl update. emerge perl-cleaner if neecessary perl-cleaner --all -p to check and perl-cleaner --all do do the work. Dave F
Re: [gentoo-user] Re: 4 machines - no /dev/cdrom or /dev/dvd anymore
On Sat, 5 Jan 2013 12:44:07 -0800 Mark Knecht wrote - > On Sat, Jan 5, 2013 at 11:53 AM, Mark Knecht wrote: > > I think I touched on this a couple of weeks ago but never had time to > > dig in. At that time I thought this problem was only on one machine > > but now I see it's on every machine I've looked at this morning. Not a > > single machine has /dev/cdrom anymore, nor /dev/dvd or any of the > > other incantations that have existed forever. > > > > > OK, this is solved using udevadm and changing the > 70-persistent-cd.rules file to key off a different identifier. > > Old way: > #SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_PATH}=="pci-:00:1f.2-scsi-0:0:0:0", SYMLINK+="cdrom", > ENV{GENERATED}="1" > > New way: > SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", > ENV{ID_MODEL}=="Optiarc_DVD_RW_AD-7241S", SYMLINK+="cdrom", > ENV{GENERATED}="1" I had the same problem. Came to a different solution. Following for your amusement and edifcation are my notes taken as I debugged. ==2012-11-26 udev is not creating /dev/cdrom symlinks so all my scripts that use /dev/cdrom or attempt to moun /dev/cdrom fail. Not sure when this actually started happening. I last burned a dvd on Oct 23 so it was OK then. /etc/udev/roules.d/70-persistent-cdrom.rules is dated Oct 30. It looks plausible. Documentation implies that removing said file and rebooting will cause udev to recreate it "correctly". I was unable to cause it to be rebuilt, correctly or otherwise, in this manner. ==2012-11-27 Created /dev/cdrom -> /dev/sr0 symlink manually because burn script wants to mount /dev/cdrom on /mnt/cdrom. This time the backup copy/burn went flawlessly. I think udev is also causing problems. 70-persistent-cd.rules may be wrong for my current kernel I don't think the ID_PATH has scsi as a path anymore. ==2012-12-04 I syncd on Friday(Dec 1), but did not do emerge. Doing the regular upgrade emerge. new virtual/udev-171 I guess this is prep for the proposed udev fork. open-rc goes from 0.11.5 to 0.11.6 This might bear on cd.rules issue. But apparently not, there seems to be no change. No config files revdep-rebuild was clean udev should be restarted. (reboot might be better) On reboot 70-persistent-net.rules was created. It was the same as the old one. No cd rules file. I then inserted my memorex usb stick that has a "cdrom" partition on it. Lo! a 70-persistent-cd.rules file appeared with 2 lines for the memorex. plus /dev/cdrom /dev/cdrw symlinks to sr1. If I pull the stick sr1, cdrom, and cdrw go away. They come back if I reinsert it. 70*cd.rules remains unchanged. Note: Running udevadm control --log-priority=info puts copious amounts of stuff into /var/log/everything/current Debug even more Remember to reset it to err when not experimenting. Findings: /lib/udev/rules.d/75-cd-aliases-generator.rules invokes /lib/udev/write_cd_rules to actually write the /etc/udev/rules.d/70-persistent-cd.rules file. for usb cdroms it calls it with "by-id" as an arg. Non usb device no arg which defaults to "by-path" in the callee. by-path requires $ID_PATH variable to have a value. Turns out that udevadm info --query=all --name=/dev/sr0 shows that for the built -in drive there is no BY_PATH variable set. (it is set for sr1 the usb stick!) So it looks like the write_cd_rules script bails with return code of 1 without actually writing anything. Solution to try: Copy /lib/udev/rules.d/75-cd-aliases-generator.rules to /etc/udev/rules.d and edit it there to invoke /write_cd_rules with "by-id" in both cases and see what happens. ==2012-12-05 Yess! Did above and it "just worked". My 70-persistent-cd.rules file now contains: # HL-DT-ST_DVDRAM_GH22NS70 () SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HL-DT-ST_DVDRAM_GH22NS70_K24B5GJ2632", SYMLINK+="cdrom", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HL-DT-ST_DVDRAM_GH22NS70_K24B5GJ2632", SYMLINK+="cdrw", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HL-DT-ST_DVDRAM_GH22NS70_K24B5GJ2632", SYMLINK+="dvd", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="HL-DT-ST_DVDRAM_GH22NS70_K24B5GJ2632", SYMLINK+="dvdrw", ENV{GENERATED}="1" # TD_ID_UFD_301B (pci-:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0) SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Memorex_TD_ID_UFD_301B_07630E9000EB-0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1" SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_SERIAL}=="Memorex_TD_ID_UFD_301B_07630E9000EB-0:0", SYMLINK+="cdrw1", ENV{GENERATED}="1" Modifying 75-cd-aliases-generator.rules has an advantage over Mark's solution in that it will automatically catch all installed cdrom- type devices and it should add the dvd rules as appropriate to the device's capabilities. Dave F