Opened 13 years ago

Closed 13 years ago

#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 (5)

Portfile (973 bytes) - added by hahn.seb@… 13 years ago.
patch-wml_backend-p3_eperl-configure (354 bytes) - added by hahn.seb@… 13 years ago.
patch-wml_frontend-wml.src (1.5 KB) - added by hahn.seb@… 13 years ago.
Portfile.diff (657 bytes) - added by hahn.seb@… 13 years ago.
patch-wml_backend-p3_eperl-configure.diff (465 bytes) - added by hahn.seb@… 13 years ago.

Download all attachments as: .zip

Change History (12)

Changed 13 years ago by hahn.seb@…

Attachment: Portfile added

Changed 13 years ago by hahn.seb@…

Changed 13 years ago by hahn.seb@…

Attachment: patch-wml_frontend-wml.src added

comment:1 Changed 13 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 13 years ago by mf2k (Frank Schima)

Please attach a universal diff of the portfile so we can easily see what changes you made.

comment:3 Changed 13 years ago by hahn.seb@…

Ah yes, of course. Attaching two patches for the changed files.

Changed 13 years ago by hahn.seb@…

Attachment: Portfile.diff added

Changed 13 years ago by hahn.seb@…

comment:4 Changed 13 years ago by mf2k (Frank Schima)

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.

comment:5 Changed 13 years ago by hahn.seb@…

wml requires that perl is installed with the +shared variant

comment:6 Changed 13 years ago by reg-macports.org@…

Cc: reg-macports.org@… added

Cc Me!

comment:7 Changed 13 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

I think this is fixed by r83533. Feel free to re-open if the problem persists.

Note: See TracTickets for help on using tickets.