View previous topic :: View next topic |
Author |
Message |
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Fri Aug 20, 2021 4:58 pm Post subject: new install |
|
|
I'm trying to install Gentoo on a macbook 4.1 (core2duo T8300, 2Gb MEM, GM965) in the following configuration:
HFS+ partition - MacOS 10.7
HFS+ partition - Linux
the linux kernel will be efi-stub with hardcoded boot-args as I already have Apple's BootManager and intel EFI 1.0/1.1 and I don't need a second loader.
I followed the handbook(AMD64) but I'm stuck in the kernel part, something will not compile at any(all) given chance(s) or not install. (gentoo failed install phase)
I'm trying to install gentoo-amd64-nomultilib-openrc, for a minimal install with mostly X11.
this is my emerge --info output
Code: |
Portage 3.0.20 (python 3.9.6-final-0, default/linux/amd64/17.1/no-multilib, gcc-10.3.0, glibc-2.33-r1, 5.10.52-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.10.52-gentoo-x86_64-x86_64-Intel-R-_Core-TM-2_Duo_CPU_T8300_@_2.40GHz-with-glibc2.33
KiB Mem: 2028716 total, 577388 free
KiB Swap: 0 total, 0 free
Timestamp of repository gentoo: Fri, 20 Aug 2021 14:30:01 +0000
Head commit of repository gentoo: 806d1fd39293731ab83a31501430cb266b5ba61b
sh bash 5.1_p8
ld GNU ld (Gentoo 2.35.2 p1) 2.35.2
app-shells/bash: 5.1_p8::gentoo
dev-lang/perl: 5.34.0::gentoo
dev-lang/python: 3.9.6_p1::gentoo
sys-apps/baselayout: 2.7::gentoo
sys-apps/openrc: 0.42.1-r1::gentoo
sys-apps/sandbox: 2.24::gentoo
sys-devel/autoconf: 2.69-r5::gentoo
sys-devel/automake: 1.16.3-r1::gentoo
sys-devel/binutils: 2.35.2::gentoo
sys-devel/gcc: 10.3.0-r2::gentoo
sys-devel/gcc-config: 2.4::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.33-r1::gentoo
Repositories:
gentoo
location: /var/db/repos/gentoo
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000
sync-rsync-verify-max-age: 24
sync-rsync-verify-metamanifest: yes
sync-rsync-extra-opts:
sync-rsync-verify-jobs: 1
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -mtune=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=core2 -mtune=native -O2 -pipe"
DISTDIR="/var/cache/distfiles"
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="-march=core2 -mtune=native -O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-march=core2 -mtune=native -O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/var/cache/binpkgs"
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/tmp"
USE="amd64 bzip2 dev elf libglvnd split-usr x" ABI_X86="64" ELIBC="glibc" KERNEL="linux" USERLAND="GNU"
Unset: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS
|
at this point I can't proceed further
Last edited by usr99 on Fri Aug 20, 2021 10:16 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Fri Aug 20, 2021 5:07 pm Post subject: |
|
|
Jaglover wrote: | I don't think you can install Linux on HFS+. |
why not? I can add HFS+ support and my machine can boot it (tested)
If there are linux-specific issues I can move to another filesystem but that's not the problem |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
Posted: Fri Aug 20, 2021 5:21 pm Post subject: |
|
|
OK, until lately HFS even didn't support all UNIX filesystem attributes Linux needs, perhaps latest versions are improved. Then also Linux driver for HFS+ needs to support them.
Anyhow, without seeing your errors no-one can tell what this is about. _________________ My Gentoo installation notes.
Please learn how to denote units correctly! |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Fri Aug 20, 2021 5:53 pm Post subject: |
|
|
I'll post it as I get that error
[reserved for edit] |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Fri Aug 20, 2021 6:39 pm Post subject: |
|
|
https://i.imgur.com/D55v6C3.png
https://imgur.com/a/arBNwbz
(not sure if i can save tty output to a text file)
when trying to install "elfutils" , this is the kind of error I'm getting for most emerge installs, not even wgetpaste
the virtual machine is just for convenience, os is written on a real partition
Last edited by usr99 on Fri Aug 20, 2021 7:02 pm; edited 1 time in total |
|
Back to top |
|
|
Jaglover Watchman
Joined: 29 May 2005 Posts: 8291 Location: Saint Amant, Acadiana
|
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Fri Aug 20, 2021 8:14 pm Post subject: |
|
|
this is the console output, full log at
https://ghostbin.com/paste/rgBRt
this is the last part
Code: |
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/man/man3'
/bin/mkdir -p '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/man/man1'
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 /var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/elf_update.3 /var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/elf_getdata.3 /var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/elf_clone.3 /var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/elf_begin.3 '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/man/man3'
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/readelf.1' '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/man/man1/eu-readelf.1'
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185/doc/elfclassify.1' '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/man/man1/eu-elfclassify.1'
Making install in tests
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Nothing to be done for 'install-exec-am'.
/bin/mkdir -p '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/include/elfutils'
/usr/lib/portage/python3.9/ebuild-helpers/xattr/install -c -m 644 version.h '/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/include/elfutils'
ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, owner=-1, mode=420, preserve_timestamps=False), source=b'README', dest_dir=b'/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/doc/elfutils-0.185'
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 193, in run
copyfile(source, dest)
File "/usr/lib/python3.9/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 22] Invalid argument
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, owner=-1, mode=420, preserve_timestamps=False), source=b'ChangeLog', dest_dir=b'/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/doc/elfutils-0.185'
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 193, in run
copyfile(source, dest)
File "/usr/lib/python3.9/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 22] Invalid argument
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, owner=-1, mode=420, preserve_timestamps=False), source=b'AUTHORS', dest_dir=b'/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/doc/elfutils-0.185'
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 193, in run
copyfile(source, dest)
File "/usr/lib/python3.9/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 22] Invalid argument
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, owner=-1, mode=420, preserve_timestamps=False), source=b'NEWS', dest_dir=b'/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/doc/elfutils-0.185'
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 193, in run
copyfile(source, dest)
File "/usr/lib/python3.9/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 22] Invalid argument
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
>>> Failed to emerge dev-libs/elfutils-0.185, Log file:
>>> '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'
* Messages for package dev-libs/elfutils-0.185:
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* ERROR: dev-libs/elfutils-0.185::gentoo failed (install phase):
* dodoc failed
*
* If you need support, post the output of `emerge --info '=dev-libs/elfutils-0.185::gentoo'`,
* the complete build log and the output of `emerge -pqv '=dev-libs/elfutils-0.185::gentoo'`.
* The complete build log is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/dev-libs/elfutils-0.185/temp/environment'.
* Working directory: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
* S: '/var/tmp/portage/dev-libs/elfutils-0.185/work/elfutils-0.185'
|
giving up |
|
Back to top |
|
|
pietinger Moderator
Joined: 17 Oct 2006 Posts: 4236 Location: Bavaria
|
Posted: Fri Aug 20, 2021 11:51 pm Post subject: |
|
|
your use-flags seems to be strange:
Quote: | USE="amd64 bzip2 dev elf libglvnd split-usr x" |
There doesnt exist a "amd64" as use-flag; also there is no "x" and you really dont want to set "elf" ... what did you set ? And why you dont have the standard use-flags when setting the correct profile.
Please give us the output of
Code: | eselect profile list
less /etc/portage/make.conf |
There should be a "*" at profile nr. 12 ... |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 21706
|
Posted: Sat Aug 21, 2021 12:40 am Post subject: |
|
|
Code: | ERROR:root:Failed to copy file: _parsed_options=Namespace(group=-1, owner=-1, mode=420, preserve_timestamps=False), source=b'README', dest_dir=b'/var/tmp/portage/dev-libs/elfutils-0.185/image/usr/share/doc/elfutils-0.185'
Traceback (most recent call last):
File "/usr/lib/portage/python3.9/doins.py", line 193, in run
copyfile(source, dest)
File "/usr/lib/python3.9/site-packages/portage/util/file_copy/__init__.py", line 30, in _optimized_copyfile
_file_copy(src_file.fileno(), dst_file.fileno())
OSError: [Errno 22] Invalid argument | This failed down inside Portage's C helper function _reflink_linux_file_copy, so the callstack is incomplete. The code is a bit hard to trace as to where exactly this failed. You might try to get the exact invocation of dodoc and use strace to find the specific syscall that failed. (Or you could patch Portage to be more descriptive here, but strace is the easier path.) My first guess would be to blame HFS+, but that's just a guess. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 10:45 am Post subject: |
|
|
pietinger wrote: | your use-flags seems to be strange:
Quote: | USE="amd64 bzip2 dev elf libglvnd split-usr x" |
There doesnt exist a "amd64" as use-flag; also there is no "x" and you really dont want to set "elf" ... what did you set ? And why you dont have the standard use-flags when setting the correct profile.
Please give us the output of
Code: | eselect profile list
less /etc/portage/make.conf |
There should be a "*" at profile nr. 12 ... |
I'm using (12) gentoo-amd64-nomultilib-openrc stable profile.
I didn't manually add these USE flags.
If it fails again I'll try with an EXT4 instead of HFS+ |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 12:21 pm Post subject: |
|
|
usr99,
The profile Code: | default/linux/amd64/17.1/no-multilib | and the USE flags Code: | USE="amd64 bzip2 dev elf libglvnd split-usr x" | are contradictory.
Something somewhere has changed your USE flags.
The package that failed was dev-libs/elfutils-0.185.
Your build log says
Code: | [ebuild N ] dev-libs/elfutils-0.185 USE="bzip2 test -lzma -nls -static-libs (-threads) -utils -valgrind -zstd" |
Where did the test USE flag come from?
Lots of things break with that enabled. Be aware that on some packages tests can take days to run. There are good reasons why USE=-test is the default and should be enabled only if you really want to build and runt the test suit for a package. USE=test can pull in lots of other packages too.
It looks like you have something in /etc/portage/package.use/ that is making a mess of things. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 1:05 pm Post subject: |
|
|
NeddySeagoon wrote: | usr99,
The profile Code: | default/linux/amd64/17.1/no-multilib | and the USE flags Code: | USE="amd64 bzip2 dev elf libglvnd split-usr x" | are contradictory.
Something somewhere has changed your USE flags.
The package that failed was dev-libs/elfutils-0.185.
Your build log says
Code: | [ebuild N ] dev-libs/elfutils-0.185 USE="bzip2 test -lzma -nls -static-libs (-threads) -utils -valgrind -zstd" |
Where did the test USE flag come from?
Lots of things break with that enabled. Be aware that on some packages tests can take days to run. There are good reasons why USE=-test is the default and should be enabled only if you really want to build and runt the test suit for a package. USE=test can pull in lots of other packages too.
It looks like you have something in /etc/portage/package.use/ that is making a mess of things. |
It still gives me that error even without setting any USE, where do I change these? seems like they are set by something else
the most common error is "dodoc failed" |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 1:30 pm Post subject: |
|
|
usr99,
What does Quote: | without setting any USE | mean?
USE flags are set in a hierarchy.
The highest level, the defaults if you like, are set by your profile.
The setting in the profile are changed by the settings in make.conf. USE flags can be added or removed there.
This gives the global settings shown by which you posted as Code: | USE="amd64 bzip2 dev elf libglvnd split-usr x" |
Note that "test" is not there.
The file/directory /etc/potage/package.use/ gives further fine grained control of USE flags on a per package basis. if you want it.
Lastly, for completeness, USE flags can be given on the command line.
Portage will not remember command line USE settings, so its only useful for seeing what would happen.
To see the USE flags the portage is going to apply, issue the command
There is a special USE flag that means forget all the USE flags read until now. Did you use it, hence my question at the top?
-- edit --
While the above may help your understanding, it won't help identify where USE=test is being set.
What is the output of Code: | grep test -R /etc/portage |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 1:40 pm Post subject: |
|
|
NeddySeagoon wrote: | usr99,
What does Quote: | without setting any USE | mean?
USE flags are set in a hierarchy.
The highest level, the defaults if you like, are set by your profile.
The setting in the profile are changed by the settings in make.conf. USE flags can be added or removed there.
This gives the global settings shown by which you posted as Code: | USE="amd64 bzip2 dev elf libglvnd split-usr x" |
Note that "test" is not there.
The file/directory /etc/potage/package.use/ gives further fine grained control of USE flags on a per package basis. if you want it.
Lastly, for completeness, USE flags can be given on the command line.
Portage will not remember command line USE settings, so its only useful for seeing what would happen.
To see the USE flags the portage is going to apply, issue the command
There is a special USE flag that means forget all the USE flags read until now. Did you use it, hence my question at the top?
-- edit --
While the above may help your understanding, it won't help identify where USE=test is being set.
What is the output of Code: | grep test -R /etc/portage |
|
/etc/potage/package.use/ is empty
/etc/portage/make.conf has USE flags which are different than the ones "Emerge --info" displays, and are not picked by emerge
"grep test -R /etc/portage" show the use flags written in make.conf |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 1:52 pm Post subject: |
|
|
usr99,
/etc/potage/package.use/ is empty ... good.
/etc/portage/make.conf has USE flags which are different than the ones "Emerge --info" displays
We need to find out why.
Does the file /et/make.conf exist?
It shouldn't as it was migrated to /etc/portage/ a long time ago but portage uses it if its there.
Likewise, /etc/package.use ?
What is the output of _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 2:01 pm Post subject: |
|
|
do you mean /etc/make.conf ? no
Inside /etc/portage
make.conf
make.profile
package.use - folder is empty
repo.postsync.d
savedconfig
Last edited by usr99 on Sat Aug 21, 2021 2:08 pm; edited 1 time in total |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 2:07 pm Post subject: |
|
|
usr99,
I really mean not just the file names.
Why is package.use there?
Its not provided in the stage3 tarball. What is the output of Code: | cat /etc/portage/package.use/* |
Pastebins would be good. wgetpaste can help there. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 2:40 pm Post subject: |
|
|
NeddySeagoon wrote: | usr99,
I really mean not just the file names.
Why is package.use there?
Its not provided in the stage3 tarball. What is the output of Code: | cat /etc/portage/package.use/* |
Pastebins would be good. wgetpaste can help there. |
ls -l /etc/portage
Code: |
total 8
-rwxr-xr-x 1 root root 612 Aug 21 13:48 make.conf
lrwxrwxrwx 1 root root 71 Aug 21 13:45 make.profile -> ../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/no-multilib
drwxr-xr-x 1 root root 2 Aug 21 13:34 package.use
drwxr-xr-x 1 root root 3 Aug 15 18:30 repo.postsync.d
drwxr-xr-x 1 root root 3 Aug 15 18:27 savedconfig
|
cat /etc/portage/package.use/*
Code: |
package.use is a directory
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 3:08 pm Post subject: |
|
|
usr99,
Good Code: | lrwxrwxrwx 1 root root 71 Aug 21 13:45 make.profile -> ../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/no-multilib | your HFS supports symbolic links.
Code: | cat /etc/portage/package.use/* |
Did you miss the /* off the end of your command?
I means concatenate the contents of all the files in the /etc/portage/package.use directory. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 3:18 pm Post subject: |
|
|
NeddySeagoon wrote: | usr99,
Good Code: | lrwxrwxrwx 1 root root 71 Aug 21 13:45 make.profile -> ../../var/db/repos/gentoo/profiles/default/linux/amd64/17.1/no-multilib | your HFS supports symbolic links.
Code: | cat /etc/portage/package.use/* |
Did you miss the /* off the end of your command?
I means concatenate the contents of all the files in the /etc/portage/package.use directory. |
with /* it says no such file or directory |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 3:38 pm Post subject: |
|
|
usr99,
We are no further forward ... yet.
Putting my make.conf out of the way, the default/linux/amd64/17.1/no-multilib profile gives you.
Code: | USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" |
Your emerge --info is quite different.
Please post the content oy your 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 |
|
|
usr99 n00b
Joined: 19 Aug 2021 Posts: 38 Location: on a token-ring network
|
Posted: Sat Aug 21, 2021 3:54 pm Post subject: |
|
|
NeddySeagoon wrote: | usr99,
We are no further forward ... yet.
Putting my make.conf out of the way, the default/linux/amd64/17.1/no-multilib profile gives you.
Code: | USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" |
Your emerge --info is quite different.
Please post the content oy your make.conf. |
make.conf
Code: |
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
COMMON_FLAGS="-O3 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
MAKEOPTS="-j3"
# NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C
USE=""
|
|
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54300 Location: 56N 3W
|
Posted: Sat Aug 21, 2021 4:48 pm Post subject: |
|
|
usr99,
Code: | COMMON_FLAGS="-O3 -pipe" |
Some things break with -O3. Some things get faster and others get slower.
-O3 leads to bigger code in an attempt to make it faster. If that fits into the cache, you get a speed improvement, if the bigger code evicts some of itself from the CPU cache, the code is slower due to needing more main memory accesses.
ebuilds can filter -O3 to stop breakage but only if its known.
There is little point in trying to use -O3 without an -march setting. You are building code for the very first AMD Opteron processor.
If that's what you want, fine. The binaries will run on any amd64 CPU. Setting -march allows gcc to use all the instruction set extensions that your CPU has. That con make for a significant speed up.
Due to the way USE flags work, does nothing. It does not unset use flags from your profile.
should show Code: | USE="acl amd64 bzip2 cli crypt dri fortran gdbm iconv ipv6 libglvnd libtirpc ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" | now.
What does Code: | emerge -pv dev-libs/elfutils | show now? _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|
|
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
|
|