Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664204 - sci-physics/lammps-20180316 : /.../python_compat.h:30:48: error: invalid conversion from const char* to char* [-fpermissive]
Summary: sci-physics/lammps-20180316 : /.../python_compat.h:30:48: error: invalid conv...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nicolas Bock
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-21 18:38 UTC by Toralf Förster
Modified: 2021-04-13 17:50 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.07 KB, text/plain)
2018-08-21 18:38 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,167.47 KB, text/plain)
2018-08-21 18:38 UTC, Toralf Förster
Details
environment (environment,156.03 KB, text/plain)
2018-08-21 18:38 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.56 KB, application/x-bzip)
2018-08-21 18:38 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,452.11 KB, application/x-bzip)
2018-08-21 18:38 UTC, Toralf Förster
Details
sci-physics:lammps-20180316:20180821-105740.log.bz2 (sci-physics:lammps-20180316:20180821-105740.log.bz2,31.62 KB, application/x-bzip)
2018-08-21 18:38 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,65.23 KB, application/x-bzip)
2018-08-21 18:38 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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