Opened 8 months ago
Last modified 7 months ago
#69544 assigned defect
wxMaxima @24.01.0: Module loading error: Can't locate Syntax/Keyword/Try.pm in @INC
Reported by: | odysseus9672 (Sean Lake) | Owned by: | MSoegtropIMC |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.9.1 |
Keywords: | Cc: | cooljeanius (Eric Gallager) | |
Port: | wxMaxima |
Description
Attempting to update wxMaxima the build fails. The build log is a little complicated, so I cannot locate the error. I have attached the log.
Attachments (3)
Change History (14)
Changed 8 months ago by odysseus9672 (Sean Lake)
comment:1 follow-ups: 3 4 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Owner: | set to MSoegtropIMC |
---|---|
Port: | wxMaxima added |
Status: | new → assigned |
Summary: | wxMaxima@24.01.0: build fails → wxMaxima @24.01.0: Module loading error: Can't locate Syntax/Keyword/Try.pm in @INC |
Version: | → 2.9.1 |
Looks like the error is:
po4a::chooser: Module loading error: Can't locate Syntax/Keyword/Try.pm in @INC (you may need to install the Syntax::Keyword::Try module) (@INC contains: /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.34 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.34 /opt/local/lib/perl5/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/5.34) at /opt/local/lib/perl5/5.34/Locale/Po4a/Text.pm line 61.
comment:2 Changed 8 months ago by cooljeanius (Eric Gallager)
Cc: | cooljeanius added |
---|
comment:3 Changed 8 months ago by cooljeanius (Eric Gallager)
Replying to ryandesign:
Looks like the error is:
po4a::chooser: Module loading error: Can't locate Syntax/Keyword/Try.pm in @INC (you may need to install the Syntax::Keyword::Try module) (@INC contains: /opt/local/lib/perl5/site_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.34 /opt/local/lib/perl5/vendor_perl/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/vendor_perl/5.34 /opt/local/lib/perl5/5.34/darwin-thread-multi-2level /opt/local/lib/perl5/5.34) at /opt/local/lib/perl5/5.34/Locale/Po4a/Text.pm line 61.
...so maybe the issue is actually with the po4a port instead, then?
comment:4 Changed 8 months ago by cooljeanius (Eric Gallager)
Also, see this issue in the upstream wxMaxima repo: https://github.com/wxMaxima-developers/wxmaxima/issues/1899
comment:5 Changed 8 months ago by cooljeanius (Eric Gallager)
...oh, and one more note: trace mode successfully works around this issue; here's some relevant trace mode output from the configure step:
DEBUG: Executing proc-post-org.macports.configure-configure-1 Warning: The following existing files were hidden from the build system by trace mode: /Applications/MacPorts/CMake.app/Contents/MacOS/CMake /opt /opt/local/bin/appstream-util /opt/local/bin/codeblocks /opt/local/bin/cppcheck /opt/local/bin/desktop-file-validate /opt/local/bin/dot /opt/local/bin/doxygen /opt/local/bin/git /opt/local/bin/gpg /opt/local/bin/llvm-ar-mp-9.0 /opt/local/bin/llvm-nm-mp-9.0 /opt/local/bin/llvm-objdump-mp-9.0 /opt/local/bin/llvm-ranlib-mp-9.0 /opt/local/bin/pandoc /opt/local/lib/libunwind.dylib /private/var/select/sh /usr/X11R6
(...I'm not seeing anything about po4a, though?)
comment:6 follow-up: 7 Changed 8 months ago by MSoegtropIMC
@odysseus9672: thanks for reporting! Apparently you already have the po4a port installed. Did you try manually installing "sudo port install p5.34-syntax-keyword-try"?
@ryandesign: shouldn't we add po4a as dependency to the wxMaxima port file - in addition to reporting the missing dependency in po4a?
comment:7 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)
Replying to MSoegtropIMC:
@ryandesign: shouldn't we add po4a as dependency to the wxMaxima port file - in addition to reporting the missing dependency in po4a?
I don't know anything about wxMaxima or po4a, so I can only answer based on the log in this ticket, which says:
:info:configure -- Found po4a-translate: /opt/local/bin/po4a-translate (found version "0.69")
and then goes on to use po4a-translate
. So yes, either the po4a dependency should be added or the build should be instructed not to use po4a even if it exists.
comment:8 follow-up: 9 Changed 8 months ago by odysseus9672 (Sean Lake)
When I try to manually run sudo port install p5.34-syntax-keyword-try
the process fails. The failure part of the output reads:
---> Configuring webkit2-gtk Error: Failed to configure webkit2-gtk: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/CMakeFiles/CMakeError.log Error: Failed to configure webkit2-gtk: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/main.log for details. Error: rev-upgrade failed: Error rebuilding webkit2-gtk Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.
I will attach the webkit2-gtk build log.
Changed 8 months ago by odysseus9672 (Sean Lake)
Attachment: | webkit2-gtk_CMakeError.log added |
---|
webkit2-gtk build error log from trying to run "sudo port install p5.34-syntax-keyword-try"
Changed 8 months ago by odysseus9672 (Sean Lake)
Attachment: | webkit2-gtk_main.log added |
---|
webkit2-gtk build log from trying to run "sudo port install p5.34-syntax-keyword-try"
comment:9 Changed 8 months ago by cooljeanius (Eric Gallager)
Replying to odysseus9672:
When I try to manually run
sudo port install p5.34-syntax-keyword-try
the process fails. The failure part of the output reads:---> Configuring webkit2-gtk Error: Failed to configure webkit2-gtk: consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/work/build/CMakeFiles/CMakeError.log Error: Failed to configure webkit2-gtk: configure failure: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_www_webkit2-gtk/webkit2-gtk/main.log for details. Error: rev-upgrade failed: Error rebuilding webkit2-gtk Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.I will attach the webkit2-gtk build log.
From looking at your log, I see:
:info:configure CMake Error at Source/cmake/GStreamerChecks.cmake:34 (message): :info:configure GStreamerGL is needed for USE_GSTREAMER_GL.
...which looks like ticket #69640. I don't see webkit2-gtk among p5.34-syntax-keyword-try's dependencies, though, are you sure it's not just rev-upgrade marking it as broken as happened in the other ticket?
comment:10 Changed 8 months ago by odysseus9672 (Sean Lake)
I just assumed that because the sudo port install p5.34-syntax-keyword-try
command ended with an error that it failed. wxMaxima builds now, so it worked. And you're right, MacPorts now says, The following ports will be rebuilt: webkit2-gtk @2.28.2+minibrowser+x11
.
comment:11 Changed 7 months ago by MSoegtropIMC
I btw. don't have po4a or p5.34-syntax-keyword-try or webkit2-gtk installed. It may be that wxmaxima build uses PO tools when they are there - and then expects that they work - but it doesn't requires it since I can build wxmaxima without it. This would anyway be strange since po4a is a tool for translation maintenance. So maybe it helps if you uninstall po4a.
This doesn't appear to be an issue with wxmaxima. As far as I can see wxmaxima can live with a working po4a or no po4a at all but not with a broken po4a - and this is IMHO reasonable behavior.
Build log for wxMaxima