Re: [gentoo-user] PERL_FEATURES
Many thanks, that helped a lot! Now I have set only those features in the PERL_FEATURES entry that were installed before - the warning has gone and I hoped the correct version of perl is installed now. Helmut On 05/07/2024 08:29:28 PM, Jack wrote: On 2024.05.07 12:33, Helmut Jarausch wrote: Hi, according to the NEWS from today one has to set PERL_FEATURES in /etc/portage/make.conf. But how to do that? I've tried PERL_FEATURES="debug ithreads quadmath" but emerging dev-lang/perl-5.38.2-r3 I get * As of dev-lang/perl-5.38.2-r3, the useflags debug, ithreads, quadmath move into * a use-expand variable PERL_FEATURES, which should be set globally in make.conf. * It appears that you have not set this variable properly yet. Many thanks for hint, Helmut The section of the ebuild that decides whether or not to issue that warning is: pkg_pretend() { if \ ( use perl_features_ithreads && has_version ' ( ! use perl_features_ithreads && has_version ' ( use perl_features_quadmath && has_version ' ( ! use perl_features_quadmath && has_version ' ( use perl_features_debug&& has_version ' ( ! use perl_features_debug&& has_version ' then (issue the warning) As I read it (which may well be wrong) it is looking to see whether the value for each of the three items is the same by the old use flag and by the new PERL_FEATURES. Check how those three use flags are set for -r2 and that the value for PERL_FEATURES for -r3 matches for each.
[gentoo-user] PERL_FEATURES
Hi, according to the NEWS from today one has to set PERL_FEATURES in /etc/portage/make.conf. But how to do that? I've tried PERL_FEATURES="debug ithreads quadmath" but emerging dev-lang/perl-5.38.2-r3 I get * As of dev-lang/perl-5.38.2-r3, the useflags debug, ithreads, quadmath move into * a use-expand variable PERL_FEATURES, which should be set globally in make.conf. * It appears that you have not set this variable properly yet. Many thanks for hint, Helmut
Re: [gentoo-user] How to replay a backup system?
On 10/12/2023 07:09:35 PM, Neil Bothwick wrote: On Thu, 12 Oct 2023 18:54:10 +0200, Helmut Jarausch wrote: > from time to time - as was the case a few days ago - Gentoo updates > lead to an unbootable system. > I backup my system each day - using BTRFS snapshots. > > Now, only a few files on current system have changed; the rest of the > 400 GB root partition is unchanged. > Therefore I only have to replace these newer files by the versions > saved a day before. > > How can this be done efficiently? Unfortunately AFAIK rsync doesn't > have an option to copy only files which are > NEWER on the destination than the corresponding files in the backup. You can replace the original root subvolume with the snapshot. One way of doiing it is detailed at https://unix.stackexchange.com/questions/19211/how-to-create-a-snapshot-in-btrfs-and-then-rollback-to-it-after-some-work Thanks Neil, unfortunately my root FS is of type ext4, only my backup FS is of type BTRFS Helmut
[gentoo-user] How to replay a backup system?
Hi, from time to time - as was the case a few days ago - Gentoo updates lead to an unbootable system. I backup my system each day - using BTRFS snapshots. Now, only a few files on current system have changed; the rest of the 400 GB root partition is unchanged. Therefore I only have to replace these newer files by the versions saved a day before. How can this be done efficiently? Unfortunately AFAIK rsync doesn't have an option to copy only files which are NEWER on the destination than the corresponding files in the backup. Many thanks for a hint, Helmut
Re: [gentoo-user] file system for new machine
On 04/27/2023 02:23:01 PM, Philip Webb wrote: I've built & tested the new machine I was planning in 2022 & am at the point of designing the partitions. For many years, I've used Reiserfs, but it is now obsolescent, so I need to choose an alternative. Reiserfs seemed appropriate for a system with a large number of small files. Ext4 seems to be used by well-known binary distros. What would others recommend ? I have switched to BTRFS for all file systems except root (being cautious). The main reason is BTRFS' snapshot feature which allows me to keep many backup versions without consuming much space. I have never had any failure with BTRFS so far. Helmut.
[gentoo-user] torbrowser : proxy server is refusing connections
Hi, I am totally new to "tor" I have installed torbrowser from the torbrowser overlay. When I start torbrowser, I get "Something Went Wrong" When I start torbrowser check.torproject.org I get The proxy server is refusing connections What am I missing? Many thanks for your help Helmut
[gentoo-user] torbrowser : proxy server is refusing connections
Hi, I am totally new to "tor". I have installed torbrowser from the torbrowser overlay. When I start torbrowser I get "Something Went Wrong" If I start torbrowser check.torproject.org I get proxy server is refusing connections Are there any configuration I have to modify? Many thanks for your help Helmut
[gentoo-user] error: template with C linkage
Hi, for some of my (older) local ebuild I get the error template with C linkage What is the reason for this message? How can I change "C linkage" to "C++ linkage" Many thanks for a hint, Helmut
Re: [gentoo-user] git command within an ebuild fails - why?
Many thanks!!! Helmut On 09/23/2022 06:54:08 PM, tastytea wrote: On 2022-09-23 18:17+0200 Helmut Jarausch wrote: > Hi, > I'd like to write an ebuild for installing nim-. > Within "src_compile" > a shell script is executed which tries to invoke > > git clone -q --depth 1 -b master > https://github.com/nim-lang/csources_v1.git csources_v1 > > This fails with "Could not resolve host: github.com" > > When I excute the git command above within the source directory it > just works. > So, what's different when executing it within the ebuild. > Does "inherit git-r3" redefine something. > > Many thanks for hint, > Helmut > Network access is disabled in ebuild phase functions by FEATURES="network-sandbox". You can disable that by adding RESTRICT="network-sandbox" to your ebuild, but it's better to fix the build script instead. I see stefantalpalaru has a solution for this: <https://github.com/stefantalpalaru/gentoo-overlay/blob/master/dev-lang/nim/nim--r13.ebuild#L29> Kind regards, tastytea
[gentoo-user] git command within an ebuild fails - why?
Hi, I'd like to write an ebuild for installing nim-. Within "src_compile" a shell script is executed which tries to invoke git clone -q --depth 1 -b master https://github.com/nim-lang/csources_v1.git csources_v1 This fails with "Could not resolve host: github.com" When I excute the git command above within the source directory it just works. So, what's different when executing it within the ebuild. Does "inherit git-r3" redefine something. Many thanks for hint, Helmut
Re: [gentoo-user] binutils broken ?
On 09/17/2022 01:58:09 PM, Helmut Jarausch wrote: I've just bin told to run binutils-config instead. This solves the problem as well. Hi, am I the only one where suddenly all binutils couldn't be invoked? My fix is cd /usr/x86_64-pc-linux-gnu/ ln -s binutils-bin/2.39 bin I hope this might help some of you, Helmut
[gentoo-user] binutils broken ?
Hi, am I the only one where suddenly all binutils couldn't be invoked? My fix is cd /usr/x86_64-pc-linux-gnu/ ln -s binutils-bin/2.39 bin I hope this might help some of you, Helmut
[gentoo-user] [offtopic] dual boot Windows 11 / Linux
Hi, I have purchased a new Laptop with Windows 11 pre-installed. I have managed to do (so far) - shrink the Windows partition (from within Windows since it's encrypted) - turned off secure boot to be able to boot a Linux rescue system from USB - created new partitions (boot, root and home) - copied a gentoo system from a similar laptop onto the root partition - reinstalled grub2 (after doing chroot) My problem now is that I can't select the Gentoo partition within BIOS since this partition isn't offered as a boot option. Many thanks for any hints or pointers, Helmut
[gentoo-user] Kernel 5.16.3 fails to boot
Hi, I have been built (and used successfully) nearly each kernel of the gentoo-source 5.x.x. I've copie the old config to the new kernel directory and did "make oldconfig" Suddenly with Kernel 5.16.{3,4,5} these kernels hang during boot. Has anybody made a similar bad experience? How can I find the culprit - hopefully without resorting to "git bisect"? Many thanks for some hints, Helmut. P.S. I am running an AMD Threadripper with several NVME devices.
Re: [gentoo-user] Gordian knot systemd / hwids
Many thanks Arve, reemerging sys-apps/hwids with -udev -systemd use flags solved it. Helmut On 11/29/2021 04:18:59 PM, Arve Barsnes wrote: On Mon, 29 Nov 2021 at 16:11, Helmut Jarausch wrote: > > Hi > systemd-249.6-r1 conflicts with sys-apps/hwids[udev] > > But when I remove the udev use flag, > emerge sys-apps/hwids gives > >The following REQUIRED_USE flag constraints are unsatisfied: > systemd? ( udev ) > > > So, I would have to remove sys-apps/systemd-249.6 first. > Is it save to > emerge -C sys-apps/systemd > > ? > Thanks for a hint, It seems like systems-249.6-r1 has removed support for hwids. There are references in the ebuild to systemd-hwdb, so I guess they have their own version. You need to remove the systemd USE flag from hwids to solve your knot. Regards, Arve
[gentoo-user] Gordian knot systemd / hwids
Hi systemd-249.6-r1 conflicts with sys-apps/hwids[udev] But when I remove the udev use flag, emerge sys-apps/hwids gives The following REQUIRED_USE flag constraints are unsatisfied: systemd? ( udev ) So, I would have to remove sys-apps/systemd-249.6 first. Is it save to emerge -C sys-apps/systemd ? Thanks for a hint, Helmut
Re: [gentoo-user] preserved-rebuild displays an error message only
On 11/22/2021 03:08:46 PM, Julien Roy wrote: emerge -pv --depclean dev-libs/imath Many thanks, Helmut
[gentoo-user] preserved-rebuild displays an error message only
Hi, emerge -vp @preserved-rebuild only displays emerge: there are no ebuilds to satisfy "dev-libs/imath:0". (dependency required by "@preserved-rebuild" [argument]) How to find out what requires dev-libs/imath:0 and how to fix that? Many thanks for a hint, Helmut
Re: [gentoo-user] [OT] how to delete a directory tree really fast
Many thanks to Rich, Miles, Vitor and Laurence for their hints on this subject. Especially the suggestion to use BTRFS Snapshots was very helpful. Finally I have come up with the following shell script for backing up my /home directory, comments are more than welcome, of course. (/HBackUp contains a BTRFS file system) #!/bin/zsh mount /HBackUp pushd /HBackUp NUM_TO_KEEP=5 if [ -d "ohome_$NUM_TO_KEEP" ] then btrfs subvolume delete "ohome_$NUM_TO_KEEP" fi if ! [ -f _RSync_Failed ] then for backup_no in $(seq $((NUM_TO_KEEP-1)) -1 1) do if [ -d ohome_$backup_no ] then backup_no_plus_1="$((backup_no+1))" mv $ohome_prev "ohome_$backup_no_plus_1" fi done if ! btrfs subvolume snapshot ohome ohome_1 then echo Sorry, creating snapshot ohome_1 failed 1>&2 exit 1 fi fi RSync_OK=False touch _RSync_Failed popd pushd /home if rsync -aqxAHSW --delete . /HBackUp/ohome/ then RSync_OK=True else case "$?" in 23) # This means some files gave permission denied - assume that's OK RSync_OK=True ;; 24) # This means one or more files disappeared RSync_OK=True ;; *) echo rsync failed. Exit code was $?" ;; esac fi popd cd /HBackUp case "$RSync_OK" in True) rm _RSync_Failed ;; False) cd / umount /HBackUp exit 1 ;; esac cd / umount /HBackUp
Re: [gentoo-user] [OT] how to delete a directory tree really fast
On 10/22/2021 06:15:58 PM, Vitor Hugo Nunes dos Santos wrote: The real solution would have been having a subvolume for the directory. Subvolume deletion on BTRFS is near instant. Same for ZFS with datasets, etc. Thanks! Is it possible to have a hard link from one subvolume to a different one? October 22, 2021 9:50 AM, "Rich Freeman" wrote: > On Fri, Oct 22, 2021 at 8:39 AM Miles Malone > wrote: > >> small files... (Certainly dont quote me here, but wasnt JFS the king >> of that back in the day? I cant quite recall) > > It is lightning fast on lizardfs due to garbage collection, but > metadata on lizardfs is expensive, requiring RAM on the master server > for every inode. I'd never use it for lots of small files. > > My lizardfs master is using 609MiB for 1,111,394 files (the bulk of > which are in snapshots, which create records for every file inside, so > if you snapshot 100k files you end up with 200k files). Figure 1kB > per file to be safe. Not a big deal if you're storing large files > (which is what I'm mostly doing). Performance isn't eye-popping > either - I have no idea how well it would work for something like a > build system where IOPS matters. For bulk storage of big stuff though > it is spectacular, and scales very well. > > Cephfs also uses delayed deletion. I have no idea how well it > performs, or what the cost of metadata is, though I suspect it is a > lot smarter about RAM requirements on the metadata server. Well, > maybe, at least in the past it wasn't all that smart about RAM > requirements on the object storage daemons. I'd seriously look at it > if doing anything new. > > Distributed filesystems tend to be garbage collected simply due to > latency. There are data integrity benefits to synchronous writes, but > there is rarely much benefit on blocking on delections, so why do it? > These filesystems already need all kinds of synchronization > capabilities due to node failures, so syncing deletions is just a > logical design. > > For conventional filesystems a log-based filesystem is naturally > garbage-collected, but those can have their own issues. > > -- > Rich
[gentoo-user] [OT] how to delete a directory tree really fast
Hi, Is there anything faster than rm -rf ? I'm using rync with the --link-dest= option. Since this option uses hard links extensively, both, and have to be on the same file system. Therefore, just re-making the file system anew, cannot be used. There are more than 55,000 files on some which is located on a BTRFS file system. Standard 'rm -rf' is really slow. Is there anything I can do about this? Many thanks for a hint, Helmut
[gentoo-user] Chromium Aw, Snap!
Hi, since a few days Chromium is broken here. Even deleting ~/.config/chromium I get this error message immediately after Chromium comes up. I have tried the version 88.0.4324.150 , 89.0.4389.40 and 90.0.4412.3 What might be the reason? Am I the only one with this problem? Thanks for a hint, Helmut
[gentoo-user] [offtopic] mount with correct SELinux context on Android
Hi, I hope someone here can help me with the following problem on the Linux environment Termux on my Android phone. My phone has not enough storage on the /data partition but lots of free space on my external SD card (adoptable storage) which contains an extfat (sdcardfs) file system which cannot be used under Termux (Linux) except for storing plain data files. Therefore I'd like to create a (big) file - say EXT.raw - there and mount it as a loop device. Under root (tsu in Termux) this is not a problem, but I cannot access this new device as non-root user in Termux. I don't know SELinux, but I have to mount that loop device with the proper SELinux-context to make it accessible as non-root user. How can I do this (or any pointers to documentation on this). Many thanks for a hint, Helmut
Re: [gentoo-user] Help! the new autofs-5.1.7 breaks my autofs configuration
On 01/30/2021 05:11:31 PM, Helmut Jarausch wrote: My previously working configuration had in /etc/autofs/auto.master the entry /- auto_local.autofs and /etc/autofs/auto_local.autofs had entries like /Src -fstype=btrfs,exec,suid,noatime :UUID=95c22160-112e-4020-81cc-4721cf241fd9 /home/jarausch/Gimp-fstype=bind,exec,suid,noatime :/Src/Src/Gimp After upgrading to version 5.1.7 on Jan/28th this configuration doesn't work any more. It looks as if :UUID= doesn't work any more. One has to use :PARTUUID=
[gentoo-user] Help! the new autofs-5.1.7 breaks my autofs configuration
My previously working configuration had in /etc/autofs/auto.master the entry /- auto_local.autofs and /etc/autofs/auto_local.autofs had entries like /Src -fstype=btrfs,exec,suid,noatime :UUID=95c22160-112e-4020-81cc-4721cf241fd9 /home/jarausch/Gimp-fstype=bind,exec,suid,noatime :/Src/Src/Gimp After upgrading to version 5.1.7 on Jan/28th this configuration doesn't work any more. Any hints are very much appreciated, Helmut
[gentoo-user] Browser have problems with illegal characters
Hi, if I try to save a web page containing an illegal character (like hookrace.net/blog/introduction-to-metaprogramming-in-nim/) several browser show an error (attached image) and cannot recover from it. I have no chance to change the filename. I have to 'xkill' it What can I do about this? (My locale is en_US.iso88591) Many thanks for a hint, Helmut
Re: [gentoo-user] strange ebuild problem
On 11/20/2020 05:50:11 PM, Mickaël Bucas wrote: Le ven. 20 nov. 2020 16:44, Helmut Jarausch <_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e> a ©crit : Hi, I have an ebuild containing inherit git-r3 and src_compile() { ./build_all.sh } The script build_all.sh contains [ -d csources ] || git clone --depth 1 _h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t When I try to build I get the strange error fatal: unable to access '_h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t_/': Could not resolve host: _g_i_t_h_u_b_._c_o_m But when I exec git clone --depth 1 _h_t_t_p_s_:_/_/_g_i_t_h_u_b_._c_o_m_/_n_i_m_-_l_a_n_g_/_c_s_o_u_r_c_e_s_._g_i_t in an xterm (i.e. without using 'ebuild') it succeeds. What's going on here? Many thanks for a hint, Helmut Hi Helmut I believe this is a consequence of the sandboxing of ebuilds. When I had the same problem with an ebuild trying to download many things from the Maven repository, I added the following lines inside the ebuild: # To enable Maven access to _h_t_t_p_s_:_/_/_r_e_p_o_._m_a_v_e_n_._a_p_a_c_h_e_._o_r_g_/_m_a_v_e_n_2 RESTRICT="network-sandbox" It is described (shortly) in "man 5 ebuild" This is forbidden in the Portage tree, but is allowed in your own overlay. Best regards Micka l Bucas Many, many thanks Micka. I'd never thought of that. Stay healthy, Helmut
[gentoo-user] strange ebuild problem
Hi, I have an ebuild containing inherit git-r3 and src_compile() { ./build_all.sh } The script build_all.sh contains [ -d csources ] || git clone --depth 1 https://github.com/nim-lang/csources.git When I try to build I get the strange error fatal: unable to access 'https://github.com/nim-lang/csources.git/': Could not resolve host: github.com But when I exec git clone --depth 1 https://github.com/nim-lang/csources.git in an xterm (i.e. without using 'ebuild') it succeeds. What's going on here? Many thanks for a hint, Helmut
Re: [gentoo-user] How to make Gentoo more cooperative?
On 10/14/2020 08:05:39 PM, Neil Bothwick wrote: On Wed, 14 Oct 2020 10:44:35 -0700, Mark Knecht wrote: > I could be wrong but I don't think tensorflow 2 supports python 3.9 > yet... > > https://www.tensorflow.org/install/ It doesn't, at least not from the portage ebuild: % eix -e tensorflow * sci-libs/tensorflow Available versions: (~)2.1.0 (~)2.2.0-r1 (~)2.2.0-r2 (~)2.3.1 {cuda mpi +python xla CPU_FLAGS_X86="avx avx2 fma3 fma4 sse sse2 sse3 sse4_1 sse4_2" PYTHON_TARGETS="python3_6 python3_7 python3_8"} Homepage:https://www.tensorflow.org/ Description: Computation framework using data flow graphs for scalable machine learning Thanks. I have created a local overlay of course. Tensorflow and all packages which it depends on have python3_9 in PYTHON_TARGETS. So, I just want 'emerge' to tell me why it is blocking python3.9. If I have forgotten to create a local overlay of some of its dependencies, 'emerge' should say me which dependency is missing python3_9. Helmut
[gentoo-user] How to make Gentoo more cooperative?
Hi, I'm trying to install sci-libs/tensorflow & Co for Python 3.9 (nearly all of system has been built for this version) I've tried emerge -v --deep --verbose-conflict but it just tells me to drop python_targets_python3_9 without telling me why. I have checked all Python dependencies to be installed for Python 3.9, but still ... Is there any way to find out why portage thinks it cannot installed tensorflow for Python 3.9 That problem is not specific to tensorflow. Many thanks for a hint, Helmut
Re: [gentoo-user] Terminus font for X11 : how to?
On 10/06/2020 11:12:02 PM, Jack wrote: On 2020.10.06 16:33, Helmut Jarausch wrote: Hi, I would like to use a Terminus font under X11. I have emerged media-fonts/terminus-font eselect fontconfig list show that 75-yes-terminus.conf is selected. Still xlsfonts doesn't show this font. What am I missing? Many thanks for a hint, Helmut Searching on "enable terminus font in xorg" the third hit is https://bbs.archlinux.org/viewtopic.php?id=164392 and what didn't work for that person (slight variant) did work for me: xset +fp /usr/share/fonts/terminal xset fp rehash Thanks Jack, that did help! But, why on earth isn't that done by Gentoo ? Helmut
[gentoo-user] Terminus font for X11 : how to?
Hi, I would like to use a Terminus font under X11. I have emerged media-fonts/terminus-font eselect fontconfig list show that 75-yes-terminus.conf is selected. Still xlsfonts doesn't show this font. What am I missing? Many thanks for a hint, Helmut
Re: [gentoo-user] ebuild : how to check for python version
On 08/11/2020 03:08:16 PM, Mike Gilbert wrote: On Sun, Aug 2, 2020 at 10:47 AM Helmut Jarausch <_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e> wrote: Hi, in an ebuild I have to apply a patch only if this package is installed for python3.9. The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) How can I check for Pythons version in src_prepare or similar functions. Many thanks for a hint, Helmut I would suggest creating a patch that can be applied unconditionally instead. That would imply different function definitions within an 'if / else' clause. I don't like this.
Re: [gentoo-user] ebuild : how to check for python version
On 08/02/2020 06:15:12 PM, Ramon Fischer wrote: Hi Helmut, maybe "python_is_python3"[1] will help? I am still new to creating ebuilds. :) -Ramon Thanks Ramon for this hint. I need to know which version of Python3 ( Python3.8 or Python3.9) and I could see how python_is_python3 helps here. Helmut
[gentoo-user] ebuild : how to check for python version
Hi, in an ebuild I have to apply a patch only if this package is installed for python3.9. The ebuild should work for PYTHON_COMPAT=( python3_{8,9} ) How can I check for Pythons version in src_prepare or similar functions. Many thanks for a hint, Helmut
[gentoo-user] emerge should tell me the reason for not accepting a PYTHON_TARGET
Hi, I'm on the way to rebuild all packages using Python to be built with Python3.9, as well I have created the corresponding ebuilds in a local overlay. But many times, emerge cannot proceed because one of the dependencies hasn't an ebuild for Python3.9, yet. Emerge tries to disable python3.9 for that package by an entry in /etc/portage/package.use. Looking at the ebuild one finds a dependency for a package which cannot be built for Python3.9, yet. How can I make emerge tell me this type of conflict? I'm using --verbose-conflict --autounmask-backtrack=y already. Many thanks for a hint, Helmut
Re: [gentoo-user] circular dependency - please help
On 06/21/2020 12:21:08 PM, Helmut Jarausch wrote: Hi, I do need python2.7 since I do need media-gfx/gimp. Unfortunately, I have masked dev-python/setuptools version >= 47.0.0 too late. Now I cannot emerge dev-python/setuptools-46.4.0-r1 since this needs dev-python/pbr which in turn cannot be installed without setuptools for Python2.7. How can I get out of this dilemma? I have been lucky. dev-python/pbr is a pure Python package. I've just copied from /usr/lib/python3.8/site-packages/pbr to /usr/lib64/python2.7/site-packages/pbr and removed all __pycache__ folders
[gentoo-user] circular dependency - please help
Hi, I do need python2.7 since I do need media-gfx/gimp. Unfortunately, I have masked dev-python/setuptools version >= 47.0.0 too late. Now I cannot emerge dev-python/setuptools-46.4.0-r1 since this needs dev-python/pbr which in turn cannot be installed without setuptools for Python2.7. How can I get out of this dilemma? Many thanks for a hint, Helmut
Re: [gentoo-user] How to replace vala:0.46 by vala:0.48
On 04/08/2020 09:47:25 PM, Michael Orlitzky wrote: On 4/8/20 2:26 PM, Helmut Jarausch wrote: > Hi, > Having installed vala:0.48 I still cannot un-emerge vala:0.46 > because gnome-extra/evolution-data-server depends on it. > But I cannot see that dependency in the ebuild. > > What am I missing? > When these changes (affecting RDEPEND) are made without a new revision, commit cf84f5f2ec43468f080513821b83220a79801ecf Author: Mart Raudsepp Date: Wed Feb 12 17:47:54 2020 +0200 vala.eclass: raise VALA_MAX_API_VERSION to 0.48 Signed-off-by: Mart Raudsepp it breaks dependency resolution for everyone who has the package installed. This is already against our written policy, but not in practice, because QA and council members regularly do it themselves. Unless a majority of candidates run for council on the platform of actually doing a good job and/or following the rules, we all just have to live with it forever. Thanks, it turned out that there was an old vala eclass in my local overlay.
[gentoo-user] How to replace vala:0.46 by vala:0.48
Hi, Having installed vala:0.48 I still cannot un-emerge vala:0.46 because gnome-extra/evolution-data-server depends on it. But I cannot see that dependency in the ebuild. What am I missing? Thanks for a hint, Helmut
[gentoo-user] Gentoo's Python policy drives me crazy
Today's updating involves some package which causes rebuilding a package which needs Python2.7 and another one which needs python_single_target_python3_8 required by that mysterious @__auto_slot_operator_replace_installed__ To emerge the Python2.7 package (Scribus) I do need to set PYTHON_SINGLE_TARGET="python2_7" in /etc/portage/make.conf which makes the whole update fail since the other packages needs PYTHON_SINGLE_TARGET="python3_8" So, what can I brave Gentoo user do? Hopefully something better than trying to find which new package triggers which rebuild.
[gentoo-user] PYTHON_TARGETS something must have changed
Up to a few days ago I had PYTHON_TARGETS="python3_8" in /etc/portage/make.conf and for any package to be installed for Python2.7, I had something like media-gfx/cropgui python_targets_python2_7 in /etc/portage/package.use But now, I have to add python2_7 to PYTHON_TARGETS whenever I want to emerge a package which needs Python2.7 But keeping PYTHON_TARGETS="python3_8 python2_7' in my make.conf will install an (additional) Python2.7 version whenever the package has python2_7 in PYTHON_COMPAT in its ebuild file. Furthermore I would have to add more and more -python_targets_python2_7 in /etc/portage/package.use for any package which does not support Python2.7, any more. I am on the 17.1 desktop profile and use the GIT version of portage. What has changed and what can I do about it? Many thanks for a hint, Helmut
Re: [gentoo-user] blender 2.80 or 2.81?
On 12/07/2019 04:39:34 PM, Caveman Al Toraboran wrote: thing is, i already have a blender file created with 2.80. i cannot open it with 2.79. any idea what's the easiest way to get 2.80 or 2.81 running on gentoo? and any idea how when to expect the 2.80 or 2.81? You could copy the attached ebuild to a local overlay like /usr/local/portage/media-gfx/blender and copy the attached patch to /usr/local/portage/media-gfx/blender/files run ebuild /usr/local/portage/media-gfx/blender/blender-.ebuild manifest and then emerge -av1 media-gfx/blender This gives you the most recent version of blender. # Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{7,8} ) inherit git-r3 check-reqs cmake-utils xdg-utils flag-o-matic gnome2-utils \ pax-utils python-single-r1 toolchain-funcs eapi7-ver DESCRIPTION="3D Creation/Animation/Publishing System" HOMEPAGE="http://www.blender.org"; # SRC_URI="http://download.blender.org/source/${P}.tar.gz"; EGIT_REPO_URI="git://git.blender.org/blender.git" # Blender can have letters in the version string, # so strip off the letter if it exists. MY_PV="$(ver_cut 1-2)" SLOT="0" LICENSE="|| ( GPL-2 BL )" KEYWORDS="~amd64 ~x86" IUSE="+bullet +dds +elbeem +game-engine +openexr collada colorio \ cuda cycles debug doc ffmpeg fftw headless jack jemalloc jpeg2k libav \ llvm man ndof nls openal opencl openimageio openmp opensubdiv openvdb \ osl player sdl sndfile test tiff valgrind" REQUIRED_USE="${PYTHON_REQUIRED_USE} cuda? ( cycles ) cycles? ( openexr tiff openimageio ) opencl? ( cycles ) osl? ( cycles llvm ) player? ( game-engine !headless )" RDEPEND="${PYTHON_DEPS} >=dev-libs/boost-1.62:=[nls?,threads(+)] dev-libs/lzo:2 >=dev-python/numpy-1.10.1[${PYTHON_USEDEP}] dev-python/requests[${PYTHON_USEDEP}] media-libs/freetype media-libs/glew:* media-libs/libpng:0= media-libs/libsamplerate sys-libs/zlib virtual/glu virtual/jpeg:0= virtual/libintl virtual/opengl collada? ( >=media-libs/opencollada-1.6.18:= ) colorio? ( media-libs/opencolorio ) cuda? ( dev-util/nvidia-cuda-toolkit:= ) ffmpeg? ( media-video/ffmpeg:=[x264,mp3,encode,theora,jpeg2k?] ) libav? ( >=media-video/libav-11.3:=[x264,mp3,encode,theora,jpeg2k?] ) fftw? ( sci-libs/fftw:3.0= ) !headless? ( x11-libs/libX11 x11-libs/libXi x11-libs/libXxf86vm ) jack? ( virtual/jack ) jemalloc? ( dev-libs/jemalloc:= ) jpeg2k? ( media-libs/openjpeg:0 ) llvm? ( sys-devel/llvm:= ) ndof? ( app-misc/spacenavd dev-libs/libspnav ) nls? ( virtual/libiconv ) openal? ( media-libs/openal ) opencl? ( virtual/opencl ) openimageio? ( >=media-libs/openimageio-1.7.0 ) openexr? ( >=media-libs/ilmbase-2.2.0:= >=media-libs/openexr-2.2.0:= ) opensubdiv? ( >=media-libs/opensubdiv-3.3.0:=[cuda=,opencl=] ) openvdb? ( media-gfx/openvdb[${PYTHON_USEDEP},-abi3-compat(-),abi4-compat(+)] dev-cpp/tbb >=dev-libs/c-blosc-1.5.2 ) osl? ( media-libs/osl:= ) sdl? ( media-libs/libsdl2[sound,joystick] ) sndfile? ( media-libs/libsndfile ) tiff? ( media-libs/tiff:0 ) valgrind? ( dev-util/valgrind )" DEPEND="${RDEPEND} >=dev-cpp/eigen-3.2.8:3 virtual/pkgconfig doc? ( app-doc/doxygen[-nodot(-),dot(+),latex] dev-python/sphinx[latex] ) nls? ( sys-devel/gettext )" PATCHES=( "${FILESDIR}/${PN}-fix-install-rules.patch" ) # "${FILESDIR}/${P}-gcc-8.patch" # "${FILESDIR}/${P}-ffmpeg-4-compat.patch" blender_check_requirements() { [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp if use doc; then CHECKREQS_DISK_BUILD="4G" check-reqs_pkg_pretend fi } pkg_pretend() { blender_check_requirements } pkg_setup() { blender_check_requirements python-single-r1_pkg_setup } src_prepare() { cmake-utils_src_prepare # we don't want static glew, but it's scattered across # multiple files that differ from version to version # !!!CHECK THIS SED ON EVERY VERSION BUMP!!! local file while IFS="" read -d $'\0' -r file ; do sed -i -e '/-DGLEW_STATIC/d' "${file}" || die done < <(find . -type f -name "CMakeLists.txt") # Disable MS Windows help generation. The variable doesn't do what it # it sounds like. sed -e "s|GENERATE_HTMLHELP = YES|GENERATE_HTMLHELP = NO|" \ -i doc/doxygen/
[gentoo-user] app-text/foliate ebuild?
Hi, I came across the "modern ebook reader" foliate (github.com/johnfactotum/foliate) Since I don't know about meson, I failed to write an ebuild for that. Has anybody know about an ebuild for foliate? Many thanks for some help, Helmut
[gentoo-user] eix-sync gets stuck
Hi, recently, eix-sync gets stuck after * Verifying /usr/portage/.tmp-unverified-download-quarantine ...[ ok ] === Sync completed for gentoo Killing it with C and restarting it with eix-sync -a fixes this. Do I have to clean some files? Many thanks for a hint, Helmut
[gentoo-user] force re-cythonizing in an ebuild
Hi, does anybody know how to force to recompile (by cython) any .pyx file. Background I'm trying to install packages like sci-libs/scikit_image under Python3.8 Many thanks for a hint, Helmut
[gentoo-user] Noah's ArK
Hi, I'd like to "preserve" some packages which do require components I don't like to have "regularly" installed any more like some depending on Python2 or are 32bit. Is there a means to build a "mini binary system" where I can put these? Many thanks for a hint, Helmut
[gentoo-user] UFO @__auto_slot_operator_replace_installed__
Hi, I saw this UFO @__auto_slot_operator_replace_installed__ in the output of emerge. Does anybody known where this comes from and what it means? Many thanks for an explanation, Helmut
Re: [gentoo-user] empty cdrom drive is busy or mounted [resolved]
On 08/16/2019 06:21:30 PM, Jack wrote: On 2019.08.16 12:00, Helmut Jarausch wrote: On 08/16/2019 05:25:34 PM, Jack wrote: try "lsof /cdrom"? It says the mount point, not the device, might be busy. This didn't show anything. I still don't know the cause of my problems. But fortunately, they have been resolved by recompiling the kernel (5.2.0), systemd and all packages depending on systemd - using the new gcc-9.2.0 Furthermore I had to add the use flags cgroup-hybrid -sysv-utils for systemd. This hasn't been necessary before - very strange. For me, systemd is a monster which I haven't understood. I try to not use it since I am using openrc. Perhaps I have to remove it from my system and use eudev instead of udev as part of systemd. Thanks for trying to help me - it was a really strange situation. If you are using openrc (as I am) I would say you really don't want systemd installed at all. I can't imagine any good coming from that. You do need eudev, I also have elogind installed, but I'm not sure if it's absolutely required, or if I had some other reason for installing (possibly to get rid of consolekit?) Thank you Jack and Laurence! I've put the (possibly dangerous) task to get rid of systemd on my to-do list. Meanwhile, the issue is resolved here - most probably because I uninstalled sys-fs/udiskie. (Less likely because I upgraded the kernel from 5.2.8 to 5.2.9) Many thanks again, Helmut
Re: [gentoo-user] empty cdrom drive is busy or mounted
On 08/16/2019 05:25:34 PM, Jack wrote: try "lsof /cdrom"? It says the mount point, not the device, might be busy. Unfortunately, the problem is still there. dmesg shows [ 1326.461161] systemd-udevd[9882]: Process 'cdrom_id --eject-media /dev/sr0' failed with exit code 1. But does that mean? On 8/16/19 10:23 AM, Helmut Jarausch wrote: Hi, I have a very strange effect on my Gentoo system. First, I've check that /dev/sr0 points to the correct device (from dmesg) For an empty drive I get 1 # mount /dev/sr0 /cdrom mount: /cdrom: /dev/sr0 already mounted or mount point busy. 2 # lsof /dev/sr0 3 # umount /dev/sr0 umount: /dev/sr0: not mounted. Does anybody know what's going on here? Many thanks for a hint. P.S. I have checked this with two physically different drives.
Re: [gentoo-user] empty cdrom drive is busy or mounted
On 08/16/2019 05:25:34 PM, Jack wrote: try "lsof /cdrom"? It says the mount point, not the device, might be busy. This didn't show anything. I still don't know the cause of my problems. But fortunately, they have been resolved by recompiling the kernel (5.2.0), systemd and all packages depending on systemd - using the new gcc-9.2.0 Furthermore I had to add the use flags cgroup-hybrid -sysv-utils for systemd. This hasn't been necessary before - very strange. For me, systemd is a monster which I haven't understood. I try to not use it since I am using openrc. Perhaps I have to remove it from my system and use eudev instead of udev as part of systemd. Thanks for trying to help me - it was a really strange situation. On 8/16/19 10:23 AM, Helmut Jarausch wrote: Hi, I have a very strange effect on my Gentoo system. First, I've check that /dev/sr0 points to the correct device (from dmesg) For an empty drive I get 1 # mount /dev/sr0 /cdrom mount: /cdrom: /dev/sr0 already mounted or mount point busy. 2 # lsof /dev/sr0 3 # umount /dev/sr0 umount: /dev/sr0: not mounted. Does anybody know what's going on here? Many thanks for a hint. P.S. I have checked this with two physically different drives.
Re: [gentoo-user] empty cdrom drive is busy or mounted
On 08/16/2019 05:22:27 PM, J. Roeleveld wrote: Sounds like error message is not clear. But as there is no disc, the mount action should fail anyway. What happens when there is a disc in the drive? The same unfortunately. Thanks, Helmut -- Joost On 16 August 2019 16:23:36 CEST, Helmut Jarausch <jarau...@skynet.be> wrote: Hi, I have a very strange effect on my Gentoo system. First, I've check that /dev/sr0 points to the correct device (from dmesg) For an empty drive I get 1 # mount /dev/sr0 /cdrom mount: /cdrom: /dev/sr0 already mounted or mount point busy. 2 # lsof /dev/sr0 3 # umount /dev/sr0 umount: /dev/sr0: not mounted. Does anybody know what's going on here? Many thanks for a hint. P.S. I have checked this with two physically different drives. -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
[gentoo-user] empty cdrom drive is busy or mounted
Hi, I have a very strange effect on my Gentoo system. First, I've check that /dev/sr0 points to the correct device (from dmesg) For an empty drive I get 1 # mount /dev/sr0 /cdrom mount: /cdrom: /dev/sr0 already mounted or mount point busy. 2 # lsof /dev/sr0 3 # umount /dev/sr0 umount: /dev/sr0: not mounted. Does anybody know what's going on here? Many thanks for a hint. P.S. I have checked this with two physically different drives.
[gentoo-user] systemd crashes when I try to mount a USB drive
Hi, since the upgrade from systemd-242-r6 to systemd-243_rc1 I cannot mount my (external) USB drive any more. I get kernel: sd 10:0:0:0: [sde] Assuming drive cache: write through kernel: sde: sde1 sde2 sde3 sde4 sde5 sde6 sde7 kernel: systemd-udevd[480887]: Assertion 'key' failed at src/libsystemd/sd-device/device-private.c:34, function device_add_property(). Aborting. The strange thing is, I don't use systemd on start-up (I'm using openrc) but I have systemd installed here. This configuration has been working for a very long time. Many thanks for a hint, Helmut
Re: [gentoo-user] Accessing a Samsung phone and it's data.
On 07/30/2019 09:36:11 AM, Neil Bothwick wrote: I've found all of the MTP implementations to be wanting in some way. Then I discovered SSHelper, an SSH server for Android. Now I can mount my phone's storage with sshfs using a command like sshfs -p 192.168.1.144:/storage/emulated/0 /mnt/phone SSHelper has a big disadvantage: it cannot write to the external SD card. I'm using "primitive ftpd" instead. It has an option to use Androids "storage access framework". Now I can transfer files to my external SD card even on an unrooted device.
[gentoo-user] virtual eselect - how to
Hi, what is the relationship of a virtual package and eselect. E.g. I have installed openblas but 'eselect blas list' doesn't know about this. I have even modified virtual/blas to include openblas. How does eselect get the list of alternatives? Many thanks for a hint, Helmut
Re: [gentoo-user] how can I everr switch to profile 17.1?
On 06/18/2019 05:43:55 PM, John Covici wrote: It would seem impossible for me to switch to profile 17.1. I say this because I can never run emerge --depclean . I have a few packages which will not compile and one not in the tree anymore. the packages which will not compile are mono-4.4.1.0 and totem-3.30 -- I have filed bugs against both of them. Inn no longer configures and I have discussed this in another thread. So, where can I go with this? I hate to just go forward, although these packages look they don't have any lib32 dependencies. Wat do you thihnk about this? Thanks in advance for any suggestions. I haven't run emerge --depclean. I have re-emerge gcc / glibc and all packages with files /usr/lib32 and /lib32 and some more which I don't remember. On the other hand I don't see such a big advantage of profile 17.1. I have several (64 bit) packages (in my local portage tree) which still install into /usr/lib although this folder is now the replacement of the old /usr/lib32. But I don't know if we sometimes forced to switch to a successor of 17.1. Helmut
[gentoo-user] Heads Up - switching to profile 17.1 is not as easy as it sounds
I had some trouble switching to the new profile 17.1. Following the advice in the news item didn't suffice. I had to reinstall some packages "by hand", e.g. I had to reinstall util-linux quite early. I had to reinstall x11-libs/libva without the opengl USE flag, since it couldn't find libopenGL otherwise. After reinstalling mesa (which depends on libva), I'll try to reinstall x11-libs/libva with the opengl USE flag. Currently I'm reemerging gcc bintuils glibc before I proceed with the other packages selected by emerge -v1 /usr/lib/gcc /lib32 /usr/lib32 Perhaps, it's only me. Helmut
[gentoo-user] layman : unterminated character set at position 1
Hi, I'm struggling with layman. Using version 2.4.2-r1 as well as version I get for several overlays like for palemoon : layman -a palemoon * Adding overlay... * Overlay "palemoon" is not official. Continue installing? [y/n]: y * CLI: Errors occurred processing action add * Exception caught installing repository "palemoon": * unterminated character set at position 1 So, what does this error message really mean. What file is involved and how to fix this? Many thanks for a hint, Helmut
[gentoo-user] eix doesn't ignore disabled overlays
Hi, eix-sync and eix-diff reports (newer) packages from disabled overlays (via layman -D ...). How can I tell eix to ignore these? I'm using eix GIT from 2019/03/06. Many thanks for a hint, Helmut
Re: [gentoo-user] autofs for a symlink - howto
On 02/24/2019 06:26:51 PM, Helmut Jarausch wrote: Hi, I have a lot of symlinks in my home directory like $HOME/Python -> /Src/Python Now, I'd like to not mount /Src on default. How can I set up my system (using autofs ?) to automatically mount /Src if such a symlink is accessed like cd$HOME/Python Since I didn't find a similar configuration on the net, I've come up with the following solution (after some trial and error) First, I've replaced all symlinks by empty directories of the same name. My /etc/autofs/auto.master contains (the only uncommented line) /-/etc/autofs/auto.local and /etc/autofs/auto.local contains, e.g. /Src -fstype=ext4,exec,suid,noatime :/dev/sdc3 /home/jarausch/Python -fstype=bind,exec,suid,noatime :/Src/Src/Python I hope this helps others, Helmut
[gentoo-user] autofs for a symlink - howto
Hi, I have a lot of symlinks in my home directory like $HOME/Python -> /Src/Python Now, I'd like to not mount /Src on default. How can I set up my system (using autofs ?) to automatically mount /Src if such a symlink is accessed like cd$HOME/Python Many thanks for a hint, Helmut
[gentoo-user] Is my NVME too slow?
I have a very fast Samsung NVME drive hosting my root file system. During backup 'atop' often shows 100% usage of my NVME drive while reading only a few MB/s and several thousands 'Read' ops (during 10 seconds). Is this normal or a measuring bug of 'atop'. Stand alone timing tests have shown that this drive can read some GB per second. What's happening? Many thanks for a hint, Helmut
[gentoo-user] emerge --changed-use @world : how to interpret its output?
Hi, I have difficulties to interpret the output of nice -19 emerge -av1 --update --keep-going --tree --changed-use \ --unordered-display --verbose-conflicts @world I get LOTS of request to change package.use to include abi_x86_32. It looks like emerge wants to change half of system (which is nearly abi_x86_64 only) to use the 32 bit ABI, as well. How can I find out which packages triggers this chain of re-emerges? Many thanks for a hint, Helmut
[gentoo-user] systemd-240 doesn't load my kernel modules
Hi, I have systemd and openrc installed on my system, but I use openrc for booting. Upto systemd-239 this works just fine. But with systemd-240 my system doesn't load necessary kernel modules like DRM AMDGPU modules. This break Xorg : (EE) open /dev/dri/card0: No such file or directory Has anybody an idea what is different under systemd-240 in comparison to systemd-239? Many thanks for a hint, Helmut
Re: [gentoo-user] @preserved-rebuild how to find out the contents of
On 12/29/2018 05:09:02 PM, Rich Freeman wrote: On Sat, Dec 29, 2018 at 11:03 AM Andrew Udvare wrote: > > > On Dec 29, 2018, at 10:47, Helmut Jarausch wrote: > > > > How can I find out the list of packages in @preserved-rebuild? > > There's a JSON file in /var/db/portage > Not sure if there is anything that directly targets the API here, but this will probably work: emerge -p --nodeps @preserved-rebuild In general it is better to use portage or its API to read the package database than to go reading files directly. Thanks Rich, I'll try that later. I've found those packages with revdep-rebuild --library ... s.t. there aren't any packages currently in @preserved-rebuild
Re: [gentoo-user] @preserved-rebuild how to find out the contents of
On 12/29/2018 05:03:51 PM, Andrew Udvare wrote: > On Dec 29, 2018, at 10:47, Helmut Jarausch wrote: > > How can I find out the list of packages in @preserved-rebuild? There's a JSON file in /var/db/portage I don't have the folder /var/db/portage here. Thanks, Helmut
[gentoo-user] @preserved-rebuild how to find out the contents of
Hi, I have some old packages like dev-qt/qtcore:4 on my machine, and other packages which need this. Therefore emerge -vp @preserved-rebuild doesn't work. How can I find out the list of packages in @preserved-rebuild? Many thanks for a hint, Helmut
Re: [gentoo-user] Encryption questions
I use encfs (see github.com/vgough/encfs) It's in the portage tree. Here is my private Readme # Neither .Secret nor Secret should contain data before creation !!! # CREATION (only once) e.g. encfs -i 10 --ondemand --extpass=x11-ssh-askpass `pwd`/.Secret `pwd`/Secret or more simply in an XTerm encfs `pwd`/.Secret `pwd`/Secret # USAGE encfs [-i idle[minutes]] [--ondemand] --extpass=x11-ssh-askpass FS> e.g. encfs -i 10 --ondemand --extpass=x11-ssh-askpass ~/.Secret ~/Secret or more simply in an XTerm : (>>> always use the full path of both folders) encfs ~/.Secret ~/Secret = After Usage = fusermount -u ~/Secret If you shut down the machine you don't need to do fusermount -u. BackUP : ~/.Secret and remember password (e.g. using app-admin/keepassxc) Important Note : ENCFS does not hide the length and modification date/time of a file If that matter you can archive several file in a tar-file before encryption.
[gentoo-user] ACCESS DENIED
Hi, I wonder what I am doing wrong. For several packages, e.g. x11-terms/kitty-0.12.1 I get access violations like * ACCESS DENIED: mkdir:/root/.config/kitty The cause of this is clear: emerge is running as user/group 'portage' but ls -ld /root/.config gives drwx-- 15 root portage 4096 Sep 19 14:20 /root/.config One could change the permission of this folder, but there are several applications which use this folder. What am I missing? Many thanks for a hint, Helmut
Re: [gentoo-user] CUPS remote printing drives me crazy
Many thanks to all who helped me. For cupsd.conf on the server machine It turned out that I needed Listen localhost:631 in addition to Port 631 Listen /run/cups/cups.sock Furthermore, on the client machine I had typo DeviceURI ipp:://MyServer/printers/duploc_usb (note the double colon) Unfortunately, CUPS doesn't seem to check the syntax of DeviceURI or it doesn't report this. One simply gets "printer could not be located" when one tries to use it. I didn't want to use enter the SERVER name into /etc/cups/client.conf on the client machine, since I want "double spooling', i.e. the client machine should accept the print job even if the SERVER machine is down. --- Yes, I still have an old printer which only has a USB-connection and an Ethernet connection. Unfortunately, the Ethernet connection broke down recently. I don't think that WiFi is the best solution since - at least me - have only 60 Mbits/seccon on the WiFi but 1 Gbits/second on the wired Ethernet - and some files to be printed are quite large. Thanks again, Helmut. On 09/12/2018 02:50:36 PM, Helmut Jarausch wrote: Hi, I'd like to install a very simple configuration but fail (CUPS is my most hated software) I have two machines on a local network (i.e., I don't need any fancy security mechanisms) On one machine - called SERVER - I have a USB printer which works just fine with CUPS. I've tried to make it "shared". This printer has the name USB_printer. On the other machine, which has no physical printer itself, I just want to add a remote printer which uses USB_printer on the SERVER. If I try to configure this remote printer, my first problem is its name (URL) I've tried ipp://SERVER:631/printers/USB_printer but when I try to print to it, I always get "printer cannot be located" Would anybody be so kind to share (the relevant parts) of his/her cupsd.conf on the server as well as on the client?
Re: [gentoo-user] CUPS remote printing drives me crazy
On 09/12/2018 03:55:16 PM, Neil Bothwick wrote: On Wed, 12 Sep 2018 14:50:36 +0200, Helmut Jarausch wrote: > On one machine - called SERVER - I have a USB printer which works just > fine with CUPS. > I've tried to make it "shared". This printer has the name USB_printer. > > On the other machine, which has no physical printer itself, I just > want to add a remote printer which > uses USB_printer on the SERVER. > > If I try to configure this remote printer, my first problem is its > name (URL) > I've tried ipp://SERVER:631/printers/USB_printer but when I try to > print to it, > I always get "printer cannot be located" > > Would anybody be so kind to share (the relevant parts) of his/her > cupsd.conf on the server as well as > on the client? Have you allowed access to the server from the local network? Something like this in cupsd.conf # Restrict access to the server... Order allow,deny Allow localhost Allow 192.168.1.* Thanks Neil, do I need this on the client machine, as well? (I do have it on the server machine) Helmut
[gentoo-user] CUPS remote printing drives me crazy
Hi, I'd like to install a very simple configuration but fail (CUPS is my most hated software) I have two machines on a local network (i.e., I don't need any fancy security mechanisms) On one machine - called SERVER - I have a USB printer which works just fine with CUPS. I've tried to make it "shared". This printer has the name USB_printer. On the other machine, which has no physical printer itself, I just want to add a remote printer which uses USB_printer on the SERVER. If I try to configure this remote printer, my first problem is its name (URL) I've tried ipp://SERVER:631/printers/USB_printer but when I try to print to it, I always get "printer cannot be located" Would anybody be so kind to share (the relevant parts) of his/her cupsd.conf on the server as well as on the client? Any hints are more than welcome, Helmut
Re: [gentoo-user] eselect mystery - please help [SOLVED]
On 08/01/2018 11:13:15 AM, Helmut Jarausch wrote: Hi, after an emerge --dep-clean yesterday, I've noticed today that I don't have any java-jkd / jre available anymore. Although I've emerged dev-java/oracle-jre-bin dev-java/oracle-jre-bin eselect java-vm list doesn't show these. How make these "visible" to eselect again? It turned out that I had dev-java/oracle-jdk-bin-1.8.0.172 and dev-java/oracle-jdk-bin-9.0.4-r2 installed here. emerge --depclean (I modified the list by hand) removed dev-java/oracle-jdk-bin-1.8.0.172 and any new emerge dev-java/oracle-jdk-bin re-emerged the 9.0.4 version. But eselect java-vm does NOT recognize any Java-9 package. The solution was to reinstall dev-java/oracle-jdk-bin:1.8 Thanks for all how had helped me, Helmut
Re: [gentoo-user] eselect mystery - please help
On 08/01/2018 03:37:44 PM, Andrés Becerra Sandoval wrote: 2018-08-01 4:13 GMT-05:00 Helmut Jarausch <_j_a_r_a_u_s_c_h_@_s_k_y_n_e_t_._b_e>: Hi, after an emerge --dep-clean yesterday, I've noticed today that I don't have any java-jkd / jre available anymore. Although I've emerged dev-java/oracle-jre-bin dev-java/oracle-jre-bin eselect java-vm list doesn't show these. How make these "visible" to eselect again? Many thanks for a hint, Helmut Hi, Do you have: https://packages.gentoo.org/packages/virtual/jdk Yes, I have re-emerged these but it didn't resolve my problem. Thanks, Helmut
[gentoo-user] eselect mystery - please help
Hi, after an emerge --dep-clean yesterday, I've noticed today that I don't have any java-jkd / jre available anymore. Although I've emerged dev-java/oracle-jre-bin dev-java/oracle-jre-bin eselect java-vm list doesn't show these. How make these "visible" to eselect again? Many thanks for a hint, Helmut
Re: [gentoo-user] virtualbox-modules fails to update: incompatible gcc/plugin versions
Just for the record, I compiled this version with gcc-8.1.0-r3 without any problems. Helmut
Re: [gentoo-user] how to set python version for one user
On 07/10/2018 10:23:05 AM, p...@xvalheru.org wrote: Hi, I need to set specific python version to a user and I don't want to set it up for whole system. Is it possible? If so how to do it. All I found is about setting for whole system. Thanks Pat A simple method would be to set up the PATH for this user to prepend a local folder, .e.g $HOME/bin Then copy (or symlink) the desired Python version from /usr/bin to that folder under a different name (i.e. without the (full) version number) Helmut
Re: [gentoo-user] Kernel 4.9.95
On 04/25/2018 06:06:32 PM, Peter Humphrey wrote: As this version of gentoo-sources has now hit the stable mirrors, would anyone like to summarise the position wrt Spectre, Meltdown and anything else that's relevant? Just to help us numbskulls sleep at night. I can't say anything about that kernel since I always use the most recent kernel available, currently 4.16.4. I haven't had any problems with bleeding edge gentoo-sources. AFAIR, only work around for this hardware problems have appeared in 4.14 or 4.15. I don't know if these have been backported to 4.9.95. The other fix should be a contained in a recent version sys-kernel/linux-firmware (I have 20180416). You might have a look at http://kroah.com/log/blog/2018/01/06/meltdown-status/ https://vinfrastructure.it/2018/02/using-linux-kernel-4-15-minimize-meltdown-spectre/ https://www.zdnet.com/article/linux-4-15-good-news-and-bad-news-about-meltdown-and-spectre/ https://www.zdnet.com/article/linux-4-16-arrives-bringing-more-spectre-and-meltdown-fixes/ Helmut
Re: [gentoo-user] ncurses / tinfo problem
On 03/30/2018 12:26:33 PM, Daniel Pielmeier wrote: Am March 30, 2018 10:07:41 AM UTC schrieb Helmut Jarausch : >Hi, >there are several packages which fail to link since they are missing >'-ltinfo' - recently >app-antivirus/clamav-0.99.4-r1 > >For a temporary fix I have edited the config.status file by changing > >S["CURSES_LIBS"]="-lncurses" >to >S["CURSES_LIBS"]="-lncurses -ltinfo" > >and using > >ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge > >But I think that this is a more general problem. > >Has anybody found a fix which works for several such packages? > >Many thanks for a hint, >Helmut This are bugs in the build system of the package which is not detecting the separate library. You should file a bug about it. Is there a special requirement for building ncurses with tinfo? If not the easy fix is disabling the tinfo USE flag for ncurses. Many thanks, Daniel. I can't remember why I HAD TO add the tinfo USE flag to ncurses.
[gentoo-user] ncurses / tinfo problem
Hi, there are several packages which fail to link since they are missing '-ltinfo' - recently app-antivirus/clamav-0.99.4-r1 For a temporary fix I have edited the config.status file by changing S["CURSES_LIBS"]="-lncurses" to S["CURSES_LIBS"]="-lncurses -ltinfo" and using ebuild /usr/portage/app-antivirus/clamav/clamav-0.99.4-r1.ebuild merge But I think that this is a more general problem. Has anybody found a fix which works for several such packages? Many thanks for a hint, Helmut
Re: [gentoo-user] gcc-6.4.0-r1::gentoo failed (compile phase)
On 03/26/2018 01:30:19 PM, the...@sys-concept.com wrote: I've switched one of my older box to desktop profile-17 updated gcc to 6.4.0-r1 and it compile just fine. But when I do emerge -e @world recompile gcc-6.4.0-r1 get stuck on" * One or more packages are either masked or have missing dependencies: * * >=dev-libs/mpfr-2.4.2:0/0= pulled in by: * (sys-devel/gcc-6.4.0-r1:6.4.0/6.4.0::gentoo, installed) I'd try to emerge dev-libs/mpfr (version 3.1.6 is on stable) first. Helmut
Re: [gentoo-user] Re: New xorg-proto package blocks everything else.
On 03/25/2018 05:10:29 PM, Ian Zimmerman wrote: On 2018-03-25 13:50, Neil Bothwick wrote: > The only hard block here appears to be xscrnsaverproto, unmerge that and > the rest should take care of themselves. I had all the soft blocks today > but not that one, and everything worked fine. But ... I actually have packages that depend on scrnsaverproto: So I have to unmerge xautolock and xssstate too? That will be painful because they're baked deep into my X configuration. I think it will require a trip to the Linux console :-P No, I have x11-base/xorg-proto-2018.4 and x11-proto/scrnsaverproto-1.2.2-r2 install here. Try to emerge x11-base/xorg-proto and x11-proto/scrnsaverproto simultaneously.
Re: [gentoo-user] Xorg broken?
On 03/07/2018 03:52:24 PM, Christoph Böhmwalder wrote: I think I broke something once again... Rebooting after a recent update caused my X Server to completely die. I faintly remember some x11-related packages being blocked on that particular update, but because I was short on time I decided just to ignore those at the time (note to self: bad idea, apparently). Now when I run startx, it complains about a bunch of permissions being borked: Do you have xorg-server-1.19.99.901 or xorg-server-1.19.99.901-r1 installed? That's just broken! Downgrade to version 1.19.5-r1 . Several people have problems with the above versions. Helmut
[gentoo-user] QEMU on a partition
Hi, I'd like to install a second Gentoo system on a partition by running QEMU using that partition (directly) - this is to create and update a Gentoo system with different CFLAGS (for an older machine). Having no experience in such setups my initial problem is how to install grub2 on that partition (only). I don't want to modify the MBR of the whole drive containing that partition. Is is possible? Many thanks for some hints or pointers, Helmut
[gentoo-user] emerge @world and package.mask ?
Hi, I don't understand portage (any more). I want to keep dev-qt/qt-meta-4.8.6 (QT4) which requires media-libs/phonon[qt4] I do have media-libs/phonon-4.9.1-r1[qt4,qt5] installed here. And in /etc/portage/package.mask I have media-libs/phonon-4.9.9 media-libs/phonon-vlc-4.9.9 But still, nice -19 emerge -v1 -j16 --update --keep-going --tree --changed-use --unordered-display --verbose-conflicts --deep --with-bdeps?y @world requires me to remove that masks since it's going to upgrade media-libs/phonon and media-libs/phonon-vlc. Why doesn't emerge respect me my masks? Many thanks for some hints, Helmut Output of emerge ... @world media-libs/phonon:0 (media-libs/phonon-4.10.0:0/0::gentoo, ebuild scheduled for merge) pulled in by >?media-libs/phonon-4.10.0 required by (media-libs/phonon-vlc-0.10.1:0/0::gentoo, ebuild scheduled for merge) ^^ ^^ (media-libs/phonon-4.9.1-r1:0/0::gentoo, installed) pulled in by media-libs/phonon[qt4] required by (dev-qt/qt-meta-4.8.6:4/4::gentoo, installed) ^^^ >?media-libs/phonon-4.9.0[qt4?,qt5?] required by (media-libs/phonon-vlc-0.9.1-r1:0/0::gentoo, ebuild scheduled for merge) media-libs/phonon-vlc:0 (media-libs/phonon-vlc-0.10.1:0/0::gentoo, ebuild scheduled for merge) pulled in by (no parents that aren't satisfied by other packages in this slot) (media-libs/phonon-vlc-0.9.1-r1:0/0::gentoo, ebuild scheduled for merge) pulled in by >?media-libs/phonon-vlc-0.9.0[qt4?,qt5?] required by (media-libs/phonon-4.9.1-r1:0/0::gentoo, installed)=
[gentoo-user] eselect mystery
Hi, could anybody please explain me how 'eselect' works? My problem I have installed dev-java/oracle-jdk-bin-9.04 and removed dev-java/oracle-jdk-bin-1.8.0.162 but eselect java-vm list shows Available Java Virtual Machines: grep: /usr/share/java-config-2/vm/oracle-jdk-bin-1.8: No such file or directory [1] icedtea-8 [2] oracle-jdk-bin-1.8 system-vm i.e. it still searches for oracle-jdk-bin-1.8 and doesn't know about oracle-jdk-bin-9 Is this a bug or is there any means to bring eselect up-to-date ? Many thanks for a hint, Helmut
Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system
On 02/04/2018 12:21:13 AM, Bill Kenworthy wrote: On 04/02/18 01:34, Helmut Jarausch wrote: > On 02/03/2018 04:11:33 PM, Marc Joliet wrote: >> Am Samstag, 3. Februar 2018, 10:50:53 CET schrieb Helmut Jarausch: >> > On 02/03/2018 06:54:06 AM, Dale wrote: >> > > While on this topic, I have a question about glibc. I have it set in >> > > make.conf to save the binary packages. Generally I use it when I >> need >> > > to go back shortly after a upgrade, usually Firefox or something. >> > > However, this package is different since going back a version isn't a >> > > good idea. My question tho, what if one does go back a version using >> > > those saved binary packages? Has anyone ever did it and it work or >> > > did 1. do another backup 2. take your last good binary package and unpack it in the root directory - it is an "image" of that package as it sits in the file system. 3. rebuild that version of glibc by overiding emerge - comment out "die "aborting to save your system" in /usr/portage/eclass/toolchain-glibc.eclass I have done this a couple of times with gcc (when manual deletes have gone rogue) but it should work with glibc as you have not recompiled any new packages. Many thanks Bil, Helmut
Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system
On 02/03/2018 04:11:33 PM, Marc Joliet wrote: Am Samstag, 3. Februar 2018, 10:50:53 CET schrieb Helmut Jarausch: > On 02/03/2018 06:54:06 AM, Dale wrote: > > While on this topic, I have a question about glibc. I have it set in > > make.conf to save the binary packages. Generally I use it when I need > > to go back shortly after a upgrade, usually Firefox or something. > > However, this package is different since going back a version isn't a > > good idea. My question tho, what if one does go back a version using > > those saved binary packages? Has anyone ever did it and it work or > > did > > it and it fail miserably? > > I've tried to binary emerge my previous version. This didn't succeed > since > the ebuild disallows downgrading glibc. > > Luckily I had backuped my system just 20 hours ago. Having up-to-date backups is always good :) . > Does anybody know how to restore ONLY those files which are > more recent on the target file system. > (My whole back is 124 Gb large which is a lot to copy back) If you can access the backups like a normal file system, then using rsync with the --update option looks to me like what you want: "-u, --updateskip files that are newer on the receiver". High Marc, I think I need the opposite : only update files which are newer on the receiver Thanks, Helmut
Re: [gentoo-user] Heads Up - glibc-2.27 breaks my system
On 02/03/2018 06:54:06 AM, Dale wrote: While on this topic, I have a question about glibc. I have it set in make.conf to save the binary packages. Generally I use it when I need to go back shortly after a upgrade, usually Firefox or something. However, this package is different since going back a version isn't a good idea. My question tho, what if one does go back a version using those saved binary packages? Has anyone ever did it and it work or did it and it fail miserably? I've tried to binary emerge my previous version. This didn't succeed since the ebuild disallows downgrading glibc. Luckily I had backuped my system just 20 hours ago. Does anybody know how to restore ONLY those files which are more recent on the target file system. (My whole back is 124 Gb large which is a lot to copy back) Many thanks for a hint, Helmut
[gentoo-user] Heads Up - glibc-2.27 breaks my system
With glibc-2.27 installed I cannot compile anything, since most packages try to include which doesn't exit any more. And downgrading glibc using a binary package doesn't work. It looks like I have to restore my system from a recent backup, very annoying! (I know that glibc-2.27 is masked, but I didn't expect it to be bomb like that) Helmut
Re: [gentoo-user] sync fails : ERROR:root:OpenPGP verification failed
On 02/02/2018 11:38:54 AM, Floyd Anderson wrote: On Fri, 02 Feb 2018 11:11:38 +0100 Helmut Jarausch wrote: Hi, I cannot run emerge --sync I always get ERROR:root:OpenPGP verification failed: gpg: Signature made Fri 02 Feb 2018 09:38:18 AM UTC gpg:using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250 gpg: Can't check signature: No public key What might have been happened? Have a look at: <https://bugs.gentoo.org/show_bug.cgi?id=646314> Many thanks Floyd! I've reemerged portage- which fixed it. Helmut
[gentoo-user] sync fails : ERROR:root:OpenPGP verification failed
Hi, I cannot run emerge --sync I always get ERROR:root:OpenPGP verification failed: gpg: Signature made Fri 02 Feb 2018 09:38:18 AM UTC gpg:using RSA key E1D6ABB63BFCFB4BA02FDF1CEC590EEAC9189250 gpg: Can't check signature: No public key What might have been happened? Many thanks for a hint, Helmut
Re: [gentoo-user] after finally doing my emerge -e world successfully, my regular world update fails
On 12/22/2017 11:02:14 AM, John Covici wrote: Hi. So, after two weeks, I finally got my emerge -e world finished. Now I was trying my regular world update with --deep, etc., but I get an impossible situation. It seems openrc is now blocking systemd, but I apparently need both. I've noticed this, as well. I think this is due to a change in a USE flag for systemd (+sysv-utils). Therefore, I have added sys-apps/systemd openrc python_targets_python2_7 abi_x86_32 -sysv-utils to /etc/portage/package.use With this, both, openrc and systemd build just fine. My init system is openrc, and with this all seems to work just fine. Helmut
Re: [gentoo-user] New Kernel - custom modules are not loaded
On 12/20/2017 04:14:54 PM, Helmut Jarausch wrote: Hi, this drives me crazy. I have built a new kernel 4.14.7 with the same config as 4.14.6, I have rebuild all kernel modules, the file /etc/conf.d/modules lists my extra modules and hasn't changed. (I'm using openrc, but systemd is installed, as well) Now, booting 4.14.6, all my modules get loaded. But, booting 4.14.7, they do NOT get loaded. I can switch between those two - the above situation stays. So, please, what am I missing? Do I have to re-emerge something, or issue any command, ... I'm lost. I've just noticed, that loading the modules via modprobe keeps loading them on the FOLLOWING boot. What magic is going on there? Thanks, Helmut
[gentoo-user] New Kernel - custom modules are not loaded
Hi, this drives me crazy. I have built a new kernel 4.14.7 with the same config as 4.14.6, I have rebuild all kernel modules, the file /etc/conf.d/modules lists my extra modules and hasn't changed. (I'm using openrc, but systemd is installed, as well) Now, booting 4.14.6, all my modules get loaded. But, booting 4.14.7, they do NOT get loaded. I can switch between those two - the above situation stays. So, please, what am I missing? Do I have to re-emerge something, or issue any command, ... I'm lost. Thanks for some hints, Helmut
Re: [gentoo-user] Status of a GIT repository
On 12/20/2017 11:28:31 AM, Vadim A. Misbakh-Soloviov wrote: В письме от среда, 20 декабря 2017 г. 17:04:33 +07 пользователь Helmut Jarausch написал: > Hi, > I have no experience with GIT. > > I'd like to determine if a GIT repository in Gentoo is up-to-date. > Normally, a GIT folder has a '.git' subfolder. Using 'git status' in > such a GIT folder works fine. > > But the subfolders in /usr/portage/distfiles/git3-src don't contain a > '.git' subfolder. > A plain 'git status' in such a subfolder doesn't work - I get "fatal: > This operation must be run in a work tree". > > Is there a means to determine the status of a Gentoo-GIT-folder? > > Background: I'd like to check if anything has changed in the GIT > repository before I run an 'emerge -u' for that. > > Many thanks for a hint, > Helmut 1) there is no "Gentoo-GIT-folder". The things in $DISTDIR/git3-src is called "bare" repositories (i.e. it is that ".git" folder itself, without "unpacked" work tree, like you have in $PORTDIR) 2) Although, all the ways to check it would be too hard for your purpose. 3) but there is nice tool for your purpose: it's called `app-portage/smart- live-rebuild`. So, just emerge it, and then just run `emerge @smart-live-rebuild` (it provides special virtual set) periodically. It will perform all the checks for you. Many thanks! This looks like it saves me a lot of work ( I was willing to write a Python script myself). Helmut
[gentoo-user] Status of a GIT repository
Hi, I have no experience with GIT. I'd like to determine if a GIT repository in Gentoo is up-to-date. Normally, a GIT folder has a '.git' subfolder. Using 'git status' in such a GIT folder works fine. But the subfolders in /usr/portage/distfiles/git3-src don't contain a '.git' subfolder. A plain 'git status' in such a subfolder doesn't work - I get "fatal: This operation must be run in a work tree". Is there a means to determine the status of a Gentoo-GIT-folder? Background: I'd like to check if anything has changed in the GIT repository before I run an 'emerge -u' for that. Many thanks for a hint, Helmut
Re: [gentoo-user] How to resume 'emerge -e @world' after grub fails?
On 12/19/2017 07:13:55 PM, Bas Zoutendijk wrote: On Tue 19 Dec 2017 at 16:45:15 +0100, Helmut Jarausch wrote: > In addition. I keep gcc-6.4.0 since it can generate PIE-enabled > executables AND it it the last compiler with 'gcj'. > > I don't understand why 'pdftk' and packages depending on that have been > masked. > > They build and run fine here (profile 17.0) If I read the =app-text/pdftk-2.02 ebuild correctly, it actually uses GCC 5.4.0, regardless of what your system compiler is (6.4.0 for profile 17.0): # We need gcc-5 because of Java export PATH="$(gcc-config -B 5.4.0):${PATH}" Yes, but you can change this to RDEPEND="sys-devel/gcc:6.4.0[gcj]" which works just fine.
Re: [gentoo-user] How to resume 'emerge -e @world' after grub fails?
On 12/19/2017 10:15:46 AM, Neil Bothwick wrote: Having said that, everything built with gcc-7.2.0 after the profile switch so I now have only one gcc installed for the first time in years. In addition. I keep gcc-6.4.0 since it can generate PIE-enabled executables AND it it the last compiler with 'gcj'. I don't understand why 'pdftk' and packages depending on that have been masked. They build and run fine here (profile 17.0) Just my 2 cents, Helmut