Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 220551 - sci-misc/tinysvm-0.09-r1 fails to compile
Summary: sci-misc/tinysvm-0.09-r1 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-06 10:31 UTC by Xavian-Anderson Macpherson
Modified: 2009-07-21 22:27 UTC (History)
0 users

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


Attachments
emerge --info (shingoshi_emergeinfo-2008.05.06_03:53:07.gz,7.51 KB, text/plain)
2008-05-06 13:21 UTC, Xavian-Anderson Macpherson
Details
Everything in one file. (tinysvm-0.09-r1-x86_64-emergeinfo_buildlog-2008.05.06_03:27:01,36.97 KB, text/plain)
2008-05-07 18:18 UTC, Xavian-Anderson Macpherson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xavian-Anderson Macpherson 2008-05-06 10:31:31 UTC
-I/usr/include/gdbm -O2 -pipe -march=opteron   -DVERSION=\"\" -DXS_VERSION=\"\" -fPIC "-I/usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi/CORE"   TinySVM_wrap.c
cc1plus: warning: command line option "-Wdeclaration-after-statement" is valid for C/ObjC but not for C++
TinySVM_wrap.c: In function ‘void _swig_create_magic(SV*, const char*, int (*)(SV*, MAGIC*), int (*)(SV*, MAGIC*))’:
TinySVM_wrap.c:335: error: invalid conversion from ‘int (*)(SV*, MAGIC*)’ to ‘int (*)(PerlInterpreter*, SV*, MAGIC*)’
TinySVM_wrap.c:336: error: invalid conversion from ‘int (*)(SV*, MAGIC*)’ to ‘int (*)(PerlInterpreter*, SV*, MAGIC*)’
TinySVM_wrap.c: In function ‘void _wrap_BaseExample_read(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:538: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_BaseExample_write(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:577: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_BaseExample_readSVindex(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:616: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_BaseExample_writeSVindex(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:655: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_Model_read(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:988: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_Model_write(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:1027: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_Example_read(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:1316: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void _wrap_Example_write(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:1355: warning: deprecated conversion from string constant to ‘char*’
TinySVM_wrap.c: In function ‘void boot_TinySVM(PerlInterpreter*, CV*)’:
TinySVM_wrap.c:1504: error: declaration of C function ‘void boot_TinySVM(PerlInterpreter*, CV*)’ conflicts with
TinySVM_wrap.c:369: error: previous declaration ‘void boot_TinySVM(CV*)’ here
make: *** [TinySVM_wrap.o] Error 1
 * 
 * ERROR: sci-misc/tinysvm-0.09-r1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2747:  Called perl-module_src_compile
 *             environment, line 2385:  Called die
 * The specific snippet of code:
 *           make ${mymake} || die "compilation failed";
 *  The die message:
 *   compilation failed

Shingoshi
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-05-06 10:35:31 UTC
Please provide your emerge --info output.
Comment 2 Xavian-Anderson Macpherson 2008-05-06 13:21:42 UTC
Created attachment 152115 [details]
emerge --info
Comment 3 Jan Kundrát (RETIRED) gentoo-dev 2008-05-07 09:46:12 UTC
(In reply to comment #2)
> Created an attachment (id=152115) [edit]
> emerge --info

No, this is not an output of `emerge --info`. Please try again and reopen this bug.
Comment 4 Xavian-Anderson Macpherson 2008-05-07 17:27:33 UTC
The file I posted here contains the following:
1. Build.log
2. Emerge --info

They are both contained in a single file, divided by headings to identify the separate parts. This file is created automatically by a script which I wrote for this purpose. Please read the file more carefully. Everything you need is there.

Shingoshi
Comment 5 Xavian-Anderson Macpherson 2008-05-07 18:18:49 UTC
Created attachment 152321 [details]
Everything in one file.
Comment 6 Jan Kundrát (RETIRED) gentoo-dev 2008-05-07 23:55:05 UTC
Looks like too old swig. You might want to try updating it.
Comment 7 Xavian-Anderson Macpherson 2008-05-08 02:30:13 UTC
(In reply to comment #6)
> Looks like too old swig. You might want to try updating it.
> 

Thank you! I'll try that right now and let you know.

Shingoshi
Comment 8 Xavian-Anderson Macpherson 2008-05-08 02:34:55 UTC
I should've looked first before typing that. It seems I have the latest version installed now, at swig-1.3.35. So I don't think that could be it at all, unless they just brought out a later version since I synced earlier today. I just checked on http://gentoo-portage.com/dev-lang/swig. I indeed have the latest version.

Shingoshi
Comment 9 MATSUU Takuto (RETIRED) gentoo-dev 2008-12-28 16:24:24 UTC
sorry for delay.

I couldn't reproduce this.
how about tinysvm-0.09-r2?
Comment 10 MATSUU Takuto (RETIRED) gentoo-dev 2009-07-21 22:27:51 UTC
no response. if you still have the issue, please reopen this bug.