Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
unpack: failure unpacking e2fsprogs-1.45.6.tar.xz
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Wed Jan 06, 2021 4:22 pm    Post subject: unpack: failure unpacking e2fsprogs-1.45.6.tar.xz Reply with quote

Hi folks
I have a problem with the upgrade
Code:
emerge --update --newuse --deep --with-bdeps=y @world
, because installation of sys-fs/e2fsprogs-1.45.6::gentoo and sys-libs/e2fsprogs-libs failed with

Code:

tar: e2fsprogs-1.45.6/RELEASE-NOTES: Cannot change mode to rwxr-xr-x: No such file or directory
tar: Exiting with failure status due to previous errors


some idea how can I fix it?

I tried to delete tar.xz file, but this doesn't help
I tried to add those packages to package.mask, but this doesn't help:
Code:

!!! All ebuilds that could satisfy "~sys-libs/e2fsprogs-libs-1.45.5" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-libs/e2fsprogs-libs-1.45.5::gentoo (masked by: package.mask)

(dependency required by "sys-fs/e2fsprogs-1.45.5::gentoo" [installed])
(dependency required by "@system" [set])
(dependency required by "@world" [argument])
[/code]



thanks
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31748
Location: here

PostPosted: Wed Jan 06, 2021 4:29 pm    Post subject: Reply with quote

Welcome to gentoo forum!

You can post full emerge output? What file system use you?
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Wed Jan 06, 2021 4:37 pm    Post subject: Reply with quote

Of course, there is the log
Code:

emerge --update --newuse --deep --with-bdeps=y @world | tee emerge.log
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


Calculating dependencies  .. ... done!

!!! The following installed packages are masked:
- sys-devel/gcc-4.8.4::gentoo (masked by: package.mask)
/usr/portage/profiles/releases/17.0/package.mask:
# Andreas K. Huettel <dilfridge@gentoo.org> (2017-05-27)
# In the 17.0 profiles we assume that our system compiler uses C++14
# or later as default language setting. This means it has to be at
# least GCC 6. If you need an older compiler for specific purposes,
# feel free to unmask it, however, using it for normal emerging of
# packages is neither recommended nor supported in any way.

- sys-devel/gcc-4.9.3::gentoo (masked by: package.mask)
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


>>> Verifying ebuild manifests

>>> Running pre-merge checks for net-misc/openssh-8.4_p1-r2
 * Sorry, but openssh no longer supports tcp-wrappers, and it seems like
 * you're trying to use it.  Update your /etc/hosts.{allow,deny} please.

>>> Running pre-merge checks for sys-apps/portage-3.0.12
 * Determining the location of the kernel source code
 * Unable to find kernel sources at /usr/src/linux
 * Please make sure that /usr/src/linux points at your running kernel,
 * (or the kernel you wish to build against).
 * Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Unable to check for the following kernel config options due
 * to absence of any configured kernel sources or compiled
 * config:
 *  - IPC_NS
 *  - PID_NS
 *  - NET_NS
 *  - UTS_NS
 * You're on your own to make sure they are set if needed.

>>> Emerging (1 of 22) sys-fs/e2fsprogs-1.45.6::gentoo
 * e2fsprogs-1.45.6.tar.xz BLAKE2B SHA512 size ;-) ...                   [ ok ]
>>> Unpacking source...
>>> Unpacking e2fsprogs-1.45.6.tar.xz to /var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work
tar: e2fsprogs-1.45.6/RELEASE-NOTES: Cannot change mode to rwxr-xr-x: No such file or directory
tar: Exiting with failure status due to previous errors
 * ERROR: sys-fs/e2fsprogs-1.45.6::gentoo failed (unpack phase):
 *   unpack: failure unpacking e2fsprogs-1.45.6.tar.xz
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_unpack
 *             environment, line 1630:  Called default
 *      phase-functions.sh, line  855:  Called default_src_unpack
 *      phase-functions.sh, line  882:  Called __eapi0_src_unpack
 *        phase-helpers.sh, line  755:  Called unpack 'e2fsprogs-1.45.6.tar.xz'
 *        phase-helpers.sh, line  520:  Called __unpack_tar 'xz -d'
 *        phase-helpers.sh, line  361:  Called __assert_sigpipe_ok 'unpack: failure unpacking e2fsprogs-1.45.6.tar.xz'
 *   isolated-functions.sh, line   41:  Called die
 * The specific snippet of code:
 *         [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-fs/e2fsprogs-1.45.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/e2fsprogs-1.45.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work'
 * S: '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work/e2fsprogs-1.45.6'

>>> Failed to emerge sys-fs/e2fsprogs-1.45.6, Log file:

>>>  '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/temp/build.log'
 * Messages for package net-misc/openssh-8.4_p1-r2:
 * Sorry, but openssh no longer supports tcp-wrappers, and it seems like
 * you're trying to use it.  Update your /etc/hosts.{allow,deny} please.
 * Messages for package sys-apps/portage-3.0.12:
 * Unable to find kernel sources at /usr/src/linux
 * Unable to calculate Linux Kernel version for build, attempting to use running version
 * Unable to check for the following kernel config options due
 * to absence of any configured kernel sources or compiled
 * config:
 *  - IPC_NS
 *  - PID_NS
 *  - NET_NS
 *  - UTS_NS
 * You're on your own to make sure they are set if needed.
 * Messages for package sys-fs/e2fsprogs-1.45.6:
 * ERROR: sys-fs/e2fsprogs-1.45.6::gentoo failed (unpack phase):
 *   unpack: failure unpacking e2fsprogs-1.45.6.tar.xz
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_unpack
 *             environment, line 1630:  Called default
 *      phase-functions.sh, line  855:  Called default_src_unpack
 *      phase-functions.sh, line  882:  Called __eapi0_src_unpack
 *        phase-helpers.sh, line  755:  Called unpack 'e2fsprogs-1.45.6.tar.xz'
 *        phase-helpers.sh, line  520:  Called __unpack_tar 'xz -d'
 *        phase-helpers.sh, line  361:  Called __assert_sigpipe_ok 'unpack: failure unpacking e2fsprogs-1.45.6.tar.xz'
 *   isolated-functions.sh, line   41:  Called die
 * The specific snippet of code:
 *         [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-fs/e2fsprogs-1.45.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-fs/e2fsprogs-1.45.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work'
 * S: '/var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work/e2fsprogs-1.45.6'


thanks
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31748
Location: here

PostPosted: Wed Jan 06, 2021 4:56 pm    Post subject: Reply with quote

Other packages can be installed? The only strange thing i see is that e2fsprogs-1.45.6/RELEASE-NOTES is a symlink
_________________
Questions are guaranteed in life; Answers aren't.

"Those who would give up essential liberty to purchase a little temporary safety,
deserve neither liberty nor safety."
- Ben Franklin
https://www.news.admin.ch/it/nsb?id=103968
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Wed Jan 06, 2021 5:00 pm    Post subject: Reply with quote

Yes, I tried emerged `ack` and no problem there

Code:

emerge -av ack
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276



These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N     ] dev-perl/File-Next-1.180.0::gentoo  USE="-test" 18 KiB
[ebuild  N     ] sys-apps/ack-3.4.0::gentoo  USE="-test" 246 KiB

Total: 2 packages (2 new), Size of downloads: 264 KiB

Would you like to merge these packages? [Yes/No] y

>>> Verifying ebuild manifests

>>> Emerging (1 of 2) dev-perl/File-Next-1.180.0::gentoo
 * Fetching files in the background.
 * To view fetch progress, run in another terminal:
 * tail -f /var/log/emerge-fetch.log
 * File-Next-1.18.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                        [ ok ]
>>> Unpacking source...
>>> Unpacking File-Next-1.18.tar.gz to /var/tmp/portage/dev-perl/File-Next-1.180.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/File-Next-1.180.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/File-Next-1.180.0/work/File-Next-1.18 ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/File-Next-1.180.0/work/File-Next-1.18 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/File-Next-1.180.0/image
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for File::Next
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/File-Next-1.180.0/work/File-Next-1.18 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j2 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
cp Next.pm blib/lib/File/Next.pm
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: dev-perl/File-Next-1.180.0

>>> Install dev-perl/File-Next-1.180.0 into /var/tmp/portage/dev-perl/File-Next-1.180.0/image
make -j2 pure_install
Installing /var/tmp/portage/dev-perl/File-Next-1.180.0/image/usr/lib64/perl5/vendor_perl/5.30.3/File/Next.pm
 * Fixing packlist file //usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/File/Next/.packlist
>>> Completed installing dev-perl/File-Next-1.180.0 into /var/tmp/portage/dev-perl/File-Next-1.180.0/image

 * Final size of build directory: 41 KiB
 * Final size of installed tree:   9 KiB


>>> Installing (1 of 2) dev-perl/File-Next-1.180.0::gentoo
 * checking 4 files for package collisions
>>> Merging dev-perl/File-Next-1.180.0 to /
--- /usr/
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/File-Next-1.180.0/
>>> /usr/share/doc/File-Next-1.180.0/Changes.bz2
>>> /usr/share/doc/File-Next-1.180.0/README.md.bz2
--- /usr/lib64/
--- /usr/lib64/perl5/
--- /usr/lib64/perl5/vendor_perl/
--- /usr/lib64/perl5/vendor_perl/5.30.3/
--- /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/
--- /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/File/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/File/Next/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/File/Next/.packlist
>>> /usr/lib64/perl5/vendor_perl/5.30.3/File/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/File/Next.pm
>>> dev-perl/File-Next-1.180.0 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Emerging (2 of 2) sys-apps/ack-3.4.0::gentoo
 * ack-v3.4.0.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                            [ ok ]
>>> Unpacking source...
>>> Unpacking ack-v3.4.0.tar.gz to /var/tmp/portage/sys-apps/ack-3.4.0/work
>>> Source unpacked in /var/tmp/portage/sys-apps/ack-3.4.0/work
>>> Preparing source in /var/tmp/portage/sys-apps/ack-3.4.0/work/ack-v3.4.0 ...
 * Applying ack-3.3.0-gentoo.patch ...                                                                                                                                                                      [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/sys-apps/ack-3.4.0/work/ack-v3.4.0 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/sys-apps/ack-3.4.0/image
Running Perl v5.30.3 at /usr/bin/perl
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for ack
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/sys-apps/ack-3.4.0/work/ack-v3.4.0 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j2 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
cp lib/App/Ack/Files.pm blib/lib/App/Ack/Files.pm
cp lib/App/Ack/Filter/FirstLineMatch.pm blib/lib/App/Ack/Filter/FirstLineMatch.pm
cp lib/App/Ack/Filter/Is.pm blib/lib/App/Ack/Filter/Is.pm
cp lib/App/Ack/Filter/Default.pm blib/lib/App/Ack/Filter/Default.pm
cp lib/App/Ack/ConfigFinder.pm blib/lib/App/Ack/ConfigFinder.pm
cp lib/App/Ack/Filter/Match.pm blib/lib/App/Ack/Filter/Match.pm
cp lib/App/Ack/Filter.pm blib/lib/App/Ack/Filter.pm
cp lib/App/Ack/ConfigLoader.pm blib/lib/App/Ack/ConfigLoader.pm
cp lib/App/Ack/Filter/Inverse.pm blib/lib/App/Ack/Filter/Inverse.pm
cp lib/App/Ack/Filter/MatchGroup.pm blib/lib/App/Ack/Filter/MatchGroup.pm
cp lib/App/Ack/Filter/IsPathGroup.pm blib/lib/App/Ack/Filter/IsPathGroup.pm
cp lib/App/Ack/Filter/Collection.pm blib/lib/App/Ack/Filter/Collection.pm
cp lib/App/Ack/File.pm blib/lib/App/Ack/File.pm
cp lib/App/Ack.pm blib/lib/App/Ack.pm
cp lib/App/Ack/Filter/IsPath.pm blib/lib/App/Ack/Filter/IsPath.pm
cp lib/App/Ack/Filter/ExtensionGroup.pm blib/lib/App/Ack/Filter/ExtensionGroup.pm
cp lib/App/Ack/ConfigDefault.pm blib/lib/App/Ack/ConfigDefault.pm
cp lib/App/Ack/Filter/IsGroup.pm blib/lib/App/Ack/Filter/IsGroup.pm
cp lib/App/Ack/Filter/Extension.pm blib/lib/App/Ack/Filter/Extension.pm
cp ack blib/script/ack
"/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/ack
Manifying 1 pod document
>>> Source compiled.
 * Skipping make test/check due to ebuild restriction.
>>> Test phase [disabled because of RESTRICT=test]: sys-apps/ack-3.4.0

>>> Install sys-apps/ack-3.4.0 into /var/tmp/portage/sys-apps/ack-3.4.0/image
make -j2 install
Manifying 1 pod document
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigLoader.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/File.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigDefault.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Files.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigFinder.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsPathGroup.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Extension.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/FirstLineMatch.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Is.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Collection.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Match.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsGroup.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/MatchGroup.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/ExtensionGroup.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Inverse.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Default.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsPath.pm
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/share/man/man1/ack.1
Installing /var/tmp/portage/sys-apps/ack-3.4.0/image/usr/bin/ack
 * Fixing packlist file //usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/ack/.packlist
>>> Completed installing sys-apps/ack-3.4.0 into /var/tmp/portage/sys-apps/ack-3.4.0/image

 * Final size of build directory: 152 KiB
 * Final size of installed tree:   21 KiB


>>> Installing (2 of 2) sys-apps/ack-3.4.0::gentoo
 * checking 24 files for package collisions
>>> Merging sys-apps/ack-3.4.0 to /
--- /usr/
--- /usr/lib64/
--- /usr/lib64/perl5/
--- /usr/lib64/perl5/vendor_perl/
--- /usr/lib64/perl5/vendor_perl/5.30.3/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/File.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigLoader.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Files.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Collection.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/MatchGroup.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/FirstLineMatch.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Extension.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Inverse.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Default.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsGroup.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Is.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/ExtensionGroup.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsPathGroup.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/Match.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/Filter/IsPath.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigDefault.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack/ConfigFinder.pm
>>> /usr/lib64/perl5/vendor_perl/5.30.3/App/Ack.pm
--- /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/
--- /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/ack/
>>> /usr/lib64/perl5/vendor_perl/5.30.3/x86_64-linux-thread-multi/auto/ack/.packlist
--- /usr/bin/
>>> /usr/bin/ack
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/ack-3.4.0/
>>> /usr/share/doc/ack-3.4.0/Changes.bz2
>>> /usr/share/doc/ack-3.4.0/README.md.bz2
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/ack.1.bz2
>>> sys-apps/ack-3.4.0 merged.
>>> Regenerating /etc/ld.so.cache...

>>> Recording sys-apps/ack in "world" favorites file...
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.

!!! existing preserved libs:
>>> package: dev-libs/mpfr-4.1.0
 *  - /usr/lib64/libmpfr.so.4
 *  - /usr/lib64/libmpfr.so.4.1.6
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.4/cc1 (sys-devel/gcc-4.8.4)
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.4/cc1plus (sys-devel/gcc-4.8.4)
 *      used by /usr/libexec/gcc/x86_64-pc-linux-gnu/4.8.4/f951 (sys-devel/gcc-4.8.4)
 *      used by 5 other files
>>> package: sys-libs/gdbm-1.18.1-r1
 *  - /usr/lib64/libgdbm.so.4
 *  - /usr/lib64/libgdbm.so.4.0.0
 *      used by /usr/lib64/python3.6/lib-dynload/_gdbm.cpython-36m-x86_64-linux-gnu.so (dev-lang/python-3.6.10)
>>> package: sys-libs/readline-8.0_p4
 *  - /lib64/libreadline.so.7
 *  - /lib64/libreadline.so.7.0
 *      used by /usr/lib64/python3.6/lib-dynload/readline.cpython-36m-x86_64-linux-gnu.so (dev-lang/python-3.6.10)
Use emerge @preserved-rebuild to rebuild packages using these libraries

 * IMPORTANT: 17 config files in '/etc' need updating.
 * See the CONFIGURATION FILES and CONFIGURATION FILES UPDATE TOOLS
 * sections of the emerge man page to learn how to update config files.


Ok... I see some warning with the old profile and preserved libs, but the installation was succeeded...
Back to top
View user's profile Send private message
alamahant
Advocate
Advocate


Joined: 23 Mar 2019
Posts: 3961

PostPosted: Wed Jan 06, 2021 5:25 pm    Post subject: Reply with quote

Hi
plz try
emerge -av xz-utils
Then retry.
I noticed that the one that fails is "tar.xz" whereas the rest are "tar.gz"
Maybe you lack "xz" compression.......
_________________
:)
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Thu Jan 07, 2021 10:04 am    Post subject: Reply with quote

Hi alamahant, thanks for the tip. I did it, xz-utils was installed successfully, but the problem still persists.
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Thu Jan 07, 2021 5:25 pm    Post subject: Reply with quote

Quote:
I tried to add those packages to package.mask, but this doesn't help:

Seems you have masked all versions of e2fsprogs. As workaround remove all related to e2fsprogs and try this in your package.mask

Code:
=sys-libs/e2fsprogs-libs-1.45.6
=sys-fs/e2fsprogs-1.45.6


Can you post your emerge --info, you have many issues

Quote:
>>> Running pre-merge checks for sys-apps/portage-3.0.12
* Determining the location of the kernel source code
* Unable to find kernel sources at /usr/src/linux
* Please make sure that /usr/src/linux points at your running kernel,
* (or the kernel you wish to build against).
* Alternatively, set the KERNEL_DIR environment variable to the kernel sources location
* Unable to calculate Linux Kernel version for build, attempting to use running version
* Unable to check for the following kernel config options due
* to absence of any configured kernel sources or compiled
* config:
* - IPC_NS
* - PID_NS
* - NET_NS
* - UTS_NS
* You're on your own to make sure they are set if needed.

Quote:

!!! The following installed packages are masked:
- sys-devel/gcc-4.8.4::gentoo (masked by: package.mask)

- sys-devel/gcc-4.9.3::gentoo (masked by: package.mask)
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Thu Jan 07, 2021 6:02 pm    Post subject: Reply with quote

I masked exactly versions of how you wrote. Sorry, my fault I should wrote it there.

Yeh, my server was neglected. My idea was to clean it up, but a lot of problems there, like an old profile, not completed uninstalled python 3.6, etc.

For example, the missing kernel in /usr/src/kernel is because my server runs on VM hosting in OpenVZ container.

emerge --info
Code:

python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6

!!! Your current profile is deprecated and not supported anymore.
!!! Use eselect profile to update your profile.
!!! Please upgrade to the following profile if possible:

        default/linux/amd64/17.1

To upgrade do the following steps:

The amd64 17.1 profiles switch to a more standard 'no SYMLINK_LIB'
multilib layout, and require an explicit migration.
The migration is performed using the app-portage/unsymlink-lib tool.
The following steps can be used to upgrade your system:

1. Sync and upgrade your system to the newest package versions
   to reduce the risk of issues.

2. Install the tool:
     # emerge -1v app-portage/unsymlink-lib

3. Run 'unsymlink-lib --analyze' and check the output for obvious
   mistakes.  If you need to perform any changes to the system, remember
   to run 'unsymlink-lib --analyze' again afterwards.

[past this point do not call emerge or modify /usr manually]

4. This is a very good time to make a backup.

5. Run 'unsymlink-lib --migrate'.  You can add '--pretend' first to see
   what is going to happen.

6. Reboot your system.  Check if important programs work.
   In particular, verify that e.g. 'emerge --info' works (but do not
   install anything).  If you hit any serious problems, you can use
   'unsymlink-lib --rollback' to revert the changes and return to
   step 3.

7. Run 'unsymlink-lib --finish'.  You can add '--pretend' first to see
   what is going to happen but note that you're going to see a very long
   list of files to remove.

8. Switch the profile, e.g.:
     # eselect profile set default/linux/amd64/17.1/desktop

[at this point you can start using emerge again. emerge will then
 not display this message anymore, but the remaining steps are still
 required!]

9. Rebuild gcc:
      # emerge -1v sys-devel/gcc:9.3.0
      [ repeat for other slots you will be using ]

10. If you are using a multilib profile, rebuild all 32-bit packages.
    This can be done using:
      # emerge -1v --deep /lib32 /usr/lib32 /usr/lib/llvm/*/lib32

11. Once the last 32-bit package is rebuilt, your package manager
    should remove the orphaned /lib32 and /usr/lib32 symlinks.  If that
    does not happen, remove them manually:
      # rm /lib32 /usr/lib32

For known issues, please see bug #506276 [1].  If you have any problems
with the new profiles or the migration procedure, please report a bug
and make it block the tracker.

[1] https://bugs.gentoo.org/506276


Portage 3.0.8 (python 3.7.9-final-0, default/linux/amd64/17.0, gcc-9.2.0, glibc-2.32-r3, 3.16.6-042stab141.42 x86_64)
=================================================================
System uname: Linux-3.16.6-042stab141.42-x86_64-Intel-R-_Xeon-R-_CPU_E5-2630_0_@_2.30GHz-with-gentoo-2.7
KiB Mem:     4194304 total,   3338292 free
KiB Swap:          0 total,         0 free
Timestamp of repository gentoo: Wed, 06 Jan 2021 21:30:01 +0000
Head commit of repository gentoo: 1c8e431a6817fcf9ec3363d80e896c7be82ab432
sh bash 5.0_p18
ld GNU ld (Gentoo 2.33.1 p2) 2.33.1
app-shells/bash:          5.0_p18::gentoo
dev-lang/perl:            5.30.3::gentoo
dev-lang/python:          2.7.18-r4::gentoo, 3.6.10::gentoo, 3.7.9::gentoo, 3.8.6-r1::gentoo, 3.9.0-r1::gentoo
dev-util/cmake:           3.17.4-r1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.16.2-r1::gentoo
sys-devel/binutils:       2.33.1-r1::gentoo, 2.34-r2::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.3::gentoo, 9.2.0-r2::gentoo, 9.3.0-r2::gentoo
sys-devel/gcc-config:     2.3.2-r1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.4-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32-r3::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.cz.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-extra-opts:
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="@FREE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2"
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/php/apache2-php7.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/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="-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="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.UTF-8"
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="acl amd64 berkdb bindist bzip2 cli crypt dri fortran fpm gd gdbm iconv ipv6 ithreads jpeg libglvnd libtirpc mmx multilib mysql mysqli ncurses nls nptl openmp openssl pam pcre png readline seccomp split-usr sse sse2 ssl tcpd threads truetype unicode xattr zlib" 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" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" 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" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3 php7-4" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_8" PYTHON_TARGETS="python2_7 python3_8" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
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
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3686

PostPosted: Fri Jan 08, 2021 7:11 am    Post subject: Reply with quote

jasei wrote:
emerge --info
Code:

python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6

Did you forget to eselect python cleanup?
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Fri Jan 08, 2021 7:57 am    Post subject: Reply with quote

Yes, I forget, thanks.
Code:
python-exec: Invalid impl in /etc/python-exec/python-exec.conf: python3.6
is gone
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Sat Jan 09, 2021 5:32 pm    Post subject: Reply with quote

Have you try first delete /var/tmp/portage/sys-fs/ ?

Can you check the content of the work directory after a failure? Just to see if RELEASE-NOTES exist.

If not can you manually untar e2fsprogs in /var/tmp/portage/sys-fs/e2fsprogs-1.45.6/work and see if RELEASE-NOTES exist. Maybe a problem with symlinks on your system.
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Mon Jan 11, 2021 11:11 am    Post subject: Reply with quote

Hi sebB, I tried to delete /var/tmp/portage/sys-fs didn't help.

And when I untar the package I recieved the same error.

Code:

# tar xf /var/tmp/portage/sys-fs/e2fsprogs-1.45.6/distdir/e2fsprogs-1.45.6.tar.xz
tar: e2fsprogs-1.45.6/RELEASE-NOTES: Cannot change mode to rwxrwxrwx: No such file or directory
tar: Exiting with failure status due to previous errors

# ls -al e2fsprogs-1.45.6/
total 341
drwxr-xr-x  19 root root     43 Mar 21  2020 .
drwx------  10 root root     19 Jan 11 12:09 ..
-rw-r--r--   1 root root  24687 Mar 21  2020 ABOUT-NLS
-rw-r--r--   1 root root   6620 Mar 21  2020 acinclude.m4
-rw-r--r--   1 root root 165320 Mar 21  2020 aclocal.m4
-rw-r--r--   1 root root    564 Mar 21  2020 Android.bp
-rw-r--r--   1 root root   2386 Mar 21  2020 CleanSpec.mk
drwxr-xr-x   2 root root      9 Mar 21  2020 config
-rwxr-xr-x   1 root root 463708 Mar 21  2020 configure
-rw-r--r--   1 root root  44720 Mar 21  2020 configure.ac
drwxr-xr-x   4 root root     16 Mar 21  2020 contrib
drwxr-xr-x   7 root root     77 Mar 21  2020 debian
drwxr-xr-x   2 root root     28 Mar 21  2020 debugfs
-rw-r--r--   1 root root    463 Mar 21  2020 depfix.sed
drwxr-xr-x   3 root root      7 Mar 21  2020 doc
drwxr-xr-x   2 root root     46 Mar 21  2020 e2fsck
-rw-r--r--   1 root root    723 Mar 21  2020 e2fsprogs.lsm
-rw-r--r--   1 root root   6699 Mar 21  2020 e2fsprogs.spec
drwxr-xr-x   3 root root     23 Mar 21  2020 ext2ed
-rw-r--r--   1 root root   4039 Mar 21  2020 .gitignore
drwxr-xr-x   4 root root      4 Mar 21  2020 include
-rw-r--r--   1 root root   2375 Mar 21  2020 INSTALL
-rw-r--r--   1 root root   2206 Mar 21  2020 INSTALL.elfbin
drwxr-xr-x   2 root root      5 Mar 21  2020 install-utils
drwxr-xr-x   2 root root     53 Mar 21  2020 intl
drwxr-xr-x   9 root root     20 Mar 21  2020 lib
-rw-r--r--   1 root root   4950 Mar 21  2020 Makefile.in
-rw-r--r--   1 root root  10133 Mar 21  2020 MCONFIG.in
drwxr-xr-x   2 root root     71 Mar 21  2020 misc
-rw-r--r--   1 root root    106 Mar 21  2020 .missing-copyright
-rw-r--r--   1 root root  44585 Mar 21  2020 NOTICE
drwxr-xr-x   2 root root     57 Mar 21  2020 po
-rw-r--r--   1 root root    719 Mar 21  2020 README
-rw-r--r--   1 root root    449 Mar 21  2020 .release-checklist
lrwxrwxrwx   1 root root     24 Mar 21  2020 RELEASE-NOTES -> doc/RelNotes/v1.45.6.txt
drwxr-xr-x   2 root root     15 Mar 21  2020 resize
drwxr-xr-x   2 root root     17 Mar 21  2020 scrub
-rw-r--r--   1 root root    763 Mar 21  2020 SHLIBS
-rw-r--r--   1 root root   1694 Mar 21  2020 SUBMITTING-PATCHES
drwxr-xr-x 369 root root    379 Mar 21  2020 tests
drwxr-xr-x   3 root root     20 Mar 21  2020 util
-rw-r--r--   1 root root    358 Mar 21  2020 version.h
-rw-r--r--   1 root root    681 Mar 21  2020 wordwrap.pl
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Mon Jan 11, 2021 3:04 pm    Post subject: Reply with quote

Can yout post your blkid?
I suspect your partition is vfat wich as issues with symlink.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Mon Jan 11, 2021 3:27 pm    Post subject: Reply with quote

sebB,

vfat does not support permissions, nor symlinks, so the
Code:
ls -al e2fsprogs-1.45.6/
output did not come from a vfat filesystem.
_________________
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
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Wed Jan 20, 2021 10:19 am    Post subject: Reply with quote

It looks like generic problem with symlinks or tar or xz

Code:

>>> Emerging (1 of 64) sys-libs/glibc-2.32-r5::gentoo
 * glibc-2.32.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                                   [ ok ]
 * glibc-2.32-patches-4.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                         [ ok ]
 * locale-gen-2.10.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                                              [ ok ]
 * gcc-multilib-bootstrap-20201208.tar.xz BLAKE2B SHA512 size ;-) ...                                                                                                                                                                                                              [ ok ]
 * Using python3.7 to build
>>> Unpacking source...
make -j2 glibc-test CC=x86_64-pc-linux-gnu-gcc
x86_64-pc-linux-gnu-gcc -O2   -Wl,-O1 -Wl,--as-needed  glibc-test.c   -o glibc-test
 * Checking that IA32 emulation is enabled in the running kernel ...                                                                                                                                                                                                               [ ok ]
 * Checking gcc for __thread support ...                                                                                                                                                                                                                                           [ ok ]
 * Checking running kernel version (3.16.6-042stab141.42 >= 3.2.0) ...                                                                                                                                                                                                             [ ok ]
 * Checking linux-headers version (5.4.0 >= 3.2.0) ...                                                                                                                                                                                                                             [ ok ]
>>> Unpacking gcc-multilib-bootstrap-20201208.tar.xz to /var/tmp/portage/sys-libs/glibc-2.32-r5/work
tar: gcc-multilib-bootstrap-20201208/amd64/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/amd64/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/ppc/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/ppc/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/ppc64/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/ppc64/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390/libgcc_s.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390x/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390x/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/s390x/libgcc_s.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/x32/libcc1.so: Cannot change mode to rwxr-xr-x: No such file or directory
tar: gcc-multilib-bootstrap-20201208/x32/libcc1.so.0: Cannot change mode to rwxr-xr-x: No such file or directory
tar: Exiting with failure status due to previous errors
 * ERROR: sys-libs/glibc-2.32-r5::gentoo failed (unpack phase):
 *   unpack: failure unpacking gcc-multilib-bootstrap-20201208.tar.xz
 *
 * Call stack:
 *               ebuild.sh, line  125:  Called src_unpack
 *             environment, line 3520:  Called unpack 'gcc-multilib-bootstrap-20201208.tar.xz'
 *        phase-helpers.sh, line  520:  Called __unpack_tar 'xz -d'
 *        phase-helpers.sh, line  361:  Called __assert_sigpipe_ok 'unpack: failure unpacking gcc-multilib-bootstrap-20201208.tar.xz'
 *   isolated-functions.sh, line   41:  Called die
 * The specific snippet of code:
 *         [[ $x -ne 0 && $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]] && die "$@"
 *
 * If you need support, post the output of `emerge --info '=sys-libs/glibc-2.32-r5::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-libs/glibc-2.32-r5::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.32-r5/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-libs/glibc-2.32-r5/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-libs/glibc-2.32-r5/work'
 * S: '/var/tmp/portage/sys-libs/glibc-2.32-r5/work/glibc-2.32'

>>> Failed to emerge sys-libs/glibc-2.32-r5, Log file:

>>>  '/var/tmp/portage/sys-libs/glibc-2.32-r5/temp/build.log'
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Thu Jan 21, 2021 2:06 pm    Post subject: Reply with quote

I tried to reinstall xz-util, tar, and util-linux and it didn't help :(
Back to top
View user's profile Send private message
sebB
l33t
l33t


Joined: 02 Mar 2011
Posts: 806
Location: S.O. France

PostPosted: Sat Jan 23, 2021 8:21 am    Post subject: Reply with quote

Can you post your fstab, mount and blkid?
Have you try moving yout /var/tmp/portage to other partition?
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Mon Jan 25, 2021 4:27 pm    Post subject: Reply with quote

yes, of course, thanks

Code:

~ # cat /etc/fstab
proc /proc proc defaults 0 0

~ # mount
/dev/simfs on / type simfs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /run type tmpfs (rw,nodev,relatime,size=419432k,mode=755)
cgroup_root on /sys/fs/cgroup type tmpfs (rw,nosuid,nodev,noexec,relatime,size=10240k,mode=755)
blkio on /sys/fs/cgroup/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio,name=beancounter)
memory on /sys/fs/cgroup/memory type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,mode=755)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)

~ # blkid
~ #


It's VM based on an OpenVZ container.
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Sat Mar 20, 2021 4:14 pm    Post subject: Reply with quote

It looks like I fixed it by
Code:
ln -s /usr/bin/bsdtar /usr/bin/tar
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Sat Mar 20, 2021 9:42 pm    Post subject: Reply with quote

Hmm, it helps only for first
Code:

emerge --ask --update --newuse --deep  @world


I hack it by make tar wrapper (/usr/bin/tar)
Code:

#!/bin/bash

/bin/tar "$@"

exit 0


It's not ideal I know[/code], but now update running
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sat Mar 20, 2021 11:00 pm    Post subject: Reply with quote

What profile are you actually on?
I'm on amd64/17.0/desktop (stable) but I had to put it in an overlay.
Look at eselect profile list. If you don't see a star anywhere you may not have a profile at all. That happened to me when 13.0 went away.

EDIT:
When troubleshooting, if you don't know what the problem is but you do know some problems with causes, fix them first. Often this will fix the unknown cause problem too. Taught to me by an old car mechanic long before cars saw computers. Actually before the 8080 was invented.
Back to top
View user's profile Send private message
jasei
n00b
n00b


Joined: 06 Jan 2021
Posts: 13

PostPosted: Sun Mar 21, 2021 1:01 pm    Post subject: Reply with quote

I had have amd64/17/0 - now I switched to the 17.1

I had more troubles there - python target wasn't set - this was the reason why I had problems with the installation of python packages. The second was tar, and the last one was migration to 17.1 profile (but without update possibility, it was my last problem).

As you wrote I fixing it step by step and the tar problem I hacked (as I wrote). Now, I could try to remove tar-hack, maybe it's everything fine.

Thanks
Back to top
View user's profile Send private message
Tony0945
Watchman
Watchman


Joined: 25 Jul 2006
Posts: 5127
Location: Illinois, USA

PostPosted: Sun Mar 21, 2021 4:57 pm    Post subject: Reply with quote

Good luck!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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