I tried pdvmkpkg today, using simple commands: pluto ~ # pdvmkpkg -c test1 test2.txt copying pdv...ok appending payload...ok done --------------------- package data summary: package file name: test1 will uncompress payload will untar payload And this is wrong, because the textfile above is neither compress nor tared. Consequently executing test1 gives: pluto ~ # ./test1 stdin: not in compressed format extracting test2.txt...done And fails to write anything. (So the output is misleading) However using a compressed, tared file, everything works fine. Reproducible: Always Steps to Reproduce: 1. echo "foobar" > test2.txt 2. pdvmkpkg -c test test2.txt && rm test2.txt 3. ./test Actual Results: see ouput above Expected Results: write a test2.txt to the dir Portage 2.0.51.22-r2 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.4.20041102-r1, 2.6.12-gentoo-r9-20050821 ppc) ================================================================= System uname: 2.6.12-gentoo-r9-20050821 ppc 7455, altivec supported Gentoo Base System version 1.12.0_pre6 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /etc/apache2/httpd.conf /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -mcpu=7400 -mtune=G4 -maltivec -mabi=altivec -fno-strict-aliasing -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://gd.tuwien.ac.at/opsys/linux/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/local/portage" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage_overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X aac aalib alsa altivec apache2 bitmap-fonts cdr crypt cscope cups curl directfb dvd emboss fbcon flac gd gdbm ggi gif gpm gtk gtk2 imagemagick imlib ipv6 jpeg libwww mad mbox mikmod motif mozilla mp3 mpeg mysql ncurses nls ogg oggvorbis opengl pam pdflib perl pic plotutils png python readline samba slang spell ssl tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis xine xml2 xmms xv zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Found the bug: options of 'char' type were being checked against -1, but on some platforms plain 'char' defaults to being unsigned so the options (such as "compression") appeared to be enabled rather than unset. Fixed in pdv-1.5.1-r2