View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000650 | Cinelerra-GG | [All Projects] Bug | public | 2024-01-01 01:28 | 2024-09-06 19:08 |
Reporter | PhyllisSmith | Assigned To | PhyllisSmith | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0000650: Syntax error : "(" unexpected when patch for Multibit in x265 | ||||
Description | To compile x265 for addition 10 and 12 bit by patching with ./thirdparty/compile_multibit.txt, a bash shell, multibit.sh is executed. This shell (at least I think it comes from the shell) has the error "/bin/sh: 1: Syntax error : "(" unexpected" which does not prevent compilation but is distracting when looking for errors in the build log file. Ran the program "shellcheck" on Fedora on multibit.sh and all it found was warnings and style issues but no unexpected (. Maybe the error is from ./thirdparty/Makefile line "x265.cfg_vars?=chmod +x ./configure; chmod +x ./multilib.sh;" but I could not determine if that is so. | ||||
Steps To Reproduce | cd thirdparty patch < compile_multibit.txt mv x265_3.517122034.patch* src/. cd .. ./bld.sh then check the log file for the error message of Syntax error or syntax error. | ||||
Tags | No tags attached. | ||||
@tarantas Not sure if bash shell global "set +e" workaround works for you. However, not using the latest GIT is not recommended and if there is a fix added for 0000665, it will become inconvenient. I am still trying to correct the "unexpected (. Here is the workaround to continue to use the latest GIT. In cinelerra-5.1/thirdparty, edit Makefile by commenting the line: x265.cfg_vars?=(chmod +x ./configure ./multilib.sh) and uncommenting the lines: x265.cfg_vars?=$(call cmake_config,source) and x265.cfg_params?= -DENABLE_SHARED=no -DENABLE_CLI=no They should look like this to compile without multibit capability (which is what you are doing when using the older GIT).: #x265.cfg_vars?=(chmod +x ./configure ./multilib.sh) x265.cfg_vars?=$(call cmake_config,source) x265.cfg_params?= -DENABLE_SHARED=no -DENABLE_CLI=no |
|
may be also " set +e" if your shell (bash session) already added "set -e" globally? | |
Anyone having the same issue could back off several commits by doing: git reset --hard 73eb8f8d040d50f33db883d12adaaf33a2d1520c | |
Well, same here. Can't compile the last git version. | |
Date Modified | Username | Field | Change |
---|---|---|---|
2024-01-01 01:28 | PhyllisSmith | New Issue | |
2024-01-01 01:28 | PhyllisSmith | Assigned To | => PhyllisSmith |
2024-01-01 01:28 | PhyllisSmith | Status | new => confirmed |
2024-09-03 17:22 | tarantas | Note Added: 0005693 | |
2024-09-03 19:48 | tarantas | Note Added: 0005694 | |
2024-09-04 17:46 | Andrew-R | Note Added: 0005704 | |
2024-09-06 19:08 | PhyllisSmith | Note Added: 0005712 |