| Summary: | net-ftp/filezilla fails to build with dev-libs/tinyxml installed | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
| Component: | New packages | Assignee: | Bernard Cafarelli <voyageur> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | net-ftp, ssuominen |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 314833 | ||
| Bug Blocks: | |||
| Attachments: | Build log | ||
|
Description
Diego Elio Pettenò (RETIRED)
2010-04-11 13:48:41 UTC
Created attachment 227379 [details]
Build log
Apparently filezilla can detect/use system tinyxml instead of builtin. I can fix it via "--with-tinyxml=builtin" in econf line, if I remember correctly that's the usual way of using this parser? ssuominen what do you think? If you opt to pursue that path, it would be a good idea to document somewhere (in a bug or in the ebuild) that the bundled tinyxml is not compatible with the system one. Sooner or later, someone will flag filezilla for shipping and using bundled libraries. When they do, it will save them some time to have a warning that the bundled library is required because of incompatibilities with the system library. (In reply to comment #2) > Apparently filezilla can detect/use system tinyxml instead of builtin. > > I can fix it via "--with-tinyxml=builtin" in econf line, if I remember > correctly that's the usual way of using this parser? ssuominen what do you > think? > Remove -DTIXML_USE_STL from CPPFLAGS in ${PORTDIR}/dev-libs/tinyxml/files/Makefile. Then recompile tinyxml, and try emergeing filezilla again. Why? Because if that works, we might want a USE flag "stl" in tinyxml's ebuild that will enable/disable the feature. And it might be possible for filezilla to depend on dev-libs/tinyxml[-stl] It's the way tinyxml is compiled, there's 2 ways, with and without STL. Indeed, filezilla compiles with system tinyxml without STL (and runs fine too), so dev-libs/tinyxml[-stl] would work (In reply to comment #5) > Indeed, filezilla compiles with system tinyxml without STL (and runs fine too), > so dev-libs/tinyxml[-stl] would work > *tinyxml-2.5.3_p20090813-r1 (12 Apr 2010) + + 12 Apr 2010; Samuli Suominen <ssuominen@gentoo.org> + +tinyxml-2.5.3_p20090813-r1.ebuild, files/Makefile, metadata.xml: + Support for USE="stl" wrt #314669 Leftover bug, this was fixed some time ago nope. Calculating dependencies ... done! [ebuild R ] dev-libs/tinyxml-2.6.2-r2 USE="stl -debug -doc -static-libs" 0 kB [ebuild R ] net-ftp/filezilla-3.5.3 USE="dbus nls -test" 0 kB checking for main in -ltinyxml... yes configure: error: Broken version TinyXML library detected. err wat? rsync -av /usr/portage/net-ftp/filezilla /usr/local/portage/net-ftp/ ... --- /usr/portage/net-ftp/filezilla/filezilla-3.5.3.ebuild 2012-01-10 17:09:47.000000000 -0500 +++ /usr/local/portage/net-ftp/filezilla/filezilla-3.5.3.ebuild 2012-03-25 20:44:50.648065711 -0400 @@ -22,7 +22,7 @@ RDEPEND=">=app-admin/eselect-wxwidgets-0.7-r1 >=dev-db/sqlite-3.7 - >=dev-libs/tinyxml-2.6.1-r1[stl] + >=dev-libs/tinyxml-2.6.1-r1[-stl] net-dns/libidn >=net-libs/gnutls-2.8.3 >=x11-libs/wxGTK-2.8.12:2.8[X] ... USE=-stl emerge -av1 dev-libs/tinyxml filezilla ... checking tinyxml.h usability... yes checking tinyxml.h presence... yes checking for tinyxml.h... yes checking for main in -ltinyxml... yes configure: error: Broken version TinyXML library detected. See http://sourceforge.net/tracker/index.php?func=detail&aid=3031828&group_id=13559&atid=313559 for details. If you cannot fix the version of TinyXML installed on your system, you can use the copy of TinyXML distributed with FileZilla by passing --with-tinyxml=builtin as argument to configure. ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff... This "Broken version TinyXML library detected" most probably indicates you have a copy of tinyxml installed somewhere on your system, and probably 2.6.1, which was broken and is detected by filezilla configure Please check that (for example, by removing tinxyml package and running ebuild configure on filezilla), and open a separate bugreport if you still have the problem (with emerge info, config log and all the fun stuff) |