Opened 14 months ago
Last modified 13 months ago
#66716 new defect
ManOpen @2.6_2: /usr/bin/gm4:stdin:1744: ERROR: end of file in string
Reported by: | amadeus24 | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.99 |
Keywords: | ventura | Cc: | MaddTheSane (C.W. Betts) |
Port: | ManOpen |
Description (last modified by jmroot (Joshua Root))
Last lines in the log-file:
:info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/work/ManOpen-2.6" && /usr/bin/xcodebuild -UseModernBuildSystem=NO -alltargets -configuration Deployment build INSTALL_PATH=/Applications/MacPorts OBJROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/work/ManOpen-2.6/build/" SYMROOT="/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/work/ManOpen-2.6/build/" MACOSX_DEPLOYMENT_TARGET=13.0 ARCHS=arm64 SDKROOT="/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX13.sdk" GCC_VERSION=com.apple.compilers.llvm.clang.1_0 CLANG_CXX_LIBRARY="libc++" :info:build Exit code: 65 :error:build Failed to build ManOpen: command execution failed :debug:build Error code: NONE :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "$procedure $targetname" :error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/main.log for details.
Attachments (2)
Change History (8)
Changed 14 months ago by amadeus24
comment:1 Changed 14 months ago by jmroot (Joshua Root)
Description: | modified (diff) |
---|---|
Keywords: | ventura added; ManOpen fails to build on arm removed |
Milestone: | MacPorts 2.8.1 |
Summary: | ManOpen failed to build → ManOpen @2.6_2 failed to build |
comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)
Summary: | ManOpen @2.6_2 failed to build → ManOpen @2.6_2: /usr/bin/gm4:stdin:1744: ERROR: end of file in string |
---|
It appears the relevant lines of the log are:
:info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/lex -o /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/work/ManOpen-2.6/build/ManOpen.build/Deployment/cat2html\ \(Tool\).build/DerivedSources/cat2html.yy.c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_aqua_ManOpen/ManOpen/work/ManOpen-2.6/ManOpen/cat2html.tproj/cat2html.l :info:build /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/gm4:stdin:1744: ERROR: end of file in string :info:build Command Lex failed with a nonzero exit code
comment:3 Changed 14 months ago by kencu (Ken)
I tried to fix this one, but I have been completely unable to make any progress so far.
Need the big guns here...
comment:4 Changed 13 months ago by MaddTheSane (C.W. Betts)
Cc: | MaddTheSane added |
---|
comment:5 Changed 13 months ago by khorton (Kevin Horton)
Maybe it is time to switch to a newer fork of ManOpen, such as: https://github.com/nickzman/ManOpen. The Xcode project for ManOpen 3.0 builds and runs for me on Ventura.
ManOpen 3.x is based on ManOpen 2.x by Carl Lindberg, and ManOpen 1.x by Harald Schlangmann. This version has been greatly enhanced, with a new UI for macOS 11 ("Big Sur"), support for Dark Mode, native support for Apple Silicon Macs, plus several internal refactors and rewrites so the app will run on modern macOS releases. ManOpen requires macOS 10.9 ("Mavericks") or later.
comment:6 Changed 13 months ago by MaddTheSane (C.W. Betts)
Looks like he found out why cat2html was failing and fixed it.
But ManOpen, by default, won't work on Ventura due to the removal of nroff. In order for it to work, you'd have to either:
- Point ManOpen to the path of MacPorts' nroff.
- Point ManOpen to mandoc.
And yes, this does affect nickzman's fork.
Changed 13 months ago by kencu (Ken)
Attachment: | patch-manopen-flex.diff added |
---|
fix for flex from referenced commit
main.log