Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 703890 - app-backup/bareos-18.2.6 : /.../python-dir.cc:577:16: error: PyInt_AsLong was not declared in this scope
Summary: app-backup/bareos-18.2.6 : /.../python-dir.cc:577:16: error: PyInt_AsLong was...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-26 21:19 UTC by Toralf Förster
Modified: 2020-05-14 04:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.94 KB, text/plain)
2019-12-26 21:19 UTC, Toralf Förster
Details
app-backup:bareos-18.2.6:20191224-052112.log (app-backup:bareos-18.2.6:20191224-052112.log,387.30 KB, text/plain)
2019-12-26 21:19 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,150.56 KB, text/plain)
2019-12-26 21:19 UTC, Toralf Förster
Details
environment (environment,182.85 KB, text/plain)
2019-12-26 21:19 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.74 KB, application/x-bzip)
2019-12-26 21:19 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,16.38 KB, application/x-bzip)
2019-12-26 21:19 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,58.52 KB, application/x-bzip)
2019-12-26 21:19 UTC, Toralf Förster
Details
build.log (build.log,402.88 KB, text/plain)
2020-02-04 14:29 UTC, Marko Weber Bürgermeister
Details
emerge --info (emerge-info.log,5.08 KB, text/plain)
2020-02-04 14:30 UTC, Marko Weber Bürgermeister
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-12-26 21:19:13 UTC
      |                  ^~~~~~~~~~~~~~~~~~
/var/tmp/portage/app-backup/bareos-18.2.6/work/bareos-Release-18.2.6/core/src/plugins/dird/python-dir.cc: In function ‘bRC directordaemon::conv_python_retval(PyObject*)’:
/var/tmp/portage/app-backup/bareos-18.2.6/work/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

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_systemd-20191221-021510

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.40.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Tue, 24 Dec 2019 04:46:03 +0000

emerge -qpvO app-backup/bareos
[ebuild  N    ] app-backup/bareos-18.2.6  USE="acl director ipv6 postgres readline ssl storage-daemon systemd tcpd -X -cephfs -clientonly -fastlz -glusterfs -gnutls -jansson -libressl -lmdb -logwatch -mysql -ndmp -python -rados -rados-striper -scsi-crypto -sql-pooling -sqlite -static -vim-syntax" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-12-26 21:19:16 UTC
Created attachment 600716 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-26 21:19:19 UTC
Created attachment 600718 [details]
app-backup:bareos-18.2.6:20191224-052112.log
Comment 3 Toralf Förster gentoo-dev 2019-12-26 21:19:22 UTC
Created attachment 600720 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-12-26 21:19:25 UTC
Created attachment 600722 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-12-26 21:19:28 UTC
Created attachment 600724 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-26 21:19:31 UTC
Created attachment 600726 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-12-26 21:19:33 UTC
Created attachment 600728 [details]
temp.tbz2
Comment 8 Marko Weber Bürgermeister 2020-02-04 14:27:46 UTC
cant compile bareos 18.2.6 on my box

make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-18.2.6/work/bareos-18.2.6_build'
make: *** [Makefile:141: all] Error 2
 * ERROR: app-backup/bareos-18.2.6::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-backup/bareos-18.2.6::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-backup/bareos-18.2.6::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/app-backup/bareos-18.2.6/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-backup/bareos-18.2.6/temp/environment'.
 * Working directory: '/var/tmp/portage/app-backup/bareos-18.2.6/work/bareos-18.2.6_build'
 * S: '/var/tmp/portage/app-backup/bareos-18.2.6/work/bareos-Release-18.2.6'


i attach  "emerge -info" + "build.log"

marko
Comment 9 Marko Weber Bürgermeister 2020-02-04 14:29:05 UTC
Created attachment 611558 [details]
build.log

build.log of failed emerge
Comment 10 Marko Weber Bürgermeister 2020-02-04 14:30:41 UTC
Created attachment 611560 [details]
emerge --info

emerge --info
Comment 11 Marc Schiffbauer gentoo-dev 2020-05-14 04:11:48 UTC
Please set the python USE flag for 18.2 version or update to 19.2 to solve this.

Thanks for reporting!