Summary: | [gnome-overlay] gnome-extra/gnome-power-manager-2.26.0: unrecognized severals cflags warning | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Romain Perier (RETIRED) <mrpouet> |
Component: | [OLD] GNOME | Assignee: | Gentoo Linux Gnome Desktop Team <gnome> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dark.knight.ita, Henry78 |
Priority: | High | Keywords: | Inclusion |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 263083 | ||
Attachments: |
the patch which solves the problem
the new ebuild including the patch the new patch the new ebuild |
Description
Romain Perier (RETIRED)
2009-03-19 21:51:42 UTC
Created attachment 185577 [details, diff]
the patch which solves the problem
Created attachment 185578 [details]
the new ebuild including the patch
sorry the bug was incomplete, here the complete us translation of the messages: cc1: erreur: option "-Wclobbered" on the command line unrecognized cc1: erreur: option "-Wempty-body" on the command line unrecognized cc1: erreur: option "-Wignored-qualifiers" on the command line unrecognized cc1: erreur: option "-Wtype-limits" on the command line unrecognized cc1: erreur: option "-Wmissing-parameter-type" de la ligne de commande non reconnue cc1: erreur: option "-Woverride-init" on the command line unrecognized make[3]: *** [gnome_power_manager-egg-debug.o] Error 1 make[3]: *** Waiting for unfinished jobs.... cc1: erreur: option "-Wclobbered" on the command line unrecognized cc1: erreur: option "-Wempty-body" on the command line unrecognized cc1: erreur: option "-Wignored-qualifiers" on the command line unrecognized cc1: erreur: option "-Wtype-limits" on the command line unrecognized cc1: erreur: option "-Wmissing-parameter-type" de la ligne de commande non reconnue cc1: erreur: option "-Woverride-init" on the command line unrecognized mrpouet Actually I'd rather see those disabled in non-devel mode, it would be much simpler. Same for the various "DISABLE_DEPRECATED". Will include with a few changes. this patch worked for me @eva: i can add an configure option to activate/disable these warningflags ? it will simple, and a dev could activate them by define the "debug" USE flag for this ebuild (which'll active the configure option to activate warningflags) (In reply to comment #6) > @eva: i can add an configure option to activate/disable these warningflags ? > it will simple, and a dev could activate them by define the "debug" USE flag 1) don't add stuff to the "debug" USE flag, it's completely overloaded with thousands of different meanings across portage 2) those cflags are mostly useless in an ebuild (IMHO) even for devs, let's just disable them. It's upstream's responsibility to provide packages with few/no warnings. Cheers :) In attachment the new patchs, which provides proper CPPFLAGS and removes extra warnings developpers ;). with the new ebuild. Created attachment 185970 [details, diff]
the new patch
Created attachment 185972 [details]
the new ebuild
here the unstable sys-devel/libtool-2.2.4 was needed, libtool-1.5.26 didn't suffice errors with libtool-1.5.26: /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DEGG_LOG_FILE=\""~/gnome-power-manager.log"\" -DEGG_VERBOSE="\"GPM_VERBOSE\"" -DEGG_LOGGING="\"GPM_LOGGING\"" -DEGG_CONSOLE="\"GPM_CONSOLE\"" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -g -fexceptions -O2 -march=prescott -pipe -fomit-frame-pointer -MT hal-marshal.lo -MD -MP -MF .deps/hal-marshal.Tpo -c -o hal-marshal.lo hal-marshal.c /bin/sh ../libtool --tag=CC --mode=compile i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -pthread -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DEGG_LOG_FILE=\""~/gnome-power-manager.log"\" -DEGG_VERBOSE="\"GPM_VERBOSE\"" -DEGG_LOGGING="\"GPM_LOGGING\"" -DEGG_CONSOLE="\"GPM_CONSOLE\"" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -g -fexceptions -O2 -march=prescott -pipe -fomit-frame-pointer -MT hal-device.lo -MD -MP -MF .deps/hal-device.Tpo -c -o hal-device.lo hal-device.c ../libtool: line 841: X--tag=CC: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 841: X--tag=CC: command not found ../libtool: line 841: X--tag=CC: command not found ../libtool: line 841: X--tag=CC: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 841: X--tag=CC: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: Xi686-pc-linux-gnu-gcc: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: Xi686-pc-linux-gnu-gcc: command not found ../libtool: line 874: libtool: ignoring unknown tag : command not found ../libtool: line 841: X--mode=compile: command not found ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1152: X-I.: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: Xi686-pc-linux-gnu-gcc: command not found ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1152: X-I.: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1152: X-I..: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I.: command not found ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: Xi686-pc-linux-gnu-gcc: command not found ../libtool: line 1152: X-pthread: command not found ../libtool: line 1152: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I.: command not found ../libtool: line 1008: *** Warning: inferring the mode of operation is deprecated.: command not found ../libtool: line 1009: *** Future versions of Libtool will require --mode=MODE be specified.: command not found ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-pthread: command not found ../libtool: line 1152: X-pthread: command not found ../libtool: line 1152: Xi686-pc-linux-gnu-gcc: command not found ../libtool: line 1152: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1152: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-DHAVE_CONFIG_H: command not found ../libtool: line 1152: X-DEGG_LOG_FILE="~/gnome-power-manager.log": No such file or directory ../libtool: line 1152: X-I.: command not found ../libtool: line 1152: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-I..: command not found ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-DEGG_VERBOSE="GPM_VERBOSE": command not found ../libtool: line 1152: X-DEGG_LOGGING="GPM_LOGGING": command not found ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-pthread: command not found ../libtool: line 1152: X-DEGG_LOG_FILE="~/gnome-power-manager.log": No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1152: X-pthread: command not found ../libtool: line 1152: X-DEGG_VERBOSE="GPM_VERBOSE": command not found ../libtool: line 1152: X-DEGG_CONSOLE="GPM_CONSOLE": command not found ../libtool: line 1152: X-DEGG_LOG_FILE="~/gnome-power-manager.log": No such file or directory ../libtool: line 1152: X-I/usr/include/dbus-1.0: No such file or directory ../libtool: line 1152: X-DEGG_VERBOSE="GPM_VERBOSE": command not found ../libtool: line 1152: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1152: X-DEGG_LOGGING="GPM_LOGGING": command not found ../libtool: line 1152: X-I/usr/lib/dbus-1.0/include: No such file or directory ../libtool: line 1152: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory ../libtool: line 1152: X-DEGG_LOGGING="GPM_LOGGING": command not found ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-DEGG_CONSOLE="GPM_CONSOLE": command not found ../libtool: line 1152: X-I/usr/include/glib-2.0: No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory ../libtool: line 1152: X-DEGG_CONSOLE="GPM_CONSOLE": command not found ../libtool: line 1152: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-DEGG_LOG_FILE="~/gnome-power-manager.log": No such file or directory ../libtool: line 1152: X-I/usr/lib/glib-2.0/include: No such file or directory ../libtool: line 1152: X-DEGG_VERBOSE="GPM_VERBOSE": command not found ../libtool: line 1152: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory ../libtool: line 1152: X-DEGG_LOG_FILE="~/gnome-power-manager.log": No such file or directory ../libtool: line 1152: X-g: command not found ../libtool: line 1152: X-fexceptions: command not found ../libtool: line 1152: X-DEGG_LOGGING="GPM_LOGGING": command not found ../libtool: line 1152: X-g: command not found ../libtool: line 1152: X-DEGG_VERBOSE="GPM_VERBOSE": command not found ../libtool: line 1152: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-fexceptions: command not found ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-DEGG_CONSOLE="GPM_CONSOLE": command not found ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-march=prescott: command not found ../libtool: line 1152: X-DEGG_LOGGING="GPM_LOGGING": command not found ../libtool: line 1152: X-g: command not found ../libtool: line 1152: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory ../libtool: line 1152: X-pipe: command not found ../libtool: line 1152: X-DEGG_CONSOLE="GPM_CONSOLE": command not found ../libtool: line 1152: X-march=prescott: command not found ../libtool: line 1152: X-fexceptions: command not found ../libtool: line 1152: X-fomit-frame-pointer: command not found ../libtool: line 1152: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-pipe: command not found ../libtool: line 1152: X-DPACKAGE_DATA_DIR="/usr/share": No such file or directory ../libtool: line 1152: X-g: command not found ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-fomit-frame-pointer: command not found ../libtool: line 1152: X-DPACKAGE_LOCALE_DIR="/usr/share/locale": No such file or directory ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: X-fexceptions: command not found ../libtool: line 1152: X-g: command not found ../libtool: line 1152: Xegg-dbus-proxy.lo: command not found ../libtool: line 1152: Xegg-dbus-monitor.lo: command not found ../libtool: line 1152: X-march=prescott: command not found ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-pipe: command not found ../libtool: line 1152: X-fomit-frame-pointer: command not found ../libtool: line 1152: X-fexceptions: command not found ../libtool: line 1152: X-O2: command not found ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-march=prescott: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1152: X-march=prescott: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1152: X-pipe: command not found ../libtool: line 1152: X-pipe: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1152: Xhal-device.lo: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1152: X.deps/egg-dbus-proxy.Tpo: No such file or directory ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-c: command not found ../libtool: line 1152: X-fomit-frame-pointer: command not found ../libtool: line 1152: X.deps/egg-dbus-monitor.Tpo: No such file or directory ../libtool: line 1152: X-fomit-frame-pointer: command not found ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: X-c: command not found ../libtool: line 1152: X-MT: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1205: Xegg-dbus-proxy.lo: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [egg-dbus-proxy.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... ../libtool: line 1152: Xegg-debug.lo: command not found ../libtool: line 1205: Xegg-dbus-monitor.lo: command not found ../libtool: line 1152: Xhal-marshal.lo: command not found ../libtool: line 1152: X.deps/hal-device.Tpo: No such file or directory ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [egg-dbus-monitor.lo] Error 1 ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-MD: command not found ../libtool: line 1152: X-c: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1152: X-MP: command not found ../libtool: line 1205: Xhal-device.lo: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1152: X-MF: command not found ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found make[3]: *** [hal-device.lo] Error 1 ../libtool: line 1152: X.deps/egg-debug.Tpo: No such file or directory ../libtool: line 1152: X.deps/hal-marshal.Tpo: No such file or directory ../libtool: line 1152: X-c: command not found ../libtool: line 1152: X-c: command not found ../libtool: line 1205: Xhal-marshal.lo: command not found ../libtool: line 1205: Xegg-debug.lo: command not found ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found ../libtool: line 1210: libtool: compile: cannot determine name of library object from `': command not found in overlay, slightly modified. Thanks for reporting and trying patches. |