View Issue Details

IDProjectCategoryView StatusLast Update
0001147bareos-core[All Projects] Generalpublic2019-12-18 15:24
ReportertuxmasterAssigned Toarogge 
PrioritynormalSeverityblockReproducibilityalways
Status closedResolutionwon't fix 
PlatformLinuxOSFedoraOS Version31
Product Version18.2.6 
Fixed in Version 
Summary0001147: Build fails using python 3.7
DescriptionHello developers,
when I try to build it on Fedora 31 with python 3.7 the build will fails with:
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc: In function 'bRC directordaemon::conv_python_retval(PyObject*)':
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc:577:16: error: 'PyInt_AsLong' was not declared in this scope; did you mean 'PyLong_AsLong'?
  577 | return (bRC)PyInt_AsLong(pRetVal);
      | ^~~~~~~~~~~~
      | PyLong_AsLong
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc: In function 'PyObject* directordaemon::conv_retval_python(bRC)':
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc:585:23: error: 'PyInt_FromLong' was not declared in this scope; did you mean 'PyLong_FromLong'?
  585 | return (PyObject *)PyInt_FromLong((int)retval);
      | ^~~~~~~~~~~~~~
      | PyLong_FromLong
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc: In function 'void directordaemon::PyErrorHandler(bpContext*, int)':
/builddir/build/BUILD/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc:616:21: error: 'PyString_FromString' was not declared in this scope; did you mean 'PyLong_F

And many more errors about python.
Additional InformationSee the attached logs for all errors and used packages for build.
TagsNo tags attached.
bareos-master: impact
bareos-master: action
bareos-19.2: impact
bareos-19.2: action
bareos-18.2: impact
bareos-18.2: action
bareos-17.2: impact
bareos-17.2: action
bareos-16.2: impact
bareos-16.2: action
bareos-15.2: impact
bareos-15.2: action
bareos-14.2: impact
bareos-14.2: action
bareos-13.2: impact
bareos-13.2: action
bareos-12.4: impact
bareos-12.4: action

Activities

tuxmaster

tuxmaster

2019-12-07 16:56

reporter  

build.log (441,112 bytes)
installed_pkgs.log (45,812 bytes)
arogge

arogge

2019-12-10 14:18

developer   ~0003650

Bareos 18.2 does not yet support python 3 and we're not going to backport any effort to support python3 to bareos 18.2.

Issue History

Date Modified Username Field Change
2019-12-07 16:56 tuxmaster New Issue
2019-12-07 16:56 tuxmaster File Added: build.log
2019-12-07 16:56 tuxmaster File Added: installed_pkgs.log
2019-12-10 14:18 arogge Assigned To => arogge
2019-12-10 14:18 arogge Status new => resolved
2019-12-10 14:18 arogge Resolution open => won't fix
2019-12-10 14:18 arogge Note Added: 0003650
2019-12-18 15:24 arogge Status resolved => closed