Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 137204 - media-gfx/pstoedit-3.42 compile failure in /usr/include/mingpp.h
Summary: media-gfx/pstoedit-3.42 compile failure in /usr/include/mingpp.h
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
: 161430 169037 (view as bug list)
Depends on: 139024
Blocks:
  Show dependency tree
 
Reported: 2006-06-18 13:49 UTC by Mathieu Z
Modified: 2008-11-07 01:44 UTC (History)
14 users (show)

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


Attachments
config.log (config.log,51.37 KB, text/plain)
2006-08-17 02:09 UTC, Martin Mokrejš
Details
ming-0.2a-mingpp-addstring.patch (ming-0.2a-mingpp-addstring.patch,580 bytes, patch)
2007-03-02 20:27 UTC, Thomas Scheiblauer
Details | Diff
ming-0.2a-r3.ebuild (ming-0.2a-r3.ebuild,2.81 KB, patch)
2007-03-02 20:27 UTC, Thomas Scheiblauer
Details | Diff
/var/tmp/portage/media-gfx/pstoedit-3.44/temp/build.log (build.log,96.73 KB, text/plain)
2007-12-07 08:11 UTC, Martin Mokrejš
Details
/var/tmp/portage/media-gfx/pstoedit-3.44/work/pstoedit-3.44/config.log (config.log,57.80 KB, text/plain)
2007-12-07 08:12 UTC, Martin Mokrejš
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Z 2006-06-18 13:49:00 UTC
emerge --info:
============================================================================
$ emerge --info
Portage 2.1.1_pre1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16-gentoo-r9 i686)
=================================================================
System uname: 2.6.16-gentoo-r9 i686 AMD Athlon(tm) XP 3000+
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon-xp -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"
LANG="en_US.UTF-8"
LINGUAS="en zh_CN zh_TW ja"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/portage-xgl"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib acl acpi aim alsa apache2 audiofile avi bash-completion bcmath berkdb bitmap-fonts blas bluetooth bzip2 calendar cdb cdinstall cdparanoia cdr chasen cjk clamav cli crypt cscope ctype cups curl curlwrapper dba dbus dbx dga dio directfb dlloader dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss encode esd exif expat fam fastcgi fbcon ffmpeg fftw firefox flac flash foomaticdb fortran freetds freewnn ftp gb gcj gd gdbm gif ginac glut gnome gnustep gnutls gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hal howl icc iconv icq idn ieee1394 imagemagick imap imlib immqt-bc innodb ipv6 isdnlog jabber jack java javascript jikes joystick jpeg jpeg2k kde kdeenablefile kdeenablefinal kdehiddenvisibility kdexdeltas kerberos krb4 lapack lash lcms ldap lemi lesstif libcaca libedit libg++ libgda libwww lirc m17n-lib mad mikmod mime ming mmx mmxext mng motif mp3 mpeg mpi msn msql mssql mule mysql mysqli ncurses neXt netboot nis nls nptl nptlonly nsplugin odbc ofx ogg oggvorbis openal openexr opengl osc oscar pam pcre pda pdf pdflib perl php plotutils png portaudio posix postgres ppds pppd python qt qt4 quicktime readline recode reflection ruby samba scanner sdl session simplexml slang socket5 sockets speex spell spl sse sse2 ssl svg svga szip tcltk tcpd tetex theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vhosts videos vorbis wddx wifi win32codecs wmf wxwindows xine xinerama xml xml2 xmlrpc xmms xorg xosd xprint xsl xv xvid yahoo yaz zip zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_joystick kernel_linux linguas_en linguas_zh_CN linguas_zh_TW linguas_ja userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
============================================================================
emerge -pv pstoedit:

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] media-gfx/pstoedit-3.42  USE="plotutils -emf" 0 kB
============================================================================
..................................
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.42\" "-DPACKAGE_STRING=\"pstoedit 3.42\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.42\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp  -fPIC -DPIC -o .libs/drvswf.o
drvbase.h:698: warning: 'class basedrawingelement' has virtual functions but non-virtual destructor
/usr/include/mingpp.h: In member function 'void SWFText::addString(const char*, float*)':
/usr/include/mingpp.h:631: error: cannot convert 'float*' to 'int*' for argument '3' to 'void SWFText_addString(void*, const char*, int*)'
make[1]: *** [drvswf.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/pstoedit-3.42/work/pstoedit-3.42/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/pstoedit-3.42 failed.
Call stack:
  ebuild.sh, line 1540:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  pstoedit-3.42.ebuild, line 50:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 1 Robin Bankhead 2006-06-26 12:50:37 UTC
Same here, craps out at same location.

Portage 2.1.1_pre1-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo i686)
=================================================================
System uname: 2.6.17-gentoo i686 Intel(R) Celeron(R) CPU 2.60GHz
Gentoo Base System version 1.12.1
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r2
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla-firefox/components /usr/lib/mozilla-firefox/searchplugins /usr/lib/mozilla-thunderbird/components /usr/share/X11/xkb /usr/share/config /usr/share/wine"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks metadata-transfer nodoc sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/"
LINGUAS="en_GB"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://brazil/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 apm arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups dbus dio dri dvd dvdread eds emboss encode esd ffmpeg flac flash foomaticdb fortran gdbm gif gpm gstreamer gtk2 hal i8x0 ieee1394 imagemagick imlib innodb isdnlog java javascript jpeg kde libg++ libwww mad matroska mikmod mmx motif mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcmcia pcntl pcre pdflib perl php png posix ppds pppd python qt quicktime readline reflection samba sdl session sharedmem soap sockets spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vcd vhosts vorbis wifi win32codecs xcomposite xine xinerama xml xmlrpc xmms xorg xsl xv xvid xvmc zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_en_GB userland_GNU video_cards_i810 video_cards_fbdev video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Ed Catmur 2006-07-03 13:20:46 UTC
It's not supposed to even try to build ming support. --without-ming needs to be added to configure.
Comment 3 Ed Catmur 2006-07-03 13:30:27 UTC
Uh, that should be --without-swf.
Comment 4 Bernd Waibel 2006-08-05 07:44:19 UTC
Using the ming-0.3.0-r1 ebuild from Bug # 121716 pstoedit-3.42 compiles actually without any problems.This info might be outdated, as there seems to be already version 3.44 of pstoedit out, although it;s currently not yet in portage.

Comment 5 Martin Mokrejš 2006-08-17 01:54:13 UTC
The answer why it probably tries to compile against ming is the following:

checking for main in -lming... yes
checking mingpp.h usability... no
checking mingpp.h presence... yes
configure: WARNING: mingpp.h: present but cannot be compiled
configure: WARNING: mingpp.h:     check for missing prerequisite headers?
configure: WARNING: mingpp.h: see the Autoconf documentation
configure: WARNING: mingpp.h:     section "Present But Cannot Be Compiled"
configure: WARNING: mingpp.h: proceeding with the preprocessor's result
configure: WARNING: mingpp.h: in the future, the compiler will take precedence
configure: WARNING:     ## --------------------------------------- ##
configure: WARNING:     ## Report this to wglunz34_AT_pstoedit.net ##
configure: WARNING:     ## --------------------------------------- ##
checking for mingpp.h... yes
[...]
configure: creating ./config.status
config.status: creating Makefile
chmod: cannot access `config/pstoedit-config': No such file or directory
config.status: creating src/Makefile
chmod: cannot access `config/pstoedit-config': No such file or directory
config.status: creating config/Makefile
chmod: cannot access `config/pstoedit-config': No such file or directory
config.status: creating config/pstoedit-config
config.status: creating config/pstoedit.pc
config.status: creating doc/Makefile
config.status: creating examples/Makefile
[...]

I will attach the config.log.

# emerge --info
Portage 2.1.1_pre5-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17.7 i686)
=================================================================
System uname: 2.6.17.7 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System version 1.12.4
Last Sync: Wed, 16 Aug 2006 20:00:06 +0000
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python:     2.3.4-r1, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /u
sr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/spool/PBS /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo 
/etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --tim
eout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm asf ati avi berkdb bitmap-fonts bonobo caca cdparanoia cdr cli cpudetectio
n crypt cscope ctype cups curl dba dga directfb divx divx5 divx5linux dlloader dri dts dv dvb dvd dvdr dvdread eds elibc_glibc emacs emacs
-w3 emboss emf encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gd gdbm ggi gif gphoto
2 gpm gstreamer gtk gtk2 gtkhtml highvolume i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb input_devices_evdev input_
devices_keyboard input_devices_mouse isdnlog ithreads java jpeg kerberos kernel_linux lcms leim libcaca libedit libg++ libwww lirc live lz
o mad matroska mcal mesa mhash mikmod ming mmx mmx2 mmxext modplug motif mozilla mp3 mpeg mule musepack mysql ncurses network nls nptl npt
lonly ogg oggvorbis opengl oss pam pcre pda pdflib perl plotutils plugin png ppds pppd pthread pthreads python qt qt3 qt4 qtx quicktime re
adline reflection rtc samba scanner scp server session slp spell spl sse sse2 ssl stroke tcl tcltk tcpd tetex theora thread threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales v4l v4l2 vcd video_cards_ati vorbis win32codecs winvidix w
mf x264 xanim xml xml2 xmms xorg xosd xprint xv xvid xvmc zeo zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 6 Martin Mokrejš 2006-08-17 02:09:03 UTC
Created attachment 94438 [details]
config.log
Comment 7 Jim Ramsay (lack) (RETIRED) gentoo-dev 2006-08-31 13:48:45 UTC
I was experiencing the same problem, but found a solution:

This looks to me like bug #29724

According to that bug (and a comment in the ebuild), ming support *should* be disabled in the ebuild.  But obviously ./configure is still looking for it.

I was able to add "--without-swf" to the econf line in the ebuild and it built for me.
Comment 8 Martin Mokrejš 2006-09-27 00:55:35 UTC
I have notified upstream and provided the header file from 

vrapenec ~ # find / -name mingpp.h
/usr/include/mingpp.h
vrapenec ~ # equery belongs /usr/include/mingpp.h
[ Searching for file(s) /usr/include/mingpp.h in *... ]
media-libs/ming-0.2a-r3 (/usr/include/mingpp.h)
Interrupted by user, aborting.
vrapenec ~ # 


Wolfgang Glunz wrote:

>> Hi Martin,
>> 
>> Thanks for the pointer. This is the first time I hear about such a
>> "problem". But I do not really understand. I have several backup snapshots
>> of the ming library here and also took a look at the current CVS version. In
>> all of them the function SWFText::addString is defined as: 
>> 
>> void addString(const char *string, int *advance=NULL)
>> 
>> So I do not understand why in the version used in that build that function
>> seems to have a second argument of type int*.
>> 
>> DO you have access to such a system? If yes - could you send me the mingpp.h
>> header?
>> 
>> Best Regards
>> 
>> Wolfgang
>> 
>> 
>> 
>
>>>>-----Original Message-----
>>>>From: Martin MOKREJ
Comment 9 Martin Mokrejš 2006-09-27 00:55:35 UTC
I have notified upstream and provided the header file from 

vrapenec ~ # find / -name mingpp.h
/usr/include/mingpp.h
vrapenec ~ # equery belongs /usr/include/mingpp.h
[ Searching for file(s) /usr/include/mingpp.h in *... ]
media-libs/ming-0.2a-r3 (/usr/include/mingpp.h)
Interrupted by user, aborting.
vrapenec ~ # 


Wolfgang Glunz wrote:

>> Hi Martin,
>> 
>> Thanks for the pointer. This is the first time I hear about such a
>> "problem". But I do not really understand. I have several backup snapshots
>> of the ming library here and also took a look at the current CVS version. In
>> all of them the function SWFText::addString is defined as: 
>> 
>> void addString(const char *string, int *advance=NULL)
>> 
>> So I do not understand why in the version used in that build that function
>> seems to have a second argument of type int*.
>> 
>> DO you have access to such a system? If yes - could you send me the mingpp.h
>> header?
>> 
>> Best Regards
>> 
>> Wolfgang
>> 
>> 
>> 
>
>>>>-----Original Message-----
>>>>From: Martin MOKREJ [mailto:mmokrejs@ribosome.natur.cuni.cz] 
>>>>Sent: Tuesday, September 19, 2006 11:57 PM
>>>>To: wglunz34_AT_pstoedit.net
>>>>Subject: Cannot compile pstoedit-3.42/3.44 
>>>>
>>>>
>>>>Hi,
>>>>  are you aware of this issue with pstoedit compilation?
>>>>
>>>>http://bugs.gentoo.org/show_bug.cgi?id=137204
>>>>http://bugs.gentoo.org/show_bug.cgi?id=139024
>>>>
>>>>Thanks for any help.
>>>>martin
Comment 10 Martin Mokrejš 2006-09-27 12:09:10 UTC
It seems my media-libs/ming-0.2a-r3 is too old.

> Hi Martin,
>
> Do you know which version of libming is installed on your system? The
> mingpp.h seems to be very old. Could you also send my the ming.h file,
> please.
> 
> Thanks
> 
> Wolfgang
Comment 11 Mohamed M. Hagag 2006-09-30 10:25:19 UTC
i think found a good solution; 
1- unmerge ming-0.2a-r3 and mask it :)
2- emerge ming-0.2a-r2 
3- emerge pstoedit-0.3.42
and every thing will be ok .

i found that ming-0.2a-r2 don't provide mingpp.h and although the pstoedit merged well and i think you should remerge any package depends on ming after that.
Comment 12 Martin Mokrejš 2006-10-08 15:19:26 UTC
The official answer from Wolfgang regarding my/our ming header file is

"
Hi Martin,

Yes the ming.h is from

#define MING_VERSION        0.2a
#define MING_VERSION_TEXT  "0.2a"


You should upgrade to version 0.3 . That will resolve the problem.
"
Comment 13 Martin Mokrejš 2006-10-09 00:06:28 UTC
But the required ming package is masked even on systems where -php applies. :(

# emerge -u =media-libs/ming-0.3.0
Calculating dependencies   
!!! All ebuilds that could satisfy "=media-libs/ming-0.3.0" have been masked.
!!! One of the following masked packages is required to complete your request:
- media-libs/ming-0.3.0 (masked by: package.mask)
# Luca Longinotti <chtekk@gentoo.org> (29 Aug 2006)
# Masking media-libs/ming-0.3.0, breaks PHP compilation and ships its own
# PHP bindings the wrong way
...
Comment 14 Jakub Moc (RETIRED) gentoo-dev 2007-01-10 23:01:05 UTC
*** Bug 161430 has been marked as a duplicate of this bug. ***
Comment 15 Dave 2007-01-20 15:39:19 UTC
Can't update to media-gfx/autotrace-0.31.1-r2, because it wants to merge media-gfx/pstoedit-3.42.  media-gfx/pstoedit-3.42 won't compile
Comment 16 Jean Bréfort 2007-01-21 08:37:21 UTC
 x86_64-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.42\" "-DPACKAGE_STRING=\"pstoedit 3.42\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.42\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -I. -I. -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib64/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -g -MT drvwmf.lo -MD -MP -MF .deps/drvwmf.Tpo -c drvwmf.cpp  -fPIC -DPIC -o .libs/drvwmf.o
/usr/include/libEMF/wine/winbase.h: In function 'void* InterlockedCompareExchangePointer(void**, void*, void*)':
/usr/include/libEMF/wine/winbase.h:1808: error: cast from 'void*' to 'LONG' loses precision
/usr/include/libEMF/wine/winbase.h:1808: error: cast from 'void*' to 'LONG' loses precision
/usr/include/libEMF/wine/winbase.h: In function 'void* InterlockedExchangePointer(void**, void*)':
/usr/include/libEMF/wine/winbase.h:1813: error: cast from 'void*' to 'LONG' loses precision
drvbase.h: At global scope:
drvbase.h:698: warning: 'class basedrawingelement' has virtual functions but non-virtual destructor
make[1]: *** [drvwmf.lo] Erreur 1
make[1]: quittant le répertoire « /var/tmp/portage/media-gfx/pstoedit-3.42/work/pstoedit-3.42/src »
make: *** [all-recursive] Erreur 1

!!! ERROR: media-gfx/pstoedit-3.42 failed.
Call stack:
  ebuild.sh, line 1611:   Called dyn_compile
  ebuild.sh, line 968:   Called qa_call 'src_compile'
  environment, line 3329:   Called src_compile
  pstoedit-3.42.ebuild, line 47:   Called die

emerge --info:
Portage 2.1.2-r1 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.1, glibc-2.5-r0, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.9
Timestamp of tree: Sun, 21 Jan 2007 07:20:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -g -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=athlon64 -g -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="fr_FR.UTF-8"
LC_ALL="fr_FR.UTF-8"
LINGUAS="fr de es it pl ru zh_CN"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa amd64 berkdb bitmap-fonts blas bonobo bzip2 bzlib cdr chipcard clamav cli cpdflib cracklib crypt cups curl dba dbus debug dlloader doc dri dvd dvdr esd evolution firefox fortran ftp gamin gd gdbm gif gimp gnome gpm gtk gtk2 guile hal hbci hdf5 iconv imap ipv6 isdnlog javascript jpeg libg++ mopac7 mpqc ncurses nls nptl nptlonly nsplugin ofx ogg openbabel opengl pam pcre pdf perl png pop postgres ppds pppd print python quotes readline reflection samba session spl ssl svg tcpd tetex threads tiff toolbar truetype truetype-fonts type1-fonts udev unicode userlocales vorbis xml xml2 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="fr de es it pl ru zh_CN" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 17 Alexandre Buisse (RETIRED) gentoo-dev 2007-02-23 21:41:09 UTC
This should be fixed now. Thanks to Denis Dupeyron and Ed Catmur for the patch.

Feel free to reopen if you are still hitting this issue.
Comment 18 Martin Mokrejš 2007-02-28 00:38:18 UTC
It is still not fixed, someone please reopen.

if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" -DPACKAGE_STRING=\"pstoedit\ 3.44\" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1  -I. -I.  -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC   -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib/pstoedit\"" -DBUGGYGPP  -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith  -D_LITTLE_ENDIAN  -g -MT drvswf.lo -MD -MP -MF ".deps/drvswf.Tpo" -c -o drvswf.lo drvswf.cpp; \
        then mv -f ".deps/drvswf.Tpo" ".deps/drvswf.Plo"; else rm -f ".deps/drvswf.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" "-DPACKAGE_STRING=\"pstoedit 3.44\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp  -fPIC -DPIC -o .libs/drvswf.o
/usr/include/mingpp.h: In member function ‘void SWFText::addString(const char*, float*)’:
/usr/include/mingpp.h:631: error: cannot convert ‘float*’ to ‘int*’ for argument ‘3’ to ‘void SWFText_addString(void*, const char*, int*)’
make[1]: *** [drvswf.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/pstoedit-3.44/work/pstoedit-3.44/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/pstoedit-3.44 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 3286:   Called src_compile
  pstoedit-3.44.ebuild, line 49:   Called die

[...]

*  media-libs/ming
      Latest version available: 0.2a-r3
      Latest version installed: 0.2a-r3
Comment 19 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 20:18:05 UTC
*** Bug 169037 has been marked as a duplicate of this bug. ***
Comment 20 Jakub Moc (RETIRED) gentoo-dev 2007-03-02 20:18:24 UTC
Reopen...
Comment 21 Thomas Scheiblauer 2007-03-02 20:27:20 UTC
Created attachment 111841 [details, diff]
ming-0.2a-mingpp-addstring.patch

Fix for mingpp.h
Comment 22 Thomas Scheiblauer 2007-03-02 20:27:51 UTC
Created attachment 111843 [details, diff]
ming-0.2a-r3.ebuild

Updated ebuild
Comment 23 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:01:42 UTC
pstoedit-3.44 forces --without-swf so this should be fixed. Enabling swf support will be made possible when ming-0.3 comes out of package.mask. Please reopen if 3.44 does not fix the issue for you.
Comment 24 Martin Mokrejš 2007-04-25 18:47:33 UTC
Someone please reopen, it still happens for me.

if /bin/sh ../libtool --tag=CXX --mode=compile i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" -DPACKAGE_STRING=\"pstoedit\ 3.44\" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1  -I. -I.  -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC   -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR="\"/usr/share/pstoedit\"" -DPSTOEDITLIBDIR="\"/usr/lib/pstoedit\"" -DBUGGYGPP  -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith  -D_LITTLE_ENDIAN  -g -MT drvswf.lo -MD -MP -MF ".deps/drvswf.Tpo" -c -o drvswf.lo drvswf.cpp; \
        then mv -f ".deps/drvswf.Tpo" ".deps/drvswf.Plo"; else rm -f ".deps/drvswf.Tpo"; exit 1; fi
 i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"pstoedit\" -DPACKAGE_TARNAME=\"pstoedit\" -DPACKAGE_VERSION=\"3.44\" "-DPACKAGE_STRING=\"pstoedit 3.44\"" -DPACKAGE_BUGREPORT=\"wglunz34_AT_pstoedit.net\" -DPACKAGE=\"pstoedit\" -DVERSION=\"3.44\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_DIRENT_H=1 -DHAVE_LIBGD=1 -I. -I. -DHAVE_LIBPLOTTER -DHAVE_LIBMING -DHAVE_MKSTEMP -DHAVE_MAGIC -I/usr/include/libEMF -DHAVE_LIBEMF -DHAVE_LIBPNG -DDEFAULTGS=/usr/bin/gs -DPSTOEDITDATADIR=\"/usr/share/pstoedit\" -DPSTOEDITLIBDIR=\"/usr/lib/pstoedit\" -DBUGGYGPP -Wall -Wwrite-strings -Wcast-qual -Wpointer-arith -D_LITTLE_ENDIAN -g -MT drvswf.lo -MD -MP -MF .deps/drvswf.Tpo -c drvswf.cpp  -fPIC -DPIC -o .libs/drvswf.o
/usr/include/mingpp.h: In member function ‘void SWFText::addString(const char*, float*)’:
/usr/include/mingpp.h:631: error: cannot convert ‘float*’ to ‘int*’ for argument ‘3’ to ‘void SWFText_addString(void*, const char*, int*)’
make[1]: *** [drvswf.lo] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/pstoedit-3.44/work/pstoedit-3.44/src'
make: *** [all-recursive] Error 1

!!! ERROR: media-gfx/pstoedit-3.44 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  pstoedit-3.44.ebuild, line 49:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/media-gfx/pstoedit-3.44/temp/build.log'.

# emerge --info
Portage 2.1.2.4 (default-linux/x86/2006.0, gcc-4.1.2, glibc-2.5-r1, 2.6.20.6 i686)
=================================================================
System uname: 2.6.20.6 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Gentoo Base System release 1.12.10
Timestamp of tree: Wed, 25 Apr 2007 17:30:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r5
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.23b
virtual/os-headers:  2.6.20-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /usr/spool/PBS /var/bind /var/qmail/alias /var/qmail/control /var/vpopmail/domai
ns /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en cs cz"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --tim
eout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="FFmpeg X Xaw3d a52 aac aalib acpi alsa amr apache2 apm asf ati avi berkdb bitmap-fonts bonobo caca cairo cdparanoia cdr cli cpudetect
ion cracklib crypt cscope ctype cups curl dba dga directfb divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss
 emf encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg flac flash foomaticdb fortran fvwm fvwm2 gb gcj gd gdbm ggi gif gphoto2 gpm 
gstreamer gtk gtk2 gtkhtml highvolume i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads java jpeg kerbe
ros lcms leim libcaca libedit libg++ libwww live lzo mad matroska mcal mesa mhash midi mikmod ming mmx mmx2 mmxext mng modplug motif mozil
la mp3 mpeg mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl oss pam pcre pda pdf pdflib perl plotutils plugin p
ng poppler ppds pppd pthread pthreads python qt qt3 qt4 qtx quicktime readline reflection rtc samba scanner scp server session slp spell s
pl sse sse2 ssl stroke svg tcl tcltk tcpd tetex theora thread threads tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales 
v4l v4l2 vcd vorbis win32codecs winvidix wmf x264 x86 xanim xml xml2 xorg xosd xprint xv xvid xvmc zeo zlib" ALSA_CARDS="ali5451 als4000 a
tiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident 
usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug l
adspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="l
inux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="r
adeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSY
NC_EXTRA_OPTS
Comment 25 Petteri Räty (RETIRED) gentoo-dev 2007-04-25 18:53:26 UTC
(In reply to comment #24)
> Someone please reopen, it still happens for me.
> 

reopening
Comment 26 Martin Mokrejš 2007-12-06 16:54:45 UTC
I still get the problem with  media-libs/ming-0.2a-r3 and media-gfx/pstoedit-3.44. Still no possibility to unmask to ming-0.3?
Comment 27 Ed Catmur 2007-12-06 23:19:48 UTC
(In reply to comment #26)
> I still get the problem with  media-libs/ming-0.2a-r3 and
> media-gfx/pstoedit-3.44. Still no possibility to unmask to ming-0.3?

Seems unlikely.  Can you post config.log from media-gfx/pstoedit-3.44?
Comment 28 Martin Mokrejš 2007-12-07 08:11:12 UTC
Created attachment 137948 [details]
/var/tmp/portage/media-gfx/pstoedit-3.44/temp/build.log
Comment 29 Martin Mokrejš 2007-12-07 08:12:06 UTC
Created attachment 137950 [details]
/var/tmp/portage/media-gfx/pstoedit-3.44/work/pstoedit-3.44/config.log
Comment 30 Martin Mokrejš 2007-12-07 08:13:28 UTC
# emerge --info
Portage 2.1.4_rc7 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r0, 2.6.23.8 i686)
=================================================================
System uname: 2.6.23.8 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.80GHz
Timestamp of tree: Thu, 06 Dec 2007 10:30:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.3
dev-lang/python:     2.3.6-r3, 2.4.4-r6, 2.5.1-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/bind /var/qmail/alias /var/qmail/control /var/spool/torque /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LINGUAS="en cs cz"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="FFmpeg X Xaw3d a52 aac aalib acl acpi alsa amr amrnb amrwb apache2 asf ati avi berkdb bitmap-fonts bonobo caca cairo cddb cdio cdparanoia cdr cli cpudetection cracklib crypt cscope ctype cups curl dba dbus dga divx divx5 divx5linux dri dts dv dvb dvd dvdr dvdread eds emacs emacs-w3 emboss emf enblend encode ethereal evo f77 faad faad2 fam fame fbcon ffmpeg firefox flac flash fortran fvwm fvwm2 gb gcj gd gdbm ggi gif gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal highvolume i8x0 icc iconv ieee1394 ifc imagemagick imlib imlib2 inifile innodb isdnlog ithreads jack java jpeg kdtree kerberos lcms leim libcaca libedit libwww live lzo mad matroska mcal mesa mhash midi mikmod ming mjpeg mmx mmx2 mmxext mng modplug motif mozilla mp2 mp3 mpeg mpi mudflap mule musepack mysql ncurses network nls nptl nptlonly ogg oggvorbis opengl openmp oss pam pcre pda pdf pdflib perl plotutils plugin png poppler ppds pppd pthread pthreads python qt qt3 qt3support qt4 qtx quicktime readline reflection rtc samba scanner scp server session sift slp spell spl sse sse2 ssl stroke svg tcl tcltk tcpd tetex theora thread threads tiff tk truetype truetype-fonts type1-fonts unicode usb userlocales v4l v4l2 vcd vidix vorbis win32codecs winvidix wlan wmf x264 x86 xanim xml xml2 xorg xosd xprint xv xvid xvmc zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon 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 deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en cs cz" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

# cat /etc/portage/package.use
media-gfx/pstoedit emf
Comment 31 Ed Catmur 2007-12-07 09:40:25 UTC
(In reply to comment #28)
> Created an attachment (id=137948) [edit]
> /var/tmp/portage/media-gfx/pstoedit-3.44/temp/build.log
--->8---
This ebuild is from an overlay: '/usr/local/portage/'
--->8---

What happens when you use the ebuild in Portage?
Comment 32 Martin Mokrejš 2007-12-07 09:54:41 UTC
Hmm, you are right. I can compile it now regardless this line:

# cat /etc/portage/package.use
media-gfx/pstoedit emf

Thanks for your help.
Comment 33 Ed Catmur 2007-12-07 12:34:45 UTC
So this bug can be marked fixed now?
Comment 34 Martin Mokrejš 2007-12-07 15:18:28 UTC
Seems it is fixed. ;-)
Comment 35 Alexis Ballier gentoo-dev 2008-01-26 12:06:46 UTC
(In reply to comment #34)
> Seems it is fixed. ;-)
> 

then let's close it hopefuly for good now ;)
Comment 36 Martin Mokrejš 2008-02-01 12:40:50 UTC
Can compile with media-libs/ming-0.2a-r3 and

[ebuild   R   ] media-gfx/pstoedit-3.45  USE="emf imagemagick plotutils" 0 kB

based on the fact that --without-swf is now forced by the ebuild.

Please stabilize for x86 at least.
Comment 37 Petteri Räty (RETIRED) gentoo-dev 2008-02-01 21:31:33 UTC
(In reply to comment #36)
> 
> Please stabilize for x86 at least.
> 

Better to file a new bug for that. Did this in bug 208509.
Comment 38 Christophe LEFEBVRE 2008-09-06 22:09:27 UTC
The last valided version pstoedit-3.45.ebuild compiles fine with and without the flags "emf imagemagick plotutils", an this, on x86 (Intel(R) Pentium(R) 4 Mobile CPU 1.90GHz)
Comment 39 Martin Mokrejš 2008-09-26 18:22:46 UTC
(In reply to comment #38)
> The last valided version pstoedit-3.45.ebuild compiles fine with and without
> the flags "emf imagemagick plotutils", an this, on x86 (Intel(R) Pentium(R) 4
> Mobile CPU 1.90GHz)
> 

Same here on ~x86 with media-libs/ming-0.4.0_rc1, media-gfx/pstoedit-3.45 .

# cat /etc/portage/package.use 
media-gfx/pstoedit emf swf imagemagick plotutils
Comment 40 Martin Mokrejš 2008-09-26 18:28:42 UTC
To get SWF support re-enabled due to already in-place media-libs/ming-0.4.0_rc1 I filed bug #238803 .