Unable to build openjdk with autotools plugin
Metadata
Current evaluation
Abandoned due to inactivity. The autotools plugin still hardcodes -j32, causing OpenJDK builds to fail.
Suggested action: —
No scores available.
Issue body
### Bug Description
`make` and `autotools` plugin hardcode `-j` make parameter that is not supported by openjdk makefile.
Please allow disabling hardcoded -j32
### To Reproduce
Try to build the attached part.
Build fails.
### part yaml
```shell
parts:
jdk21u:
plugin: autotools
build-packages:
- openjdk-21-jdk
- m4
- lsb-release
- zip
- unzip
- sharutils
- gawk
- cpio
- procps
- wdiff
- pkgconf
- fastjar
- time
- jtreg7
- libtestng7-java
- libasmtools-java
- autoconf
- automake
- ant
- ant-optional
- g++-14
- libxtst-dev
- libxi-dev
- libxt-dev
- libxaw7-dev
- libxrender-dev
- libcups2-dev
- libasound2-dev
- liblcms2-dev
- libxinerama-dev
- libkrb5-dev
- xsltproc
- libpcsclite-dev
- libxrandr-dev
- libelf-dev
- libfontconfig-dev
- libfreetype-dev
- libharfbuzz-dev
- libffi-dev
- zlib1g-dev
- libattr1-dev
- libpng-dev
- libjpeg-dev
- libgif-dev
- systemtap-sdt-dev
- libnss3-dev
source: https://github.com/openjdk/jdk21u
override-build: |
chmod +x configure
craftctl default
```
### Relevant log output
```shell
2025-04-16 14:09:12.688 :: 2025-04-16 14:09:12.147 :: + make -j32
2025-04-16 14:09:12.688 :: 2025-04-16 14:09:12.407 :: Error: 'make -jN' is not supported, use 'make JOBS=N'
2025-04-16 14:09:12.688 :: 2025-04-16 14:09:12.407 :: /root/parts/jdk21u/build/make/Init.gmk:115: *** Cannot continue. Stop.
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen/qwen3.6-35b-a3b | — | — | Abandoned due to inactivity. The autotools plugin still hardcodes -j32, causing OpenJDK builds to fail. | |
| qwen/qwen3.6-35b-a3b | — | — | Abandoned. Closed without resolution due to inactivity. The autotools plugin remains hardcoded to -j32, preventing OpenJDK builds from succeeding. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without resolution. The autotools plugin hardcodes unsupported -j flags, causing OpenJDK build failures. No comments or fixes were provided. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed without resolution. The autotools plugin hardcodes -j32, causing OpenJDK builds to fail since it requires JOBS=N. No fix was implemented. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.