#23 pkgbuild fails on non-IPS systems

open-fixed
general (26)
5
2011-01-10
2009-04-08
No

while building packages on Solaris 10 (without IPS), pkgbuild failed with the following errors:

pkgbuild: ## Packaging one part.
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/pkgmap
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/pkginfo
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/install/copyright
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/install/depend
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/reloc/include/expat.h
pkgbuild: /home/river/packages/PKGS/TSlibexpat1-dev/reloc/include/expat_external.h
pkgbuild: ## Validating control scripts.
pkgbuild: ## Packaging complete.
pkgbuild: ## Building pkgmap from package prototype file.
pkgbuild: ## Processing pkginfo file.
pkgbuild: WARNING: parameter <PSTAMP> set to "amaranth20090408172359"
pkgbuild: ## Attempting to volumize 2 entries in pkgmap.
pkgbuild: part 1 -- 98 blocks, 9 entries
pkgbuild: ## Packaging one part.
pkgbuild: /home/river/packages/PKGS/TSexpat/pkgmap
pkgbuild: /home/river/packages/PKGS/TSexpat/pkginfo
pkgbuild: /home/river/packages/PKGS/TSexpat/reloc/bin/xmlwf
pkgbuild: /home/river/packages/PKGS/TSexpat/install/copyright
pkgbuild: /home/river/packages/PKGS/TSexpat/install/depend
pkgbuild: ## Validating control scripts.
pkgbuild: ## Packaging complete.
pkgbuild: Use of uninitialized value in concatenation (.) or string at /opt/ts/bin/../lib/pkgbuild-1.3.98/pkgbuild.pl line 1878.
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: Use of uninitialized value in concatenation (.) or string at /opt/ts/bin/../lib/pkgbuild-1.3.98/pkgbuild.pl line 1878.
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: sh: pkg: not found
pkgbuild: Can't use an undefined value as a HASH reference at /opt/ts/bin/../lib/pkgbuild-1.3.98/rpm_package.pm line 184.
--- command output ends --- finished at Wed Apr 8 17:23:59 UTC 2009

INFO: pkgbuild -ba finished at Wed Apr 8 17:23:59 UTC 2009

ERROR: TSlibexpat1 FAILED
INFO: Check the build log in /tmp/TSexpat.log for details

i patched pkgbuild.pl to forcibly disable IPS, which fixed the problem.

Discussion

  • Laszlo (Laca) Peter

    Is this still happening with pkgbuild 1.0.101?

     
  • Laszlo (Laca) Peter

    i mean 1.3.101...

     
  • Laszlo (Laca) Peter

    I think this is fixed, please check in the next release.

    I'm leaving it open until someone can confirm that it's fixed.

     
  • Laszlo (Laca) Peter

    • status: open --> open-fixed
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks