Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 801592 - net-misc/dhcp fails to compile on x86
Summary: net-misc/dhcp fails to compile on x86
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
: 841482 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-07-11 16:30 UTC by Chuckery Towers
Modified: 2023-09-24 18:42 UTC (History)
3 users (show)

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


Attachments
emerge --info '=net-misc/dhcp-4.4.2_p1::gentoo (emerge.info,5.68 KB, text/plain)
2021-07-11 16:30 UTC, Chuckery Towers
Details
emerge -pqv (emerge.pqv.txt,124 bytes, text/plain)
2021-07-11 16:32 UTC, Chuckery Towers
Details
environment (environment,81.89 KB, text/plain)
2021-07-11 16:32 UTC, Chuckery Towers
Details
build log (build.log,286.29 KB, text/x-log)
2021-07-11 16:33 UTC, Chuckery Towers
Details

Note You need to log in before you can comment on or make changes to this bug.
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(-)