Page MenuHomeFreeBSD

sysutils/htcondor: Unbreak and upgrade to 8.4.12
ClosedPublic

Authored by jwb on Mar 30 2018, 3:44 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 30 2024, 10:46 PM
Unknown Object (File)
Jan 2 2024, 10:57 PM
Unknown Object (File)
Jan 2 2024, 10:45 PM
Unknown Object (File)
Dec 22 2023, 10:20 PM
Unknown Object (File)
Nov 18 2023, 6:55 AM
Unknown Object (File)
Nov 14 2023, 1:53 AM
Unknown Object (File)
Nov 7 2023, 6:26 AM
Unknown Object (File)
Oct 30 2023, 11:34 PM
Subscribers

Details

Summary

sysutils/htcondor: Unbreak and upgrade to 8.4.12

Approved by jrm (mentor) or wen (mentor)
Differential to be added to commit message

Fixes build errors caused by increased strictness of C++ compilers and
the switch to ninja as default back-end for cmake

This is a conservative upgrade to maintain compatibility with the current
port. The latest release, 8.6.10, also builds on FreeBSD, but includes
major changes that need to be tested before being put into production.

Test Plan

portlint -A: Only expected warnings
Passed poudriere on {10.3,11.1}-{amd64,i386}
Tested in production as dependency of cutadapt bioinformatics software

Diff Detail

Repository
rP FreeBSD ports repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

I guess pkg-install and pkg-deinstall could be replaced with these pkg-plist entries

@dir(condor,condor,) /home/condor/execute
@dir(condor,condor,) /home/condor/log
@dir(condor,condor,) /home/condor/spool
@dir(condor,condor,) /home/condor/config
@dir(condor,condor,) /home/condor
@dir /home

and

post-install:
	@${MKDIR} -p ${STAGEDIR}/home/${PORTNAME}
.for dir in execute log spool config
	@${MKDIR} ${STAGEDIR}/home/${PORTNAME}/${dir}
.endfor

I also wonder if /home/condor is the right place? I see you discuss this in the pkg-install comments.

sysutils/condor/Makefile
40–41 ↗(On Diff #40914)

+= -> =

48 ↗(On Diff #40914)

+= -> =

I think that's worth exploring, but I'd rather wait until the next commit rather than potentially introduce a regression under time pressure.

The port is currently marked broken and I'd like to commit a fix ASAP without any unnecessary functional changes, then take some time to test the changes you suggested as part of the WIP port. I would expect to upgrade to the 8.6.x branch in the next month or two anyway.

The changes I've proposed for now only fix the build issue, remove patches that have been incorporated upstream, and tidy up a few cosmetic issues.

Thanks,

JB
This revision is now accepted and ready to land.Mar 30 2018, 11:56 PM
This revision was automatically updated to reflect the committed changes.
head/sysutils/condor/Makefile
48

Why +=?

I think I copy/pasted that line late in the game, after checking for += lint. Note that I fixed LIB_DEPENDS and CMAKE_ARGS, but then missed this one. I fixed it in the WIP port so it will be corrected in the next commit. Thanks!