Bug 268722 - net/pacemaker1 fails to build in poudriere
Summary: net/pacemaker1 fails to build in poudriere
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Florian Smeets
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-02 16:29 UTC by ddrinnon
Modified: 2023-10-22 13:23 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ddrinnon 2023-01-02 16:29:36 UTC

    
Comment 1 ddrinnon 2023-01-02 16:30:28 UTC
The port net/pacemaker1 fails to build for me in Poudriere on amd64 12.4-Release.  Here is part of the log:

libtool: link: cc -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -I/usr/local/include -I/usr/local/include -ggdb -fgnu89-inline -Wall -Waggregate-return -Wbad-function-cast -Wcast-align -Wdeclaration-after-statement -Wendif-labels -Wfloat-equal -Wformat-security -Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Wno-long-long -Wno-strict-aliasing -Wpointer-arith -Wstrict-prototypes -Wwrite-strings -Wunused-but-set-variable -Wformat=2 -Wformat-nonliteral -B/usr/local/bin -fstack-protector-strong -o .libs/lrmd lrmd-main.o lrmd-lrmd.o lrmd-lrmd_alert_api.o  ../lib/common/.libs/libcrmcommon.so -L/usr/local/lib ../lib/services/.libs/libcrmservice.so ../lib/fencing/.libs/libstonithd.so /wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lib/services/.libs/libcrmservice.so /wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lib/common/.libs/libcrmcommon.so -lcompat -lgnutls -lcorosync_common -lqb -lbz2 -lxslt -lxml2 -luuid -lpam -lrt -ldl -lglib-2.0 -lintl -pthread -Wl,-rpath -Wl,/usr/local/lib
/usr/local/bin/ld: lrmd-lrmd.o:/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lrmd/lrmd.c:42: multiple definition of `rsc_list'; lrmd-main.o:/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lrmd/./lrmd_private.h:35: first defined here
/usr/local/bin/ld: lrmd-lrmd_alert_api.o:/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lrmd/./lrmd_private.h:35: multiple definition of `rsc_list'; lrmd-main.o:/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lrmd/./lrmd_private.h:35: first defined here
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [Makefile:829: lrmd] Error 1
gmake[2]: Leaving directory '/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24/lrmd'
gmake[1]: *** [Makefile:905: all-recursive] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/net/pacemaker1/work/pacemaker-Pacemaker-1.1.24'
*** Error code 1

Stop.
Comment 2 Mark Linimon freebsd_committer freebsd_triage 2023-08-23 05:45:54 UTC
Assign to current maintainer.
Comment 3 Florian Smeets freebsd_committer freebsd_triage 2023-08-24 13:37:36 UTC
I inted to remove pacemaker1 within a week or two
Comment 4 commit-hook freebsd_committer freebsd_triage 2023-10-22 13:16:05 UTC
A commit in branch main references this bug:

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

commit ca4d114d277f490233f5b431079a40cd3dcb8417
Author:     Florian Smeets <flo@FreeBSD.org>
AuthorDate: 2023-10-22 06:52:43 +0000
Commit:     Florian Smeets <flo@FreeBSD.org>
CommitDate: 2023-10-22 13:13:04 +0000

    net/pacemaker1: Remove port

    Pacemaker1 hasn't built in months, the last upstream commit to the 1.1
    branch was more than two years ago. The last release was almost 3 years
    ago and net/pacemaker2 can be used instead.

    PR:             268722, 273188

 MOVED                                              |    1 +
 net/Makefile                                       |    1 -
 net/pacemaker1/Makefile (gone)                     |   41 -
 net/pacemaker1/distinfo (gone)                     |    3 -
 .../files/extra-patch-cts_remote.py (gone)         |   11 -
 .../files/extra-patch-cts_watcher.py (gone)        |   13 -
 net/pacemaker1/files/pacemaker.in (gone)           |   37 -
 net/pacemaker1/files/patch-crmd_pengine.c (gone)   |   15 -
 net/pacemaker1/files/patch-lrmd_Makefile.am (gone) |   11 -
 net/pacemaker1/files/patch-mcp_Makefile.am (gone)  |   11 -
 .../files/patch-tools_cibsecret.in (gone)          |   29 -
 net/pacemaker1/pkg-descr (gone)                    |    9 -
 net/pacemaker1/pkg-message (gone)                  |   15 -
 net/pacemaker1/pkg-plist (gone)                    | 4040 --------------------
 net/pacemaker2/Makefile                            |    4 +-
 net/{pacemaker1 => pacemaker2}/Makefile.common     |    0
 16 files changed, 2 insertions(+), 4239 deletions(-)