View Issue Details

IDProjectCategoryView StatusLast Update
0004089Path[FreeCAD] Bugpublic2019-08-14 12:17
Reportersl1pkn07Assigned ToKunda1 
PriorityhighSeverityblockReproducibilityalways
Status closedResolutionno change required 
PlatformlinuxOSarchlinuxOS Version
Product Version[FreeCAD] 0.19 
Target VersionFixed in Version 
Summary0004089: Fail build from git
DescriptionFail build:

[ 89%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/DlgSettingsPathColor.cpp.o
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:58:15: error: ‘PathGui::PathGui’ no se ha declarado
   58 | void PathGui::PathGui::DlgSettingsPathColor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:66:47: error: ‘PathGui::PathGui’ no se ha declarado
   66 | QT_INIT_METAOBJECT const QMetaObject PathGui::PathGui::DlgSettingsPathColor::staticMetaObject = { {
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:76:29: error: ‘PathGui::PathGui’ no se ha declarado
   76 | const QMetaObject *PathGui::PathGui::DlgSettingsPathColor::metaObject() const
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:76:73: error: la función que no es miembro ‘const QMetaObject* metaObject()’ no puede tener calificador-cv
   76 | const QMetaObject *PathGui::PathGui::DlgSettingsPathColor::metaObject() const
      | ^~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: En la función ‘const QMetaObject* metaObject()’:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:21: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected within this context
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: nota: declared protected here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:21: error: uso no válido del dato miembro no static ‘QObject::d_ptr’
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: nota: se declara aquí
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:50: error: ‘QScopedPointer<QObjectData> QObject::d_ptr’ is protected within this context
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: nota: declared protected here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:50: error: uso no válido del dato miembro no static ‘QObject::d_ptr’
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: nota: se declara aquí
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: En el ámbito global:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:81:16: error: ‘PathGui::PathGui’ no se ha declarado
   81 | void *PathGui::PathGui::DlgSettingsPathColor::qt_metacast(const char *_clname)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: En la función ‘void* qt_metacast(const char*)’:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:85:35: error: uso no válido de ‘this’ en la función que no es miembro
   85 | return static_cast<void*>(this);
      | ^~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:87:55: error: uso no válido de ‘this’ en la función que no es miembro
   87 | return static_cast< Ui_DlgSettingsPathColor*>(this);
      | ^~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:88:60: error: no se puede llamar a la función miembro ‘virtual void* Gui::Dialog::PreferencePage::qt_metacast(const char*)’ sin un objeto
   88 | return Gui::Dialog::PreferencePage::qt_metacast(_clname);
      | ^
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: En el ámbito global:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:91:14: error: ‘PathGui::PathGui’ no se ha declarado
   91 | int PathGui::PathGui::DlgSettingsPathColor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: En la función ‘int qt_metacall(QMetaObject::Call, int, void**)’:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:93:63: error: no se puede llamar a la función miembro ‘virtual int Gui::Dialog::PreferencePage::qt_metacall(QMetaObject::Call, int, void**)’ sin un objeto
   93 | _id = Gui::Dialog::PreferencePage::qt_metacall(_c, _id, _a);
      | ^
make[2]: *** [src/Mod/Path/Gui/CMakeFiles/PathGui.dir/build.make:308: src/Mod/Path/Gui/CMakeFiles/PathGui.dir/DlgSettingsPathColor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4494: src/Mod/Path/Gui/CMakeFiles/PathGui.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
Steps To Reproducedownload the feecad code from git
prepare the environment installing the dependencies
try to build
Additional InformationQt 5.13
python 3.7.4
GCC 9.1
cmake 3.15.2
TagsArch

Activities

sl1pkn07

2019-08-11 20:06

reporter   ~0013411

output with LC_ACC=C

[ 89%] Building CXX object src/Mod/Path/Gui/CMakeFiles/PathGui.dir/DlgSettingsPathColor.cpp.o
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:58:15: error: 'PathGui::PathGui' has not been declared
   58 | void PathGui::PathGui::DlgSettingsPathColor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:66:47: error: 'PathGui::PathGui' has not been declared
   66 | QT_INIT_METAOBJECT const QMetaObject PathGui::PathGui::DlgSettingsPathColor::staticMetaObject = { {
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:76:29: error: 'PathGui::PathGui' has not been declared
   76 | const QMetaObject *PathGui::PathGui::DlgSettingsPathColor::metaObject() const
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:76:73: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
   76 | const QMetaObject *PathGui::PathGui::DlgSettingsPathColor::metaObject() const
      | ^~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: In function 'const QMetaObject* metaObject()':
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:21: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected within this context
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: note: declared protected here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:21: error: invalid use of non-static data member 'QObject::d_ptr'
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: note: declared here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:50: error: 'QScopedPointer<QObjectData> QObject::d_ptr' is protected within this context
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: note: declared protected here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:78:50: error: invalid use of non-static data member 'QObject::d_ptr'
   78 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
      | ^~~~~
In file included from /usr/include/qt/QtCore/qvariant.h:51,
                 from /usr/include/qt/QtCore/QVariant:1,
                 from /tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/ui_DlgSettingsPathColor.h:12,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.h:27,
                 from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:28:
/usr/include/qt/QtCore/qobject.h:436:33: note: declared here
  436 | QScopedPointer<QObjectData> d_ptr;
      | ^~~~~
In file included from /tmp/makepkg/sl1-freecad-git/src/freecad/src/Mod/Path/Gui/DlgSettingsPathColor.cpp:99:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: At global scope:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:81:16: error: 'PathGui::PathGui' has not been declared
   81 | void *PathGui::PathGui::DlgSettingsPathColor::qt_metacast(const char *_clname)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: In function 'void* qt_metacast(const char*)':
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:85:35: error: invalid use of 'this' in non-member function
   85 | return static_cast<void*>(this);
      | ^~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:87:55: error: invalid use of 'this' in non-member function
   87 | return static_cast< Ui_DlgSettingsPathColor*>(this);
      | ^~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:88:60: error: cannot call member function 'virtual void* Gui::Dialog::PreferencePage::qt_metacast(const char*)' without object
   88 | return Gui::Dialog::PreferencePage::qt_metacast(_clname);
      | ^
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: At global scope:
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:91:14: error: 'PathGui::PathGui' has not been declared
   91 | int PathGui::PathGui::DlgSettingsPathColor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
      | ^~~~~~~
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp: In function 'int qt_metacall(QMetaObject::Call, int, void**)':
/tmp/makepkg/sl1-freecad-git/src/build/src/Mod/Path/Gui/moc_DlgSettingsPathColor.cpp:93:63: error: cannot call member function 'virtual int Gui::Dialog::PreferencePage::qt_metacall(QMetaObject::Call, int, void**)' without object
   93 | _id = Gui::Dialog::PreferencePage::qt_metacall(_c, _id, _a);
      | ^
make[2]: *** [src/Mod/Path/Gui/CMakeFiles/PathGui.dir/build.make:308: src/Mod/Path/Gui/CMakeFiles/PathGui.dir/DlgSettingsPathColor.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:4494: src/Mod/Path/Gui/CMakeFiles/PathGui.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

Kunda1

2019-08-12 17:03

administrator   ~0013412

@sl1pkn07 Please open a thread on the FreeCAD install/compile subforum (per our guidelines in the large yellow banner at the top of the page). Please reference this ticket in the thread and then x-post the thread URL back to this ticket.

sl1pkn07

2019-08-12 18:08

reporter   ~0013417

done but seems needs approve

sl1pkn07

2019-08-12 19:48

reporter   ~0013419

https://forum.freecadweb.org/viewtopic.php?f=4&t=38502&sid=d93a016df1a2a078f7a54be42a9fd3cc

sl1pkn07

2019-08-13 14:13

reporter   ~0013423

build fine with 16c26cb3b1cd7209ea8efc8cb30b3b18fd80cf95, so i'm not sure what happen

please close issue

sorry gretings

Issue History

Date Modified Username Field Change
2019-08-11 20:04 sl1pkn07 New Issue
2019-08-11 20:04 sl1pkn07 Tag Attached: Arch GIT FAILED
2019-08-11 20:04 sl1pkn07 Tag Attached: FEM
2019-08-11 20:06 sl1pkn07 Note Added: 0013411
2019-08-11 21:07 sl1pkn07 Tag Detached: Arch GIT FAILED
2019-08-11 21:07 sl1pkn07 Tag Attached: Arch; GIT; failed
2019-08-11 21:08 sl1pkn07 Tag Detached: Arch; GIT; failed
2019-08-11 21:08 sl1pkn07 Tag Attached: Arch
2019-08-11 21:08 sl1pkn07 Tag Attached: git
2019-08-11 21:08 sl1pkn07 Tag Attached: fail build
2019-08-11 21:19 sl1pkn07 Tag Detached: FEM
2019-08-11 21:19 sl1pkn07 Tag Attached: Path
2019-08-12 17:00 Kunda1 Tag Detached: git
2019-08-12 17:00 Kunda1 Tag Detached: Path
2019-08-12 17:00 Kunda1 Tag Detached: fail build
2019-08-12 17:03 Kunda1 Status new => feedback
2019-08-12 17:03 Kunda1 Note Added: 0013412
2019-08-12 17:08 Kunda1 Tag Attached: #post-to-forum
2019-08-12 18:08 sl1pkn07 Note Added: 0013417
2019-08-12 18:08 sl1pkn07 Status feedback => new
2019-08-12 19:48 sl1pkn07 Note Added: 0013419
2019-08-13 14:13 sl1pkn07 Note Added: 0013423
2019-08-14 12:17 Kunda1 Assigned To => Kunda1
2019-08-14 12:17 Kunda1 Status new => closed
2019-08-14 12:17 Kunda1 Resolution open => no change required
2019-08-14 12:17 Kunda1 Tag Detached: #post-to-forum