Bug#462994: libapache2-mod-perl2: FTBFS with perl 5.10

brian m. carlson sandals at crustytoothpaste.ath.cx
Mon Jan 28 19:35:35 UTC 2008


Package: libapache2-mod-perl2
Version: 2.0.3-2
Severity: important

libapache2-mod-perl2 FTBFS with perl 5.10:

cc -I/home/bmc/build/libapache2-mod-perl2-2.0.3/src/modules/perl -I/home/bmc/build/libapache2-mod-perl2-2.0.3/xs -I/usr/include/apache2 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/apr-1.0 -I/usr/include/postgresql -I/usr/include/apache2 -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -I/usr/local/include -I/usr/lib/perl/5.10/CORE -DMOD_PERL -DMP_USE_GTOP -DMP_COMPAT_1X -g -Wall -O2 -fPIC \
	-c modperl_interp.c && mv modperl_interp.o modperl_interp.lo
modperl_interp.c: In function ‘modperl_interp_unselect’:
modperl_interp.c:294: error: ‘XPVMG’ has no member named ‘xmg_magic’
modperl_interp.c: In function ‘modperl_interp_select’:
modperl_interp.c:509: error: ‘XPVMG’ has no member named ‘xmg_magic’
make[2]: *** [modperl_interp.lo] Error 1
make[2]: Leaving directory `/home/bmc/build/libapache2-mod-perl2-2.0.3/src/modules/perl'
make[1]: *** [modperl_lib] Error 2
make[1]: Leaving directory `/home/bmc/build/libapache2-mod-perl2-2.0.3'
make: *** [build-stamp] Error 2

Note that in modperl_interp.h it says:

/*
  * HvPMROOT will never be used by Perl with PL_modglobal.
  * so we have stolen it as a quick way to stash the interp
  * pointer.
  *
  * However in 5.9.3 HvPMROOT was completely removed, so we have moved
  * to use another struct member that's hopefully won't be used by
  * anybody else. But if we can find a better place to store the
  * pointer to the current mod_perl interpreter object it'd be a much
  * cleaner solution. of course it must be really fast.
  */

Unfortunately, the xmg_magic structure element apparently no longer
exists.  Note that this bug is still present in mod-perl 2.0.3.

If you need me to test-build something (because installing perl 5.10
involves removing a lot of packages), please let me know.

-- System Information:
Debian Release: lenny/sid
   APT prefers unstable
   APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/bash

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 713 440 7475 | http://crustytoothpaste.ath.cx/~bmc | My opinion only
troff on top of XML: http://crustytoothpaste.ath.cx/~bmc/code/thwack
OpenPGP: RSA v4 4096b 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20080128/601954a6/attachment.pgp 


More information about the pkg-perl-maintainers mailing list