| Summary: | new requires in php-pear-HTML_Template_Flexy brings in php-gtk2 causing scriptlet errors | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | David Walser <luigiwalser> |
| Component: | RPM Packages | Assignee: | Thomas Spuhler <thomas> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | oe |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | i586 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | php-pear-HTML_QuickForm-3.2.14-3.mga5.src.rpm | CVE: | |
| Status comment: | |||
|
Description
David Walser
2015-01-07 00:35:30 CET
Just a note that HTML_QuickForm seems to work as well as it did before even after I remove HTML_Template_Flexy, Gtk_VarDump, and php-gtk2, so I don't think the requirement is needed. Can we fix php-gtk2. It has to be removed from the box when building any pear programs It would certainly be nice to fix it. It'd also be nice to not have it installed when it doesn't need to be. CC:
(none) =>
oe Gtk_VarDump doesn't need the php-gtk2, but if it is installed it needs to patch Gtk_VarDump (which is a hassle on pear pacakges) has this code:
if (!extension_loaded('php-gtk')) {
dl('php_gtk.' .PHP_SHLIB_SUFFIX );
and needs to be
if (!extension_loaded('php-gtk')) {
dl('php_gtk2.' .PHP_SHLIB_SUFFIX );
^
I would love to drop php-gtk2 as technically we would need to add a "buildconflicts" to each pear package. But there is another pacakge that needs it:
$ urpmq --whatrequires php-gtk2
phoronix-test-suite (maint nobody)
php-gtk2
php-pear-Gtk_MDB_Designer
php-pear-Gtk_VarDump
php-pear-Gtk_MDB_Designer doesn't need it either but als needs the patch if php-gtk2 is installedStatus:
NEW =>
ASSIGNED We can drop phoronix-test-suite in Cauldron since it's unmaintained. It'd also be nice if the php-pear-HTML_QuickForm requires on php-pear-HTML_Template_Flexy would be dropped, because it's not needed. Also, in phoronix-test-suite, I only see gtk2 in some xml files, not in any php code. I wonder if it's really needed. Anyway, the easiest thing would probably be to just drop it and php-gtk2. phoronix-test-suite From Changelog in tar Phoronix Test Suite 3.0 Alpha 1 9 November 2010 - pts-core: Temporarily drop the GTK2 GUI until it's been rewritten to be compliant with the PTS3 architecture Fedora doesn't have it as a Requires either (In reply to David Walser from comment #5) > We can drop phoronix-test-suite in Cauldron since it's unmaintained. > > It'd also be nice if the php-pear-HTML_QuickForm requires on > php-pear-HTML_Template_Flexy would be dropped, because it's not needed. I will check it. It's easy with pear packages How are we going to drop php-gtk2? Add it to task-obsolete. There is no package that replaces it. (In reply to Thomas Spuhler from comment #9) > How are we going to drop php-gtk2? Add it to task-obsolete. There is no > package that replaces it. Yes. (In reply to Thomas Spuhler from comment #8) > (In reply to David Walser from comment #5) > > We can drop phoronix-test-suite in Cauldron since it's unmaintained. > > > > It'd also be nice if the php-pear-HTML_QuickForm requires on > > php-pear-HTML_Template_Flexy would be dropped, because it's not needed. > > I will check it. It's easy with pear packages It's an Autorequires. Have you tested it w/o php-pear-HTML_Template_Flexy? (In reply to Thomas Spuhler from comment #11) > (In reply to Thomas Spuhler from comment #8) > > (In reply to David Walser from comment #5) > > > We can drop phoronix-test-suite in Cauldron since it's unmaintained. > > > > > > It'd also be nice if the php-pear-HTML_QuickForm requires on > > > php-pear-HTML_Template_Flexy would be dropped, because it's not needed. > > > > I will check it. It's easy with pear packages > > It's an Autorequires. Have you tested it w/o php-pear-HTML_Template_Flexy? Yes, through Moodle, which uses HTML_QuickForm. It works just fine without HTML_Template_Flexy. added an "%global __requires_exclude pear\\(HTML/Template/Flexy.php\\)" Status:
ASSIGNED =>
RESOLVED Thanks! |