0.20 builds fail in freecad-daily PPA
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
0.20 builds fail in freecad-daily PPA
Hello,
I hope that whoever is in charge of the freecad-daily PPA is aware that the daily builds of FreeCAD 0.20 are failing for Ubuntu 16.04, 20.4 and 20.10? If so, I'll just wait until it's resolved. Otherwise perhaps someone should take a look.
The build for 18.04 seems to be working perfectly (and I use that on my main computer).
https://launchpad.net/~freecad-maintain ... /+packages
I hope that whoever is in charge of the freecad-daily PPA is aware that the daily builds of FreeCAD 0.20 are failing for Ubuntu 16.04, 20.4 and 20.10? If so, I'll just wait until it's resolved. Otherwise perhaps someone should take a look.
The build for 18.04 seems to be working perfectly (and I use that on my main computer).
https://launchpad.net/~freecad-maintain ... /+packages
Re: 0.20 builds fail in freecad-daily PPA
The build logs of the failures can be found here:
https://launchpad.net/~freecad-maintain ... d/21189320
https://launchpad.net/~freecad-maintain ... d/21189160
https://launchpad.net/~freecad-maintain ... d/21188894
So, it apparently already fails when running the rules file and I guess that something must have changed with the packaging commands in newer Debian/Ubuntu versions.
https://launchpad.net/~freecad-maintain ... d/21189320
https://launchpad.net/~freecad-maintain ... d/21189160
https://launchpad.net/~freecad-maintain ... d/21188894
In line 39 of https://git.launchpad.net/freecad/tree/debian/rulesdebian/rules:39: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Code: Select all
override_dh_auto_configure:
dh_auto_configure --builddirectory=debian/build-py3 -- \
$(extra_flags) \
$(py3_flags)
Re: 0.20 builds fail in freecad-daily PPA
0.19 is building ok for 21.04 so is there anything different between these rules?
Re: 0.20 builds fail in freecad-daily PPA
I think this is specific to the Xenial failure and is due towmayer wrote: ↑Thu Apr 08, 2021 2:39 pm debian/rules:39: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 255
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:3: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
CMake 3.10.2 or higher is required. You are running version 3.5.1
-- Configuring incomplete, errors occurred!
"tail -v -n +0 CMakeCache.txt"
==> CMakeCache.txt <==
I don't think this is used anymore. I think the used rules file is from here: https://salsa.debian.org/science-team/f ... bian/ruleswmayer wrote: ↑Thu Apr 08, 2021 2:39 pm In line 39 of https://git.launchpad.net/freecad/tree/debian/rules
See the recipe contents at the end of here: https://code.launchpad.net/~freecad-mai ... ngle-build
I think the relevant part of the Focal log is
Code: Select all
-- The imported target "vtkParseOGLExt" references the file
"/usr/bin/vtkParseOGLExt-7.1"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- The imported target "pvtk" references the file
"/usr/bin/pvtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-7.1/VTKTargets.cmake"
but not all the files it references.
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkFiltersParallelDIY2;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType;vtkRenderingOpenGL2
-- Check for medfile (libmed and libmedc) ...
-- Found MEDFile: /usr/include
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- We guess that libmed was built using hdf5-openmpi version
-- Checking for one of the modules 'hdf5-openmpi'
-- Checking for one of the modules 'ompi-cxx'
-- Found SWIG: /usr/bin/swig4.0 (found version "4.0.1")
-- Found Eigen3: /usr/include/eigen3 (found suitable version "3.3.7", minimum required is "2.91.0")
-- Performing Test _flag_found
-- Performing Test _flag_found - Success
-- Found Freetype: /usr/lib/x86_64-linux-gnu/libfreetype.so (found version "2.10.1")
-- Checking for module 'Coin'
-- No package 'Coin' found
-- Coin3D libraries found
Traceback (most recent call last):
File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'pivy'
-- Found Spnav: /usr/lib/libspnav.so
-- Shiboken2Config: Using default python: .cpython-38-x86_64-linux-gnu
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.5", minimum required is "3")
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
Could NOT find PythonLibs (missing: PYTHON_INCLUDE_DIRS) (Required is at
least version "3")
Call Stack (most recent call first):
/usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.16/Modules/FindPythonLibs.cmake:310 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.14.0/shiboken_helpers.cmake:318 (find_package)
/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.14.0/Shiboken2Config.cpython-38-x86_64-linux-gnu.cmake:44 (shiboken_find_required_python)
/usr/lib/x86_64-linux-gnu/cmake/Shiboken2-5.14.0/Shiboken2Config.cmake:5 (include)
cMake/FreeCAD_Helpers/SetupShibokenAndPyside.cmake:13 (find_package)
CMakeLists.txt:75 (SetupShibokenAndPyside)
-- Configuring incomplete, errors occurred!
See also "/<<PKGBUILDDIR>>/debian/build-py3/CMakeFiles/CMakeOutput.log".
See also "/<<PKGBUILDDIR>>/debian/build-py3/CMakeFiles/CMakeError.log".
cd debian/build-py3 && tail -v -n \+0 CMakeCache.txt
"fight the good fight"
Re: 0.20 builds fail in freecad-daily PPA
Any progress on this? I still can't install FC 0.20 on Xubuntu 20.04 from the PPA.
Re: 0.20 builds fail in freecad-daily PPA
Same question as before.
Is there something I can do? I'm afraid I know next to nothing about packaging. But I would be willing to test stuff out if that's helpful.
Is there something I can do? I'm afraid I know next to nothing about packaging. But I would be willing to test stuff out if that's helpful.
-
- Posts: 436
- Joined: Wed Sep 15, 2010 9:38 am
Re: 0.20 builds fail in freecad-daily PPA
It looks that there is also an issue with pthreads on Ubuntu 20.04.
Gaël
Code: Select all
/usr/bin/ld: cannot find -lpthreads
Re: 0.20 builds fail in freecad-daily PPA
Builds for 21.10 & 22.04 seem have been failing for a while, the last available version for 21.10 is 0.20~pre1~202109030345 and for 22.04 it is 0.20~pre1~202111101813.
Is it possible to get this fixed?
Is it possible to get this fixed?
Re: 0.20 builds fail in freecad-daily PPA
Bumping this thread because 21.10 & 22.04 were stuck since October 11, and now 21.04 is stuck also since January 26.
Is there some work ongoing ? Something to help ?
Is there some work ongoing ? Something to help ?
- kkremitzki
- Veteran
- Posts: 2511
- Joined: Thu Mar 03, 2016 9:52 pm
- Location: Illinois
Re: 0.20 builds fail in freecad-daily PPA
I had lost track of the issue but they should be fixed now.