Bug 260555 - net/haproxy does not compile on i386
Summary: net/haproxy does not compile on i386
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: i386 Any
: --- Affects Only Me
Assignee: Dmitry Sivachenko
Depends on:
Reported: 2021-12-20 02:13 UTC by Victor Sudakov
Modified: 2021-12-22 10:22 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (demon)

Poudriere build fail log (157.49 KB, text/plain)
2021-12-20 02:13 UTC, Victor Sudakov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Victor Sudakov 2021-12-20 02:13:45 UTC
Created attachment 230255 [details]
Poudriere build fail log

net/haproxy port does not compile on i386 12.3-RELEASE:

LD      haproxy
ld: error: unable to find library -latomic
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[1]: *** [Makefile:948: haproxy] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/haproxy/work-default/haproxy-2.4.9'
*** Error code 1

make: stopped in /usr/ports/net/haproxy
=>> Cleaning up wrkdir
===>  Cleaning for haproxy-2.4.9
build of net/haproxy | haproxy-2.4.9 ended at Mon Dec 20 01:13:25 +07 2021
build time: 00:03:05
!!! build failure encountered !!!
Comment 1 Daniel Engberg freebsd_committer 2021-12-20 07:06:52 UTC
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260232
Comment 2 commit-hook freebsd_committer 2021-12-22 10:22:25 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=56c987b2740352c159589f4c54ea7241c1ad5593

commit 56c987b2740352c159589f4c54ea7241c1ad5593
Author:     Dmitry Sivachenko <demon@FreeBSD.org>
AuthorDate: 2021-12-22 10:16:53 +0000
Commit:     Dmitry Sivachenko <demon@FreeBSD.org>
CommitDate: 2021-12-22 10:21:37 +0000

    net/haproxy: fix build for i386.

    Patch from PR 260232 by diizzy.

    PR: 260555

 net/haproxy/Makefile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 Dmitry Sivachenko freebsd_committer 2021-12-22 10:22:55 UTC
Should be fixed now.
Thanks for reporting!