Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 801592

Summary: net-misc/dhcp fails to compile on x86
Product: Gentoo Linux Reporter: Chuckery Towers <Gentoo>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: normal CC: dragont1, Gentoo, sam
Priority: Normal    
Version: unspecified   
Hardware: x86   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=720806
https://bugs.gentoo.org/show_bug.cgi?id=857804
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info '=net-misc/dhcp-4.4.2_p1::gentoo
emerge -pqv
environment
build log

Description Chuckery Towers 2021-07-11 16:30:21 UTC
Created attachment 723304 [details]
emerge --info '=net-misc/dhcp-4.4.2_p1::gentoo

See also https://bugs.gentoo.org/720806.

There was a patch created and applied to the ebuild:
if use ppc || use arm || use hppa; then ...

For anyone using a geriatric computer like mine, I suspect that there should also be "x86", giving:-
if use ppc || use arm || use hppa || use x86; then
Comment 1 Chuckery Towers 2021-07-11 16:32:14 UTC
Created attachment 723307 [details]
emerge -pqv

emerge -pqv
Comment 2 Chuckery Towers 2021-07-11 16:32:46 UTC
Created attachment 723310 [details]
environment
Comment 3 Chuckery Towers 2021-07-11 16:33:26 UTC
Created attachment 723313 [details]
build log
Comment 4 Ben Kohler gentoo-dev 2022-04-28 17:07:20 UTC
*** Bug 841482 has been marked as a duplicate of this bug. ***
Comment 5 Larry the Git Cow gentoo-dev 2022-04-28 17:52:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71b5f23ce2ed0cea82ef576b6db98606831e43da

commit 71b5f23ce2ed0cea82ef576b6db98606831e43da
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-28 17:51:43 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-28 17:51:58 +0000

    net-misc/dhcp: add -latomic for x86 too
    
    Closes: https://bugs.gentoo.org/801592
    Bug: https://bugs.gentoo.org/841482
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 4 ++--
 net-misc/dhcp/dhcp-4.4.3-r1.ebuild    | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
Comment 6 Larry the Git Cow gentoo-dev 2022-04-28 18:00:25 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec

commit c00b2fd2c2f09a391fd8a95add64db50c6e8e2ec
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-04-28 17:57:26 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-04-28 17:57:26 +0000

    net-misc/dhcp: change x86 test to check for i486 CHOST
    
    Closes: https://bugs.gentoo.org/801592
    Bug: https://bugs.gentoo.org/841482
    Suggested-by: Ben Kohler <iamben@gentoo.org>
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/dhcp/dhcp-4.4.2_p1-r2.ebuild | 2 +-
 net-misc/dhcp/dhcp-4.4.3-r1.ebuild    | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
Comment 7 Larry the Git Cow gentoo-dev 2023-07-14 12:09:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885a699283e2efc97faa78f694f04811d8d1123a

commit 885a699283e2efc97faa78f694f04811d8d1123a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-14 12:08:28 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-14 12:08:28 +0000

    net-misc/dhcp: switch to append-atomic-flags
    
    Fixes build on mips (report on #gentoo).
    
    Bug: https://bugs.gentoo.org/720806
    Bug: https://bugs.gentoo.org/801592
    Signed-off-by: Sam James <sam@gentoo.org>

 net-misc/dhcp/dhcp-4.4.3_p1-r4.ebuild | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)