Menu

#3842 when miss src rpm buildkit perte error message

2.8.3
closed
BaiYuan
None
general
6
2014-04-01
2013-10-18
Yue kuan Li
No

When using buildkit build perte, if miss src-*rpm, it will show "Can't use an undefined value as an ARRAY reference at /opt/xcat/bin/buildkit line 3529."

c693hamn2:/install/kits/x86_64 # buildkit addpkgs pperte-1.3.0.6-0-x86_64.NEED_PRODUCT_PKGS.tar.bz2 --pkgdir /install/update/perte1.3.0.7 --kitversion 1.3.0 --kitrelease 7
Extracting tar file /install/kits/x86_64/pperte-1.3.0.6-0-x86_64.NEED_PRODUCT_PKGS.tar.bz2.
Can't use an undefined value as an ARRAY reference at /opt/xcat/bin/buildkit line 3529.
c693hamn2:/install/kits/x86_64 # cp /install/update/src-1.3.1.1-12277.i386.rpm /install/update/perte1.3.0.7/
c693hamn2:/install/kits/x86_64 # buildkit addpkgs pperte-1.3.0.6-0-x86_64.NEED_PRODUCT_PKGS.tar.bz2 --pkgdir /install/update/perte1.3.0.7 --kitversion 1.3.0 --kitrelease 7
Extracting tar file /install/kits/x86_64/pperte-1.3.0.6-0-x86_64.NEED_PRODUCT_PKGS.tar.bz2.
13/13 - pperte_license-1.3.0-7.noarch.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
13/13 - pperte_license-1.3.0-7.noarch.rpm
Saving Primary metadata
Saving file lists metadata
Saving other metadata
Creating tar file /tmp/pperte-1.3.0.6-0-x86_64/pperte-1.3.0-7-x86_64/pperte-1.3.0-7-x86_64.tar.bz2.
Kit tar file /install/kits/x86_64/pperte-1.3.0-7-x86_64.tar.bz2 successfully built.
c693hamn2:/install/kits/x86_64 #

c693hamn2:/install/kits/x86_64 # nodels -v
Version 2.8.3 (built Fri Oct 18 01:19:57 EDT 2013)
c693hamn2:/install/kits/x86_64 #
c693hamn2:/install/kits/x86_64 # uname -a
Linux c693hamn2 3.0.13-0.27-default #1 SMP Wed Feb 15 13:33:49 UTC 2012 (d73692b) x86_64 x86_64 x86_64 GNU/Linux
c693hamn2:/install/kits/x86_64 # cat /etc/issue

Welcome to SUSE Linux Enterprise Server 11 SP2 (x86_64) - Kernel \r (\l).

Discussion

  • Norm Nott

    Norm Nott - 2013-10-18
    • status: open --> accepted
    • assigned_to: wang huazhong --> nobody
     
  • Norm Nott

    Norm Nott - 2013-10-18

    The return from find_latest_pkg() should be checked before it is assigned -
    Once fixed, you will get an error message in this case letting you know that the src rpm was not found

     
  • Norm Nott

    Norm Nott - 2013-10-18
    • assigned_to: Norm Nott
     
  • Norm Nott

    Norm Nott - 2013-10-18
    • status: accepted --> pending
     
  • Norm Nott

    Norm Nott - 2013-10-18

    Code checked in.
    File: buildkit

    2.8 - 84c818fbc642d73c23b2b6561a5514c6021cd500
    2.9 - c88d7751de9cc02a3402639397a1c7a655a86ebf

     
  • Norm Nott

    Norm Nott - 2014-01-09
    • assigned_to: Norm Nott --> BaiYuan
     
  • Lissa Valletta

    Lissa Valletta - 2014-04-01
    • status: pending --> closed
    • component: --> general
     
MongoDB Logo MongoDB