Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376341 - media-libs/ming library can't compile module for php
Summary: media-libs/ming library can't compile module for php
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords: NeedPatch
Depends on:
Blocks:
 
Reported: 2011-07-25 11:44 UTC by Jonathan
Modified: 2013-01-12 11:43 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 Jonathan 2011-07-25 11:44:26 UTC
media-lib/ming can't compile language-binding for php.
In /usr/portage/profiles/base/package.use.mask, ming has php masked:
>=media-libs/ming-0.4.0_beta5 php

There is no bug reference, only a statement saying: 
Php module fails to build due to newer autotools

I tried removing the mask, and this leads to this error when emeging

 * Failed Running aclocal !
 *
 * Include in your bugreport the contents of:
 *
 *   /var/tmp/portage/media-libs/ming-0.4.3-r1/temp/aclocal.out
 * ERROR: media-libs/ming-0.4.3-r1 failed (prepare phase):
 *   Failed Running aclocal !
 *
 * Call stack:
 *     ebuild.sh, line   56:  Called src_prepare
 *   environment, line 6160:  Called php-ext-source-r2_phpize
 *   environment, line 3898:  Called eautoreconf
 *   environment, line 1600:  Called eaclocal
 *   environment, line 1533:  Called autotools_run_tool 'aclocal'
 *   environment, line 1119:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";
 *
 * If you need support, post the output of 'emerge --info =media-libs/ming-0.4.3-r1',
 * the complete build log and the output of 'emerge -pqv =media-libs/ming-0.4.3-r1'.

Output of emerge --info =media-libs/ming-0.4.3-r1:

Portage 2.1.10.3 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.12.2-r0, 2.6.38-gentoo-r6 i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.38-gentoo-r6-i686-Pentium_III_-Coppermine-with-gentoo-2.0.3
Timestamp of tree: Sun, 24 Jul 2011 22:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.1-r1, 3.1.3-r1
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.68
sys-devel/automake:       1.5-r1, 1.9.6-r3, 1.11.1
sys-devel/binutils:       2.20.1-r1
sys-devel/gcc:            4.4.5
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        1.5.26-r1, 2.2.10
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.36.1 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.2/ext-active/ /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.2/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.2/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="ftp://ftp.klid.dk/gentoo/ http://ftp.klid.dk/ftp/gentoo/ http://ftp.df.lth.se/pub/gentoo/ ftp://ftp.df.lth.se/pub/gentoo/"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.se.gentoo.org/gentoo-portage"
USE="aalib adns apache2 berkdb cgi crypt ctype curl fbcon flash ftp gd gdbm gif hardenedphp imagemagic imap imlib innodb ipv6 java jikes jpeg libwww maildir mbox ming mmx mysql mysqli ncurses nls nptl nptlonly oerl pam pcre pdflib perl php png python readline sasl session sieve slang snmp spl sse ssl svga tcltk tcpd tiff tokenizer truetype unicode usb vchroot x86 xml xml2 zip zlib" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" KERNEL="linux" PHP_TARGETS="php5-3 php5-2" USERLAND="GNU"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

 * The complete build log is located at '/var/tmp/portage/media-libs/ming-0.4.3-r1/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-libs/ming-0.4.3-r1/temp/environment'.
 * S: '/var/tmp/portage/media-libs/ming-0.4.3-r1/work/ming-0.4.3'
 

I also tried instaling a version, lower than ming-0.4.0_beta5 by manually getting the ebuilds. This also fails.

What can I do to get a version of ming working with php?
It does not matter what version of PHP.

Reproducible: Always

Steps to Reproduce:
1. emerge ming with php useflag
2. restart apache
3. look in phpinfo() (no ming present)
Actual Results:  
Apache and php works fine. Ming module not loaded (not present)

Expected Results:  
Ming module should have been loaded, and ming info shold be in phpinfo()
Comment 1 Pacho Ramos gentoo-dev 2011-07-25 18:07:39 UTC
(In reply to comment #0)
[...]
>  * Include in your bugreport the contents of:
>  *
>  *   /var/tmp/portage/media-libs/ming-0.4.3-r1/temp/aclocal.out
>  * ERROR: media-libs/ming-0.4.3-r1 failed (prepare phase):
[...]

Please include that one
Comment 2 Jonathan 2011-07-25 22:18:02 UTC
(In reply to comment #1)
> (In reply to comment #0)
> [...]
> >  * Include in your bugreport the contents of:
> >  *
> >  *   /var/tmp/portage/media-libs/ming-0.4.3-r1/temp/aclocal.out
> >  * ERROR: media-libs/ming-0.4.3-r1 failed (prepare phase):
> [...]
> 
> Please include that one

Here:

***** aclocal *****
***** PWD: /var/tmp/portage/media-libs/ming-0.4.3-r1/work/ming-0.4.3/php_ext
***** aclocal

aclocal-1.11: `configure.ac' or `configure.in' is required
Comment 3 Pacho Ramos gentoo-dev 2011-07-26 10:54:38 UTC
This package doesn't have a maintainer for now, then, you will probably get no reply soon :-(, but will CC the maintainer who added the mask as maybe he knows what is occurring.
Comment 4 Pacho Ramos gentoo-dev 2012-03-04 09:31:04 UTC
retry with ming-0.4.3-r2 please
Comment 5 Marco Colombetti 2012-11-13 15:56:48 UTC
I'm trying to building app-office/calligra-2.5.3 and media-libs/ming-0.4.3-r2  doesn't compile, but ming-0.4.4 yes.
So if it possible to stabilize ming-0.4.4, the calligra users (maybe i'm the only?!)  can build it!
Thanks
Comment 6 Sergey Popov gentoo-dev 2012-12-02 10:30:21 UTC
Stabilization of new ming library is handled in bug #445440. I think we can just drop old version after all arches stabilize new one...
Comment 7 Sergey Popov gentoo-dev 2013-01-12 11:43:40 UTC
0.4.4 is stabilized now, closing this as fixed, per last comments