Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 893374 - net-misc/gns3-server-2.2.37:0 fails to emerge while busybox USE static is set
Summary: net-misc/gns3-server-2.2.37:0 fails to emerge while busybox USE static is set
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michael Mair-Keimberger (iamnr3)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-06 10:35 UTC by needle
Modified: 2023-02-07 20:12 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
gns3-build.log (build.log,3.51 KB, text/x-log)
2023-02-06 10:35 UTC, needle
Details

Note You need to log in before you can comment on or make changes to this bug.
Description needle 2023-02-06 10:35:57 UTC
Created attachment 849970 [details]
gns3-build.log

gns3-server failed to emerge while the required dependency on busybox (static) has been set:

[I] sys-apps/busybox
     Available versions:  1.34.1-r1^t{tbz2} **1.35.0-r1^t **9999*l^t {debug ipv6 livecd make-symlinks math mdev pam savedconfig selinux sep-usr static syslog systemd}
     Installed versions:  1.34.1-r1^t{tbz2}(22:33:28 05/02/23)(ipv6 savedconfig static syslog -debug -livecd -make-symlinks -math -mdev -pam -selinux -sep-usr -systemd)
     Homepage:            https://www.busybox.net/
     Description:         Utilities for rescue and embedded systems

The build log of gns3-server-2-2-37 fail has been attached.
Comment 1 needle 2023-02-06 10:39:31 UTC
The solution in this particular case was. The savedconfig USE flag has been enabled on the busybox build, while static USE flag has been set. Busybox was rebuild which triggered the issue seen in the attched buildlog.

On IRC +ceamac and ano helped me to find the source of the issue. Thank you.

Disabling the savedconfig USE flag on busybox, and rebuilding busybox solved the issue and gns3-server has been emerged sucessfully after it.

I have been asked to open a bug for this.
Comment 2 Viorel Munteanu gentoo-dev 2023-02-06 10:42:25 UTC
Thank you!

We should consider adding a warning for this case (i.e., busybox has the static flag set but savedconfig takes precedence)
Comment 3 Michael Mair-Keimberger (iamnr3) 2023-02-07 20:12:02 UTC
Thanks for the report. I can add a note about this in gns3, but i'm not sure if I understand this correctly.

AFAIK, savedconfig overrides the build config for busybox with a existing one. That means even after adding "static", savedconfig would disable static, because it was disabled before. Building busybox without the "savedconfig" useflag fixes this (and builds busybox with static enabled). - and i guess after the inital build, it's possible to add the "savedconfig" useflag again?

I'm also wondering if that is something related with gns3 only. If i understand this correctly this can happen to any other package were the dependency changes to busybox[static] (and savedconfig was set before?)? In that case shouldn't be the note in the busybox ebuild?