Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 185871

Summary: net-news/newsbeuter needs <net-libs/libnxml-0.18
Product: Gentoo Linux Reporter: Tim Weber <scy-bugs-gentoo>
Component: New packagesAssignee: Andrej Kacian (RETIRED) <ticho>
Status: RESOLVED WONTFIX    
Severity: normal CC: rbu
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Tim Weber 2007-07-19 14:45:52 UTC
Hi, please change the DEPEND from "net-libs/libnxml" to "<net-libs/libnxml-0.18".

Version 0.18 had some API changes which keep newsbeuter from compiling:
src/controller.cpp: In member function 'void newsbeuter::controller::import_opml(const char*)':
src/controller.cpp:422: error: cannot convert 'nxml_error_t' to 'nxml_t*' for argument '1' to 'char* nxml_strerror(nxml_t*, nxml_error_t)'
src/controller.cpp:428: error: cannot convert 'nxml_error_t' to 'nxml_t*' for argument '1' to 'char* nxml_strerror(nxml_t*, nxml_error_t)'

According to the author "0.17.2 is the last version that works". 0.17.1 is the last version in portage, newsbeuter compiles cleanly with it.

However, modifying the DEPEND accordingly doesn't help either: libmrss, another dependency of newsbeuter, depends on libnxml as well, but doesn't limit it to <0.18. This leads to portage pulling both versions as a dependency and thus a version conflict which causes emerge to die.

In my opinion, newsbeuter's DEPENDS on both mrss and nxml need to be <0.18, and the libmrss-0.17.1 needs modification in order to depend on nxml-0.17.1 or at least <0.18.
Comment 1 Tim Weber 2007-07-23 08:30:10 UTC
PS: One could of course as well wait for newsbeuter 0.5 to come out which will support both nxml and mrss 0.18. In the meantime, adding the following two lines to /etc/portage/package.mask works as well:

>=net-libs/libnxml-0.18
>=net-libs/libmrss-0.18
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2007-07-23 08:57:48 UTC
(In reply to comment #1)
> PS: One could of course as well wait for newsbeuter 0.5 to come out which will
> support both nxml and mrss 0.18. In the meantime, adding the following two
> lines to /etc/portage/package.mask works as well:
> 
> >=net-libs/libnxml-0.18
> >=net-libs/libmrss-0.18
> 

That of course depends on when is 0.5 planned to go out. :) Do you have any info on that?
Comment 3 Tim Weber 2007-07-23 09:02:46 UTC
Indeed, I do (IRC log freenode #newsbeuter July 19):

< Scytale> Okay, thanks. Any plans on when 0.5 will be released? Because actually I should be filing a bug report for Gentoo to limit nxml to <0.18, but if 0.5 comes out in, like, three days, that might not be necessary.

< _ak> no, it will still take a week or two for the next release. I've been on vacation in the last 3 weeks, and so it still takes some time to get back into development. also, I want to coordinate the release with the debian package manager (i.e. nion), and so I only want to start when he actually has time for it.
Comment 4 Tim Weber 2007-08-03 13:35:58 UTC
0.5 is out, please see bug #187587. Closing this as WONTFIX, a workaround for people who can't or won't use 0.5 has been provided nevertheless in comment #1.
Comment 5 Andrej Kacian (RETIRED) gentoo-dev 2007-08-03 21:53:45 UTC
0.5 added to the tree, with correct dependencies. Also 0.4 has been updated in
this regard. Thanks.

Oh, and I have pinged libmrss/nxml maintainer about this, he will update deps
in libmrss as well.
Comment 6 Robert Buchholz (RETIRED) gentoo-dev 2007-08-08 21:00:29 UTC
Fixed dependancy for net-libs/mrss-0.17.1, thanks for the hint.