qtsystems failed to compile :(

  compiling linux/qstorageinfo_linux.cpp
  linux/qstorageinfo_linux.cpp: In member function 'qlonglong 
QStorageInfoPrivate::availableDiskSpace(const QString&)':
  linux/qstorageinfo_linux.cpp:82:19: error: aggregate 
'QStorageInfoPrivate::availableDiskSpace(const QString&)::statfs statistics' 
has incomplete type and cannot be defined
  linux/qstorageinfo_linux.cpp:83:45: error: invalid use of incomplete type 
'struct QStorageInfoPrivate::availableDiskSpace(const QString&)::statfs'
  linux/qstorageinfo_linux.cpp:82:12: error: forward declaration of 'struct 
QStorageInfoPrivate::availableDiskSpace(const QString&)::statfs'
  linux/qstorageinfo_linux.cpp: In member function 'qlonglong 
QStorageInfoPrivate::totalDiskSpace(const QString&)':
  linux/qstorageinfo_linux.cpp:94:19: error: aggregate 
'QStorageInfoPrivate::totalDiskSpace(const QString&)::statfs statistics' has 
incomplete type and cannot be defined
  linux/qstorageinfo_linux.cpp:95:45: error: invalid use of incomplete type 
'struct QStorageInfoPrivate::totalDiskSpace(const QString&)::statfs'
  linux/qstorageinfo_linux.cpp:94:12: error: forward declaration of 'struct 
QStorageInfoPrivate::totalDiskSpace(const QString&)::statfs'
  linux/qstorageinfo_linux.cpp: In member function 'QString 
QStorageInfoPrivate::uriForDrive(const QString&)':
  linux/qstorageinfo_linux.cpp:108:41: error: '_PATH_MOUNTED' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:108:59: error: 'setmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:109:23: error: aggregate 
'QStorageInfoPrivate::uriForDrive(const QString&)::mntent entry' has incomplete 
type and cannot be defined
  linux/qstorageinfo_linux.cpp:112:74: error: 'getmntent_r' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:120:32: error: 'endmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp: In member function 'QStorageInfo::DriveType 
QStorageInfoPrivate::driveType(const QString&)':
  linux/qstorageinfo_linux.cpp:173:37: error: '_PATH_MOUNTED' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:173:55: error: 'setmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:174:19: error: aggregate 
'QStorageInfoPrivate::driveType(const QString&)::mntent entry' has incomplete 
type and cannot be defined
  linux/qstorageinfo_linux.cpp:176:70: error: 'getmntent_r' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:244:64: error: 'endmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:268:28: error: 'endmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp: In member function 'void 
QStorageInfoPrivate::cleanupWatcher()':
  linux/qstorageinfo_linux.cpp:303:63: error: 'inotify_rm_watch' was not 
declared in this scope
  linux/qstorageinfo_linux.cpp: In member function 'void 
QStorageInfoPrivate::setupWatcher()':
  linux/qstorageinfo_linux.cpp:331:50: error: 'inotify_init' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:336:71: error: '_PATH_MOUNTED' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:336:86: error: 'IN_MODIFY' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:336:95: error: 'inotify_add_watch' was not 
declared in this scope
  linux/qstorageinfo_linux.cpp: In member function 'void 
QStorageInfoPrivate::updateLogicalDrives()':
  linux/qstorageinfo_linux.cpp:349:37: error: '_PATH_MOUNTED' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:349:55: error: 'setmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:350:19: error: aggregate 
'QStorageInfoPrivate::updateLogicalDrives()::mntent entry' has incomplete type 
and cannot be defined
  linux/qstorageinfo_linux.cpp:354:69: error: 'getmntent_r' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:356:28: error: 'endmntent' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp: In member function 'void 
QStorageInfoPrivate::onInotifyActivated()':
  linux/qstorageinfo_linux.cpp:361:5: error: 'inotify_event' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:361:19: error: expected ';' before 'event'
  linux/qstorageinfo_linux.cpp:362:46: error: ISO C++ forbids taking the 
address of an unqualified or parenthesized non-static member function to form a 
pointer to member function.  Say '&QStorageInfoPrivate::event' [-fpermissive]
  linux/qstorageinfo_linux.cpp:362:46: warning: converting from 'bool 
(QObject::*)(QEvent*)' to 'void*' [-Wpmf-conversions]
  linux/qstorageinfo_linux.cpp:362:65: error: ISO C++ forbids applying 'sizeof' 
to an expression of function type [-fpermissive]
  linux/qstorageinfo_linux.cpp:363:17: error: 
'((QStorageInfoPrivate*)this)->QObject::event' does not have class type
  linux/qstorageinfo_linux.cpp:365:63: error: 'inotify_rm_watch' was not 
declared in this scope
  linux/qstorageinfo_linux.cpp:366:67: error: '_PATH_MOUNTED' was not declared 
in this scope
  linux/qstorageinfo_linux.cpp:366:82: error: 'IN_MODIFY' was not declared in 
this scope
  linux/qstorageinfo_linux.cpp:366:91: error: 'inotify_add_watch' was not 
declared in this scope
  make[3]: *** [.obj/release-shared/qstorageinfo_linux.o] Error 1
  make[2]: *** [sub-systeminfo-make_first-ordered] Error 2
  make[1]: *** [sub-src-make_first-ordered] Error 2
  make: *** [module-qtsystems] Error 2

  Build log: 
http://testresults.qt-project.org/ci/QtSystems_dev_Integration/build_00033/linux-g++_no-widgets_Ubuntu_12.04_x64/log.txt.gz

  Tested changes (refs/builds/dev_1378808822):
    http://codereview.qt-project.org/64944 [PS1] - fix file permissions on 
images
    http://codereview.qt-project.org/64888 [PS5] - Add operating system name 
and board name functions
_______________________________________________
Ci-reports mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/ci-reports

Reply via email to