Opened 3 months ago

Last modified 3 months ago

#162 assigned defect

build2prepve and -t distro option doesn't work

Reported by: bruno Owned by: bruno
Priority: major Milestone: 0.15.1
Component: pb Version: 0.14.5
Keywords: Cc:

Description

Error when using:

pb -p pb -t centos-7-x86_64 -m centos-7-x86_64 -T docker build2prepve
Project: pb
Action: build2prepve
INFO: ------ Starting to prepare build environement ------
Packages: pbmkbm,project-builder,ProjectBuilder,rpmbootstrap
Extracting build files from /home/bruno/svn-git/pb/pbdelivery/pbmkbm-0.15.1.0.20170822024546.pbconf.tar.gz... ERROR: child (tar xfpz /home/bruno/svn-git/pb/pbdelivery/pbmkbm-0.15.1.0.20170822024546.pbconf.tar.gz pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64/) cwd=/home/bruno/svn-git/pb/devel exited with value 2
tar: pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64 : non trouvé dans l'archive
tar: Arrêt avec code d'échec à cause des erreurs précédentes
ERROR running command (tar xfpz /home/bruno/svn-git/pb/pbdelivery/pbmkbm-0.15.1.0.20170822024546.pbconf.tar.gz pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64/) with cwd=/home/bruno/svn-git/pb/devel, pid=12819
Unable to open directory pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64/: No such file or directory at /bin/pb line 4784.
        main::pb_move_extracted_files("pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64/", "/tmp/pb.I2f4LDeBpB") called at /bin/pb line 4772
        main::pb_extract_build_files("/home/bruno/svn-git/pb/pbdelivery/pbmkbm-0.15.1.0.20170822024"..., "pbmkbm-0.15.1.0.20170822024546/pbconf/mageia-6-x86_64/", "/tmp/pb.I2f4LDeBpB", "build") called at /bin/pb line 1707
        main::pb_build2prep() called at /bin/pb line 893

But

[bruno@localhost devel (yaml)]$ pb -p pb -t centos-7-x86_64 -m centos-7-x86_64 -T docker sbx2prepve

works

Change History (1)

comment:1 Changed 3 months ago by bruno

  • Milestone changed from 0.14.6 to 0.15.1
  • Status changed from new to assigned
  • Summary changed from build2prepve and -t distro optiondoesn't work to build2prepve and -t distro option doesn't work
Note: See TracTickets for help on using tickets.