Re: [gentoo-user] Package conflict while trying to emerge chromium
On Thursday 12 February 2015 09:02:33 Alec Ten Harmsel wrote: I think (emphasis on the think) that qtwebkit needs libxml2 with -icu, and chromium needs libxml2 with +icu. As far as I can tell from reading a couple bug reports, it looks like you can rebuild qtwebkit with -gstreamer (since that's what causes the !icu? blocker) and then you should be able to install chromium. I think (likewise) I remember having a similar conflict when I installed chromium some time ago, but although what you say rings some faint bells somewhere, Alec, it seems not to be the whole answer. I have qtwebkit and libxml2 with +icu here; also qtwebkit has +gstreamer, thus: $ emerge -pv chromium qtwebkit libxml2 These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild R] dev-libs/libxml2-2.9.2:2 USE=icu ipv6 python readline -debug -examples -lzma -static-libs {-test} ABI_X86=(64) (-32) (-x32) PYTHON_TARGETS=python2_7 python3_3 -python3_4 0 KiB [ebuild R] www-client/chromium-40.0.2214.111 USE=cups (pic) tcmalloc -bindist -custom-cflags -gnome -gnome-keyring -kerberos (-neon) -pulseaudio (-selinux) {-test} -widevine LINGUAS=en_GB -am -ar -bg -bn -ca -cs -da -de -el -es -es_LA -et -fa -fi -fil -fr -gu -he -hi -hr -hu -id -it -ja -kn -ko -lt -lv -ml -mr -ms -nb -nl -pl -pt_BR -pt_PT -ro - ru -sk -sl -sr -sv -sw -ta -te -th -tr -uk -vi -zh_CN -zh_TW 0 KiB [ebuild R] dev-qt/qtwebkit-4.8.5:4 USE=exceptions gstreamer icu jit (-aqua) -debug -pch 0 KiB I wish I could remember how I got out of the conflict, but anno domini prevents it. Not much help, I know. :-( -- Rgds Peter.
Re: [gentoo-user] Switching off some linguas variables
On Thu, Feb 12, 2015 at 09:10:59AM +0200, Gevisz wrote On Thu, 12 Feb 2015 07:59:57 +0100 bitlord bitlord0...@gmail.com wrote: On Wed, 11 Feb 2015 21:09:44 +0200 Gevisz gev...@gmail.com wrote: What is the elegant way to switch off all but one linguas variables for a given package. I have tried all obvious solutions but they seem to do not work. For example, I have tried to put the following line into /etc/portage/package.use file: www-client/chromium -nls -linguas* linguas_en linguas_pl So far I am afraid to recompile everything with global -nls USE flag and LINGUAS=en in /etc/portage/make.conf. So, trying to cut the cat's tail by parts. :) For package specific env, check https://wiki.gentoo.org/wiki//etc/portage/env Thank you for the link. It seems that I need something like described in its Example 1. Will try it later today. There is an app (the author calls it a hack) to remove extraneous localized messages after the fact... emerge localepurge ...and RTFM before using it. Some apps install messages/manpages/etc in umpteen languages, ***WITHOUT BEING ASKED***. This app gets rid of them. It cleaned out 20 megabytes on my system. It isn't that much on a desktop PC, but if you're working with a SOC that uses flash ram, it may be very nice. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-web-user] Administrativa: List closed
This mailing list is closed now. You can no longer post or subscribe. All subscribers are invited to participate in discussions on gentoo-user, or any of our other community venues instead. signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Thu, Feb 12, 2015 at 09:02:33AM -0500, Alec Ten Harmsel wrote: On 02/12/2015 08:15 AM, Gevisz wrote: # emerge --ask chromium ... The following USE changes are necessary to proceed: (see package.use in the portage(5) man page for more details) # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu Ok, done. # emerge --ask chromium ... !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-libs/libxml2:2 (dev-libs/libxml2-2.9.2:2/2::gentoo, ebuild scheduled for merge) pulled in by dev-libs/libxml2:=[icu] required by (www-client/chromium-40.0.2214.111:0/0::gentoo, ebuild scheduled for merge) ^^^ (dev-libs/libxml2-2.9.2:2/2::gentoo, installed) pulled in by dev-libs/libxml2:2[!icu?] required by (dev-qt/qtwebkit-4.8.5:4/4::gentoo, installed) ^ It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. You may want to try a larger value of the --backtrack option, such as --backtrack=30, in order to see if that will solve this conflict automatically. I think (emphasis on the think) that qtwebkit needs libxml2 with -icu, and chromium needs libxml2 with +icu. As far as I can tell from reading a couple bug reports, it looks like you can rebuild qtwebkit with -gstreamer (since that's what causes the !icu? blocker) and then you should be able to install chromium. Apparently icu is pretty annoying. Alternatively, you could just uninstall qtwebkit if you're not using it for anything. ...or you could enable +icu for qtwebkit so that qtwebkit also depends on a libxml2 with icu support. That way you could resolve that blocker. WKR Hinnerk PS: you'll likely still need to enable icu on libxml2 afterwards unless you already did so. signature.asc Description: PGP signature
Re: [gentoo-user] Re: systemd + openvpn
On Thu, Feb 12, 2015 at 11:37 PM, Joseph syscon...@gmail.com wrote: No, the problem in Fedora was thier selinux. I suppose to be some extra security, but it seems to me it creates only more problems. A common observation with SELinux. Even so, it definitely DOES provide additional security. It is a standard Linux feature and available on Gentoo as well. If the configuration isn't right (and it is easy to get it wrong) then you'll have problems. I forget all the details of SELinux, but you should be able to put it in a mode that logs but does not enforce. Using those logs you should be able to determine exactly what roles/permissions/labels/etc are missing. I suspect that if you just dumped the relevant logs on Fedora's bugzilla that they'd fix their openvpn package for you. If I had a working SELinux setup I wouldn't be too quick to just completely disable it over one package. -- Rich
[gentoo-user] A non-root user can delete files belonging to root. What's going on?
Hi, Gentoo. I'm clearing out dross from my home directory, as me (not as root) and I've just deleted this file: -rw-r--r-- 1 rootroot 0 Apr 11 2011 grep , simply by typing $ rm grep. I was prompted with: rm: remove write-protected regular empty file ■grep■? , to which I responded 'y'. The file is now gone. So, as a non root user, I've managed to delete a file belonging to root, to which I have no write access. This is crazy! I'm not happy about this. What's going on? -- Alan Mackenzie (Nuremberg, Germany).
[gentoo-user] rpm or deb package installs
Hello, So it's been some time for me, but there use to be easy ways to install .deb or rpm packages on gentoo; maybe in /usr/local/portage. [1] I only find this guide on wiki.gentoo.org : [2]. So what I really want is a modern (safe) methodical way to quickly install .deb or rpm packages (many should work) into /usr/local/portage for quick testing and evaluation before I hack together an ebuild for it. So are there any newer (vetted) methods to do this? Anyone who does this quit a lot would surely have some methods if not custom scripts addressing many little pitfalls? Are rpm's better to install than .deb packages in general? What about cleanup and removal: semantics, syntax, or scripts? I do see these in portage: app-arch/dpkg and app-arch/rpm. Any caveats or tricks anyone cares to share? James [1] http://www.gentoo-wiki.info/TIP_install_programs_without_portage [2] http://wiki.gentoo.org/wiki/RPM
Re: [gentoo-user] A non-root user can delete files belonging to root. What's going on?
On Fri, Feb 13, 2015 at 9:36 AM, Yuri K. Shatroff yks-...@yandex.ru wrote: The owner of a directory is able to delete any files in it. It would really be weird otherwise. I think, to be more precise, anybody with write and execute access to a directory (whether the owner or not) can remove files from a directory, unless the directory's sticky bit is set. If the sticky bit is set then only the owner of the directory can remove files not owned by themselves (ie, for /tmp). I believe having write access to the file itself is also sufficient to delete it. -- Rich
[gentoo-user] Re: compiling via distcc
Jeff Smelser tradergt at gmail.com writes: People do it all the time. You have to set up the amd64's to cross compile. https://wiki.gentoo.org/wiki/Distcc/Cross-Compiling Here are a few additional links for your perusal: http://wiki.gentoo.org/wiki/Distcc https://wiki.gentoo.org/wiki/Talk:Distcc/Cross-Compiling https://www.gentoo.org/proj/en/base/embedded/handbook/ All neatly available via google {keywords} hth, James
Re: [gentoo-user] A non-root user can delete files belonging to root. What's going on?
13.02.2015 17:31, Alan Mackenzie пишет: Hi, Gentoo. I'm clearing out dross from my home directory, as me (not as root) and I've just deleted this file: -rw-r--r-- 1 rootroot 0 Apr 11 2011 grep , simply by typing $ rm grep. I was prompted with: rm: remove write-protected regular empty file ■grep■? , to which I responded 'y'. The file is now gone. So, as a non root user, I've managed to delete a file belonging to root, to which I have no write access. This is crazy! I'm not happy about this. What's going on? The owner of a directory is able to delete any files in it. It would really be weird otherwise. -- Regards, Yuri K. Shatroff
Re: [gentoo-user] Switching off some linguas variables
On Fri, 13 Feb 2015 04:17:42 -0500 Walter Dnes waltd...@waltdnes.org wrote: On Thu, Feb 12, 2015 at 09:10:59AM +0200, Gevisz wrote On Thu, 12 Feb 2015 07:59:57 +0100 bitlord bitlord0...@gmail.com wrote: On Wed, 11 Feb 2015 21:09:44 +0200 Gevisz gev...@gmail.com wrote: What is the elegant way to switch off all but one linguas variables for a given package. I have tried all obvious solutions but they seem to do not work. For example, I have tried to put the following line into /etc/portage/package.use file: www-client/chromium -nls -linguas* linguas_en linguas_pl So far I am afraid to recompile everything with global -nls USE flag and LINGUAS=en in /etc/portage/make.conf. So, trying to cut the cat's tail by parts. :) For package specific env, check https://wiki.gentoo.org/wiki//etc/portage/env Thank you for the link. It seems that I need something like described in its Example 1. Will try it later today. There is an app (the author calls it a hack) to remove extraneous localized messages after the fact... emerge localepurge ...and RTFM before using it. Some apps install messages/manpages/etc in umpteen languages, ***WITHOUT BEING ASKED***. This app gets rid of them. It cleaned out 20 megabytes on my system. It isn't that much on a desktop PC, but if you're working with a SOC that uses flash ram, it may be very nice. Ok, thank you for a nice tip.
[gentoo-user] opengl: missing symlink target for header
Hi guys, If you have mesa and eselect-opengl-1.3.X installed, could you please tell me if the symlink /usr/include/GL/glext.h is broken for you? Thanks, -- Nicolas Sebrecht
Re: [gentoo-user] opengl: missing symlink target for header
On 13/02/2015 20:19, Nicolas Sebrecht wrote: Hi guys, If you have mesa and eselect-opengl-1.3.X installed, could you please tell me if the symlink /usr/include/GL/glext.h is broken for you? Thanks, All OK here, but it's not a symlink, it's a regular file: alan@khamul ~ $ ls -al /usr/include/GL/glext.h -rw-r--r-- 1 root root 772250 Feb 7 13:08 /usr/include/GL/glext.h alan@khamul ~ $ eix select-opengl [I] app-admin/eselect-opengl Available versions: 1.2.7 (~)1.3.1-r2 Installed versions: 1.3.1-r2(06:45:22 26/01/2015) -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Thu, 12 Feb 2015 13:24:55 + Neil Bothwick n...@digimed.co.uk wrote: On Thu, 12 Feb 2015 15:15:50 +0200, Gevisz wrote: And I would not report it if ._cfg0002_package.use would not suggested to insert # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu into /etc/portage/package.use for the third time in a row. Has that line actually been inserted into package.use? Portage doesn't add it to the live file, you need to run cfg-update or similar to handle it. As I have said, it was inserted in the ._cfg0002_package.use file as the recommendation to insert it to the package.use. But it is odd, as the qtwebkit package was by default built with -ice USE flag and that created the blocker. This situation would not appear if instead of the following, actual insertion into the ._cfg0002_package.use file: # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu it was suggested to insert # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu dev-qt/qtwebkit icu or something like that. I have made such changes earlier today and the blocker have gone. Nevertheless qtwebkit have not compiled cleanly but produced the following warning: Completed installing qtwebkit-4.8.5 into /var/tmp/portage/dev-qt/qtwebkit-4.8.5/image/ * QA Notice: Package triggers severe warnings which indicate that it *may exhibit random runtime failures. * libjpeg.cpp:51:32: warning: ‘cinfo’ is used uninitialized in this function [-Wuninitialized] * glib.cpp:55:38: warning: ‘pollfd’ is used uninitialized in this function [-Wuninitialized] * dom/Element.cpp:1083:112: warning: converting ‘false’ to pointer type ‘WebCore::RenderStyle*’ [-Wconversion-null] * Please do not file a Gentoo bug and instead report the above QA * issues directly to the upstream developers of this software. * Homepage: https://www.qt.io/ https://qt-project.org/ strip: x86_64-pc-linux-gnu-strip --strip-unneeded -R .comment -R .GCC.command.line -R .note.gnu.gold-version usr/lib64/qt4/libQtWebKit.so.4.9.4
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Thu, 12 Feb 2015 09:02:33 -0500 Alec Ten Harmsel a...@alectenharmsel.com wrote: On 02/12/2015 08:15 AM, Gevisz wrote: # emerge --ask chromium ... The following USE changes are necessary to proceed: (see package.use in the portage(5) man page for more details) # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu Ok, done. # emerge --ask chromium ... !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-libs/libxml2:2 (dev-libs/libxml2-2.9.2:2/2::gentoo, ebuild scheduled for merge) pulled in by dev-libs/libxml2:=[icu] required by (www-client/chromium-40.0.2214.111:0/0::gentoo, ebuild scheduled for merge) ^^^ (dev-libs/libxml2-2.9.2:2/2::gentoo, installed) pulled in by dev-libs/libxml2:2[!icu?] required by (dev-qt/qtwebkit-4.8.5:4/4::gentoo, installed) ^ It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. You may want to try a larger value of the --backtrack option, such as --backtrack=30, in order to see if that will solve this conflict automatically. I think (emphasis on the think) that qtwebkit needs libxml2 with -icu, and chromium needs libxml2 with +icu. Thank you for your answer and sorry for the delay in replying to it. When I first read your comment, I wanted to write: You've got it! But now, when the issue is solved, I should acknowledge that the qtwebkit has not required -icu, it was just compiled with -icu by default and that created the blocker. As far as I can tell from reading a couple bug reports, it looks like you can rebuild qtwebkit with -gstreamer (since that's what causes the !icu? blocker) and then you should be able to install chromium. Apparently icu is pretty annoying. Alternatively, you could just uninstall qtwebkit if you're not using it for anything. These your suggestions actually forced me to delay the answer, as I needed time to check which of my application packages depend on qtwebkit and if I really need gstreamer. Now, when the problem has been solved, it is not so important but nevertheless: 1. At least the app-text/goldendict, that I need very much, depends on qtwebkit. 2. I am not sure but my guess is that the gstreamer allows me to watch the video from youtube (partially), edX, cousera, etc. in a web-browser (I mainly use Firefox), as I never install any flash player to avoid too many flashing while browsing the Internet. (Would be interested to know if this my guess is correct.)
[gentoo-user] Re: repos.conf migration lost overlay priority
Nikos Chantziaras realnc at gmail.com writes: I migrated my portage config to the new repos.conf system. repos.conf system is very cool; thanks for posting about it; but it's brand new to me, so I cannot really give you advise. I did find this, in case you had not seen it yet: http://wiki.gentoo.org/wiki/Project:Portage/Sync I have a mess with different semantics for code evaluations, enhancements and ebuild hacking. I need a new semantic. I'm not going to hijack your thread, but I am going to follow this thread very closely and then attempt to clean up the myriads of old (hack) school methodologies that I have been using. Does this system effect epatch user, as in where the patches are placed? allowing several different epatch_users codes to be in existance and tested against one another? Is the devmanual up to date on this new system? Any and all resources related to repos.conf would be of interests to post to this thread. I now have a file /etc/portage/repos.conf/local.conf: [Local] location = /usr/local/portage auto-sync = no And removed the path from make.conf. However, now layman overlays override my local repo. If I copy an ebuild to /usr/local/portage (for modifications) and try to emerge it, it is not emerged. Instead, the ebuild from the other overlay is emerged. How do I make my local overlay have the highest priority so that it overrides *everything*? What version of portage are you running? 2.2.17 or 2.2.? What versions of python are set as your priority (default)? James
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Fri, 13 Feb 2015 12:50:35 +0100 Hinnerk van Bruinehsen h.v.bruineh...@fu-berlin.de wrote: On Thu, Feb 12, 2015 at 09:02:33AM -0500, Alec Ten Harmsel wrote: On 02/12/2015 08:15 AM, Gevisz wrote: # emerge --ask chromium ... The following USE changes are necessary to proceed: (see package.use in the portage(5) man page for more details) # required by www-client/chromium-40.0.2214.111 # required by chromium (argument) =dev-libs/libxml2-2.9.2 icu Ok, done. # emerge --ask chromium ... !!! Multiple package instances within a single package slot have been pulled !!! into the dependency graph, resulting in a slot conflict: dev-libs/libxml2:2 (dev-libs/libxml2-2.9.2:2/2::gentoo, ebuild scheduled for merge) pulled in by dev-libs/libxml2:=[icu] required by (www-client/chromium-40.0.2214.111:0/0::gentoo, ebuild scheduled for merge) ^^^ (dev-libs/libxml2-2.9.2:2/2::gentoo, installed) pulled in by dev-libs/libxml2:2[!icu?] required by (dev-qt/qtwebkit-4.8.5:4/4::gentoo, installed) ^ It may be possible to solve this problem by using package.mask to prevent one of those packages from being selected. However, it is also possible that conflicting dependencies exist such that they are impossible to satisfy simultaneously. If such a conflict exists in the dependencies of two different packages, then those packages can not be installed simultaneously. You may want to try a larger value of the --backtrack option, such as --backtrack=30, in order to see if that will solve this conflict automatically. I think (emphasis on the think) that qtwebkit needs libxml2 with -icu, and chromium needs libxml2 with +icu. As far as I can tell from reading a couple bug reports, it looks like you can rebuild qtwebkit with -gstreamer (since that's what causes the !icu? blocker) and then you should be able to install chromium. Apparently icu is pretty annoying. Alternatively, you could just uninstall qtwebkit if you're not using it for anything. ...or you could enable +icu for qtwebkit so that qtwebkit also depends on a libxml2 with icu support. That way you could resolve that blocker. It works. I have discovered it myself earlier today. Nevertheless, it is odd as -icu for qtwebkit was set by default. PS: you'll likely still need to enable icu on libxml2 afterwards unless you already did so.
Re: [gentoo-user] A non-root user can delete files belonging to root. What's going on?
On 13/02/2015 16:31, Alan Mackenzie wrote: Hi, Gentoo. I'm clearing out dross from my home directory, as me (not as root) and I've just deleted this file: -rw-r--r-- 1 rootroot 0 Apr 11 2011 grep , simply by typing $ rm grep. I was prompted with: rm: remove write-protected regular empty file ■grep■? , to which I responded 'y'. The file is now gone. So, as a non root user, I've managed to delete a file belonging to root, to which I have no write access. This is crazy! I'm not happy about this. What's going on? Nothing is going on, the system is working as designed and is doing it correctly. It's not the permissions of a file that apply to deletion, it's the permissions of the directory it's in. Because that's all a delete is - remove one linee from the directory index and the file goes away. It's also the exact opposite of creating the file, how does that work? Well you can't have write permissions yet on a file that has not been created, the permissions must be the directory. Same with delete. Trust me, there is no arguing with this - Unix has always worked this way and likely always will. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Package conflict while trying to emerge chromium
On 02/13/2015 01:02 PM, Gevisz wrote: These your suggestions actually forced me to delay the answer, as I needed time to check which of my application packages depend on qtwebkit and if I really need gstreamer. My bad. That's why I prefaced my response with (emphasis on think) - I don't have qtwebkit installed, nor gstreamer, nor chromium. Alec
Re: [gentoo-user] rpm or deb package installs
On 13/02/2015 16:12, James wrote: Hello, So it's been some time for me, but there use to be easy ways to install .deb or rpm packages on gentoo; maybe in /usr/local/portage. [1] I only find this guide on wiki.gentoo.org : [2]. So what I really want is a modern (safe) methodical way to quickly install .deb or rpm packages (many should work) into /usr/local/portage for quick testing and evaluation before I hack together an ebuild for it. So are there any newer (vetted) methods to do this? Anyone who does this quit a lot would surely have some methods if not custom scripts addressing many little pitfalls? Are rpm's better to install than .deb packages in general? What about cleanup and removal: semantics, syntax, or scripts? I do see these in portage: app-arch/dpkg and app-arch/rpm. Any caveats or tricks anyone cares to share? I doubt dpkg and rpm aren't going to be much use to you, unless you really want to run two package managers. Besides, both are not especially useful with the front ends apt* and yum. Any special reason why you don't instead download the sources and build them yourself with PREFIX=/usr/local ? -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] repos.conf migration lost overlay priority
I migrated my portage config to the new repos.conf system. I now have a file /etc/portage/repos.conf/local.conf: [Local] location = /usr/local/portage auto-sync = no And removed the path from make.conf. However, now layman overlays override my local repo. If I copy an ebuild to /usr/local/portage (for modifications) and try to emerge it, it is not emerged. Instead, the ebuild from the other overlay is emerged. How do I make my local overlay have the highest priority so that it overrides *everything*?
Re: [gentoo-user] repos.conf migration lost overlay priority
On Fri, 13 Feb 2015 20:29:07 +0200 Nikos Chantziaras wrote: I migrated my portage config to the new repos.conf system. I now have a file /etc/portage/repos.conf/local.conf: [Local] location = /usr/local/portage auto-sync = no And removed the path from make.conf. However, now layman overlays override my local repo. If I copy an ebuild to /usr/local/portage (for modifications) and try to emerge it, it is not emerged. Instead, the ebuild from the other overlay is emerged. How do I make my local overlay have the highest priority so that it overrides *everything*? Try to add priority = 100 to local.conf Best regards, Andrew Savchenko pgpLSYv7zqRwe.pgp Description: PGP signature
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Fri, 13 Feb 2015 19:36:45 +0200, Gevisz wrote: Has that line actually been inserted into package.use? Portage doesn't add it to the live file, you need to run cfg-update or similar to handle it. As I have said, it was inserted in the ._cfg0002_package.use file as the recommendation to insert it to the package.use. Inserting it into ._cfg0002_package.use does nothing but cause portage to prompt you to run etc-update. Until you do that nothing has changed as portage will still tell you to add the USE change. -- Neil Bothwick Exercise daily. Eat wisely. Die anyway. pgp0YLn5CbDzY.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Re: rpm or deb package installs
On 14/02/15 05:08, James wrote: Alan McKinnon alan.mckinnon at gmail.com writes: ... Any special reason why you don't instead download the sources and build them yourself with PREFIX=/usr/local ? Lots of errant codes flying everywhere so you have to pull a code audit to see what's in the raw tarballs before building. That takes way too much time. I'm working on setting up several more workstations for coding to isolate them from my main system. This approach you suggest is: error prone, takes too much time, and I'm lazy and sometimes even stupid. I need a structure methodology to be a one man extreme_hack_prolific system that prevents me from doing stupid things, whilst I'm distracted. rpm is just a wrapper around a an archive with instructions on how to build and or install it. I have more experience with rpm's but I believe debs are the same. Just unwrap your .rpm/.deb file of choice and install it manually (the binaries/code are usually in a zip inside the rpm). You should in most cases also be able to get a source rpm (which I suspect you are talking about anyway, but binaries do work deps permitting. you can install rpm and then install your package via rpm - seem to remember doing this with .debs somehow too. deps are a problem but usually workable. and why set up a workstation? - this sort of thing is tailor made for vm's. Create a base for your experiments with essential packages, settings etc, snapshot it (golden master) and then throwaway-restore when finished with that iteration. There are package managers besides gentoo/protage that can do a source build/install and track the files on gentoo - though portage will not know about it (rpm is one :) and lastly, what do mean error prone? - to me a manual install is the ONLY way you can build a proper ebuild that catches most of the problems. In the (admittedly few) ebuilds I have done an occasional human error is nothing compared to system problems for a difficult package. BillK
Re: [gentoo-user] Re: rpm or deb package installs
On Fri, 13 Feb 2015 21:08:55 + (UTC), James wrote: I doubt dpkg and rpm aren't going to be much use to you, unless you really want to run two package managers. Besides, both are not especially useful with the front ends apt* and yum. I'd just use those to unpackage and maybe preprocess some of the codes. Agreed. I do not want a full blown deb or rpm package manager just a way to install and evaluate some of those codes before beginning a more arduous and comprehensive task. In that case you ware deb2targz or rpm2targz to convert the package to a tarball. then you can unpack it and inspect the contents. -- Neil Bothwick If it ain't broke, break it and charge for repair. pgpSpSg0cOcF0.pgp Description: OpenPGP digital signature
Re: [gentoo-user] Package conflict while trying to emerge chromium
On Fri, Feb 13, 2015 at 08:02:08PM +0200, Gevisz wrote 2. I am not sure but my guess is that the gstreamer allows me to watch the video from youtube (partially), edX, cousera, etc. in a web-browser (I mainly use Firefox), as I never install any flash player to avoid too many flashing while browsing the Internet. (Would be interested to know if this my guess is correct.) I use the Seamonkey variant of Firefox. It has a more classic GUI interface, and a few other differences. It also has an option in the settings... Edit == Preferences == Advanced == Scripts Plugins You can choose whether or not to Activate all plugins by default. ***THIS IS NOT AN ADDON*** like Flashblock, so you don't have to worry about the author keeping up with the current version of the browser. It is a built-in setting. If you turn that option off, you get a box that says Activate Adobe Flash on any page with Flash on it. You can click on the box, and that activates only the one instance. If there are several flash boxes on a page, you can click on just the one(s) you want. -- Walter Dnes waltd...@waltdnes.org I don't run desktop environments; I run useful applications
[gentoo-user] Re: rpm or deb package installs
Alan McKinnon alan.mckinnon at gmail.com writes: I doubt dpkg and rpm aren't going to be much use to you, unless you really want to run two package managers. Besides, both are not especially useful with the front ends apt* and yum. I'd just use those to unpackage and maybe preprocess some of the codes. Agreed. I do not want a full blown deb or rpm package manager just a way to install and evaluate some of those codes before beginning a more arduous and comprehensive task. Maybe I should just put up a RH/centos box and evaluate codes there. It seems *everything* I want to test and look at in the cluster and hpc world, as a rpm or deb package; so I'm looking for a time saver, to surf thru the myriad of codes I'm getting; many look very cool from the outside, but once I run them, they are pigs... Then a slick way to keep them secure and clean it out. Maybe I need chroot jails too? I spend way to much time managing codes rather than I do actually writing code. I feel confused often and cannot seem to master this git_thingy I have not code seriously in a long time and now it is becoming an obsession, but the old ways are draining my constitutional powers. Any special reason why you don't instead download the sources and build them yourself with PREFIX=/usr/local ? Lots of errant codes flying everywhere so you have to pull a code audit to see what's in the raw tarballs before building. That takes way too much time. I'm working on setting up several more workstations for coding to isolate them from my main system. This approach you suggest is: error prone, takes too much time, and I'm lazy and sometimes even stupid. I need a structure methodology to be a one man extreme_hack_prolific system that prevents me from doing stupid things, whilst I'm distracted. Maybe I should just put up a VM resources on the net, blast tons of tests thru the vendors hardware and let them worry about the security ramifications? Some of it is these codes are based on 'functional languages' and I just do not trust what I do not fully understand. Stuff (files etc) goes everywhere and that makes me cautiously nervous. I have /usr/local for manual work and /usr/local/portage for ovelays (layman) but it's becoming a mess. There where to I put the work effort that is a result from repoman. Those codes seem to be parallel projects often when the code I'm evaluating needs to be cleaned up or extend to properly test. Furthermore I have a growing collection of file that result from kernel profiling via trace-cmd, valgrind, systemtap etc etc. As soon as I delete something, I need to re-generated it for one reason or another.. I just hope that this repo.conf effort helps be get more structurally organized? Did you see/test 'travis-ci' yet? [1] I'm not sure it's the same on github [2] but some of the devs are using it on github. James [1] http://docs.travis-ci.com/ [2] https://github.com/travis-ci/travis-ci
Re: [gentoo-user] opengl: missing symlink target for header
On 02/13/15 16:19, Nicolas Sebrecht wrote: Hi guys, If you have mesa and eselect-opengl-1.3.X installed, could you please tell me if the symlink /usr/include/GL/glext.h is broken for you? Thanks, Valid symlink here: $ ls -la /usr/include/GL/glext.h lrwxrwxrwx 1 root root 44 Feb 4 15:52 /usr/include/GL/glext.h - ../../lib64/opengl/global/include/GL/glext.h $ eselect opengl list Available OpenGL implementations: [1] nvidia * [2] xorg-x11 $ eselect mesa list 64bit i915 (Intel 915, 945) [1] classic [2] gallium * 64bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD) [1] classic * 64bit r300 (Radeon R300-R500) 64bit r600 (Radeon R600-R700, Evergreen, Northern Islands) 64bit sw (Software renderer) [1] classic [2] gallium * 32bit i915 (Intel 915, 945) [1] classic [2] gallium * 32bit i965 (Intel GMA 965, G/Q3x, G/Q4x, HD) [1] classic * 32bit r300 (Radeon R300-R500) [1] gallium * 32bit r600 (Radeon R600-R700, Evergreen, Northern Islands) [1] gallium * 32bit sw (Software renderer) [1] classic [2] gallium * $ eix -I mesa [ ... ] media-libs/mesa [ ... ] Installed versions: 10.2.8(20:57:55 01/10/15)(bindist classic dri3 egl gallium gbm llvm nptl udev xa xvmc -debug -gles1 -gles2 -opencl -openmax -openvg -osmesa -pax_kernel -pic -r600-llvm-compiler -selinux -vdpau -wayland ABI_MIPS=-n32 -n64 -o32 ABI_PPC=-32 -64 ABI_S390=-32 -64 ABI_X86=64 -32 -x32 KERNEL=linux -FreeBSD VIDEO_CARDS=intel -freedreno -i915 -i965 -ilo -nouveau -r100 -r200 -r300 -r600 -radeon -radeonsi -vmware) $ eix -I eselect-opengl [I] app-admin/eselect-opengl [ ... ] Installed versions: 1.2.7(21:12:14 09/05/14)
[gentoo-user] Re: opengl: missing symlink target for header
On 02/13/2015 10:19 AM, Nicolas Sebrecht wrote: Hi guys, If you have mesa and eselect-opengl-1.3.X installed, could you please tell me if the symlink /usr/include/GL/glext.h is broken for you? Like Alan, I have a regular file and not a symlink. The file was installed by mesa-10.4.4 IIUC, the only reason to install eselect-opengl is if you also install a package that installs modified/customized mesa libraries, e.g.nvidia-drivers or ati-drivers. Maybe you use such a package that created the symlink?
Re: [gentoo-user] printing over VPN
On 02/13/15 20:44, Joseph wrote: On 02/13/15 22:17, Michael Orlitzky wrote: On 02/13/2015 09:50 PM, Joseph wrote: I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? Does the VPN server also have a 10.0.0.x address? If so, you just need to tell the VPN clients that they can reach the 10.0.0.x network via the VPN, i.e. by routing through your VPN server. We have pretty much the same setup, with our VPN server sitting on 10.1.1.1 with some other private IP address. This is the client config for the OpenVPN server: # cat /etc/openvpn/client-config/DEFAULT push route 10.1.1.0 255.255.255.0 Then you point to that in openvpn.conf (also on the server): # grep client-config /etc/openvpn/openvpn.conf client-config-dir client-config After that, any new client connections will just know that 10.1.1.x can be reached over the VPN. Thank for replying. My eeepc VPN IP: 192.168.151.9 is the client connected over VPN to server VPN IP 192.168.151.1 So I inserted on eeepc (client) to /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 On a server 192.168.151.1 I have file: /etc/openvpn/server.conf /etc/openvpn/ccd/eeepc in /etc/openvpn/ccd/eeepc is: ifconfig-push 192.168.151.9 255.255.255.0 Do I add to eeepc client-config-dir ??? Which file on a server do I modify? One more question. Do I modify on a client eeepc file: /etc/cups/client.conf and add: ServerName 192.168.151.1:631 -- Joseph
[gentoo-user] systemd net interfaces always want a default route?
It looks like /etc/systemd/system/network@.service requires a gateway= line, however, for a second interface I wont set another default. Is there a standard way to so this, or do i have to copy network@.service to a new name and remove the 'ip route add' line?
Re: [gentoo-user] systemd net interfaces always want a default route?
On Fri, Feb 13, 2015 at 11:18 PM, Adam Carter adamcart...@gmail.com wrote: It looks like /etc/systemd/system/network@.service requires a gateway= line, however, for a second interface I wont set another default. Is there a standard way to so this, or do i have to copy network@.service to a new name and remove the 'ip route add' line? Where this service unit file came from? Did you write it yourself? If it's a static network (meaning, the computer does not usually moves physically), why don't you use a .network unit file (man 5 systemd.network)? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México
[gentoo-user] printing over VPN
I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? -- Joseph
Re: [gentoo-user] printing over VPN
On 02/13/2015 09:50 PM, Joseph wrote: I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? Does the VPN server also have a 10.0.0.x address? If so, you just need to tell the VPN clients that they can reach the 10.0.0.x network via the VPN, i.e. by routing through your VPN server. We have pretty much the same setup, with our VPN server sitting on 10.1.1.1 with some other private IP address. This is the client config for the OpenVPN server: # cat /etc/openvpn/client-config/DEFAULT push route 10.1.1.0 255.255.255.0 Then you point to that in openvpn.conf (also on the server): # grep client-config /etc/openvpn/openvpn.conf client-config-dir client-config After that, any new client connections will just know that 10.1.1.x can be reached over the VPN.
Re: [gentoo-user] printing over VPN
On 02/13/15 22:17, Michael Orlitzky wrote: On 02/13/2015 09:50 PM, Joseph wrote: I have a hard time finding any documentation on how to print over VPN. I have a network printer and I would like to setup my laptop to print to it over VPN. The remote VPN IP address is: 192.168.151.1 The printer IP is: socket://10.0.0.105 and lpd://10.0.0.106/BINARY_P1 I think I need some entries in VPN config files isn't it? Does the VPN server also have a 10.0.0.x address? If so, you just need to tell the VPN clients that they can reach the 10.0.0.x network via the VPN, i.e. by routing through your VPN server. We have pretty much the same setup, with our VPN server sitting on 10.1.1.1 with some other private IP address. This is the client config for the OpenVPN server: # cat /etc/openvpn/client-config/DEFAULT push route 10.1.1.0 255.255.255.0 Then you point to that in openvpn.conf (also on the server): # grep client-config /etc/openvpn/openvpn.conf client-config-dir client-config After that, any new client connections will just know that 10.1.1.x can be reached over the VPN. Thank for replying. My eeepc VPN IP: 192.168.151.9 is the client connected over VPN to server VPN IP 192.168.151.1 So I inserted on eeepc (client) to /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 On a server 192.168.151.1 I have file: /etc/openvpn/server.conf /etc/openvpn/ccd/eeepc in /etc/openvpn/ccd/eeepc is: ifconfig-push 192.168.151.9 255.255.255.0 Do I add to eeepc client-config-dir ??? Which file on a server do I modify? Thanks -- Joseph
Re: [gentoo-user] Re: rpm or deb package installs
On 13/02/2015 23:08, James wrote: Alan McKinnon alan.mckinnon at gmail.com writes: I doubt dpkg and rpm aren't going to be much use to you, unless you really want to run two package managers. Besides, both are not especially useful with the front ends apt* and yum. I'd just use those to unpackage and maybe preprocess some of the codes. Agreed. I do not want a full blown deb or rpm package manager just a way to install and evaluate some of those codes before beginning a more arduous and comprehensive task. Maybe I should just put up a RH/centos box and evaluate codes there. It seems *everything* I want to test and look at in the cluster and hpc world, as a rpm or deb package; so I'm looking for a time saver, to surf thru the myriad of codes I'm getting; many look very cool from the outside, but once I run them, they are pigs... Then a slick way to keep them secure and clean it out. Maybe I need chroot jails too? I spend way to much time managing codes rather than I do actually writing code. I feel confused often and cannot seem to master this git_thingy I have not code seriously in a long time and now it is becoming an obsession, but the old ways are draining my constitutional powers. I see you are doing more than I thought you were doing :-) rpms and debs are both cpio files so the easy way is to unpack them and see what's going on: rpm2cpio name.rpm | cpio -iv --make-directories dpkg -x somepackage.deb ~/temp/ Considering the size of what you are doing, you are probably better off running a Centos and Debian system to evaluate the code and discard the rubbish. Once you've isolated the interesting ones, you can evaluate them closer and maybe write ebuilds for them. Any special reason why you don't instead download the sources and build them yourself with PREFIX=/usr/local ? Lots of errant codes flying everywhere so you have to pull a code audit to see what's in the raw tarballs before building. That takes way too much time. I'm working on setting up several more workstations for coding to isolate them from my main system. This approach you suggest is: error prone, takes too much time, and I'm lazy and sometimes even stupid. I need a structure methodology to be a one man extreme_hack_prolific system that prevents me from doing stupid things, whilst I'm distracted. Maybe I should just put up a VM resources on the net, blast tons of tests thru the vendors hardware and let them worry about the security ramifications? Some of it is these codes are based on 'functional languages' and I just do not trust what I do not fully understand. Stuff (files etc) goes everywhere and that makes me cautiously nervous. I have /usr/local for manual work and /usr/local/portage for ovelays (layman) but it's becoming a mess. There where to I put the work effort that is a result from repoman. Those codes seem to be parallel projects often when the code I'm evaluating needs to be cleaned up or extend to properly test. Furthermore I have a growing collection of file that result from kernel profiling via trace-cmd, valgrind, systemtap etc etc. As soon as I delete something, I need to re-generated it for one reason or another.. I just hope that this repo.conf effort helps be get more structurally organized? Did you see/test 'travis-ci' yet? [1] I'm not sure it's the same on github [2] but some of the devs are using it on github. James [1] http://docs.travis-ci.com/ [2] https://github.com/travis-ci/travis-ci -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] A non-root user can delete files belonging to root. What's going on?
On 14/02/2015 00:05, Alan Mackenzie wrote: Trust me, there is no arguing with this - Unix has always worked this way and likely always will. :-) I ask myself, how come I've got this far without learning this pretty basic fact? Thanks for the explanation. :-) Don't feel too bad, it's one of my favourite geeky Unix trivia factoid questions. In 10 years, no-one yet has given the correct answer immediately! It's also very rare to have a file owned by root in a user directory, and even rarer for the user to spot the oddity. Most folks just don;t need to know that level of detail -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] systemd net interfaces always want a default route?
On 02/13/15 22:39, Canek Peláez Valdés wrote: On Fri, Feb 13, 2015 at 11:18 PM, Adam Carter [1]adamcart...@gmail.com wrote: It looks like /etc/systemd/system/network@.service requires a gateway= line, however, for a second interface I wont set another default. Is there a standard way to so this, or do i have to copy network@.service to a new name and remove the 'ip route add' line? Where this service unit file came from? Did you write it yourself? If it's a static network (meaning, the computer does not usually moves physically), why don't you use a .network unit file (man 5 systemd.network)? Regards. -- Canek Peláez Valdés Profesor de asignatura, Facultad de Ciencias Universidad Nacional Autónoma de México References 1. mailto:adamcart...@gmail.com I did mange to make it to work but, when I printed a pdf file or an OpenOffice document the job is being transmitted from client to server and being held, when I release it; it didn't get printed. The job just disappeared. ---configuration- My setting on server: /etc/cups/cupsd.conf ... Port 631 Listen /run/cups/cups.sock # Restrict access to the server... Location / Order allow,deny Allow localhost Allow 192.168.151.* On a eeepc client: /etc/openvpn/eeepc.conf ... push route 192.168.151.0 255.255.255.0 /etc/cups/client.conf ServerName 192.168.151.1:631 ---end configuration-- With the above setting when I open Fedora - Printer Setting (eeepc is running Fedora) I was able to see all the printers that I have installed on a server. But the result was strange, jobs disappearing, slow etc. Text file printed OK In addition my connection to the client was VERY, VERY slow when I ssh to it. I don't know if the cups had something to do with it. I disable the configuration and the response is much faster. -- Joseph