php7.0 missing ming package/module

Bug #1777192 reported by Andrew Reis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ming (Ubuntu)
Invalid
Wishlist
Unassigned
php7.0 (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

No package exists for php7.0-ming

Tried to compile using latest ming source: http://www.libming.org/Releases

but receiving segfaults in kernel when running script that invokes ming modules.

Will there be a deb package created for the ming module? This should replicate php5-ming from trusty

Thanks,

Revision history for this message
Nish Aravamudan (nacc) wrote :

There was no PHP7 compatible ming when 16.04 released. Adding it seems like a fair amount of work, when it is available via PECL.

Also, it might be worth seeing if Debian will package it.

Finally, totally my opinion, but flash is dead, let's not try and resuscitate it in PHP.

Changed in php7.0 (Ubuntu):
importance: Undecided → Wishlist
Revision history for this message
Andrew Reis (areis422) wrote :

It isn't available via PECL anymore. Tell you to go to libming site to get from Github. Still have a product that needs SWF for near future.

Revision history for this message
Andrew Reis (areis422) wrote :

Latest version of Ming mentions PHP7 compat. Can someone look into packaging this please?

Revision history for this message
Andrew Reis (areis422) wrote :

user@host:~$ sudo pecl search ming
Retrieving data...0%
no packages found that match pattern "ming", for channel pecl.php.net.
user@host:~$ sudo pear search ming
Retrieving data...0%
no packages found that match pattern "ming", for channel pear.php.net.

user@host:~$ uname -a
Linux host 4.15.0-23-generic #25~16.04.1-Ubuntu SMP Fri May 25 04:50:20 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

user@host:~$ sudo dpkg -l | grep php7. | awk '{print $2}'
libapache2-mod-php7.0
php7.0-bcmath
php7.0-cli
php7.0-common
php7.0-curl
php7.0-dev
php7.0-gd
php7.0-json
php7.0-ldap
php7.0-mbstring
php7.0-mysql
php7.0-opcache
php7.0-readline
php7.0-sqlite3
php7.0-sybase
php7.0-xml
php7.0-zip

user@host:~$ pecl list-all | grep ming
PHP Warning: Invalid argument supplied for foreach() in /usr/share/php/PEAR/PackageFile/v2.php on line 1675
pecl/hrtime 0.6.0 High resolution timing
pecl/ming Binding for the ming library, swf generation (flash)

user@host:~$ sudo pecl install pecl/ming
No releases available for package "pecl.php.net/ming"
install failed

Revision history for this message
Nish Aravamudan (nacc) wrote :

If you need it only for the "near future", maybe just spin up a Trusty container.

afaict, ming is not package in Debian either.

You could try downloading the ming source package and updating it, but no idea if it will work. This seems like pretty low priority, tbh; it hasn't been present for the 2 years since 16.04 released and would live in universe anyways.

tags: added: needs-packaging
Changed in php7.0 (Ubuntu):
status: New → Invalid
Changed in ming (Ubuntu):
importance: Undecided → Wishlist
Changed in php7.0 (Ubuntu):
importance: Wishlist → Undecided
Revision history for this message
Nish Aravamudan (nacc) wrote :

FWIW, src:ming has been removed from Debian altogether.

Revision history for this message
Andrew Reis (areis422) wrote :

Understood, but source is still available and does not "compile by default" without causing segfault when script runs.

Revision history for this message
Nish Aravamudan (nacc) wrote :

Well, that makes it even *less* likely that we would try and package it -- a segfaulting library from upstream is not something we want in Ubuntu, right? Have you asked the upstream folks if this is a bug in their code? In any case, as php7.0-ming would be in universe, this needs someone who is willing to do the legwork in the community.

Andrew Reis (areis422)
Changed in ming (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.