Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to make tar display verbose output during emerging?
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
GenericNPCUsername
n00b
n00b


Joined: 11 Jun 2021
Posts: 6

PostPosted: Sat Jun 12, 2021 4:51 am    Post subject: How to make tar display verbose output during emerging? Reply with quote

It's pretty annoying when emerge remains stuck at 'Unpacking blah.tar.xz', is there anyway to make tar display verbose output during unpacking?
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 30916
Location: here

PostPosted: Sat Jun 12, 2021 7:48 am    Post subject: Reply with quote

Welcome to gentoo forums.

If you see /usr/lib/portage/python3.9/phase-helpers.sh it seems not exists a variable or option to verbose unpack
Code:
                myfail="unpack: failure unpacking ${x}"
                case "${suffix_insensitive}" in
                        tar)
                                if ___eapi_unpack_is_case_sensitive && \
                                        [[ tar != ${suffix} ]] ; then
                                        eqawarn "QA Notice: unpack called with" \
                                                "suffix '${suffix}' which is unofficially supported" \
                                                "with EAPI '${EAPI}'. Instead use 'tar'."
                                fi
                                tar xof "$srcdir$x" || die "$myfail"
                                ;;

_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 21633

PostPosted: Sat Jun 12, 2021 4:27 pm    Post subject: Reply with quote

You could set $TAR_OPTIONS to pass extra options to all invoked tar processes. This might have unwanted side effects if the build runs any tar commands that it expects not to be verbose.
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