Opened 9 years ago

Closed 9 years ago

#8755 closed defect (fixed)

trunk mythplugins r25594 fails to build

Reported by: superm1@… Owned by: Janne Grunau
Priority: minor Milestone: 0.24
Component: Plugin - MythZoneminder Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Raymond Wagner)

Looking at the autobuilds, something between 25575 and 25594 caused it to stop building automatically with the following error:

make[4]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzoneminder'
cd mythzmserver/ && make -f Makefile 
make[4]: Entering directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzmserver'
ccache g++ -c -pipe -march=i686 -std=c++98 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -Wall -W -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr -I/usr/include -o main.o main.cpp
ccache g++ -c -pipe -march=i686 -std=c++98 -g -Wall -Wno-switch -Wpointer-arith -Wredundant-decls -Wno-non-virtual-dtor -funit-at-a-time -D__STDC_CONSTANT_MACROS -g -Wall -W -D_GNU_SOURCE -DPREFIX="/usr" -DMMX -Di386 -D_FILE_OFFSET_BITS=64 -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include -I/usr/include -I/usr -I/usr/include -o zmserver.o zmserver.cpp
zmserver.cpp: In member function 'long long int ZMServer::getDiskSpace(const std::string&, long long int&, long long int&)':
zmserver.cpp:381: error: aggregate 'statfs statbuf' has incomplete type and cannot be defined
zmserver.cpp:391: error: invalid use of incomplete type 'struct statfs'
zmserver.cpp:381: error: forward declaration of 'struct statfs'
make[4]: *** [zmserver.o] Error 1
make[4]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder/mythzmserver'
make[3]: *** [sub-mythzmserver-make_default] Error 2
make[3]: Leaving directory `/build/buildd/mythplugins-0.24.0~trunk25594/mythzoneminder'
make[2]: *** [sub-mythzoneminder-make_default] Error 2
make[2]: *** Waiting for unfinished jobs....
cd theme/ && make -f Makefile

Attachments (1)

buildlog_ubuntu-lucid-i386.mythplugins_0.24.0~trunk25594-0ubuntu0~mythbuntu1_FAILEDTOBUILD.txt.gz (29.4 KB) - added by superm1@… 9 years ago.
Buildlog

Download all attachments as: .zip

Change History (5)

comment:2 Changed 9 years ago by Raymond Wagner

Description: modified (diff)

wrapping in code blocks for readability

comment:3 Changed 9 years ago by Jonas Hallberg <jonas.h.hallberg@…>

Yeah it's the move from -std=c99 to -std=c++98 that's causing it, dont know why but if you manually compile it with gcc and -std=c99 then it works.

comment:4 Changed 9 years ago by robertm

Owner: changed from paulh to Janne Grunau
Status: newassigned

comment:5 Changed 9 years ago by Janne Grunau

Resolution: fixed
Status: assignedclosed

should be fixed by [25603]

Note: See TracTickets for help on using tickets.