Comment 1 for bug 529374

Revision history for this message
Fabian Affolter (fab-fedoraproject) wrote :

When I use the attached patch, the RPM build process fails on the Fedora development version:

LC_ALL=C /usr/bin/intltool-merge -d -u -c ./po/.intltool-merge-cache ./po data/gpx-viewer.desktop.in data/gpx-viewer.desktop
Generating and caching the translation database
Merging translations into data/gpx-viewer.desktop.
gpx-graph.vala:54.14-54.14: error: only automatic properties can have default values
   default = 4;
             ^
Compilation failed: 1 error(s), 0 warning(s)
make[2]: *** [gpx_viewer_vala.stamp] Error 1
make[2]: *** Waiting for unfinished jobs....
src/gpx-viewer.c: In function 'route_playback_tick':
src/gpx-viewer.c:461: warning: passing argument 2 of 'gpx_graph_set_highlight' makes integer from pointer without a cast
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
src/gpx-viewer.c:466: warning: passing argument 2 of 'gpx_graph_set_highlight' makes integer from pointer without a cast
./gpx.h:166: note: expected 'time_t' but argument is of type 'time_t *'
make[2]: Leaving directory `/home/fab/rpmbuild/BUILD/gpx-viewer-0.1.2'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fab/rpmbuild/BUILD/gpx-viewer-0.1.2'
make: *** [all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.Py2Htc (%build)

RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Py2Htc (%build)