Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
libtool --tag error when emerge'ing rep-gtk on AMD64
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
fronck
n00b
n00b


Joined: 09 Jan 2005
Posts: 19

PostPosted: Sun Jan 09, 2005 1:44 pm    Post subject: libtool --tag error when emerge'ing rep-gtk on AMD64 Reply with quote

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:
Code:
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? :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum