Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED]problem with portage in world update...
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
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Mon Feb 12, 2018 9:23 am    Post subject: [SOLVED]problem with portage in world update... Reply with quote

Dear All,

I did eix-sync and some world updates.

It ran OK mostly except for portage.

I am running gentoo testing on an amd64 box.

I am not sure if that means I should running portage 9999 but I am it seems.

See here

Code:
djt /home/mikef # equery list portage
 * Searching for portage ...
[IP-] [  ] sys-apps/portage-9999:0


Compiling it gives errors:

Code:
djt /home/mikef # emerge sys-apps/portage
Calculating dependencies... done!

!!! The following installed packages are masked:
- x11-proto/xf86rushproto-1.1.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/portage-9999::gentoo
>>> Unpacking source...
mkdir: cannot create directory ‘/var/tmp/portage/sys-apps/portage-9999/distdir/git3-src’: Permission denied
 * ERROR: sys-apps/portage-9999::gentoo failed (unpack phase):
 *   Unable to create /var/tmp/portage/sys-apps/portage-9999/distdir/git3-src
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 3337:  Called git-r3_src_unpack
 *   environment, line 2051:  Called git-r3_src_fetch
 *   environment, line 2045:  Called git-r3_fetch
 *   environment, line 1813:  Called _git-r3_set_gitdir 'https://anongit.gentoo.org/git/proj/portage.git'
 *   environment, line  554:  Called die
 * The specific snippet of code:
 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-9999/work'
 * S: '/var/tmp/portage/sys-apps/portage-9999/work/portage-9999'

>>> Failed to emerge sys-apps/portage-9999, Log file:

>>>  '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'

 * Messages for package sys-apps/portage-9999:

 * ERROR: sys-apps/portage-9999::gentoo failed (unpack phase):
 *   Unable to create /var/tmp/portage/sys-apps/portage-9999/distdir/git3-src
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 3337:  Called git-r3_src_unpack
 *   environment, line 2051:  Called git-r3_src_fetch
 *   environment, line 2045:  Called git-r3_fetch
 *   environment, line 1813:  Called _git-r3_set_gitdir 'https://anongit.gentoo.org/git/proj/portage.git'
 *   environment, line  554:  Called die
 * The specific snippet of code:
 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-9999/work'
 * S: '/var/tmp/portage/sys-apps/portage-9999/work/portage-9999'
djt /home/mikef #


The build log file is here:

Code:
djt /home/mikef # wgetpaste /var/tmp/portage/sys-apps/portage-9999/temp/build.log
Your paste can be seen here:


https://paste.pound-python.org/show/hus12qF5gSs6uPmDKEgM/

Emerge info output is here:

Code:
emerge --info '=sys-apps/portage-9999::gentoo'


https://pastebin.com/bFeX1JcA

The environment file is here:

Code:
djt /home/mikef # wgetpaste /var/tmp/portage/sys-apps/portage-9999/temp/environment
Your paste can be seen here:


https://paste.pound-python.org/show/N7oFfrdPDGFNfMaTe8JR/

The use flag requirements etc are here:

Code:
djt /home/mikef # emerge -pqv '=sys-apps/portage-9999::gentoo'
[ebuild   R   ] sys-apps/portage-9999  USE="(ipc) native-extensions rsync-verify xattr -build -doc -epydoc -gentoo-dev% (-selinux)" PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy -python3_6"

!!! The following installed packages are masked:
- x11-proto/xf86rushproto-1.1.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

djt /home/mikef #



Comments appreciated

Regards

Michael Fothergill


Last edited by mikefot on Tue Feb 13, 2018 5:55 pm; edited 1 time in total
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18580
Location: here

PostPosted: Mon Feb 12, 2018 9:50 am    Post subject: Reply with quote

No there is another problem, portage usually don't propose 9999 versions.
You can post output of emerge -uUD @world?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Mon Feb 12, 2018 10:38 am    Post subject: Reply with quote

Many thanks for your advice on this matter.

I ran the command that was suggested:


Code:
djt /home/mikef # emerge -uUD @world
Calculating dependencies... done!

!!! The following installed packages are masked:
- x11-proto/xf86rushproto-1.1.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.
djt /home/mikef #


Can masking this package cause problems with portage?

Comments appreciated

Regards

MF
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18580
Location: here

PostPosted: Mon Feb 12, 2018 10:44 am    Post subject: Reply with quote

Then the problem appear only when you run emerge -1 sys-apps/portage?
Maybe related to this bug?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Mon Feb 12, 2018 10:56 am    Post subject: Reply with quote

Many thanks for the advice again,

I ran the command as suggested:

Code:
djt /home/mikef # emerge -1 sys-apps/portage
Calculating dependencies... done!

!!! The following installed packages are masked:
- x11-proto/xf86rushproto-1.1.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


>>> Verifying ebuild manifests

>>> Emerging (1 of 1) sys-apps/portage-9999::gentoo
>>> Unpacking source...
mkdir: cannot create directory ‘/var/tmp/portage/sys-apps/portage-9999/distdir/git3-src’: Permission denied
 * ERROR: sys-apps/portage-9999::gentoo failed (unpack phase):
 *   Unable to create /var/tmp/portage/sys-apps/portage-9999/distdir/git3-src
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 3337:  Called git-r3_src_unpack
 *   environment, line 2051:  Called git-r3_src_fetch
 *   environment, line 2045:  Called git-r3_fetch
 *   environment, line 1813:  Called _git-r3_set_gitdir 'https://anongit.gentoo.org/git/proj/portage.git'
 *   environment, line  554:  Called die
 * The specific snippet of code:
 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-9999/work'
 * S: '/var/tmp/portage/sys-apps/portage-9999/work/portage-9999'

>>> Failed to emerge sys-apps/portage-9999, Log file:

>>>  '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'

 * Messages for package sys-apps/portage-9999:

 * ERROR: sys-apps/portage-9999::gentoo failed (unpack phase):
 *   Unable to create /var/tmp/portage/sys-apps/portage-9999/distdir/git3-src
 *
 * Call stack:
 *     ebuild.sh, line  124:  Called src_unpack
 *   environment, line 3337:  Called git-r3_src_unpack
 *   environment, line 2051:  Called git-r3_src_fetch
 *   environment, line 2045:  Called git-r3_fetch
 *   environment, line 1813:  Called _git-r3_set_gitdir 'https://anongit.gentoo.org/git/proj/portage.git'
 *   environment, line  554:  Called die
 * The specific snippet of code:
 *           mkdir -p "${EGIT3_STORE_DIR}" ) || die "Unable to create ${EGIT3_STORE_DIR}";
 *
 * If you need support, post the output of `emerge --info '=sys-apps/portage-9999::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=sys-apps/portage-9999::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/sys-apps/portage-9999/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/portage-9999/temp/environment'.
 * Working directory: '/var/tmp/portage/sys-apps/portage-9999/work'
 * S: '/var/tmp/portage/sys-apps/portage-9999/work/portage-9999'
djt /home/mikef #


Comments appreciated.

Cheers

MF

PS I will study the bug report
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 12254

PostPosted: Tue Feb 13, 2018 2:22 am    Post subject: Reply with quote

What is the output of grep -Hn -B4 -r sys-apps/portage /etc/portage/package.{unmask,keywords,accept_keywords}? Some of those files may not exist. That is fine. We need the output from any that do.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Tue Feb 13, 2018 11:24 am    Post subject: Reply with quote

Many thanks for the advice here,

The output from the suggested command is here:

Code:
djt /home/mikef # grep -Hn -B4 -r sys-apps/portage /etc/portage/package.{unmask,keywords,accept_keywords}
/etc/portage/package.keywords-324-=dev-python/plotly-1.9.6 ~amd64
/etc/portage/package.keywords-325-# required by app-portage/porthole-0.6.1-r4::gentoo
/etc/portage/package.keywords-326-# required by @selected
/etc/portage/package.keywords-327-# required by @world (argument)
/etc/portage/package.keywords:328:=sys-apps/portage-2.3.16 ~amd64
/etc/portage/package.keywords-329-# required by app-portage/porthole-0.6.1-r4::gentoo
/etc/portage/package.keywords-330-# required by @selected
/etc/portage/package.keywords-331-# required by @world (argument)
/etc/portage/package.keywords:332:=sys-apps/portage-2.3.14 ~amd64
--
/etc/portage/package.keywords-337-=dev-python/numpy-1.13.3 ~amd64
/etc/portage/package.keywords-338-# required by app-portage/porthole-0.6.1-r4::gentoo
/etc/portage/package.keywords-339-# required by @selected
/etc/portage/package.keywords-340-# required by @world (argument)
/etc/portage/package.keywords:341:=sys-apps/portage-2.3.13 ~amd64
--
/etc/portage/package.keywords-346-=dev-python/numpy-1.13.1 ~amd64
/etc/portage/package.keywords-347-# required by app-portage/porthole-0.6.1-r4::gentoo
/etc/portage/package.keywords-348-# required by @selected
/etc/portage/package.keywords-349-# required by @world (argument)
/etc/portage/package.keywords:350:=sys-apps/portage-9999 **
--
/etc/portage/package.keywords-379-# required by @world (argument)
/etc/portage/package.keywords-380-=sys-kernel/linux-headers-4.13 ~amd64
/etc/portage/package.keywords-381-# required by =dev-util/ccache-3.3.4 (argument)
/etc/portage/package.keywords-382-=dev-util/ccache-3.3.4 ~amd64
/etc/portage/package.keywords:383:# required by =sys-apps/portage-2.3.19-r1 (argument)
/etc/portage/package.keywords:384:=sys-apps/portage-2.3.19-r1 ~amd64
djt /home/mikef #


It may be that I did a compilation of numpy using portage 9999 at some point and this is contributing to the problem.


Comments appreciated,

Regards

MF

PS One recurring problem I had in the past was trying to get matplotlib to compile and install properly. I eventually fixed the problem but perhaps went off the deep end a bit with numpy which it uses..........

Code:
djt /home/mikef # equery list matplotlib
 * Searching for matplotlib ...
[IP-] [  ] dev-python/matplotlib-2.1.2-r1:0
Back to top
View user's profile Send private message
Josef.95
Advocate
Advocate


Joined: 03 Sep 2007
Posts: 3367
Location: Germany

PostPosted: Tue Feb 13, 2018 12:35 pm    Post subject: Reply with quote

mikefot wrote:
Code:
!!! The following installed packages are masked:
- x11-proto/xf86rushproto-1.1.2-r1::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Matt Turner <mattst88@gentoo.org> (06 Feb 2018)
# Dead and unused
# Masked for removal in 30 days. Bug #646838


mike,
please depclean this old dead stuff :)
Code:
emerge -av --depclean x11-proto/xf86rushproto
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18580
Location: here

PostPosted: Tue Feb 13, 2018 12:53 pm    Post subject: Reply with quote

And remove
Code:
/etc/portage/package.keywords:350:=sys-apps/portage-9999 **
entry from package.accept_keywords.
Porthole don't need portage 9999, it's a stable package
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Tue Feb 13, 2018 5:21 pm    Post subject: Reply with quote

Many thanks for the helpful comments.

I looked at the package.accept_keywords file:

Code:
djt /etc/portage # more package.accept_keywords
# required by =sys-kernel/gentoo-sources-4.9.0 (argument)
=sys-kernel/gentoo-sources-4.9.0 ~amd64
# required by media-libs/mesa-12.0.1::gentoo[llvm,video_cards_radeonsi]
# required by media-libs/libepoxy-1.3.1::gentoo
# required by x11-base/xorg-server-1.18.4::gentoo[-wayland,glamor]
# required by x11-drivers/xf86-video-ati-7.7.0::gentoo
# required by x11-base/xorg-drivers-1.18-r1::gentoo[video_cards_radeonsi]
=sys-devel/llvm-3.9.1 ~amd64
# required by =app-office/multitalk-1.4 (argument)
=app-office/multitalk-1.4 ~amd64
# required by gpytage (argument)
=app-portage/gpytage-0.3.0_rc1-r1 ~amd64
# required by fquery (argument)
=app-portage/fquery-0.2.3 ~amd64
# required by app-portage/kuroo4 (argument)
=app-portage/kuroo4-0.90.5 ~amd64
djt /etc/portage #


but I could not see the
Code:
package.keywords:350:=sys-apps/portage-9999
entry in there etc.

Comments appreciated

MF

PS The package keywords file is here:

Code:
djt /etc/portage # wgetpaste package.keywords
Your paste can be seen here: https://paste.pound-python.org/show/ImFUC12V0uJj79IT5dhD/


If you look in it there are entries for a variety of different versions of portage. Maybe that is causing problems in some way.


Last edited by mikefot on Tue Feb 13, 2018 5:28 pm; edited 1 time in total
Back to top
View user's profile Send private message
ct85711
Veteran
Veteran


Joined: 27 Sep 2005
Posts: 1542

PostPosted: Tue Feb 13, 2018 5:24 pm    Post subject: Reply with quote

fedel was meaning from package.keywords.

Note: package.keywords was depreciated for package.accept_keywords, but they do the same thing.
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18580
Location: here

PostPosted: Tue Feb 13, 2018 5:24 pm    Post subject: Reply with quote

mikefot wrote:
I looked at the package.accept_keywords file:

You right, because portage entry is in package.keywords.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Tue Feb 13, 2018 5:32 pm    Post subject: Reply with quote

Many thanks again.

The package keywords file is here:


Code:
djt /etc/portage # wgetpaste package.keywords
Your paste can be seen here:


https://paste.pound-python.org/show/ImFUC12V0uJj79IT5dhD/

Comments appreciated

MF
Back to top
View user's profile Send private message
fedeliallalinea
Bodhisattva
Bodhisattva


Joined: 08 Mar 2003
Posts: 18580
Location: here

PostPosted: Tue Feb 13, 2018 5:38 pm    Post subject: Reply with quote

Remove this
Code:
...
# required by app-portage/porthole-0.6.1-r4::gentoo
# required by @selected
# required by @world (argument)
=sys-apps/portage-9999 **
...

entry, I don't know why is in your package.keywords (probably autounmask option bug of portage) but isn't needed by any other packages.
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
mikefot
Guru
Guru


Joined: 19 Nov 2014
Posts: 325

PostPosted: Tue Feb 13, 2018 5:50 pm    Post subject: Reply with quote

Many thanks again.

The offending entry in package.keywords has been removed.

I ran the world update and a sensible version of portage has been installed I think:

Code:
djt /etc/portage # equery list portage
 * Searching for portage ...
[IP-] [  ] sys-apps/portage-2.3.24-r1:0


Cheers

MF
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