Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159400 - app-office/texmaker-1.40 fails to compile
Summary: app-office/texmaker-1.40 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Text-Markup Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-29 10:49 UTC by Michael Zeising
Modified: 2007-01-04 07:35 UTC (History)
0 users

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 Michael Zeising 2006-12-29 10:49:01 UTC
I get the following when compiling texmaker:

g++ -c -pipe -march=athlon64 -O2 -pipe -Wall -W -D_REENTRANT  -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.moc -I.ui -o .obj/texmaker.o texmaker.cpp
main.cpp: In function 
Comment 1 Michael Zeising 2006-12-29 10:49:01 UTC
I get the following when compiling texmaker:

g++ -c -pipe -march=athlon64 -O2 -pipe -Wall -W -D_REENTRANT  -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I.moc -I.ui -o .obj/texmaker.o texmaker.cpp
main.cpp: In function »int main(int, char**)«:
main.cpp:27: Fehler: expected primary-expression before »/« token
main.cpp:27: Fehler: »usr« wurde in diesem Gültigkeitsbereich nicht definiert
main.cpp:27: Fehler: expected »,« or »;« before string constant
make: *** [.obj/main.o] Fehler 1
make: *** Warte auf noch nicht beendete Prozesse...
texmaker.cpp: In member function »void Texmaker::LatexHelp()«:
texmaker.cpp:3912: Fehler: expected primary-expression before »/« token
texmaker.cpp:3912: Fehler: »usr« wurde in diesem Gültigkeitsbereich nicht definiert
texmaker.cpp:3912: Fehler: expected »,« or »;« before string constant
texmaker.cpp: In member function »void Texmaker::UserManualHelp()«:
texmaker.cpp:3941: Fehler: expected primary-expression before »/« token
texmaker.cpp:3941: Fehler: »usr« wurde in diesem Gültigkeitsbereich nicht definiert
texmaker.cpp:3941: Fehler: expected »,« or »;« before string constant
make: *** [.obj/texmaker.o] Fehler 1

!!! ERROR: app-office/texmaker-1.40 failed.
Call stack:
  ebuild.sh, line 1603:   Called dyn_compile
  ebuild.sh, line 961:   Called src_compile
  texmaker-1.40.ebuild, line 48:   Called die


Here's my emerge --info:

Portage 2.1.2_rc4-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r2 i686)
=================================================================
System uname: 2.6.19-gentoo-r2 i686 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.8
Last Sync: Fri, 29 Dec 2006 17:30:01 +0000
ccache version 2.4 [enabled]
dev-java/java-config: 1.3.7, 2.0.31
dev-lang/python:     2.3.6, 2.4.4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
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
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config"
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 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
LINGUAS="de"
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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="nls kdehiddenvisibility oss libnotify jpeg session mozbranding mp3 cdr mysql gdbm emboss mozsvg xml iconv truetype-fonts hal cli gtk mikmod apache2 fortran wma lm_sensors wmf real dvdr quicktime gtk2 ssl fam sse X bitmap-fonts nptl eds dbus unicode truetype ppds cairo udev vorbis mmx mpeg vcd exif xv esd xine acpi qt4 isdnlog userlocales asf 3dnow gnome mono dri mmap pdf firefox tiff pcre gpm java usb opengl type1-fonts perl gif a52 encode cracklib dlloader sdl ncurses moznoirc pppd berkdb png threads mmxext aac nptlonly jpeg2k gstreamer ogg v4l qt3 svg dts spl nautilus tcpd logrotate rar avi bzip2 crypt moznocompose python libg++ xvid win32codecs pam alsa spell x86 3dnowext openal zlib mad xorg readline dvi reflection sse2 dvd v4l2" 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="evdev keyboard mouse" KERNEL="linux" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia nv v4l vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY


Thanks a lot!
Comment 2 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 07:22:54 UTC
Same here :/ Workaround with little sed magic ;)

Fixed in CVS.

Cheers,
Przemek
Comment 3 Przemyslaw Maciag (RETIRED) gentoo-dev 2007-01-04 07:35:56 UTC
Forgot to close ;)

BTW. Version 1.5 (portage 1.50) is already out and fixed (without my workaround).

Cheers,
Przemek