D
Deleted member 9563
Guest
Beastie said:Have you ever seen the number of dependencies Xfce has?
Good point. In my (little) experience, the very large GTK system can be time consuming to compile.
Beastie said:Have you ever seen the number of dependencies Xfce has?
trh411 said:Well, since you already have X installed, you might want to leave it as is and consider a more lightweight window manager instead of a full blown desktop like x11-wm/xfce.
You may be interested in the following thread from the Howtos Section of the forum which walks you through building a minimal desktop environment Minimal FreeBSD Desktop.
wblock@ said:We still don't know how fast your computer is, or what the situation was. Did you start with no ports installed? Were there outdated packages installed? We know you had deleted build dependencies, so those have to be built.
So: stop. Take a deep breath. Don't obsess over the number of ports, it's not really indicative of anything. Many of the standard dependencies can take a while to build but then are mostly static. For example, gettext takes a while to build, but does not change often. So once it's installed, it does not need to be installed again.
Switch to another console and tryps axww | grep portmasterto see what it is doing. Or look in the compile output. Scroll Lock can be used to pause the output. When paused, the arrow keys and Page Up/Page Down can be used to scroll around.
ps axww reveals that portmaster is currently working on:kisscool-fr said:Do you have any option set in your portmaster's configuration files?
#Always delete stale distfiles without prompting (-d)
ALWAYS_SCRUB_DISTFILES=dopt
# Be verbose (-v)
PM_VERBOSE=vopt
# Install packages for build-only dependencies (--packages-build)
PM_PACKAGES_BUILD=pmp_build
# Delete build-only dependencies when finished (--delete-build-only)
PM_DEL_BUILD_ONLY=pm_dbo
#Suppress the build confirmation message (--no-confirm)
PM_NO_CONFIRM=pm_no_confirm
Beastie said:Have you ever seen the number of dependencies Xfce has?
DON'T!!! This is totally unnecessary. What's wonderful about FreeBSD is that the base system and third-party ports are entirely separate entities.
You can get back to a clean install with 2 simple commands:
# rm -R /usr/local
# rm -R /var/db/pkg
"Experience is one thing you can't get for nothing." (Oscar Wilde)
"Experience is what you get when you didn't get what you wanted." (Randy Pausch)
Stay positive![]()
wblock@ said:The short version ispkg_delete -a.![]()
markbsd said:It's an old notebook, about 10 years old.
markbsd said:The Xfce4 port build is STILL GOING??! That makes run-time 20 hours and counting! LOL
Something has to be wrong, this is absurd!
markbsd said:I think I will. I'm going to abort this failure, delete everything, and usepkg install.
What is the pkg command equivalency ofpkg_delete -a.
Alternatively, I might give FreeBSD a chance on one of my newer systems. Last time I tried it refused to cooperate.
pkg delete -a. This command will delete all installed packages from the system and clear the database.markbsd said:Code:#Always delete stale distfiles without prompting (-d) ALWAYS_SCRUB_DISTFILES=dopt # Be verbose (-v) PM_VERBOSE=vopt # Install packages for build-only dependencies (--packages-build) PM_PACKAGES_BUILD=pmp_build # Delete build-only dependencies when finished (--delete-build-only) PM_DEL_BUILD_ONLY=pm_dbo #Suppress the build confirmation message (--no-confirm) PM_NO_CONFIRM=pm_no_confirm
Maybe I've enabled some option that is making this process excruciatingly long?
Apparently, it only has 13 run dependencies. Not sure how many build.
make all-depends-list for a big port like x11/xorg. Also make missing is very helpful. Intersecting outputs from those when run on different ports should give you an idea what those very common ports are. From memory I can list at least a couple that are used all the time: lang/perl5.16, lang/python27, devel/autoconf, devel/automake, devel/libtool, devel/gmake, devel/gettext and many others.trh411 said:I have a 5 year old Intel Core2Duo system. A state-of-the-art Intel i7 quad core system is nearly 5 times faster (according to popular CPU benchmarks) and uses memory that is twice as fast as mine. It takes me about 2 hours to install the entire x11/xorg meta port.
Extrapolating backwards, your system is probably 1/5th as fast as mine, which means about 10 hours to install the entire x11/xorg meta port.
markbsd said:I do:
Code:#Always delete stale distfiles without prompting (-d) ALWAYS_SCRUB_DISTFILES=dopt # Be verbose (-v) PM_VERBOSE=vopt # Install packages for build-only dependencies (--packages-build) PM_PACKAGES_BUILD=pmp_build # Delete build-only dependencies when finished (--delete-build-only) PM_DEL_BUILD_ONLY=pm_dbo #Suppress the build confirmation message (--no-confirm) PM_NO_CONFIRM=pm_no_confirm
Maybe I've enabled some option that is making this process excruciatingly long?
wblock@ said:Yes, deleting build dependencies is a mistake. But that won't have an effect until the next time.
wblock@ said:If you were to stop and then restart the build, all of the ports it had already installed would not need to be installed again. But your settings to delete build dependencies will defeat that, forcing them to be rebuilt. That includes big things that are slow to compile, like gcc-6.4 at present. Deleting all ports magnifies that, discarding all the work that has been done.
If you stop throwing away all the work each time, it will eventually complete and then take much less time to update or add.
portmaster thread with 'wanted upgrades' 'optimal switch configurations' 'FAQ use cases' to lessen the explanations scattered throughout multiple threads, quite often duplicating content, as least it seems. pkg installs. If I build up the courage to install FreeBSD on one of my newer computers I might return to ports, but the reward doesn't justify the cost (time) invested in this instance. In fact, I've been reading up a lot on ports vis a vis pkg installs and it seems ports don't really offer much more of a benefit at all. So, I may just remain with pkg installs notwithstanding what architecture I'm running.Yes, but it often leaves traces everywhere in /usr/local and is slower since it has to navigate through the entire dependency>root package hierarchy instead of just deleting files indiscriminately.wblock@ said:The short version ispkg_delete -a.![]()
The only advantage that ports have over pre-built packages is that you can use non-default build options, including 1) the removal of some parts/dependencies you don't need and that make the application bigger (and sometimes slower) and 2) the inclusion of experimental features you may need.markbsd said:I've been reading up a lot on ports vis a vis pkg installs and it seems ports don't really offer much more of a benefit at all.
markbsd said:So, ports provided a significantly faster operation of x,y,z programs than whatpkg installprovided?