Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 664204

Summary: sci-physics/lammps-20180316 : /.../python_compat.h:30:48: error: invalid conversion from const char* to char* [-fpermissive]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Nicolas Bock <nicolasbock>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sci-physics
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
sci-physics:lammps-20180316:20180821-105740.log.bz2
temp.tbz2

Description Toralf Förster gentoo-dev 2018-08-21 18:38:12 UTC
In file included from /var/tmp/portage/sci-physics/lammps-20180316/work/lammps-patch_16Mar2018/src/PYTHON/python_impl.cpp:25:
/var/tmp/portage/sci-physics/lammps-20180316/work/lammps-patch_16Mar2018/src/PYTHON/python_impl.cpp: In member function ‘virtual void LAMMPS_NS::PythonImpl::invoke_function(int, char*)’:
/var/tmp/portage/sci-physics/lammps-20180316/work/lammps-patch_16Mar2018/src/PYTHON/python_compat.h:30:48: error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
 #define PY_STRING_AS_STRING(X) PyUnicode_AsUTF8(X)
                                ~~~~~~~~~~~~~~~~^~~
/var/tmp/portage/sci-physics/lammps-20180316/work/lammps-patch_16Mar2018/src/PYTHON/python_impl.cpp:347:21: note: in expansion of macro ‘PY_STRING_AS_STRING’

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-developer_libressl_20180816-174630

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.0
 [2] x86_64-pc-linux-gnu-7.3.1
 [3] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby25 (with Rubygems) *



emerge -qpv sci-physics/lammps
[ebuild  N    ] sci-physics/lammps-20180316  USE="-cuda -examples -gzip -lammps-memalign -mpi -netcdf -python -test" PYTHON_TARGETS="python2_7 python3_6 -python3_4 -python3_5"
Comment 1 Toralf Förster gentoo-dev 2018-08-21 18:38:15 UTC
Created attachment 544328 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-08-21 18:38:18 UTC
Created attachment 544330 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2018-08-21 18:38:20 UTC
Created attachment 544332 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2018-08-21 18:38:23 UTC
Created attachment 544334 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2018-08-21 18:38:26 UTC
Created attachment 544336 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-08-21 18:38:29 UTC
Created attachment 544338 [details]
sci-physics:lammps-20180316:20180821-105740.log.bz2
Comment 7 Toralf Förster gentoo-dev 2018-08-21 18:38:32 UTC
Created attachment 544340 [details]
temp.tbz2