[MacPorts] #17602: strigi: invalid conversion from 'const char**' to 'char**'
MacPorts
noreply at macports.org
Wed Dec 10 00:44:54 PST 2008
#17602: strigi: invalid conversion from 'const char**' to 'char**'
-------------------------------------+--------------------------------------
Reporter: ryandesign@… | Owner: clubjuggler@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.0
Keywords: | Port: strigi
-------------------------------------+--------------------------------------
strigi 0.5.10 doesn't compile on Mac OS X 10.4.11 Intel:
{{{
rschmidt at seven strigi $ port install
---> Fetching strigi
---> Attempting to fetch strigi-0.5.10.tar.bz2 from
http://internap.dl.sourceforge.net/strigi
---> Verifying checksum(s) for strigi
---> Extracting strigi
---> Applying patches to strigi
---> Configuring strigi
---> Building strigi
Error: Target org.macports.build returned: shell command " cd
"/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_strigi/work/strigi-0.5.10"
&& nice -n 10 make all " returned error 2
Command output: [ 10%] Building CXX object
src/streams/CMakeFiles/streams.dir/tarinputstream.o
[ 11%] Building CXX object src/streams/CMakeFiles/streams.dir/textutils.o
[ 11%] Building CXX object
src/streams/CMakeFiles/streams.dir/zipinputstream.o
[ 12%] Building CXX object
src/streams/CMakeFiles/streams.dir/processinputstream.o
[ 12%] Building CXX object
src/streams/CMakeFiles/streams.dir/strigi/compat.o
[ 13%] Building CXX object
src/streams/CMakeFiles/streams.dir/strigi/fnmatch.o
[ 13%] Building CXX object
src/streams/CMakeFiles/streams.dir/strigi/stgdirent.o
Linking CXX shared library libstreams.dylib
[ 13%] Built target streams
Scanning dependencies of target oletest
[ 13%] Building CXX object src/streams/CMakeFiles/oletest.dir/oletest.o
Linking CXX executable oletest
[ 13%] Built target oletest
Scanning dependencies of target testpt
[ 13%] Building CXX object src/streams/CMakeFiles/testpt.dir/testpt.o
[ 14%] Building CXX object
src/streams/CMakeFiles/testpt.dir/processinputstream.o
Linking CXX executable testpt
[ 14%] Built target testpt
Scanning dependencies of target pdfstream
[ 14%] Building CXX object
src/streams/pdf/CMakeFiles/pdfstream.dir/pdfparser.o
Linking CXX static library libpdfstream.a
[ 14%] Built target pdfstream
Scanning dependencies of target streamanalyzer
[ 15%] Building CXX object
src/streamanalyzer/CMakeFiles/streamanalyzer.dir/analysisresult.o
/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_strigi/work/strigi-0.5.10/src/streamanalyzer/analysisresult.cpp:
In member function 'int32_t Latin1Converter::_fromLatin1(char*&, const
char*, size_t)':
/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_strigi/work/strigi-0.5.10/src/streamanalyzer/analysisresult.cpp:91:
error: invalid conversion from 'const char**' to 'char**'
/mp/var/macports/build/_Users_rschmidt_macports_dports_devel_strigi/work/strigi-0.5.10/src/streamanalyzer/analysisresult.cpp:91:
error: initializing argument 2 of 'size_t libiconv(void*, char**,
size_t*, char**, size_t*)'
make[2]: ***
[src/streamanalyzer/CMakeFiles/streamanalyzer.dir/analysisresult.o] Error
1
make[1]: *** [src/streamanalyzer/CMakeFiles/streamanalyzer.dir/all] Error
2
make: *** [all] Error 2
Error: Status 1 encountered during processing.
$
}}}
0.5.7 had the same problem.
This looks like the age-old differing libiconv implementation error.
Different versions of libiconv implement the interface differently
(sometimes the same version of libiconv implements the interface
differently on different platforms or in different situations). The
software needs to detect which implementation is in place on the system at
hand, and use that one.
--
Ticket URL: <http://trac.macports.org/ticket/17602>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list