rpmbuild and gawk

Tomasz Pala gotar at polanet.pl
Thu Jul 3 12:51:31 CEST 2008


Hi,

while building udns.spec (just commited) I've encountered following
errors at the end of %install section. Upgrading gawk from 3.1.3-3 to
3.1.5-2 fixed problem, but it means there's some R: missing. I've got
also mawk-1.3.3-30 installed with /bin/awk -> mawk and I have no idea
why having older gawk caused the problem at all.

+ install udns.3 /tmp/udns-0.0.9-root-gotar/usr/share/man/man3
+ __spec_install_post_strip
Usage: awk [POSIX or GNU style options] -f progfile [--] file ...
Usage: awk [POSIX or GNU style options] [--] 'program' file ...
POSIX options:          GNU long options:
        -f progfile             --file=progfile
        -F fs                   --field-separator=fs
        -v var=val              --assign=var=val
        -m[fr] val
        -W compat               --compat
        -W copyleft             --copyleft
        -W copyright            --copyright
        -W dump-variables[=file]        --dump-variables[=file]
        -W gen-po               --gen-po
        -W help                 --help
        -W lint[=fatal]         --lint[=fatal]
        -W lint-old             --lint-old
        -W non-decimal-data     --non-decimal-data
        -W profile[=file]       --profile[=file]
        -W posix                --posix
        -W re-interval          --re-interval
        -W source=program-text  --source=program-text
        -W traditional          --traditional
        -W usage                --usage
        -W version              --version

To report bugs, see node `Bugs' in `gawk.info', which is
section `Reporting Problems and Bugs' in the printed version.

gawk is a pattern scanning and processing language.
By default it reads standard input and writes standard output.

Examples:
        gawk '{ sum += $1 }; END { print sum }' file
        gawk -F: '{ print $1 }' /etc/passwd
error: Bad exit status from /var/tmp/rpm-tmp.93164 (%install)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.93164 (%install)

-- 
Tomasz Pala <gotar at pld-linux.org>


More information about the pld-devel-en mailing list