Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 469166 - mail-client/claws-mail-3.9.1 - .../work/claws-mail-3.9.1/src/plugins/python/composewindowtype.c:53:7: error: ‘clawsmail_ComposeWindowObject’ has no member named ‘ob_type’
Summary: mail-client/claws-mail-3.9.1 - .../work/claws-mail-3.9.1/src/plugins/python/c...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-09 12:02 UTC by tman
Modified: 2013-05-10 20:29 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
/var/tmp/portage/mail-client/claws-mail-3.9.1/temp/build.log (build.log,753.16 KB, text/plain)
2013-05-09 12:03 UTC, tman
Details
build.log (build.log,693.10 KB, text/plain)
2013-05-10 19:20 UTC, M. B.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2013-05-09 12:02:57 UTC
ar/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/clawsmailmodule.c:732:3: warning: implicit declaration of function ‘Py_InitModule3’ [-Wimplicit-function-declaration]
/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/clawsmailmodule.c:732:13: warning: assignment makes pointer from integer without a cast [enabled by default]
make[6]: *** [messageinfotype.lo] Error 1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python -I../../.. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/common -I../../../src/common -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/gtk -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/python3.2 -I/usr/include/python3.2 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DPYTHON_SHARED_LIB=\"\" -DENABLE_PYTHON -fno-strict-aliasing -DLOCALEDIR=\"/usr/share/locale\" -march=corei7 -O2 -pipe -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c /var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/python-shell.c -o python-shell.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python -I../../.. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/common -I../../../src/common -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/gtk -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/python3.2 -I/usr/include/python3.2 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DPYTHON_SHARED_LIB=\"\" -DENABLE_PYTHON -fno-strict-aliasing -DLOCALEDIR=\"/usr/share/locale\" -march=corei7 -O2 -pipe -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c /var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/python-hooks.c -o python-hooks.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python -I../../.. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/common -I../../../src/common -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/gtk -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/python3.2 -I/usr/include/python3.2 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DPYTHON_SHARED_LIB=\"\" -DENABLE_PYTHON -fno-strict-aliasing -DLOCALEDIR=\"/usr/share/locale\" -march=corei7 -O2 -pipe -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c /var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/python_plugin.c -o python_plugin.o >/dev/null 2>&1
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python -I../../.. -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/common -I../../../src/common -I/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/gtk -Wall -pthread -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -I/usr/include/python3.2 -I/usr/include/python3.2 -pthread -I/usr/include/pygtk-2.0 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -DPYTHON_SHARED_LIB=\"\" -DENABLE_PYTHON -fno-strict-aliasing -DLOCALEDIR=\"/usr/share/locale\" -march=corei7 -O2 -pipe -Wno-unused-function -Wno-pointer-sign -Wall -pthread -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -c /var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1/src/plugins/python/clawsmailmodule.c -o clawsmailmodule.o >/dev/null 2>&1
make[6]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build/src/plugins/python'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build/src/plugins/python'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build/src/plugins'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/mail-client/claws-mail-3.9.1/work/claws-mail-3.9.1_build'
make: *** [all] Error 2
 * ERROR: mail-client/claws-mail-3.9.1 failed (compile phase):
 *   emake failed
 *


Reproducible: Always




Portage 2.1.11.63 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.9.0-gentoo x86_64)
=================================================================
System uname: Linux-3.9.0-gentoo-x86_64-Intel-R-_Core-TM-_i7-3740QM_CPU_@_2.70GHz-with-gentoo-2.2
KiB Mem:    24627672 total,  18376536 free
KiB Swap:   25081852 total,  25081852 free
Timestamp of tree: Thu, 09 May 2013 10:00:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.4, 3.2.4
dev-util/cmake:           2.8.10.2-r2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.10.3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.7.3_pre::poly-c
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r5::gnome
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo nikai ruby mgorny poly-c luman qt alice Techwolf gamerlay scarabeus science mva emacs flameeyes-overlay mpd wirelay steam-overlay gnome lokal
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=corei7 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/conf.d/consolefont /etc/conf.d/hostname /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/default/grub /etc/eix-sync.conf /etc/fstab /etc/hosts /etc/locale.gen /etc/make.conf /etc/timezone /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=corei7 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
Comment 1 tman 2013-05-09 12:03:51 UTC
Created attachment 347832 [details]
/var/tmp/portage/mail-client/claws-mail-3.9.1/temp/build.log
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-05-09 12:56:35 UTC
There is an earlier error in configure but it isn't fatal:

checking for python3.2-config... /usr/bin/python3.2-config
  File "<string>", line 1
    import os,sys; print os.path.basename(os.path.realpath("/usr/lib/libpython3.2.so"))
                          ^
SyntaxError: invalid syntax
  File "<string>", line 1
    import os,sys; print os.path.basename(os.path.realpath("/usr/lib64/libpython3.2.so"))
                          ^
SyntaxError: invalid syntax
Comment 3 M. B. 2013-05-10 19:20:21 UTC
Created attachment 347958 [details]
build.log

The problem really seems to be Python3 for me. Changing to Python2.7 via eselect, claws 3.9.1 built without problems.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2013-05-10 20:29:19 UTC
claws-mail-3.9.1 now sticks with a Python 2 implementation. Thanks for reporting.