Co robię nie tak - builder
Jacek Osiecki
josiecki at silvercube.pl
Wed Feb 3 17:16:28 CET 2021
Hej,
mamy przedpotopowego varnisha i chciałem mieć nowszego w pakietach.
Pobawiłem się trochę, wszystko niby przeszło… ale nie udało mi się zbudować samego pliku rpm:
Końcówka wygląda tak:
make[1]: Entering directory '/var/tmp/BUILD/varnish-3.0.7/redhat'
make[1]: Nothing to be done for 'check'.
make[1]: Leaving directory '/var/tmp/BUILD/varnish-3.0.7/redhat'
make[1]: Entering directory '/var/tmp/BUILD/varnish-3.0.7'
make[1]: Leaving directory '/var/tmp/BUILD/varnish-3.0.7'
+ exit 0
Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.34328
HOME=/home/users/builder
PATH=/usr/local/bin:/usr/bin:/bin
TMPDIR=/var/tmp
+ umask 022
+ cd /var/tmp/BUILD
+ /bin/rm '--interactive=never' -rf /var/tmp/BUILD
+ /bin/mkdir -p /var/tmp/BUILD
+ cd varnish-3.0.7
/var/tmp/rpm-tmp.34328[34]: cd: /var/tmp/BUILD/varnish-3.0.7: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.34328 (%install)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.34328 (%install)
Co jest grane? Dlaczego ten rm -rf? W specu go nie widzę. Przecież to nie ma prawa działać:
[joshua at delta tmp]$ cd /tmp
[joshua at delta tmp]$ mkdir 123
[joshua at delta tmp]$ cd 123
[joshua at delta 123]$ mkdir 1 2 3
[joshua at delta 123]$ ls
1 2 3
[joshua at delta 123]$ rm --interactive=never -rf /tmp/123
[joshua at delta 123]$ cd 1
-bash: cd: 1: No such file or directory
[joshua at delta 123]$ ls
[joshua at delta 123]$ ls -l
total 0
[joshua at delta 123]$ /bin/pwd
/bin/pwd: couldn't find directory entry in '..' with matching i-node
[joshua at delta 123]$
Pozdrawiam,
—
Jacek
More information about the pld-devel-pl
mailing list