Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Failure on g-wrap

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
ghotra
n00b
n00b
Posts: 38
Joined: Thu Nov 24, 2005 1:09 am

Failure on g-wrap

  • Quote

Post by ghotra » Fri Mar 09, 2007 3:02 am

Code: Select all

>>> Emerging (2 of 3) dev-libs/g-wrap-1.9.6-r3 to /
 * g-wrap-1.9.6.tar.gz MD5 ;-) ...                                                                                                                     [ ok ]
 * g-wrap-1.9.6.tar.gz RMD160 ;-) ...                                                                                                                  [ ok ]
 * g-wrap-1.9.6.tar.gz SHA1 ;-) ...                                                                                                                    [ ok ]
 * g-wrap-1.9.6.tar.gz SHA256 ;-) ...                                                                                                                  [ ok ]
 * g-wrap-1.9.6.tar.gz size ;-) ...                                                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                 [ ok ]
 * checking g-wrap-1.9.6.tar.gz ;-) ...                                                                                                                [ ok ]
>>> Unpacking source...

!!! ERROR: dev-libs/g-wrap-1.9.6-r3 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_unpack
  ebuild.sh, line 751:   Called qa_call 'src_unpack'
  environment, line 3410:   Called src_unpack
  g-wrap-1.9.6-r3.ebuild, line 22:   Called die

!!! guile must be built with deprecated use flag
!!! 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/dev-libs:g-wrap-1.9.6-r3:20070309-024004.log'.

Any tips?
Top
mark_alec
Bodhisattva
Bodhisattva
User avatar
Posts: 6066
Joined: Sat Sep 11, 2004 6:40 am
Location: Melbourne, Australia
Contact:
Contact mark_alec
Website

  • Quote

Post by mark_alec » Fri Mar 09, 2007 5:27 am

Code: Select all

# echo "dev-scheme/guile deprecated" >> /etc/portage/package.use
# emerge --oneshot guile
# emerge --resume
The error message holds some clues for why you should do this :D
www.gentoo.org.au || #gentoo-au
Top
Samoth
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Sat Jan 07, 2006 9:00 pm
Location: NJ
Contact:
Contact Samoth
Website

  • Quote

Post by Samoth » Fri Mar 09, 2007 12:35 pm

From my experience(gnucash), you must also build guile with regex support.

This should really be in there with the other error message as it will make it easier and less time consuming to do.
The Early Bird may get the worm, but the second mouse gets the cheese.
Top
tony11235
Apprentice
Apprentice
Posts: 198
Joined: Mon May 15, 2006 7:09 pm

  • Quote

Post by tony11235 » Fri Mar 09, 2007 8:04 pm

Hi. I had g-wrap fail also. But I don't think it's due to the same reason.
mv -f .libs/gw-standard.lo gw-standard.lo
mv -f .libs/g-wrap-wct.lo g-wrap-wct.lo
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4'
make: *** [all] Error 2

!!! ERROR: dev-libs/g-wrap-1.3.4-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3259: Called src_compile
g-wrap-1.3.4-r1.ebuild, line 31: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/temp/build.log'.
Or is it?
Top
Samoth
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Sat Jan 07, 2006 9:00 pm
Location: NJ
Contact:
Contact Samoth
Website

  • Quote

Post by Samoth » Fri Mar 09, 2007 10:12 pm

That is not the full build error. The actual error is occuring higher up on the page. Post back the rest and I will see what I can do. It might be a bug :wink:
The Early Bird may get the worm, but the second mouse gets the cheese.
Top
tony11235
Apprentice
Apprentice
Posts: 198
Joined: Mon May 15, 2006 7:09 pm

  • Quote

Post by tony11235 » Sat Mar 10, 2007 12:48 am

Yeah that was a little short.
make all-recursive
make[1]: Entering directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4'
Making all in doc
make[2]: Entering directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/doc'
Making all in rpm
make[2]: Entering directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/rpm'
rm -f spec.tmp
sed < spec.in > spec.tmp \
-e 's:@-GW_RTLIB_VER-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER@.@GW_RUNTIME_GUILE_INTERFACE_REVISION@.@GW_RUNTIME_GUILE_INTERFACE_AGE@:' \
-e 's:@-GW_RTLIB_MAJ-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER@:' \
-e 's:@-VERSION-@:1.3.4:'
mv spec.tmp spec
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/rpm'
Making all in bin
make[2]: Entering directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/bin'
rm -f g-wrap-config.tmp
sed < g-wrap-config.in > g-wrap-config.tmp \
-e 's:@-GUILE-@:/usr/bin/guile:' \
-e 's:@-VERSION-@:1.3.4:' \
-e 's:@-libdir-@:/usr/lib:' \
-e 's:@-includedir-@:/usr/include:' \
-e 's:@-GUILE_MODULE_DIR-@:/usr/share/guile:'
chmod +x g-wrap-config.tmp
mv g-wrap-config.tmp g-wrap-config
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/bin'
Making all in g-wrap
make[2]: Entering directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap'
guile -c \
"(set! %load-path (cons \"/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap/..\" %load-path))""(debug-enable 'backtrace) \
(debug-enable 'debug) \
(read-enable 'positions) \
(use-modules (g-wrap)) \
(use-modules (g-wrap gw-standard-spec)) \
(gw:generate-wrapset \"gw-standard\")"
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT g-wrap-wct.lo -MD -MP -MF ".deps/g-wrap-wct.Tpo" \
-c -o g-wrap-wct.lo `test -f 'g-wrap-wct.c' || echo './'`g-wrap-wct.c; \
then mv ".deps/g-wrap-wct.Tpo" ".deps/g-wrap-wct.Plo"; \
else rm -f ".deps/g-wrap-wct.Tpo"; exit 1; \
fi
guile -c \
"(set! %load-path (cons \"/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap/..\" %load-path))""(debug-enable 'backtrace) \
(debug-enable 'debug) \
(read-enable 'positions) \
(use-modules (g-wrap)) \
(use-modules (g-wrap gw-wct-spec)) \
(gw:generate-wrapset \"gw-wct\")"

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
add-ws-t gw-standard #<output: gw-standard.c 3> gw:global-declarations-ccg
for-parent gw-standard
add-ws-t gw-standard #<output: gw-standard.c 3> gw:global-definitions-ccg
for-parent gw-standard
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT g-wrap-glib.lo -MD -MP -MF ".deps/g-wrap-glib.Tpo" \
-c -o g-wrap-glib.lo `test -f 'g-wrap-glib.c' || echo './'`g-wrap-glib.c; \
then mv ".deps/g-wrap-glib.Tpo" ".deps/g-wrap-glib.Plo"; \
else rm -f ".deps/g-wrap-glib.Tpo"; exit 1; \
fi

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
add-ws-t gw-wct #<output: gw-wct.c 3> gw:global-declarations-ccg
for-client gw-standard gw-wct
for-parent gw-wct
add-ws-t gw-wct #<output: gw-wct.c 3> gw:global-definitions-ccg
for-client gw-standard gw-wct
for-parent gw-wct
guile -c \
"(set! %load-path (cons \"/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap/..\" %load-path))""(use-modules (g-wrap)) \
(use-modules (g-wrap gw-glib-spec)) \
(gw:generate-wrapset \"gw-glib\")"

Some deprecated features have been used. Set the environment
variable GUILE_WARN_DEPRECATED to "detailed" and rerun the
program to get more information. Set it to "no" to suppress
this message.
add-ws-t gw-glib #<output: gw-glib.c 3> gw:global-declarations-ccg
for-parent gw-glib
add-ws-t gw-glib #<output: gw-glib.c 3> gw:global-definitions-ccg
for-parent gw-glib
if i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT dummy-main.o -MD -MP -MF ".deps/dummy-main.Tpo" \
-c -o dummy-main.o `test -f 'dummy-main.c' || echo './'`dummy-main.c; \
then mv ".deps/dummy-main.Tpo" ".deps/dummy-main.Po"; \
else rm -f ".deps/dummy-main.Tpo"; exit 1; \
fi
if /bin/sh ../libtool --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT gw-standard.lo -MD -MP -MF ".deps/gw-standard.Tpo" \
-c -o gw-standard.lo `test -f 'gw-standard.c' || echo './'`gw-standard.c; \
then mv ".deps/gw-standard.Tpo" ".deps/gw-standard.Plo"; \
else rm -f ".deps/gw-standard.Tpo"; exit 1; \
fi
mkdir .libs
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT g-wrap-glib.lo -MD -MP -MF .deps/g-wrap-glib.Tpo -c g-wrap-glib.c -fPIC -DPIC -o .libs/g-wrap-glib.lo
In file included from /usr/include/glib-1.2/glib.h:66,
from ./g-wrap-glib.h:24,
from g-wrap-glib.c:20:
/usr/lib/glib/include/glibconfig.h:39:8: error: extra tokens at end of #endif directive
rm -f .libs/gw-standard.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT gw-standard.lo -MD -MP -MF .deps/gw-standard.Tpo -c gw-standard.c -fPIC -DPIC -o .libs/gw-standard.lo
make[2]: *** [g-wrap-glib.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
rm -f .libs/g-wrap-wct.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT g-wrap-wct.lo -MD -MP -MF .deps/g-wrap-wct.Tpo -c g-wrap-wct.c -fPIC -DPIC -o .libs/g-wrap-wct.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT gw-standard.lo -MD -MP -MF .deps/gw-standard.Tpo -c gw-standard.c -o gw-standard.o >/dev/null 2>&1
mv -f .libs/gw-standard.lo gw-standard.lo
i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -O2 -g -Wall -Werror -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/glib-1.2 -I/usr/lib/glib/include -march=prescott -pipe -fomit-frame-pointer -MT g-wrap-wct.lo -MD -MP -MF .deps/g-wrap-wct.Tpo -c g-wrap-wct.c -o g-wrap-wct.o >/dev/null 2>&1
mv -f .libs/g-wrap-wct.lo g-wrap-wct.lo
make[2]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/work/g-wrap-1.3.4'
make: *** [all] Error 2

!!! ERROR: dev-libs/g-wrap-1.3.4-r1 failed.
Call stack:
ebuild.sh, line 1614: Called dyn_compile
ebuild.sh, line 971: Called qa_call 'src_compile'
environment, line 3259: Called src_compile
g-wrap-1.3.4-r1.ebuild, line 31: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/dev-libs/g-wrap-1.3.4-r1/temp/build.log'.
Ok so deprecated features have been used. Where does this lead me?
Top
Samoth
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Sat Jan 07, 2006 9:00 pm
Location: NJ
Contact:
Contact Samoth
Website

  • Quote

Post by Samoth » Sat Mar 10, 2007 12:32 pm

I don't think the 'deprecated' notices are what are failing the compile(although it may lead to it), the key thing is that line

Code: Select all

/usr/lib/glib/include/glibconfig.h:39:8: error: extra tokens at end of #endif directive 
This would lead me to believe that either

1) It is a bug
2) The wrong version of glib is installed.

Either way, as long as you didn't do something entirely wrong(--skipfirst) it might be a bug :wink:

Try to post back the output of "emerge -vp slib" "emerge -vp g-wrap" "emerge -vp guile" as well as "emerge --info"

I still don't know what ARCH you are using, which changes what version have been stabilized(You aren't using ~arch are you?).

Cheers.
The Early Bird may get the worm, but the second mouse gets the cheese.
Top
tony11235
Apprentice
Apprentice
Posts: 198
Joined: Mon May 15, 2006 7:09 pm

  • Quote

Post by tony11235 » Sat Mar 10, 2007 3:48 pm

I'm just using a normal x86. This error occurred just from trying to install gnucash.
Top
Samoth
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Sat Jan 07, 2006 9:00 pm
Location: NJ
Contact:
Contact Samoth
Website

  • Quote

Post by Samoth » Sat Mar 10, 2007 4:01 pm

Okay, I would definitely report that bug on bugs.gentoo.org then.

G-wrap,guile, and slib have given me so many headaches I hope the devs can fix it. And posting a bug report is just the way to help them! :D
The Early Bird may get the worm, but the second mouse gets the cheese.
Top
macawgumbo
Apprentice
Apprentice
Posts: 165
Joined: Fri May 28, 2004 1:12 am

  • Quote

Post by macawgumbo » Sun Mar 25, 2007 6:28 pm

This is a bug with the file /usr/lib/glib/include/glibconfig.h

Go into this file and edit line 38.

This section:

Code: Select all

#if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
#  define G_GNUC_EXTENSION __extension__
#else
#  define G_GNUC_EXTENSION
        #endif#define G_HAVE_GINT64 1
Should look like this:

Code: Select all

#if defined (__GNUC__) && (__GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 8))
#  define G_GNUC_EXTENSION __extension__
#else
#  define G_GNUC_EXTENSION
        #endif
#define G_HAVE_GINT64 1
Notice the needed line break after #endif, thus the reason for the error regarding extra tokens. g-wrap-1.3.4-r1 compiled cleanly after this.
**The man with one ball uses Linux, the man with both uses Gentoo. Who do you think performs better?**
Top
Samoth
Tux's lil' helper
Tux's lil' helper
Posts: 117
Joined: Sat Jan 07, 2006 9:00 pm
Location: NJ
Contact:
Contact Samoth
Website

  • Quote

Post by Samoth » Tue Mar 27, 2007 12:13 am

Shouldn't that be a bug? I assume that can be fixed with sed, so, since you are the one that figured it out(Thanks, that fixed it) you should report it as a bug. :wink:
The Early Bird may get the worm, but the second mouse gets the cheese.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic