Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 433090 - net-analyzer/zabbix: 'use' function invoked during metadata regeneration
Summary: net-analyzer/zabbix: 'use' function invoked during metadata regeneration
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Marlowe (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 433086
  Show dependency tree
 
Reported: 2012-08-28 19:42 UTC by Christian Ruppert (idl0r)
Modified: 2012-10-02 05:20 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Ruppert (idl0r) gentoo-dev 2012-08-28 19:42:03 UTC
WARNING: 'use' function invoked by net-analyzer/zabbix-1.8.15 during metadata regeneration.
WARNING: Please ensure upstream is aware of it and working to remove it.

WARNING: 'use' function invoked by net-analyzer/zabbix-2.0.2-r1 during metadata regeneration.
WARNING: Please ensure upstream is aware of it and working to remove it.


Please fix.
Comment 1 Matthew Marlowe (RETIRED) gentoo-dev 2012-08-28 22:51:04 UTC
I've never seen this warning before, how did you find it?  

And, to confirm, our concern is that one of their bash scripts makes references to another function called use which conflicts with portage....I'll point it out to upstream.
Comment 2 Matthew Marlowe (RETIRED) gentoo-dev 2012-08-28 23:08:30 UTC
Logged issue in upstreams bug tracker:
https://support.zabbix.com/browse/ZBX-5503
Comment 3 Diego Elio Pettenò (RETIRED) gentoo-dev 2012-08-28 23:16:40 UTC
No the problem is "use frontend && need_php_httpd". That's not legal for an ebuild to do.
Comment 4 Matthew Marlowe (RETIRED) gentoo-dev 2012-08-28 23:53:05 UTC
OK, I see -- purely on our side then -- well, at least I'll take comfort in the fact that I didn't write that code - I'll take a look and see if there is an easy way to rewrite that and any other similar constructs.  thanks.
Comment 5 Matthew Marlowe (RETIRED) gentoo-dev 2012-10-02 05:20:33 UTC
Replaced the call to the use function with added dependencies within the frontend rdepend section-
|| ( dev-lang/php[apache2] dev-lang/php[cgi] dev-lang/php[fpm] )

I'm hoping that this essentially does everything that the need_php_httpd function does.

Use function call removed.