fails to build in ubuntu hardy

Bug #693214 reported by Alexander Sack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntrack
Fix Released
High
Alexander Sack

Bug Description

ntrack doesnt build oob for ubuntu hardy ... see the 010 packages from here:

 + https://launchpad.net/~asac/+archive/ntrack/

aka:
http://launchpadlibrarian.net/61023784/buildlog_ubuntu-hardy-i386.ntrack_010-0.asac1~h1_FAILEDTOBUILD.txt.gz

fails with:
make[5]: Leaving directory `/build/buildd/ntrack-010/gobject/test'
make[5]: Entering directory `/build/buildd/ntrack-010/gobject'
/bin/bash ../libtool --tag=CC --mode=compile cc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -pedantic -I./../common/ -I./../glib/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -c -o libntrack_gobject_la-ntrack-gmonitor.lo `test -f 'ntrack-gmonitor.c' || echo './'`ntrack-gmonitor.c
libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -pedantic -I./../common/ -I./../glib/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -Wall -O2 -c ntrack-gmonitor.c -fPIC -DPIC -o .libs/libntrack_gobject_la-ntrack-gmonitor.o
cc1: warnings being treated as errors
In file included from ntrack-gmonitor.c:26:
ntrack-gmarshal.h: In function '_ntrack_cclosure_marshal_VOID__ENUM_ENUM':
ntrack-gmarshal.h:97: warning: ISO C forbids conversion of object pointer to function pointer type
ntrack-gmonitor.c: In function 'ntrack_g_monitor_constructor':
ntrack-gmonitor.c:58: warning: dereferencing type-punned pointer will break strict-aliasing rules
make[5]: *** [libntrack_gobject_la-ntrack-gmonitor.lo] Error 1
make[5]: Leaving directory `/build/buildd/ntrack-010/gobject'
make[4]: *** [all-recursive] Error 1

Related branches

Revision history for this message
Alexander Sack (asac) wrote :

a few things seem to be more picky in hardy ... first of all the

  "track-gmarshal.h:97: warning: ISO C forbids conversion of object pointer to function pointer type"

error is something that we disabled by setting "-pedantic" to warnings using gcc macros. However, in hardy it seems that that error is not part of -pedantic; furthermore i couldn't find a proper gcc macro on first look that works with old gcc 4.2 in hardy. Most likely will have to disable -Werror for now. Lets see.

also I noticed that on hardy you cannot even run autogen.sh ... filed and fixed bug for that.

Changed in ntrack:
status: New → Triaged
importance: Undecided → Wishlist
importance: Wishlist → High
Revision history for this message
Alexander Sack (asac) wrote :
Changed in ntrack:
milestone: none → 011
status: Triaged → Fix Committed
assignee: nobody → Alexander Sack (asac)
Alexander Sack (asac)
Changed in ntrack:
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.