Source: vtk
Version: 5.6.1-6
Severity: normal

When rebuilt against libpng15-dev (from experimental), vtk FTBFS:
| [ 47%] Building CXX object IO/CMakeFiles/vtkIO.dir/vtkPNGReader.cxx.o
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In member function 'virtual 
void vtkPNGReader::ExecuteInformation()':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:118:36: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int)':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:36: error: there are no 
arguments to 'png_set_gray_1_2_4_to_8' that depend on a template parameter, so 
a declaration of 'png_set_gray_1_2_4_to_8' must be available [-fpermissive]
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:36: note: (if you use 
'-fpermissive', G++ will accept your code, but allowing the use of an 
undeclared name is deprecated)
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
double, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = double]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
float, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = float]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
long long int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = long 
long int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
long long unsigned int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = long 
long unsigned int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
long int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = long 
int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
long unsigned int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = long 
unsigned int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
unsigned int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = unsigned 
int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
short int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = short 
int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
short unsigned int, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = short 
unsigned int]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
char, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = char]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
signed char, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = signed 
char]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx: In function 'void 
vtkPNGReaderUpdate2(vtkPNGReader*, OT*, int*, vtkIdType*, long int) [with OT = 
unsigned char, vtkIdType = int]':
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:296:5:   instantiated from 
'void vtkPNGReaderUpdate(vtkPNGReader*, vtkImageData*, OT*) [with OT = unsigned 
char]'
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:328:5:   instantiated from 
here
| /build/vtk-SsxGhZ/vtk-5.6.1/IO/vtkPNGReader.cxx:227:5: error: 
'png_set_gray_1_2_4_to_8' was not declared in this scope
| make[3]: *** [IO/CMakeFiles/vtkIO.dir/vtkPNGReader.cxx.o] Error 1

--
Jakub Wilk



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to