[Bug 183] Build error: Argument list too long

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Tue Sep 16 05:14:05 PDT 2008


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=183





------- Comment #6 from dj at linuxfromscratch.org  2008-09-16 12:14 -------
OK, got time to look at it again and I think I figured it out.

GCC's gjar uses the @ argument to read filenames from stdin 
(cat file | gjar cf@ file.jar)

Sun's jar uses @<file> for command completion
(jar cf file.jar @file)  

The JAR_KNOWS_ATFILE test defined in acinclude.m4 is checking for the Sun
usage, however, only gjar method is used in jdk/make/common/Release.gmk.  I'm
too tired to dig any further than that tonight..hopefully I'm just looking at
the wrong makefile.

Anyway, that test should probably stay like it is and add another before
removing the test files (lets call the variable JAR_ACCEPTS_STDIN_LIST or
something to that effect), and both methods provided in any use of jar, + the
fallback (which apparently does not work on Debian and on my LFSish host, but
that is another issue).

Here is a quick patch for the autotools, so you can see what I mean, but I
still haven't figured out the Makefile layout.


-- 
Configure bugmail: http://icedtea.classpath.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the distro-pkg-dev mailing list