pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: HELP with jre-6u12



>  I can't figure it out, but try 'make replace' directly in jre.  Your
>  build seems ok with the jdk distfile, but not with the jre one.  If you
>  run digest sha1 and rmd160 on it by hand, does it match?  Also set
>  PKG_DEBUG_LEVEL=1 in mk.conf to get more output.

make replace results in the same error.

The checksums match.

make replace with PKG_DEBUG_LEVEL=1 produces the following:

set -e;/usr/bin/env AWK=/usr/bin/awk PKG_ADMIN=/usr/pkg/sbin/pkg_admin\ -K\ 
/var/db/pkg  PKGSRCDIR=/
usr/pkgsrc PWD_CMD=/bin/pwd SED=/usr/bin/sed  /bin/sh 
/usr/pkgsrc/mk/flavor/pkg/list-dependencies  "
 "\ \ digest\>=20010302:../../pkgtools/digest " " " " |                        
          while read
type pattern dir; do                                     test "$type" = 
"bootstrap" || continue;
         pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg -E "$pattern" || true`;    
          case $type
in bootstrap) Type=Bootstrap;; build) Type=Build;; full) Type=Full;; esac;  
case "$pkg" in
                                         "")
 echo "=>" "$Type dependency $pattern: NOT found";       target=reinstall;
 echo "=>" "Verifying $target for $dir";                 [ -d "$dir" ] || 
/bin/sh /usr/pkgsrc/mk/scr
ipts/fail echo 1>&2 "ERROR:" "[depends.mk] The directory \`\`$dir'' does not 
exist.";  cd $dir;
                                 /usr/bin/env MAKECONF=/etc/mk.conf 
PATH=/usr/pkgsrc/lang/sun-jre6/w
ork/.wrapper/bin:/usr/pkgsrc/lang/sun-jre6/work/.buildlink/bin:/usr/pkgsrc/lang
/sun-jre6/work/.gcc/b
in:/usr/pkgsrc/lang/sun-jre6/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:
/usr/bin:/usr/pkg/sbi
n:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sbin:/usr/local/bin:/root:/root 
_PKGSRC_DEPS="sun-jre6-6.0.
12 " PKGNAME_REQD="$pattern" /usr/bin/make _MAKE=/usr/bin/make OPSYS=NetBSD 
OS_VERSION=3.1.1_PATCH L
OWER_OPSYS=netbsd _PKGSRCDIR=/usr/pkgsrc PKGTOOLS_VERSION=20081013 
_CC=/usr/bin/cc _PATH_ORIG=/sbin:
/usr/sbin:/bin:/usr/bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R6/bin:/usr/local/sb
in:/usr/local/bin:/ro
ot:/root _AUTOMATIC=yes $target;  pkg=`/usr/pkg/sbin/pkg_info -K /var/db/pkg 
-E "$pattern" || true`;
         case "$pkg" in                                          "")    echo 1>
&2 "ERROR:" "[depends
.mk] A package matching \`\`$pattern'' should";  echo 1>&2 "ERROR:" "    be 
installed, but one canno
t be found.  Perhaps there is a";  echo 1>&2 "ERROR:" "    stale work 
directory for $dir?";  exit 1;
                                                 esac;
 echo "=>" "Returning to build of sun-jre6-6.0.12";              ;;
                 *)                                                            
  objfmt=`/usr/pkg/sb
in/pkg_info -K /var/db/pkg -Q OBJECT_FMT "$pkg"`;                case 
"$objfmt" in
                 "")    echo 1>&2 "WARNING:" "[depends.mk] Unknown object 
format for installed packa
ge $pkg" ;;  ELF)       ;;                                       *)     echo 1>
&2 "ERROR:" "[depends
.mk] Installed package $pkg has an";  echo 1>&2 "ERROR:" "    object format 
\`\`$objfmt'' which diff
ers from \`\`ELF''.  Please";  echo 1>&2 "ERROR:" "    update the $pkg package 
to ELF.";  exit 1;
                                         ;;                                    
          esac;
                                         silent=;                        if 
test -z "${silent}"; the
n                        echo "=>" "$Type dependency $pattern: found $pkg";  
fi;
                                 ;;                                            
          esac;
                 done
=> Bootstrap dependency digest>=20010302: found digest-20080510
ERROR: ======================================================================
ERROR:
ERROR:  The file jre-6u12-linux-i586.bin containing Java Runtime Environment 
(JRE) 6u12
ERROR:
ERROR:  must be fetched into:
ERROR:  /usr/pkgsrc/distfiles/jre-6u12-linux-i586.bin
ERROR:  from:
ERROR:  http://java.sun.com/javase/downloads/index.jsp
ERROR:  or http://java.sun.com/products/archive/
ERROR:
ERROR:  Click Download for 'Java Runtime Environment (JRE) 6u12', read and 
accept the
ERROR:  license, then choose 'Linux self-extracting file'.
ERROR:
ERROR: ======================================================================
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre6




Home | Main Index | Thread Index | Old Index