fronck n00b
Joined: 09 Jan 2005 Posts: 19
|
Posted: Sun Jan 09, 2005 1:44 pm Post subject: libtool --tag error when emerge'ing rep-gtk on AMD64 |
|
|
Hiya,
First off, let me get the problem out of the way:
When emerging rep-gtk (on my AMD64 box). I get the following errord from the build:
Code: | checking host system type... x86_64-pc-linux-gnu
| (this line would fail before I emerged the new librep version. It would claim that x86_64-pc-linux-gnu was an unknown host type)
.. and later on
Code: |
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [rep-types.lo] Error 1
make: *** Waiting for unfinished jobs....
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'
make: *** [rep-gtk.lo] Error 1
|
There are a lot of references on this error, but none of the solutions seem to work for me. I have tried the following:
Re-emerge libtool:
(This worked for me while building Gnome, which otherwise produced the same error at first)
Setting various ebuild variables:
(references: Forum thread 269120, Bugzilla bug 70514, Forum thread 185353)
Code: | CXX="x86_64-pc-linux-gnu-g++" emerge rep-gtk
CFLAGS="" CXXFLAGS="" FEATURES="-*" emerge --oneshot rep-gtk |
Even mucking about the .ebuild file:
(References: Forum thread 268950)
Code: | src_compile() {
libtoolize --copy --force # adding this line will fix it for now
econf \
--disable-dependency-tracking \
`use_with jpeg` \
`use_with tiff` \
`use_with zlib` \
`use_with python` || die
emake || die "emake failed"
} |
None of the above made any change in the build process or the error message.
Howeger, I WAS able to produce an alternate error by running
Code: | CHOST="i386-pc-linux-gnu" CC="x86_64-pc-linux-gnu-g++" CXX="x86_64-pc-linux-gnu-g++" emerge rep-gtk |
Changing the CHOST seems to appeace libtool, but instead the compile itself dies with a whole slew of casting errors in rep-types.c and rep-gtk.c
Snipplet: Code: | rep-types.c: In function `char* sgtk_rep_to_string(repv)':
rep-types.c:131: error: invalid conversion from `u_char*' to `char*'
rep-types.c: In function `repv sgtk_string_to_rep(char*)':
rep-types.c:140: error: invalid conversion from `char*' to `const u_char*'
rep-types.c:140: error: initializing argument 1 of `repv rep_string_dup(const u_char*)' |
...
Code: | rep-gtk.c: In function `sgtk_type_info* sgtk_get_type_info(GType)':
rep-gtk.c:105: error: invalid conversion from `void*' to `sgtk_type_info*'
rep-gtk.c: In function `GType sgtk_try_missing_type(char*)':
rep-gtk.c:195: error: invalid conversion from `int' to `GTypeFlags'
rep-gtk.c:195: error: initializing argument 4 of `GType g_type_register_static(GType, const gchar*, const GTypeInfo*, GTypeFlags)'
rep-gtk.c: In function `void sgtk_set_gclosure(repv, GClosure*)': |
(Note: I am running make -j2)
The ebuild itself dies in the same place as ever:
Code: | !!! ERROR: x11-libs/rep-gtk-0.18 failed.
!!! Function src_compile, Line 48, Exitcode 2 |
Someone give me a clue? |
|