Bug#652810: libwx-scintilla-perl: FTBFS with multiarch wxWidgets

Aaron M. Ucko ucko at debian.org
Tue Dec 20 15:30:21 UTC 2011


Source: libwx-scintilla-perl
Version: 0.34-2
Severity: serious
Justification: fails to build from source

Builds of libwx-scintilla-perl against current (multiarch-enabled)
wxWidgets development packages are failing, due to looking for the
configuration-dependent <wx/setup.h> header in its pre-multiarch
location:

    CC -o Scintilla.o
In file included from /usr/include/wx-2.8/wx/defs.h:21:0,
                 from /usr/lib/perl5/Wx/cpp/wxapi.h:26,
                 from Scintilla.c:15:
/usr/include/wx-2.8/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
compilation terminated.
Failed with exit code 256
g++ -fPIC -c -o Scintilla.o -I. -I/usr/lib/perl5/Wx -I/usr/lib/perl/5.14/CORE -I/usr/lib/wx/include/gtk2-unicode-release-2.8 -I/usr/include/wx-2.8  -pthread  -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXGTK__  -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g -DWXPL_EXT -DVERSION=\"0.34\" -DXS_VERSION=\"0.34\" Scintilla.c
dh_auto_build: perl Build returned exit code 2
make: *** [build] Error 2

Please obtain the necessary flags from wx-config --cflags rather than
attempting to hardcode them.

Thanks!

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable'), (300, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information





More information about the pkg-perl-maintainers mailing list