Unable to compile on Precise

Bug #933857 reported by Andrzej Kłapeć
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Hardware Sensors Indicator
Fix Released
High
Alex Murray

Bug Description

Ubuntu 12.04 Precise Pangolin up-to-date
indicator-sensors pulled from bzr

andrzej@dell:~/indicator-sensors$ sudo make
Making all in data
make[1]: Entering directory `/home/andrzej/indicator-sensors/data'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/andrzej/indicator-sensors/data'
Making all in pixmaps
make[1]: Entering directory `/home/andrzej/indicator-sensors/pixmaps'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/andrzej/indicator-sensors/pixmaps'
Making all in plugins
make[1]: Entering directory `/home/andrzej/indicator-sensors/plugins'
Making all in aticonfig
make[2]: Entering directory `/home/andrzej/indicator-sensors/plugins/aticonfig'
  CC is-aticonfig-plugin.lo
  CCLD libaticonfig.la
make[2]: Leaving directory `/home/andrzej/indicator-sensors/plugins/aticonfig'
Making all in gsettings
make[2]: Entering directory `/home/andrzej/indicator-sensors/plugins/gsettings'
  CC is-gsettings-plugin.lo
  CCLD libgsettings.la
  ITMRG indicator-sensors.gschema.xml
  GEN indicator-sensors.gschema.valid
make[2]: Leaving directory `/home/andrzej/indicator-sensors/plugins/gsettings'
make[2]: Entering directory `/home/andrzej/indicator-sensors/plugins'
make[2]: Nothing to be done for `all-am'.
make[2]: Leaving directory `/home/andrzej/indicator-sensors/plugins'
make[1]: Leaving directory `/home/andrzej/indicator-sensors/plugins'
Making all in po
make[1]: Entering directory `/home/andrzej/indicator-sensors/po'
  MSGFMT ca.gmo
  MSGFMT de.gmo
  MSGFMT eo.gmo
  MSGFMT es.gmo
  MSGFMT ro.gmo
  MSGFMT ru.gmo
  MSGFMT tr.gmo
  MSGFMT uk.gmo
make[1]: Leaving directory `/home/andrzej/indicator-sensors/po'
Making all in indicator-sensors
make[1]: Entering directory `/home/andrzej/indicator-sensors/indicator-sensors'
glib-genmarshal --header marshallers.list > marshallers.h
glib-genmarshal --body marshallers.list > marshallers.c
make all-am
make[2]: Entering directory `/home/andrzej/indicator-sensors/indicator-sensors'
  CC indicator-sensors.o
  CC is-log.o
  CC is-indicator.o
  CC is-sensor.o
  CC is-temperature-sensor.o
  CC is-fan-sensor.o
  CC is-store.o
  CC is-manager.o
  CC is-preferences-dialog.o
is-preferences-dialog.c: In function ‘is_preferences_dialog_init’:
is-preferences-dialog.c:116:2: error: ‘gtk_table_new’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:103): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:117:2: error: ‘gtk_table_set_col_spacings’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:148): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:118:2: error: ‘gtk_table_set_row_spacings’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:143): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:128:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:136:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:145:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:166:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:175:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:184:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c:196:2: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
is-preferences-dialog.c: In function ‘is_preferences_dialog_set_property’:
is-preferences-dialog.c:409:3: error: ‘gtk_table_attach’ is deprecated (declared at /usr/include/gtk-3.0/gtk/deprecated/gtktable.h:111): Use 'GtkGrid' instead [-Werror=deprecated-declarations]
cc1: all warnings being treated as errors
make[2]: *** [is-preferences-dialog.o] Error 1
make[2]: Leaving directory `/home/andrzej/indicator-sensors/indicator-sensors'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/andrzej/indicator-sensors/indicator-sensors'
make: *** [all-recursive] Error 1

summary: - Unable to compile at Precise
+ Unable to compile on Precise
Revision history for this message
Alex Murray (alexmurray) wrote :

This should be fixed now - see commit https://github.com/alexmurray/indicator-sensors/commit/e65ccb24b07d07b5be537bdddac5fe679c27e354 in git - and this should get mirrored to bzr shortly.

Changed in indicator-sensors:
status: New → Fix Committed
importance: Undecided → High
assignee: nobody → Alex Murray (alexmurray)
Revision history for this message
Alex Murray (alexmurray) wrote :
Revision history for this message
Andrzej Kłapeć (solidslash) wrote :

Hi Alex!
The original bug was indeed fixed and I didn't make a comment about it - sorry for that.

I've reinstalled Ubuntu Precise today though and I'm experiencing a new problem (and I don't know if I should open a new bug?).

I'm getting the following error:

andrzej@dell:~/indicator-sensors$ sudo sh autogen.sh
[sudo] password for andrzej:
/usr/bin/gnome-autogen.sh
checking for autoconf >= 2.53...
  testing autoconf2.50... not found.
  testing autoconf... found 2.68
checking for automake >= 1.9...
  testing automake-1.11... found 1.11.3
checking for libtool >= 1.5...
  testing libtoolize... found 2.4.2
checking for gettext >= 0.12...
  testing gettextize... found 0.18.1
checking for glib-gettext >= 2.2.0...
  testing glib-gettextize... found 2.32.0
checking for intltool >= 0.30...
  testing intltoolize... found 0.50.2
checking for pkg-config >= 0.14.0...
  testing pkg-config... found 0.26
Checking for required M4 macros...
Checking for forbidden M4 macros...
**Warning**: I am going to run `configure' with no arguments.
If you wish to pass any to it, please specify them on the
`autogen.sh' command line.

Processing ./configure.ac
Running libtoolize...
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
Running glib-gettextize... Ignore non-fatal messages.
Copying file mkinstalldirs
Copying file po/Makefile.in.in

Please add the files
  codeset.m4 gettext.m4 glibc21.m4 iconv.m4 isc-posix.m4 lcmessage.m4
  progtest.m4
from the /aclocal directory to your autoconf macro directory
or directly to your aclocal.m4 file.
You will also need config.guess and config.sub, which you can get from
ftp://ftp.gnu.org/pub/gnu/config/.

Running intltoolize...
Running aclocal-1.11...
Running autoconf...
Running autoheader...
Running automake-1.11...
configure.ac:196: required file `plugins/libnotify/Makefile.in' not found

Do you know about this? I'm trying to build the latest version of indicator-hardware pulled off bzr.

Revision history for this message
Alex Murray (alexmurray) wrote :

Ahh seems I missed something - I'll fix it in git / bzr tonight but for now edit the file configure.ac and remove line 205:

plugins/libnotify/Makefile

and it should be fine after that

Revision history for this message
Alex Murray (alexmurray) wrote :

Okay have committed the fix to git which should sync with the bzr repo soon to fix this.

Revision history for this message
Alex Murray (alexmurray) wrote :

This fix is now available in version 0.2 which was released yesterday and is now in the PPA for Precise.

Changed in indicator-sensors:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.