Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4472172

attempting to re-build solaris packages fails

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.4.0
    • 1.4.0
    • infrastructure
    • None
    • beta2
    • generic
    • generic



      Name: dm26566 Date: 06/20/2001


      If the 'bundles' target is run on solaris and then re-run, the second
      run will fail with:

      for d in COPYRIGHT README.html; do /usr/bin/cp
      /export/home/dalem/ws/j2se/build/solaris-sparc/jdk-image-sparc/$d
      ./../build/solaris-sparc/pkgarchive; done ;
      cp: cannot create ./../build/solaris-sparc/pkgarchive/README.html: Permission
      denied
      gnumake: *** [bundle-jdk] Error 2

      This is because the run assumes that $(OUTPUTDIR)/pkgarchive is empty,
      but in the case of a re-run, it is not.

      One solution is for the build script to remove $(OUTPUTDIR)/pkgarchive
      prior to the steps that create it.



      ======================================================================

            dmcduffisunw Dale Mcduffie (Inactive)
            dmcduffisunw Dale Mcduffie (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: