Ticket #28750 (closed defect: fixed)
wml @2.0.11 Fails to run after recent perl updates
| Reported by: | hahn.seb@… | Owned by: | macports-tickets@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.2 |
| Keywords: | Cc: | reg-macports.org@… | |
| Port: | wml |
Description
just calling wml gives this error:
Can't load '/opt/local/lib/wml/perl/lib/darwin-2level/auto/IO/IO.bundle' for module IO: dlopen(/opt/local/lib/wml/perl/lib/darwin-2level/auto/IO/IO.bundle, 1): Symbol not found: _PL_stack_sp Referenced from: /opt/local/lib/wml/perl/lib/darwin-2level/auto/IO/IO.bundle Expected in: dynamic lookup at /opt/local/lib/wml/perl/lib/darwin-2level/IO/Handle.pm line 241 Compilation failed in require at /opt/local/lib/wml/perl/lib/darwin-2level/IO/Handle.pm line 241. BEGIN failed--compilation aborted at /opt/local/lib/wml/perl/lib/darwin-2level/IO/Handle.pm line 241. Compilation failed in require at /opt/local/lib/wml/perl/lib/darwin-2level/IO/Seekable.pm line 51. BEGIN failed--compilation aborted at /opt/local/lib/wml/perl/lib/darwin-2level/IO/Seekable.pm line 51. Compilation failed in require at /opt/local/lib/wml/perl/lib/darwin-2level/IO/File.pm line 112. BEGIN failed--compilation aborted at /opt/local/lib/wml/perl/lib/darwin-2level/IO/File.pm line 112. Compilation failed in require at /opt/local/bin/wml line 53. BEGIN failed--compilation aborted at /opt/local/bin/wml line 53.
I believe this is related to recent perl updates, because wml worked before and wml itself wasn't updated afaict. I'm on Snow Leopard.
Attachments
Change History
comment:1 Changed 4 years ago by hahn.seb@…
I added a Portfile and two patches (one of them should replace the currently existing patch-wml_backend-p3_eperl-configure patch) that make wml work again in my local testing. The patch changes wml's usage of File::PathConvert into the new, non-deprecated way. Also two modules appear as new dependency.
Thanks for consideration of inclusion.
comment:2 Changed 4 years ago by macsforever2000@…
Please attach a universal diff of the portfile so we can easily see what changes you made.
comment:3 Changed 4 years ago by hahn.seb@…
Ah yes, of course. Attaching two patches for the changed files.
comment:4 Changed 4 years ago by macsforever2000@…
I tried this and get the following error:
/usr/bin/gcc-4.2 -L/opt/local/lib -arch x86_64 -fstack-protector -L/opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE -o eperl eperl_main.o eperl_perl5.o eperl_parse.o eperl_pp.o eperl_sys.o eperl_http.o eperl_getopt.o eperl_debug.o eperl_config.o eperl_version.o eperl_readme.o eperl_license.o eperl_logo.o eperl_powered.o /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/libperl.dylib -lperl -ldbm -ldl -lm -lutil -lc i686-apple-darwin10-gcc-4.2.1: /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/libperl.dylib: No such file or directory
Indeed only libperl.a exists there on my computer.

