Am Freitag, den 11.12.2009, 09:07 +0100 schrieb Lucas Nussbaum: > Source: mediatomb > Version: 0.12.0~svn2018-4 > Severity: serious > User: debian...@lists.debian.org > Usertags: qa-ftbfs-20091210 qa-ftbfs > Justification: FTBFS on amd64 > > Hi, > > During a rebuild of all packages in sid, your package failed to build on > amd64. > > Relevant part: > > g++ -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc -I../src > > -I../tombupnp/ixml/inc -I../tombupnp/threadutil/inc -I../tombupnp/upnp/inc > > -I.. -I/usr/include/mysql -DBIG_JOINS=1 -DUNIV_LINUX -DUNIV_LINUX > > -I/usr/include/mozjs -I/usr/include/taglib -pthread > > -I/usr/include -I/usr/include -DDVDNAV_USES_EXTERNAL_DVDREAD -Wall -g -O2 > > -MT libmediatomb_a-tools.o -MD -MP -MF .deps/libmediatomb_a-tools.Tpo -c -o > > libmediatomb_a-tools.o `test -f '../src/tools.cc' || echo > > './'`../src/tools.cc > > ../src/tools.cc: In function 'zmm::String hex_decode_string(zmm::String)': > > ../src/tools.cc:306: error: invalid conversion from 'const char*' to 'char*' > > ../src/tools.cc:307: error: invalid conversion from 'const char*' to 'char*' > > ../src/tools.cc: In function 'zmm::String url_unescape(zmm::String)': > > ../src/tools.cc:402: error: invalid conversion from 'const char*' to 'char*' > > ../src/tools.cc:408: error: invalid conversion from 'const char*' to 'char*' > > make[3]: *** [libmediatomb_a-tools.o] Error 1 That FTBFS should happen on any architecture. I could reproduce it on i386, too.
If I didn't forget to attach it ;) there's a quilt patch attached that fixes the FTBFS but I did *NOT* test if it breaks anything. But I think the changes are harmless. Cheers - Fuddl
Index: mediatomb-0.12.0~svn2018/src/tools.cc =================================================================== --- mediatomb-0.12.0~svn2018.orig/src/tools.cc 2009-12-11 12:36:59.103010449 +0100 +++ mediatomb-0.12.0~svn2018/src/tools.cc 2009-12-11 12:41:30.483009123 +0100 @@ -303,8 +303,8 @@ Ref<StringBuffer> buf(new StringBuffer(len / 2)); for (int i = 0; i < len; i += 2) { - char *chi = strchr(HEX_CHARS, ptr[i]); - char *clo = strchr(HEX_CHARS, ptr[i + 1]); + char *chi = strchr((char *) HEX_CHARS, ptr[i]); + char *clo = strchr((char *) HEX_CHARS, ptr[i + 1]); int hi, lo; if (chi) @@ -399,13 +399,13 @@ char *pos; - pos = strchr(hex, chi); + pos = strchr((char *) hex, chi); if (!pos) hi = 0; else hi = pos - hex; - pos = strchr(hex, clo); + pos = strchr((char *) hex, clo); if (!pos) lo = 0; else
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
_______________________________________________ pkg-multimedia-maintainers mailing list pkg-multimedia-maintain...@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-multimedia-maintainers