Build hangs here: Making all in man1 gmake[6]: Entering directory '/usr/ports/sysutils/slurm-wlm/work/slurm-15.08.12/doc/man/man1' `dirname sacct.1`/../man2html.py 15.08 ./../../html/header.txt ./../../html/footer.txt sacct.1 `dirname sacctmgr.1`/../man2html.py 15.08 ./../../html/header.txt ./../../html/footer.txt sacctmgr.1 >>>>>>> sacctmgr.mhtml ('Converting', 'sacctmgr.mhtml', '->', 'sacctmgr.html') [...SNIP...] `dirname sview.1`/../man2html.py 15.08 ./../../html/header.txt ./../../html/footer.txt sview.1 >>>>>>> sview.mhtml ('Converting', 'sview.mhtml', '->', 'sview.html') https://forums.freebsd.org/threads/56753/
If I rum four times make, it compiles (it hangs three times).
The problem is with the upstream autoconf scripts. They try to be "helpful" by dynamically installing components based on environment. However, for some of these options there is no explicit argument to turn installation on or off. I've been communicating with upstream and there may be a fix soon. I may also try to fix the autoconf scripts myself. In the meantime, you can build the port in a clean environment (e.g. with poudriere) or install the package.
It hangs in man1/sview.1, man5/wiki.conf.1 and man8/spank.1. Each is the last file in the directory. It seems there is a problem to change the directories. But it builds with poudriere (seems an enviroment "thing").
Should be: change into other directories.
Created attachment 172365 [details] svn patch to fix issue building docs I've attached an unsatisfactory, temporary workaround: CONFIGURE_ENV+= ac_have_man2html=no The problem seems to occur outside of poudriere as long as textproc/man2html is installed, regardless whether the DOCS option is on. This will prevent the HTML files from being built in all cases. While here, add other configuration lines: GTK2_CONFIGURE_ENV_OFF= ac_gtk_test=no MYSQL_CONFIGURE_with= mysql
Created attachment 172366 [details] svn diff to fix haging build and the task affinity plugins This second patch also includes source patches submitted by the former maintainer, Jason Bacon (bacon4000@gmail.com), which fix the task affinity plugin on FreeBSD. These patches will be included in future upstream versions, so they will only be needed in the port temporarily. portlint: OK testport: OK (poudriere: 9.3-RELEASE-p36, i386, default options) testport: OK (poudriere: 9.3-RELEASE-p30, amd64, default options) testport: OK (poudriere: 10.3-RELEASE, i386, default options) testport: OK (poudriere: 10.3-RELEASE, amd64, default options) Thanks Jason.
Maintainer timeout ?
Sorry, no timout but needs a committer.
This is OK to be committed. Hopefully it will be a moot point after I finish work on the upgrade to Slurm 16.
testbuilds@work
Testbuilds have issues with the pkg-plist provided. See for example: http://people.freebsd.org/~pi/logs/sysutils__slurm-wlm-cur-1472059253.txt
Created attachment 174027 [details] svn diff to update sysutils/slurm-wlm to version 16.05.4 Instead of patching code that is already retired, let's try version 16.05.4, which includes Jason's task affinity plugins. I've done some basic tests on our cluster and it seems fine. However, I'm not confident that the issue with the hanging build is fixed because man2html.py hasn't changed since version 15. I am not able to reproduce the problem, so w.schwarzenfeld can you confirm that the hanging build is an issue in version 16? portlint: OK testport: OK (poudriere: 9.3-RELEASE-p36, i386, default options) testport: OK (poudriere: 9.3-RELEASE-p30, amd64, default options) testport: OK (poudriere: 10.3-RELEASE, i386, default options) testport: OK (poudriere: 10.3-RELEASE, amd64, default options) [1] http://pkg.awarnach.mathstat.dal.ca/data/9i386-default/2016-08-24_17h32m14s/logs/slurm-wlm-16.05.4.log [2] http://pkg.awarnach.mathstat.dal.ca/data/9amd64-default/2016-08-24_17h32m21s/logs/slurm-wlm-16.05.4.log [3] http://pkg.awarnach.mathstat.dal.ca/data/10i386-default/2016-08-24_17h32m29s/logs/slurm-wlm-16.05.4.log [4] http://pkg.awarnach.mathstat.dal.ca/data/10amd64-default/2016-08-24_16h51m17s/logs/slurm-wlm-16.05.4.log ---- P.S. The last patch built for me in poudriere [*] because I had DOCS included in OPTIONS_UNSET in make.conf. [*] http://pkg.awarnach.mathstat.dal.ca/data/10amd64-default/2016-08-24_15h38m01s/logs/slurm-wlm-15.08.12.log
Created attachment 174029 [details] svn diff to update sysutils/slurm-wlm to version 16.05.4 Take 2. The last diff didn't include a new patch in files/.
Sorry, it hangs in the port in the same as before.
..in the same way...
Can you send the full build log as an attachment, the output of pkg info, and the output of uname -a? Do you have anything in /etc/make.conf?
Has nothing to do with /etc/make.conf - now I have renamed it and tried it again. Same result. (But I can live with the "little" problem, I opened the PR cause of a post in FreeBSD Forum. If it is not solvable, I can close this PR, if you want).
Sorry, something went last try wrong. Now I tried again, and it works (maybe I have forgot make clean - I don't know). But now it works, thanks.
No, there still is a problem. I'm finally able to reproduce it, so now I can hopefully get to the bottom of it.
You are right, it does not, last try DOC were off. here the build-log.
Created attachment 174033 [details] slurm-typescript_build.log
Thanks. I can reproduce it even with all options off (including DOCS). Here is a more direct route: cd /usr/ports/sysutils/slurm-wlm make clean make configure cd work/slurm-16.05.4/doc/man/man1 gmake Instead of running gmake in the last step, running this command directly will trigger the hang: ../man2html.py 16.05 ../../html/header.txt ../../html/footer.txt sacct.1 So it's getting clearer that the problem is directly in the script. Now I just have to learn a little python to figure out what's up.
Created attachment 174035 [details] svn diff to fix hanging build and to update to version 16.05.4 The man2html.py script was calling man2html like man2html sacct.1> sacct.mhtml but man2html expects input from standard input, thus it was waiting on input. The latest patch fixes this issue by changing the call to man2html < sacct.1> sacct.mhtml and it also updates the port to slurm version 16.05.4.
YES ! Now it works, thank you much.
A commit references this bug: Author: pi Date: Thu Aug 25 03:20:24 UTC 2016 New revision: 420833 URL: https://svnweb.freebsd.org/changeset/ports/420833 Log: sysutils/slurm-wlm: 15.06.12 -> 16.05.4 and fix build hangs PR: 210648 Changes: https://github.com/SchedMD/slurm/blob/master/NEWS Reported by: w.schwarzenfeld@utanet.at Submitted by: Joseph Mingrone <jrm@ftfl.ca> (maintainer) Changes: head/sysutils/slurm-wlm/Makefile head/sysutils/slurm-wlm/distinfo head/sysutils/slurm-wlm/files/patch-doc_man_man2html.py head/sysutils/slurm-wlm/files/patch-src_plugins_node__features_knl__cray_node__features__knl__cray.c head/sysutils/slurm-wlm/pkg-plist
Committed, thanks!