Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 164557
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: William L. Thomson Jr. (RETIRED) <wltjr@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: gapon <gapon@nano.cz>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 164557 depends on: Show dependency tree
Bug 164557 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-01-30 15:35 0000
>>> Emerging (1 of 4) dev-java/tomcat-servlet-api-6.0.8_alpha to /
 * apache-tomcat-6.0.8-src.tar.gz MD5 ;-) ...                                  
                                                              [ ok ]
 * apache-tomcat-6.0.8-src.tar.gz RMD160 ;-) ...                               
                                                              [ ok ]
 * apache-tomcat-6.0.8-src.tar.gz SHA1 ;-) ...                                 
                                                              [ ok ]
 * apache-tomcat-6.0.8-src.tar.gz SHA256 ;-) ...                               
                                                              [ ok ]
 * apache-tomcat-6.0.8-src.tar.gz size ;-) ...                                 
                                                              [ ok ]
 * checking ebuild checksums ;-) ...                                           
                                                              [ ok ]
 * checking auxfile checksums ;-) ...                                          
                                                              [ ok ]
 * checking miscfile checksums ;-) ...                                         
                                                              [ ok ]
 * checking apache-tomcat-6.0.8-src.tar.gz ;-) ...                             
                                                              [ ok ]
 * Using: sun-jdk-1.6
>>> Unpacking source...
>>> Unpacking apache-tomcat-6.0.8-src.tar.gz to /var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work
>>> Source unpacked.
Rewriting source attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
Rewriting target attributes
Using Sax to rewrite the build.xml files
Rewriting ./build.xml
>>> Compiling source in /var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/ ...
 * Using javac for compilation
 * Using all available ANT_TASKS
Buildfile: build.xml

build-prepare:
    [mkdir] Created dir:
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/build
    [mkdir] Created dir:
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/build/lib
    [mkdir] Created dir:
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/classes

compile:
    [javac] Compiling 132 source files to
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
     [copy] Copying 157 files to
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/classes

jar:
      [jar] Building jar:
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/build/lib/servlet-api.jar
      [jar] Building jar:
/var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/work/apache-tomcat-6.0.8-src/output/build/lib/jsp-api.jar

BUILD SUCCESSFUL
Total time: 14 seconds
>>> Source compiled.
>>> Test phase [not enabled]: dev-java/tomcat-servlet-api-6.0.8_alpha

>>> Install tomcat-servlet-api-6.0.8_alpha into /var/tmp/portage/dev-java/tomcat-servlet-api-6.0.8_alpha/image/ category dev-java
/usr/portage/eclass/java-utils-2.eclass: line 568: pushd: java/javax: No such
file or directory

!!! ERROR: dev-java/tomcat-servlet-api-6.0.8_alpha failed.


Reproducible: Always




GENTOO_VM=sun-jdk-1.6  CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.6.0"
JAVACFLAGS="-source 1.5 -target 1.5" COMPILER="javac"
and of course, the output of emerge --info

bobbie ~ # emerge --info
Portage 2.1.2-r5 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0,
2.6.19-gentoo-r4 i686)
=================================================================
System uname: 2.6.19-gentoo-r4 i686 Intel(R) Pentium(R) M processor 1.50GHz
Gentoo Base System version 1.12.9
Timestamp of tree: Tue, 30 Jan 2007 12:30:09 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
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.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openjms/config /usr/kde/3.5/env
/usr/kde/3.5/share/config /usr/kde/3.5/shutdown /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/splash /etc/terminfo
/etc/texmf/web2c"
CXXFLAGS="-O3 -march=pentium-m -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer parallel-fetch
prelink sandbox sfperms strict"
GENTOO_MIRRORS=" http://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo
http://gentoo.inode.at/ http://pandemonium.tiscali.de/pub/gentoo/
http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://gentoo.mirror.solnet.ch"
LANG="cs_CZ.UTF-8"
LC_ALL="cs_CZ.UTF-8"
LINGUAS="cs"
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://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 arts avi bash-completion berkdb
bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus directfb divx4linux
dlloader dri dvd eds emboss encode examples fam fbcon ffmpeg firebird firefox
foomaticdb fortran ftp gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal iconv
imap imlib ipv6 isdnlog jabber java java5 jpeg jpeg2k jython kde kdeenablefinal
libg++ libwww logrotate mad midi mikmod mmx mmx2 mng mono motif mp3 mpeg mysql
ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl oss pam pcmcia pcre
perl png pnp postgres pppd python qt qt3 qt4 quicktime readline reflection
samba sasl sdl seamonkey session spell spl sqlite sqlite3 sse sse2 ssl svg tcpd
tiff truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis wifi
wireshark x264 x86 xine xinerama xml xorg xscreensaver xv xvid zlib"
ALSA_CARDS="intel8x0" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs" USERLAND="GNU"
VIDEO_CARDS="fglrx radeon vga vesa fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From William L. Thomson Jr. (RETIRED) 2007-01-31 01:21:30 0000 -------
> BUILD SUCCESSFUL
> Total time: 14 seconds
> >>> Source compiled.
> >>> Test phase [not enabled]: dev-java/tomcat-servlet-api-6.0.8_alpha

Sure looks like it compiles. Maybe you mean it won't install. But there is a
reason for that.



> /usr/portage/eclass/java-utils-2.eclass: line 568: pushd: java/javax: No such
> file or directory

That is the problem. Not sure if your system is simple not up to date. Or if
there is a larger issue with the eclass needing/using/calling an app not
present on your system. For one reason or another. At this time I am unable to
replicate. So not sure about the cause or the solution.

------- Comment #2 From gapon 2007-01-31 01:30:03 0000 -------
> Sure looks like it compiles. Maybe you mean it won't install. But there is a
> reason for that.

yeah, you are right, of course

> > /usr/portage/eclass/java-utils-2.eclass: line 568: pushd: java/javax: No such
> > file or directory
> 
> That is the problem. Not sure if your system is simple not up to date. Or if
> there is a larger issue with the eclass needing/using/calling an app not
> present on your system. For one reason or another. At this time I am unable to
> replicate. So not sure about the cause or the solution.
> 

can i give you a hand?

------- Comment #3 From William L. Thomson Jr. (RETIRED) 2007-01-31 05:46:21 0000 -------
pushd comes from bash, so should be present on your system. Unless bash is
slimmed down, or some other issue/reason why it's mia. Might want to try
re-emerging bash, or checking your options.

------- Comment #4 From William L. Thomson Jr. (RETIRED) 2007-01-31 06:09:06 0000 -------
Scratch last comment, wasn't understanding error properly. Seems you were using
the sources use flag. Not sure why that's causing the error it is. I will have
to look into that. Don't set that flag for that package and you should be able
to emerge package.

------- Comment #5 From William L. Thomson Jr. (RETIRED) 2007-01-31 06:50:24 0000 -------
Ok my bad, now that my brain is back attached to my head. I found the problem
in the ebuild, quite obvious. It's in the wrong dir when it tries to package
the sources, before copying. Just bumped package and committed fix to tree.
Please allow time to sync to mirror before you sync. Thanks for reporting,
closing bug.

------- Comment #6 From gapon 2007-01-31 09:34:18 0000 -------
sorry about the USE flags, my mistake...
thx for solving this bug

------- Comment #7 From Petteri Räty 2007-01-31 09:49:29 0000 -------
(In reply to comment #6)
> sorry about the USE flags, my mistake...
> thx for solving this bug
> 

Every use flag in ebuilds should work so there is nothing to be sorry about.
wltjr just did not understand properly what was going on and as such posted
some probably confusing comments.

------- Comment #8 From gapon 2007-01-31 10:08:23 0000 -------
is this the reason to reopen this bug?

bobbie ~ # emerge -uav world
Calculating dependencies \
emerge: there are no ebuilds to satisfy
"=dev-java/tomcat-servlet-api-6.0.8_alpha".
(dependency required by "www-servers/tomcat-6.0.8_alpha-r3" [ebuild])

------- Comment #9 From Vlastimil Babka (Caster) 2007-01-31 10:23:23 0000 -------
(In reply to comment #8)
> is this the reason to reopen this bug?

Well it's directly related but people might miss this one if they don't know
the whole story and just see a problem with tomcat... might change summary
accordingly.

> emerge: there are no ebuilds to satisfy
> "=dev-java/tomcat-servlet-api-6.0.8_alpha".
> (dependency required by "www-servers/tomcat-6.0.8_alpha-r3" [ebuild])

The dependency in tomcat is too strict, should be
~dev-java/tomcat-servlet-api-6.0.8_alpha

Also I don't see the reason for revbump here. It was a build-time failure.

------- Comment #10 From Vlastimil Babka (Caster) 2007-01-31 10:33:03 0000 -------
Fixed in CVS.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug