Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Calculate linux eclean
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Mar 23, 2021 12:06 pm    Post subject: Calculate linux eclean Reply with quote

Hello, and thank you for your support, in advance.

Calculate linux has been based on Gentoo.

Quote:
eclean-dist --destructive && eclean-pkg
!!! /var/calculate/distfiles does not appear to be a directory.

!!! Please set DISTDIR to a sane value.

!!! (Check your make.conf file and environment).



Update is working without any problems.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Tue Mar 23, 2021 12:47 pm    Post subject: Reply with quote

RIA77,

Code:
emerge --info
should tell where DISTDIR is.
It will be set in your profile but some older tools will want to read it from make.conf.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Mar 23, 2021 3:01 pm    Post subject: Reply with quote

Quote:
Portage 3.0.13 (python 3.8.8-final-0, default/amd64/20/desktop, gcc-10.2.0, glibc-2.32-r7, 5.10.22-calculate x86_64)
=================================================================
System uname: Linux-5.10.22-calculate-x86_64-Intel-R-_Core-TM-_i5-4200M_CPU_@_2.50GHz-with-glibc2.2.5
KiB Mem: 8074192 total, 1983360 free
KiB Swap: 16148380 total, 16148380 free
Timestamp of repository gentoo: Fri, 19 Mar 2021 15:00:01 +0000
sh bash 5.0_p18
ld GNU ld (Gentoo 2.35.1 p2) 2.35.1
app-shells/bash: 5.0_p18::gentoo
dev-lang/perl: 5.30.3::gentoo
dev-lang/python: 2.7.18_p7::gentoo, 3.8.8::gentoo, 3.9.2::gentoo
dev-util/cmake: 3.18.5::gentoo
dev-util/pkgconfig: 0.29.2::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.20::gentoo
sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake: 1.13.4-r2::gentoo, 1.16.2-r1::gentoo
sys-devel/binutils: 2.35.1-r1::gentoo
sys-devel/gcc: 10.2.0-r5::gentoo
sys-devel/gcc-config: 2.3.3::gentoo
sys-devel/libtool: 2.4.6-r6::gentoo
sys-devel/make: 4.3::gentoo
sys-kernel/linux-headers: 5.10::gentoo (virtual/os-headers)
sys-libs/glibc: 2.32-r7::gentoo
Repositories:

custom
location: /var/calculate/custom-overlay
masters: calculate gentoo

calculate
location: /var/db/repos/calculate
sync-type: calculate
sync-uri: git://github.com/calculatelinux/calculate.git
masters: gentoo
priority: 50

distros
location: /var/db/repos/distros
sync-type: calculate
sync-uri: git://github.com/calculatelinux/distros.git
masters: calculate gentoo
priority: 50

gentoo
location: /usr/portage
sync-type: calculate
sync-uri: git://github.com/calculatelinux/gentoo.git
priority: 50

tlp
location: /var/lib/layman/tlp
sync-type: laymansync
sync-uri: git://github.com/dywisor/tlp-portage.git
masters: gentoo
priority: 50

Installed sets: @autodeps, @custom
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=x86-64 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=x86-64 -pipe"
DISTDIR="/var/calculate/distfiles"
EMERGE_DEFAULT_OPTS=" --autounmask --binpkg-changed-deps=n --binpkg-respect-use=y --jobs=4 --quiet-build=n "
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles getbinpkg ipc-sandbox merge-sync multilib-strict network-sandbox parallel-fetch parallel-install pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles http://distfiles.gentoo.org"
INSTALL_MASK="/etc/systemd /lib*/systemd /usr/lib*/systemd /etc/shorewall*/* -/etc/shorewall*/shorewall*.conf"
LANG="en_US.utf8"
LDFLAGS="-Wl,--as-needed"
MAKEOPTS="-j5"
PKGDIR="/var/calculate/packages/x86_64"
PORTAGE_BINHOST="https://mirror.ihost.md/calculate-linux/grp/x86_64"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/calculate/tmp"
USE="3dnow 3dnowext X a52 aac acl acpi aes alsa amd64 amr audiofile avi avx berkdb bittorrent bluetooth box bzip2 cairo caps cdda cddb cdparanoia cgroups chm cli cpudetection cracklib crypt css cue cups dav1d dbus dftk djvu dri dv dvd dvdr dvdread ebook elogind encode exif faac fexif ffmpeg flac flash fma3 fma4 foomaticdb fortran ftp gadu gd gdbm gif gphoto2 gpm gstreamer gtk heif hunspell iconv id3tag idn ieee1394 imagemagick imap introspection ios ipod ipv6 irc jabber jpeg jpeg2k lame libglvnd libnotify libtirpc libwww lm-sensors logrotate lz4 lzo mad matroska mikmod mimap mmx mmxext mp3 mpeg mplayer multilib musepack ncurses networkmanager nfs nls nptl nsplugin ogg oggvorbis openal opencore-amr openexr opengl openmp opus oscar padlock pam pcre pdf pgo png policykit popcnt postscript ppp pulseaudio quicktime raw rdesktop readline real samba sasl scanner sdl seccomp semantic-desktop smp smtp speex spell split-usr srt sse sse2 sse3 sse4_1 sse4_2 sse4a ssl ssse3 svg taglib tcpd tga theora threads tiff truetype udev udisks unicode upnp upower usb userlocales v4l v4l2 vaapi vcd vdpau vhosts vnc vorbis vpx vulkan wavpack wayland webkit webp wimax win32codecs wmf wxwindows x264 x265 xanim xattr xcomposite xinerama xmp xop xv xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="*" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx sse sse2 * mmxext" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64 efi-32 pc" INPUT_DEVICES="libinput evdev mutouch synaptics" KERNEL="linux" L10N="en be bg bs cs da de de-1901 es es-AR es-CL es-ES es-MX et fi fr fr-CA hr hu it kk lt lv nl pl pt pt-BR pt-PT ro ru sk sl sr sq sv uk" LCD_DEVICES="* bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LIRC_DEVICES="devinput" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python3_8 python2_7" RUBY_TARGETS="ruby26" THEMES="CLDX" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev i915 i965 intel nouveau nv nvidia r100 r200 r300 r600 radeon qxl radeonsi vesa virtualbox via" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CC, CPPFLAGS, CTARGET, CXX, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30909
Location: here

PostPosted: Tue Mar 23, 2021 3:21 pm    Post subject: Reply with quote

What return ls -l /var/calculate command?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Tue Mar 23, 2021 3:37 pm    Post subject: Reply with quote

RIA77,

Code:
DISTDIR="/var/calculate/distfiles"

Is that set in make.conf or only in your profile?

Its not a default location for Gentoo, so adding
Code:
DISTDIR="/var/calculate/distfiles"
to make.conf may help
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Mar 23, 2021 4:21 pm    Post subject: Reply with quote

fedeliallalinea wrote:
What return ls -l /var/calculate command?

Quote:
total 28
drwxr-xr-x 4 portage portage 4096 Feb 6 13:44 custom-overlay
drwxr-xr-x 2 root root 4096 Feb 6 13:42 linux
drwxr-xr-x 2 root root 4096 Feb 6 13:42 lxc
drwxr-xr-x 3 root root 4096 Feb 6 14:14 packages
drwxr-xr-x 3 root root 4096 Feb 6 14:45 remote
drwx------ 8 root root 4096 Feb 8 14:02 server
drwxr-xr-x 4 root root 4096 Feb 8 17:19 tmp




Tried with /etc/portage/make.conf.

I see file that's there, but...

"make.conf" is a directory
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54236
Location: 56N 3W

PostPosted: Tue Mar 23, 2021 5:12 pm    Post subject: Reply with quote

RIA77,

There is no /var/calculate/distfiles there so you can't eclean it.
When you build something, emerge should say where its downloading files too.

Code:
total 28
drwxr-xr-x 4 portage portage 4096 Feb 6 13:44 custom-overlay
drwxr-xr-x 2 root root 4096 Feb 6 13:42 linux
drwxr-xr-x 2 root root 4096 Feb 6 13:42 lxc
drwxr-xr-x 3 root root 4096 Feb 6 14:14 packages
drwxr-xr-x 3 root root 4096 Feb 6 14:45 remote
drwx------ 8 root root 4096 Feb 8 14:02 server
drwxr-xr-x 4 root root 4096 Feb 8 17:19 tmp

There are 28 files there. . and .. we know about and 7 others. That's 9 of 28.

What does
Code:
ls -la /var/calculate
show?
the -a means all.

make.conf as a file or directory works. The file in make.conf/ are concatenated in lexical order before being treated as a make.conf file.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Tue Mar 23, 2021 7:34 pm    Post subject: Reply with quote

Quote:
total 36
drwxr-xr-x 9 root root 4096 Feb 6 14:14 .
drwxr-xr-x 12 root root 4096 Feb 6 14:57 ..
drwxr-xr-x 4 portage portage 4096 Feb 6 13:44 custom-overlay
drwxr-xr-x 2 root root 4096 Feb 6 13:42 linux
drwxr-xr-x 2 root root 4096 Feb 6 13:42 lxc
drwxr-xr-x 3 root root 4096 Feb 6 14:14 packages
drwxr-xr-x 3 root root 4096 Feb 6 14:45 remote
drwx------ 8 root root 4096 Feb 8 14:02 server
drwxr-xr-x 4 root root 4096 Feb 8 17:19 tmp


Tried to add file in make.conf, but without sucess.
I got "sucessfuly saved" but, when I open make.conf, again it's empty.
Back to top
View user's profile Send private message
yagami
Apprentice
Apprentice


Joined: 12 May 2002
Posts: 269
Location: Leiria, Portugal

PostPosted: Sun Feb 19, 2023 1:19 am    Post subject: Reply with quote

my thinking is that DISTDIR really is "/var/calculate/distfiles" but since Calculate has binaries for practically everything, nothing was build yet ( and only is build if package settings are changed ).


RIA77,

there are files called "custom" which is where you should make the changes. Probably the file you edited was managed by their Calculate templates, like mentioned in the top comments in the file. You can always override it with xxxx.conf.clt, like in the file comments.


( is this necrobumping? sorry if it is, but just trying to give some clue at what is probably happening )
Back to top
View user's profile Send private message
RIA77
Guru
Guru


Joined: 24 Feb 2016
Posts: 342

PostPosted: Fri Mar 03, 2023 6:58 pm    Post subject: Reply with quote

Old thread, thank you, moved to Gentoo :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum