Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
FRR installation failing
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
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 48

PostPosted: Wed Jan 22, 2025 2:53 pm    Post subject: FRR installation failing Reply with quote

Hi Experts, while installing frr (emerge -a frr) on gentoo system, its failing and I am getting error - /usr/bin/install: invalid user ‘frr’

Please suggest what needs to be done here. Thanks for all the help in advance.


Quote:


emerge -a frr

make[2]: Leaving directory '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
make[1]: Leaving directory '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
/usr/bin/install: invalid user ‘frr’
* ERROR: net-misc/frr-9.1.2::gentoo failed (install phase):
* dodir failed
*
* If you need support, post the output of `emerge --info '=net-misc/frr-9.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/frr-9.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
* S: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
/usr/lib/portage/python3.10/ebuild-helpers/keepdir: line 15: /var/tmp/portage/net-misc/frr-9.1.2/image/var/log/frr/.keep_net-misc_frr-0: No such file or directory
!!! keepdir: cannot write .keep in /var/tmp/portage/net-misc/frr-9.1.2/image/var/log/frr
/usr/lib/portage/python3.10/ebuild-helpers/keepdir: line 15: /var/tmp/portage/net-misc/frr-9.1.2/image/etc/frr/.keep_net-misc_frr-0: No such file or directory
!!! keepdir: cannot write .keep in /var/tmp/portage/net-misc/frr-9.1.2/image/etc/frr
* ERROR: net-misc/frr-9.1.2::gentoo failed (install phase):
* keepdir failed
*
* If you need support, post the output of `emerge --info '=net-misc/frr-9.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/frr-9.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
* S: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'

>>> Failed to emerge net-misc/frr-9.1.2, Log file:

>>> '/var/tmp/portage/net-misc/frr-9.1.2/temp/build.log'

* Messages for package net-misc/frr-9.1.2:

* ERROR: net-misc/frr-9.1.2::gentoo failed (install phase):
* dodir failed
*
* If you need support, post the output of `emerge --info '=net-misc/frr-9.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/frr-9.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
* S: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
* ERROR: net-misc/frr-9.1.2::gentoo failed (install phase):
* keepdir failed
*
* If you need support, post the output of `emerge --info '=net-misc/frr-9.1.2::gentoo'`,
* the complete build log and the output of `emerge -pqv '=net-misc/frr-9.1.2::gentoo'`.
* The complete build log is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/net-misc/frr-9.1.2/temp/environment'.
* Working directory: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
* S: '/var/tmp/portage/net-misc/frr-9.1.2/work/frr-frr-9.1.2'
livecd / #
Back to top
View user's profile Send private message
sMueggli
Guru
Guru


Joined: 03 Sep 2022
Posts: 528

PostPosted: Wed Jan 22, 2025 3:02 pm    Post subject: Reply with quote

Are you trying to build it on a live-cd and not in a Gentoo system (via chroot)?
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 48

PostPosted: Wed Jan 22, 2025 3:05 pm    Post subject: Reply with quote

I tried both in livecd --> chroot and also directly from within the OS on the Harddisk, in both cases, I am not able to install frr and getting the same error .
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 23030

PostPosted: Wed Jan 22, 2025 3:28 pm    Post subject: Reply with quote

What is the output of emerge --pretend --verbose net-misc/frr acct-user/frr ; id frr?
Back to top
View user's profile Send private message
manu.rhel
n00b
n00b


Joined: 11 Apr 2014
Posts: 48

PostPosted: Wed Jan 22, 2025 4:02 pm    Post subject: Reply with quote

Hi Hu, getting below message - id: ‘frr’: no such user


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

Calculating dependencies... done!
Dependency resolution took 0.98 s (backtrack: 0/20).

[ebuild R ] acct-user/frr-0-r2::gentoo 0 KiB
[ebuild N ] net-misc/frr-9.1.2:0/9.1::gentoo USE="pam -doc -fpm (-grpc) -nhrp -ospfapi -rpki -snmp -test" PYTHON_SINGLE_TARGET="python3_12 -python3_10 -python3_11" 0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB

!!! The following installed packages are masked:
- dev-build/cmake-3.22.2::gentoo (masked by: CMake license(s))
- sys-kernel/linux-firmware-20221012::gentoo (masked by: || ( ) linux-fw-redistributable no-source-code license(s))
A copy of the 'linux-fw-redistributable' license is located at '/var/db/repos/gentoo/licenses/linux-fw-redistributable'.

A copy of the 'no-source-code' license is located at '/var/db/repos/gentoo/licenses/no-source-code'.

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


* IMPORTANT: 25 news items need reading for repository 'gentoo'.
* Use eselect news read to view new items.

id: ‘frr’: no such user
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