Overview: The constants in uppercase (like PI or SQRT2) doesn't work, because the application convert all letters to lowercase, so it does not evaluates them. This happens when trying to create or edit any kind of graphic. How to reproduce: 1) Open the application 2) Go to the menu Plot > New Plot from Function > 2D Function (any kind of function has this issue) 3) Type a function using any constant, like 1 + PI + SQRT2 Actual results: It draws a line at y = 1 Expected results: It should draw a line at about y = 5.55 Emerged with: # ACCEPT_KEYWORDS="~amd64" emerge -pv labplot [ebuild R ] sci-visualization/labplot-1.4.0 +arts +audiofile (-cdf) -debug -fftw +imagemagick -netcdf +tiff -xinerama 0 kB emerge --info: Gentoo Base System version 1.6.14 Portage 2.0.54 (default-linux/amd64/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.15-gentoo-r7 x86_64) ================================================================= System uname: 2.6.15-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+ dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=k8 -march=k8 -O3 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time " CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-mtune=k8 -march=k8 -O3 -pipe -ffast-math -funroll-all-loops -fpeel-loops -ftracer -funswitch-loops -funit-at-a-time " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.localhost.net.ar " LINGUAS="pt_BR" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.samerica.gentoo.org/gentoo-portage" USE="X alsa amd64 arts audiofile avi berkdb bitmap-fonts bzip2 cdr cli crypt cups curl dri dvd eds emboss encode esd ethereal exif expat fam ffmpeg foomaticdb fortran gdbm gif glut glx gmp gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog java jpeg kde lcms ldap libwww lzw lzw-tiff mad mng motif mp3 mpeg msn ncurses nls nptl nvidia opengl pam pcre pdflib perl png pppd python qt quicktime readline recode reflection ruby samba scanner sdl session spell spl ssl tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb xine xml2 xmms xorg xpm xv zlib linguas_pt_BR userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS
This is for sure not a problem with v.1.5.1, but can you test if this is an issue with labplot-1.5.0.5, please!?
(In reply to comment #1) > This is for sure not a problem with v.1.5.1, but can you test if this is an > issue with labplot-1.5.0.5, please!? > i have an amd64 system and labplot-1.4.0 is the only one that I can emerge but i will try to compile labplot-1.5.0.5 if you can give me some directions :-)
You should be able to try the newer version with running the following command and then emerging labplot again. It will add a line to /etc/portage/package.keywords. Note: you will need to do this as root-user. echo "sci-visualization/labplot" >> /etc/portage/package.keywords
Didn't work. If I try to emerge only "labplot" it tries to install the 1.4.0 version, and if I specify the version, it say it's masked. I suppose there isn't an ebuild for amd64? !!! All ebuilds that could satisfy "=labplot-1.5.0.5" have been masked. !!! One of the following masked packages is required to complete your request: - sci-visualization/labplot-1.5.0.5 (masked by: missing keyword)
Adjusted the dependencies a bit and keyworded ~amd64 again. Please sync in two hours or so and give it another try.
Only happens on 1.4.0 On 1.5.0.5 it's OK and on 1.5.1 the constants are lowercase
o.k.