Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 231965 - dev-tex/mpm-2.7.3107 fails to compile [gcc 4.3]
Summary: dev-tex/mpm-2.7.3107 fails to compile [gcc 4.3]
Status: RESOLVED DUPLICATE of bug 231663
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Christian Faulhammer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-16 14:07 UTC by Andrés Becerra Sandoval
Modified: 2008-07-17 07:16 UTC (History)
0 users

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


Attachments
miktex-2.7.3107.patch (miktex-2.7.3107.patch,6.20 KB, patch)
2008-07-16 14:45 UTC, Andrés Becerra Sandoval
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrés Becerra Sandoval 2008-07-16 14:07:41 UTC
On ~x86 emerge dev-tex/mpm causes this error:

[ 52%] Building CXX object Libraries/MiKTeX/Core/CMakeFiles/MiKTeX207-core.dir/CommandLine.o
In file included from /var/tmp/portage/dev-tex/mpm-2.7.3107/work/miktex-2.7.3107/Libraries/MiKTeX/Core/CommandLine.cpp:24:
/var/tmp/portage/dev-tex/mpm-2.7.3107/work/miktex-2.7.3107/Libraries/MiKTeX/Core/internal.h:1408: error: ISO C++ forbids declaration of 'auto_ptr' with no type
/var/tmp/portage/dev-tex/mpm-2.7.3107/work/miktex-2.7.3107/Libraries/MiKTeX/Core/internal.h:1408: error: expected ';' before '<' token

This is my emerge --info output:

Portage 2.2_rc1 (default/linux/x86/2008.0/desktop, gcc-4.3.1, glibc-2.8_p20080602-r0, 2.6.25-gentoo-r6 i686)
=================================================================
System uname: Linux-2.6.25-gentoo-r6-i686-Intel-R-_Pentium-R-_4_CPU_2.60GHz-with-glibc2.0
Timestamp of tree: Tue, 15 Jul 2008 16:45:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r5
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.62-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.4
virtual/os-headers:  2.6.25-r4
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
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/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -mtune=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/var/lib/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch preserve-libs sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo "
LC_ALL="es_CO.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="es en"
MAKEOPTS="-j3"
PKGDIR="/var/lib/portage/packages"
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="/usr/portage/local/layman/kdesvn-portage /usr/local/portage"
SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage"
USE="3dnow X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gpm gstreamer hal htmlhandbook iconv ipv6 isdnlog jpeg kde ldap libnotify mad midi mikmod mmx mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre pdf perl png ppds pppd python qt3 qt3support qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl startup-notification svg tcpd tiff truetype unicode vorbis win32codecs x86 xml xorg xv 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es en" USERLAND="GNU" VIDEO_CARDS="i810 i830 i915"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andrés Becerra Sandoval 2008-07-16 14:45:57 UTC
Created attachment 160566 [details, diff]
miktex-2.7.3107.patch

This patch solves the compilation problems with gcc-4.3.1. I submitted the same file upstream (to the miktex users mailing list).
Comment 2 Andrés Becerra Sandoval 2008-07-16 14:49:02 UTC
Comment on attachment 160566 [details, diff]
miktex-2.7.3107.patch

This patch solves the compilation problems for gcc-4.3.1.
Comment 3 Andrés Becerra Sandoval 2008-07-16 19:21:37 UTC
It is reported here:

http://sourceforge.net/tracker/index.php?func=detail&aid=2019875&group_id=10783&atid=110783
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-07-17 07:16:48 UTC
I am sure I committed that patch already.

*** This bug has been marked as a duplicate of bug 231663 ***