-
Posts
34 -
Joined
-
Last visited
Reputation Activity
-
engineer reacted to lego12239 in can't compile dev-lang/rust-1.46.0
Rust folk is specific people :-D.
-
engineer got a reaction from cardinal in sh: bad number
sh: bad number error is fixed by changing the following code
/usr/share/genkernel/defaults/linuxrc:
Replace
linuxrc: if [ "${USE_AUFS_NORMAL}" -eq '1' ]
With
linuxrc:
if [ "${USE_AUFS_NORMAL}" = '1' ] There are two instances.
-
engineer reacted to nrc in How do you ensure privacy in this day and age?
The basic 1.1.1.1 service is just about avoiding tracking through logging by your DNS provider. They support DNS over TLS and HTTPS if you want additional privacy. They also support DNSSEC although that really depends on the configuration of the site being checked.
https://developers.cloudflare.com/1.1.1.1/what-is-1.1.1.1/
-
engineer reacted to albatro74 in Ego sync does not work properly
SOLVED!
For some reason I don't remember my hosts file had the following line
140.82.118.4 github.com wiki.github.com gist.github.com assets0.github.com assets1.github.com assets2.github.com assets3.github.com
Removing the line solved completely the problem
-
engineer reacted to cardinal in dev-java/oracle-javamail-1.5.6: ("-push-to-maven-init" does not exist in the project "JavaMail")
Confirm emerge failure oracle-javamail-1.5.6
Install dev-java/javatoolkit-0.6.5.ebuild and dev-java/oracle-javamail-1.5.6-r1.ebuild from gentoo in your local overlay solves the issue.
In the process of building jedit-5.4.0 and its depends jython-2.7.0-r2 emerge failed.
Emerged jython by going to Bug 758881 - dev-java/jython-2.7.0-r2 AttributeError: 'NoneType' object has no attribute 'startswith' apply jython-2.7.0-r2.ebuild.patch regenerate manifest.
dev-java:jython-2.7.0-r2:20210319-042623.log dev-java:jython-2.7.0-r2:20210319-025110.log
dev-java:oracle-javamail-1.5.6-r1:20210319-185450.log
-
engineer reacted to stamasd in HOWTO: run 32-bit Windows applications on Funtoo-1.4 (my way)
Running 32-bit Win apps requires 32-bit wine. The wine available in 1.4 is 64-bit and will not run 32-bit Win binaries.
The following is a quick writeup on how I did it. There are other ways, possibly better, but this one is mine and I stand by it. ?
I opted to use a chrooted 32-bit environment in which I installed Gentoo and wine. I started by making a ~/gentoo folder and downloading a current 32-bit Gentoo stage3 in it:
mkdir gentoo cd gentoo wget <stage3_URL> You need to be root for the following steps
sudo su tar xpf <stage3> cp /etc/resolv.conf /home/<username>/gentoo/etc And then follow the installation steps in the Gentoo manual
mount -t proc none proc mount --rbind /sys sys mount --rbind /dev dev env -i HOME=/root TERM=$TERM /bin/chroot . bash -l # export PS1="(chroot) $PS1" (chroot)# emerge-webrsync (chroot)# emerge --sync (chroot)# eselect profile list and select a desktop profile. For me it was #5, default/linux/x86/17.0/desktop (stable). The desktop profile brings in Xorg which will be needed later for wine anyway.
(chroot)# eselect profile set 5 Edit make.conf to add the correct MAKEOPTS ("-j7" worked for me) then do a world update, and go do something else for a couple of hours.
(chroot)# emerge -avuDN @world Once done, set up Xserver redirection in chroot so it displays the image on the host.
On the host:
xauth list will show you the "magic" cookie of your host display. Put it into .Xauthority on the chroot:
sudo xauth extract <path_to_chroot>/root/.Xauthority <hostname>/unix:0 where <hostname> is the name of your host machine (mine is eb1)
(edit) NB when you log out of your host then log back in, the cookie changes so you will have to redo the line above, or X redirection will stop working.
In the chroot, verify that the cookie is set correctly:
(chroot)# xauth list should show the same as on the host
Also set the DISPLAY variable in chroot:
(host) echo $DISPLAY should show ":0.0"
(chroot)# export DISPLAY=":0.0" You can add the above line to /etc/profile in Gentoo so it gets automatically set every time you enter the chroot.
Verify that it works. In chroot run xcalc (you may have to install xcalc first), and it should display on the host.
(chroot)# xcalc If no errors, emerge wine in the chroot and configure it. You should have a 32-bit wine now, ready to run 32-bit Windows binaries (minus configuring, figuring out missing libs etc - but this is beyond the scope of this writeup)
(chroot)# emerge wine Final size of the chroot Gentoo on my disk was close to 4.5GB.
-
engineer reacted to drobbins in The Funtoo Way
Hey everyone,
I have updated our Development Guide to contain information on the "Funtoo Way". The "Funtoo Way" is a really important philosophy about how we do things at Funtoo and I strongly encourage everyone to read it, even if you don't consider yourself a "developer". It helps to explain how our community works and how we can work together.
https://www.funtoo.org/Development_Guide
Best,
Daniel
-
engineer reacted to lazlo.vii in Mininal and Optimized Stage3
I will say that adding more packages to the base install of Funtoo would add more attack surface to the distro. My home server gets over 100 login attempts every day on the SSH port alone. Among the many reasons why I use Funtoo is that the default install is small and while it isn't completely secure by default it has a very limited number of things I must lock down when I do an install. Could it be easier to use? Yes, it could...but it could also be far less secure by default. In my opinion the best way to make Funtoo easier to use (especially to those who are new to it) is to have those people with the most knowledge of the "Best Practices" write more documentation for Funtoo. On the other hand, it's those same people who are currently writing our bug fixes and feature improvements for the distro. It's a "Catch 22" in that regard.
-
engineer reacted to nigga-china in Mininal and Optimized Stage3
Some few days ago I knew about CloverOS that's basically Gentoo with more packages installed by default, with custom config files and also highly optimized with a bunch of flags to compile programs by the most optimized way. This caught my attention so I checked their packages and I saw that the CloverOS guys disable some flags that may break some specific packages, which is nice! Also some few days ago I knew about GentooLTO, that's an overlay for optimizing the compilation of packages. I like to try new things, so I tried GentooLTO with Funtoo on virtualbox but I got a bad news that GentooLTO doesn't work properly on Funtoo.
With those discoveries about the Gentoo world, I got myself thinking about if Funtoo had a stage3 with the suckless philosophy, minimal (this is, no custom config files and without a lot of packages installed by default, unlike CloverOS do, unfortunately; only the core as Funtoo's stage3 do), without "bloat" or "bad" (or maybe unnecessary) packages (as CloverOS do by not using systemd, pulseaudio, dbus, avahi and nls), with LibreSSL instead OpenSSL (and also with musl instead glibc if possible), and configured to compile programs to be the most optimized as possible.
Well, I'm a young man, I started using Linux about 5 months ago (and I started using Funtoo about 4 months ago) so I have no much experience to do all things I want on my Funtoo system. So I would like (and I think that many other people also would do) if someone that also liked theses ideas make a stage3 with theses "features". This is only an idea to try to make Funtoo more "cozy" to different kinds of people, I hope you guys liked it.
-
engineer got a reaction from cardinal in dependency conflict libxml2, itstool
Thanks guys - I've put all three way to override python in my package.use!!
# package.use
#
# three ways to select python version
>=app-text/asciidoc-8.6.10 python_single_target_python2_7 python_targets_python2_7
dev-util/itstool PYTHON_TARGETS: -* python3_6 PYTHON_SINGLE_TARGET: -* python3_6
dev-libs/libxml2 python_targets_python*
-
engineer reacted to cardinal in dependency conflict libxml2, itstool
Add to package.use dev-util/itstool PYTHON_TARGETS: -* python3_6 PYTHON_SINGLE_TARGET: -* python3_6 dev-libs/libxml2 PYTHON_TARGETS: -* python3_6 I don't specify >=< and package version when overriding default USE flags in package.use
Reference: https://wiki.gentoo.org/wiki/Project:Python/PYTHON_TARGETS
https://wiki.gentoo.org/wiki/Handbook:Parts/Working/USE
-
engineer reacted to jubalh in funtoo logo ideas
Looks like tibetan stuff to me. Maybe instead of a cow using a tibetan Yak ;)
would reasamble larry the cow and GNU haha
-
engineer reacted to Deklan? in funtoo logo ideas
Riccardo Messana (@morphmex), I liked this logo:
Creation and art by @j-g-
-
engineer reacted to nrc in funtoo logo ideas
Yeah, skulls don't really say "Funtoo" to me. Not even screaming satanic ones.
-
engineer reacted to walterw in Linux Builder
Hi all,
I built a java-based application that can build Gentoo / Funtoo / Ubuntu (and other Debian-based) systems from within any Linux distribution that has Java installed. The source code is here:
https://github.com/walterjwhite/linux-builder
And, I have a corresponding "system" to build an image:
https://github.com/walterjwhite/funtoo-linux
Caveats:
1. I will be updating the code on github as all of the dependencies for the linux-builder project are about a year old. There is no documentation, this needs to be written for anyone to use.
2. My own systems are much more complicated than the sample system there. This is meant to showcase what you CAN do. Furthermore, there is also no documentation as to what patches are available, this needs written.
a. a "system" contains patches
b. a "patch" contains all the changes necessary for that single patch unit. This could be copying files, creating a user, group, adding a service to a runlevel, installing packages, etc. Patches that are inter-related are linked through "dependencies". This ensures the base patch is installed first so if those files or libraries, etc. are needed, they will be installed prior to installing this patch. It is meant to be as generic as possible so if you want to prepare a configuration for Gentoo and want to translate that to Ubuntu, you can with ease (provided you know the package names and configuration directory).
c. a "phase" can be setup, build, update, finalize and provides hooks at various stages of the build process. Say for instance, you need to download a file before you attempt to unpack and install it, you would create a download item in the setup phase.
I've been using this system for about 3 years now and my goals are / were to:
1. make it easier to get started with Gentoo / Funtoo
2. allow users to switch across distributions whilst having the same applications, configuration, etc.
partially supported, each distribution tends to put files in different places and has different package names thus requiring the packages listed in add-packages to be updated as well as the configuration files to be in the right place
3. share this utility with other linux users (Gentoo, Funtoo, etc.) and see what others' interests were and how this might help them to accomplish those goals
4. allow users to backup their systems easily and restore them to a pristine state
5. provide a means to capture all the patches applied to a system
provided in an earlier release, and not currently implemented (relied on python and latex to generate PDF files describing the system)
Thanks for your feedback,
Walter
-
-
engineer reacted to aoeaoeaoeaoeaoeaoe in Cant install funtoo from existing distro
So I found on gentoo wiki:
https://wiki.gentoo.org/wiki/Installation_alternatives#Installing_Gentoo_from_an_existing_Linux_distribution
root #env -i HOME=$HOME TERM=$TERM chroot /mnt/gentoo /bin/bash root #/usr/sbin/env-update root #source /etc/profile But when I run second command after chrooting in /usr/sbin/env-update I get:
/usr/sbin/env-update Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/env-update", line 35, in <module> portage.env_update(makelinks) File "/usr/lib64/python2.7/site-packages/portage/proxy/objectproxy.py", line 30, in __call__ result = object.__getattribute__(self, '_get_target')() File "/usr/lib64/python2.7/site-packages/portage/proxy/lazyimport.py", line 130, in _get_target __import__(name) File "/usr/lib64/python2.7/site-packages/portage/util/env_update.py", line 23, in <module> from portage.dbapi.vartree import vartree File "/usr/lib64/python2.7/site-packages/portage/dbapi/vartree.py", line 73, in <module> from _emerge.EbuildBuildDir import EbuildBuildDir File "/usr/lib64/python2.7/site-packages/_emerge/EbuildBuildDir.py", line 6, in <module> from _emerge.AsynchronousLock import AsynchronousLock File "/usr/lib64/python2.7/site-packages/_emerge/AsynchronousLock.py", line 22, in <module> from portage.locks import lockfile, unlockfile File "/usr/lib64/python2.7/site-packages/portage/locks.py", line 11, in <module> import multiprocessing File "/usr/lib64/python2.7/multiprocessing/__init__.py", line 64, in <module> from multiprocessing.process import Process, current_process, active_children File "/usr/lib64/python2.7/multiprocessing/process.py", line 321, in <module> _current_process = _MainProcess() File "/usr/lib64/python2.7/multiprocessing/process.py", line 318, in __init__ self._authkey = AuthenticationString(os.urandom(32)) NotImplementedError: /dev/urandom (or equivalent) not found Partition is mounted to correct directory and chrooting in works fine. There you go wiz'es, show me your magic!
Edit: huh, it creates that traceback no matter what emerge command I run... makes me 'tink 'dis eazy solushion...
Solved: I forgot to mount
# mount -t proc none proc # mount --rbind /sys sys # mount --rbind /dev dev before chrooting. Totally not a noob.
