Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 310661 - cc1: error: unrecognized command line option "-Wempty-body"
Summary: cc1: error: unrecognized command line option "-Wempty-body"
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
: 310747 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-03-22 08:30 UTC by Jonathan Philpot
Modified: 2010-03-23 22:30 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Philpot 2010-03-22 08:30:12 UTC
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LAUNCHER... yes
checking for sed... /bin/sed
configure: creating ./config.status
config.status: creating Makefile
config.status: creating build/Makefile
config.status: creating build/autotools/Makefile
config.status: creating build/autotools/shave-libtool
config.status: creating build/autotools/shave
config.status: creating launcher/Makefile
config.status: creating launcher.pc
config.status: creating tests/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands

 liblauncher 0.1.8
 ===============================

 Prefix       : /usr

 Documentation:

>>> Source configured.
>>> Compiling source in /var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8 ...
make
Making all in build
Making all in autotools
Making all in launcher
  CC    launcher-application.o
cc1: error: unrecognized command line option "-Wempty-body"
make[2]: *** [launcher-application.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
 * ERROR: x11-libs/liblauncher-0.1.8 failed:
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 6300:  Called gnome2_src_compile
 *   environment, line 5650:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *
 * If you need support, post the output of 'emerge --info =x11-libs/liblauncher-0.1.8',
 * the complete build log and the output of 'emerge -pqv =x11-libs/liblauncher-0.1.8'.
 * This ebuild is from an overlay named 'netbook-remix': '/usr/local/portage/layman/gnr/'
 * The complete build log is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8'

>>> Failed to emerge x11-libs/liblauncher-0.1.8, Log file:

>>>  '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/build.log'

 * Messages for package x11-libs/liblauncher-0.1.8:

 * ERROR: x11-libs/liblauncher-0.1.8 failed:
 *   compile failure
 *
 * Call stack:
 *     ebuild.sh, line   54:  Called src_compile
 *   environment, line 6300:  Called gnome2_src_compile
 *   environment, line 5650:  Called die
 * The specific snippet of code:
 *       emake || die "compile failure"
 *
 * If you need support, post the output of 'emerge --info =x11-libs/liblauncher-0.1.8',
 * the complete build log and the output of 'emerge -pqv =x11-libs/liblauncher-0.1.8'.
 * This ebuild is from an overlay named 'netbook-remix': '/usr/local/portage/layman/gnr/'
 * The complete build log is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/x11-libs/liblauncher-0.1.8/temp/environment'.
 * S: '/var/tmp/portage/x11-libs/liblauncher-0.1.8/work/liblauncher-0.1.8'

 * IMPORTANT: 7 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.



Reproducible: Always

Steps to Reproduce:
1.emerge netbook-launcher
2.emerge liblauncher
3.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 16:52:43 UTC
*** Bug 310747 has been marked as a duplicate of this bug. ***
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2010-03-22 16:53:56 UTC
(In reply to comment #0)
>  * If you need support, post the output of 'emerge --info
> =x11-libs/liblauncher-0.1.8',

firstly, you forgot to post emerge --info

>  * This ebuild is from an overlay named 'netbook-remix':
> '/usr/local/portage/layman/gnr/'

secondly, this ebuild is from a overlay, not from portage
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2010-03-23 19:47:31 UTC
I think that -W command was added in gcc-4.3. Probably using lower than that?
Comment 4 Doktor Notor 2010-03-23 20:46:02 UTC
This is gcc-4.3+ flag. Plus noone can work around your local overlay issues.

http://gcc.gnu.org/onlinedocs/gcc-4.3.4/gcc/Warning-Options.html
Comment 5 Maciej Mrozowski gentoo-dev 2010-03-23 22:30:48 UTC
Closing this one for now until sufficient information provided.