Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53829 - javacc-3.2-r1 sets JAVACC_HOME and VERSION incorrectly
Summary: javacc-3.2-r1 sets JAVACC_HOME and VERSION incorrectly
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-13 13:03 UTC by Heinrich Nirschl
Modified: 2004-06-19 15:58 UTC (History)
0 users

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


Attachments
Test patch javacc-3.2-r1-fix.patch (javacc-3.2-r1-fix.patch,610 bytes, patch)
2004-06-14 22:34 UTC, Andy Daniels
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Heinrich Nirschl 2004-06-13 13:03:25 UTC
After installation of javacc-3.2-r1 environment variables are set as follows:

VERSION="JavaCC @PV@"
JAVACC_HOME=/usr/share/@PN@
ENV_VARS="JAVACC_HOME"

Note that @PV@ and @PN@ are not expanded.


Reproducible: Always
Steps to Reproduce:
1. emerge javacc
2. look into /etc/profile
3.




Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.4.25-gentoo-r3)
=================================================================
System uname: 2.4.25-gentoo-r3 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/
ftp://mirror.switch.ch/mirror/gentoo/ http://ftp.easynet.nl/mirror/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa apache2 apm arts avi berkdb cdr crypt cups dga doc dvd encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg libg++ libwww lzw-tiff
mad mikmod mmx motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib
perl png python quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex
tiff truetype x86 xml2 xmms xv zlib"
Comment 1 Andy Daniels 2004-06-14 22:34:37 UTC
Created attachment 33281 [details, diff]
Test patch javacc-3.2-r1-fix.patch

This patch makes the ebuild configure /etc/env.d/22javacc before installing it.
Comment 2 Heinrich Nirschl 2004-06-15 11:01:01 UTC
The patch in Comment #1 solves the problem.
Comment 3 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-06-19 15:58:42 UTC
Fixed, bumped revision. Available for testing on x86 and ppc as dev-java/javacc-3.2-r2.