Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 132581 - tinysvm-0.09-r1 perl module fails to compile
Summary: tinysvm-0.09-r1 perl module fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-07 09:16 UTC by Naoaki Shindo (RETIRED)
Modified: 2006-06-19 16:46 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Naoaki Shindo (RETIRED) gentoo-dev 2006-05-07 09:16:50 UTC
Perl module of TinySvm fails to compile.
TinySvm main program is compiled properly.

Reproducible: Always

I compiled manually, I got same problem, then it seems original package error.
(and this site met same problem: http://www.nesugi.net/diary/20050612.html)

emerge info
Portage 2203-svn (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1400MHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO"
LANG="ja_JP.utf8"
LC_ALL="ja_JP.utf8"
LINGUAS="ja"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portagejp"
SYNC="rsync://rsync.asia.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cdr cjk cli crypt cups doc dri dvd eds emacs emboss encode esd ethereal exif expat fam foomaticdb fortran gd gdbm gif glut gnome gpm gstreamer gtk gtk2 imagemagick imlib ipv6 isdnlog java jpeg kde lcms leim libg++ libwww mad migemo mikmod mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png pppd python qt quicktime readline reflection ruby samba sdl session spell spl sqlite ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis xface xml xml2 xmms xorg xv zlib linguas_ja userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LDFLAGS, MAKEOPTS
Comment 1 Naoaki Shindo (RETIRED) gentoo-dev 2006-05-07 09:25:51 UTC
compile error log:

error log:

make[1]: Leaving directory `/var/tmp/portage/tinysvm-0.09-r1/work/TinySVM-0.09'
 * Using ExtUtils::MakeMaker
Note (probably harmless): No library found for -ltinysvm
Writing Makefile for TinySVM
cp TinySVM.pm blib/lib/TinySVM.pm
c++ -c  -I/usr/include -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -march=pentium-m -pipe   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib/perl5/5.8.6/i686-linux/CORE"   TinySVM_wrap.c
TinySVM_wrap.c:374:21: tinysvm.h: そのようなファイルやディレクトリはありません
TinySVM_wrap.c: In function `void _wrap_BaseExample_add(CV*)':
TinySVM_wrap.c:402: error: `TinySVM' has not been declared
TinySVM_wrap.c:402: error: `BaseExample' undeclared (first use this function)
(snip)
TinySVM_wrap.c:1480: error: `TinySVM' has not been declared
TinySVM_wrap.c:1480: error: `Model' undeclared (first use this function)
TinySVM_wrap.c:1480: error: expected primary-expression が "void" の前にあります
TinySVM_wrap.c:1480: error: expected `)' が "void" の前にあります
make: *** [TinySVM_wrap.o] エラー 1

Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2006-06-19 16:46:11 UTC
Thanks for the bug report. This is fixed in CVS.