[modules-dev] B22 modules project build failure

Stephen J. McConnell mcconnell at dpml.net
Wed Oct 31 00:27:21 PDT 2007


Following the update of the binary plugs to the B21 version the build
goes a lot further.  I'm now failing somewhere a long way into the build
with the following:

Rebuilding ../../../build/linux-i586/lib/i386/xawt/libmawt.so because of ../../../build/linux-i586/tmp/sun/sun.awt.X11/xawt/obj/.files_compiled mapfile-vers

  [snip-very-long-command]

/usr/bin/ld: cannot find -lXtst
collect2: ld returned 1 exit status
make[2]: *** [../../../build/linux-i586/lib/i386/xawt/libmawt.so] Error 1
make[2]: Leaving directory `/home/foo/jdk/modules/make/sun/xawt'
make[1]: *** [all] Error 1
make[1]: Leaving directory `/home/foor/jdk/modules/make/sun'
make: *** [all] Error 1

I'm guessing this may be because I'm building with the bootstrap JDK
pointing to the latest iced-tea distribution.  I'll try again with SE6
and see if this delivers anything different.

Cheers, Steve.



On Sun, 2007-10-28 at 23:35 -0700, Andreas Sterbenz wrote:
> Stephen J. McConnell wrote:
> > When attempting to build the modules b22 distribution (from published
> > sources) I'm getting an error related to an attempt to build something
> > that references a non-existent resources in the binary plugs.  The
> > version of the binary plugs that I'm using is also the B22 release
> > (however - the b22 general source release and the b22 modules release
> > are not really in sync and I suspect that a different version of the
> > binary plugs may be required).
> 
> Sorry about that. To build the 12_oct_2007 modules drop, please try the 
> binary plugs for b21. They are available at 
> http://download.java.net/openjdk/jdk7/promoted/b21/ . I did an OpenJDK 
> test build on Solaris x86 and it worked fine for me with those.
> 
> Background: the build reorganization (langtools) caused some problems for 
> our parent workspace, so we currently cannot sync up with the most recent 
> changes. That means we are out of date wrt code changes elsewhere in the 
> JDK, which happened to affect the binary plugs.
> 
> This may get resolved in time for the imminent build 23, but that is 
> uncertain at this point. So if you don't see a big bringover that changes 
> some 10000 files prior to b23 getting posted in a few days, please 
> continue to use the b21 plugs for that Modules drop as well.
> 
> Andreas.
> 




More information about the modules-dev mailing list