Bug 1597394

Summary: vigra-1.11.1-8.fc29 FTBFS
Product: [Fedora] Fedora Reporter: Miro Hrončok <mhroncok>
Component: vigraAssignee: Bruno Postle <bruno>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: bruno
Target Milestone: ---Flags: bruno: needinfo-
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-07-23 13:43:27 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1565020    

Description Miro Hrončok 2018-07-02 20:41:03 UTC
On rawhide, after update to Python 3.7, vigra fails to build with:

/builddir/build/BUILD/vigra-1.11.1/vigranumpy/src/core/vigranumpycore.cxx: In function 'vigra::UInt32 vigra::pychecksum(const boost::python::str&)':
/builddir/build/BUILD/vigra-1.11.1/vigranumpy/src/core/vigranumpycore.cxx:64:39: error: invalid conversion from 'const char*' to 'char*' [-fpermissive]
  char * data = PyUnicode_AsUTF8AndSize(s.ptr(), &size);
                ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~

This was common error during the 3.7 rebuilds. Change data to const char* to fix it.

Comment 1 Miro Hrončok 2018-07-17 12:34:59 UTC
Bruno?

Comment 2 Miro Hrončok 2018-07-23 13:43:27 UTC

*** This bug has been marked as a duplicate of bug 1606645 ***