Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226457 - app-i18n/scim-1.4.7 fails to build with libtool 2.2
Summary: app-i18n/scim-1.4.7 fails to build with libtool 2.2
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: CJK Team
URL: http://www.scim-im.org/
Whiteboard:
Keywords:
: 227103 (view as bug list)
Depends on:
Blocks: libtool-2.2
  Show dependency tree
 
Reported: 2008-06-13 23:17 UTC by teidakankan
Modified: 2008-06-15 09:57 UTC (History)
2 users (show)

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


Attachments
emerge --info (emerge-info.txt,10.36 KB, text/plain)
2008-06-13 23:18 UTC, teidakankan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description teidakankan 2008-06-13 23:17:39 UTC
see below

Reproducible: Always




/bin/sh ../libtool --tag=CXX   --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I.. -I../src -I../intl -DSCIM_DATADIR=\"/usr/share/scim\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/etc\" -DSCIM_LIBEXECDIR=\"/usr/lib/scim-1.0\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0\"    -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT ltdl.lo -MD -MP -MF .deps/ltdl.Tpo -c -o ltdl.lo ltdl.cpp
libtool: compile:  i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../src -I.. -I../src -I../intl -DSCIM_DATADIR=\"/usr/share/scim\" -DSCIM_LOCALEDIR=\"/usr/share/locale\" -DSCIM_SYSCONFDIR=\"/etc\" -DSCIM_LIBEXECDIR=\"/usr/lib/scim-1.0\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_MODULE_PATH=\"/usr/lib/scim-1.0\" -O2 -march=pentium-m -pipe -fomit-frame-pointer -MT ltdl.lo -MD -MP -MF .deps/ltdl.Tpo -c ltdl.cpp  -fPIC -DPIC -o .libs/ltdl.o
ltdl.cpp: In function ‘void* scim::rpl_memcpy(void*, const void*, size_t)’:
ltdl.cpp:384: error: pointer of type ‘void *’ used in arithmetic
ltdl.cpp:384: error: ‘void*’ is not a pointer-to-object type
ltdl.cpp:384: error: pointer of type ‘void *’ used in arithmetic
ltdl.cpp:384: error: ‘const void*’ is not a pointer-to-object type
ltdl.cpp: At global scope:
ltdl.cpp:825: error: ‘LTDL_OBJDIR’ was not declared in this scope
ltdl.cpp:2070: error: expected initializer before ‘*’ token
ltdl.cpp: In function ‘int scim::tryall_dlopen_module(scim::lt_dlhandle_struct**, const char*, const char*, const char*)’:
ltdl.cpp:2401: error: ‘sprintf’ was not declared in this scope
ltdl.cpp: In function ‘int scim::find_file_callback(char*, void*, void*)’:
ltdl.cpp:2646: error: ‘FILE’ was not declared in this scope
ltdl.cpp:2646: error: ‘pfile’ was not declared in this scope
ltdl.cpp:2646: error: expected primary-expression before ‘)’ token
ltdl.cpp:2646: error: expected `;' before ‘data2’
ltdl.cpp:2653: error: ‘fopen’ was not declared in this scope
ltdl.cpp:2655: error: invalid conversion from ‘const char*’ to ‘char*’
ltdl.cpp: At global scope:
ltdl.cpp:2668: error: expected initializer before ‘*’ token
ltdl.cpp: In function ‘int scim::try_dlopen(scim::lt_dlhandle_struct**, const char*)’:
ltdl.cpp:3002: error: invalid conversion from ‘const char*’ to ‘char*’
ltdl.cpp:3029: error: ‘FILE’ was not declared in this scope
ltdl.cpp:3029: error: ‘file’ was not declared in this scope
ltdl.cpp:3055: error: ‘isalnum’ was not declared in this scope
ltdl.cpp:3078: error: ‘find_file’ was not declared in this scope
ltdl.cpp:3085: error: ‘find_file’ was not declared in this scope
ltdl.cpp:3105: error: ‘fopen’ was not declared in this scope
ltdl.cpp:3121: error: ‘fclose’ was not declared in this scope
ltdl.cpp:3127: error: ‘feof’ was not declared in this scope
ltdl.cpp:3129: error: ‘fgets’ was not declared in this scope
ltdl.cpp:3139: error: ‘fgets’ was not declared in this scope
ltdl.cpp:3197: error: invalid conversion from ‘const char*’ to ‘char*’
ltdl.cpp:3213: error: ‘fclose’ was not declared in this scope
ltdl.cpp: In function ‘scim::lt_dlhandle_struct* scim::lt_dlopenext(const char*)’:
ltdl.cpp:3375: error: invalid conversion from ‘const char*’ to ‘char*’
make[2]: *** [ltdl.lo] Error 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/scim-1.4.7/work/scim-1.4.7/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/scim-1.4.7/work/scim-1.4.7'
make: *** [all] Error 2
 * 
 * ERROR: app-i18n/scim-1.4.7 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2866:  Called die
 * The specific snippet of code:
 *       emake || die
 *  The die message:
 *   (no error message)
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/log/portage/app-i18n:scim-1.4.7:20080613-225255.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-i18n/scim-1.4.7/temp/environment'.
Comment 1 teidakankan 2008-06-13 23:18:09 UTC
Created attachment 156685 [details]
emerge --info
Comment 2 teidakankan 2008-06-13 23:20:20 UTC
Forgot to write that when I commented out "eautoreconf" on line 53 of the ebuild it compiled fine.
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 09:44:35 UTC
Give a try to 1.4.7-r1, it uses system libltdl it _might_ work with libtool 2.2.
Comment 4 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 13:58:50 UTC
Okay I just confirmed it works with libtool 2.2 :)
Comment 5 teidakankan 2008-06-14 14:32:19 UTC
Sorry I didn't back to you sooner.  Just can't do my 18K walk as fast as I use to.  It compiled just fine.  Thanks for your time and effort.
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2008-06-15 09:57:49 UTC
*** Bug 227103 has been marked as a duplicate of this bug. ***