php7.0 missing ming package/module

Bug #1777192 reported by Andrew Reis on 2018-06-15
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ming (Ubuntu)
php7.0 (Ubuntu)

Bug Description

No package exists for php7.0-ming

Tried to compile using latest ming source:

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


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
Andrew Reis (drew-reis) 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.

Andrew Reis (drew-reis) wrote :

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

Andrew Reis (drew-reis) wrote :

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

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}'

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 ""
install failed

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
Nish Aravamudan (nacc) wrote :

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

Andrew Reis (drew-reis) wrote :

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

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.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers