SOURCES: net-snmptrapd.conf - builder does not like 0 byte file in...

Elan Ruusamäe glen at delfi.ee
Wed Dec 8 00:43:11 CET 2004


dunno, is it bug of ./builder, but it will fail if the source from cvs is 0 byte. and i checked, there's no corruption.

$ rpm -qpl net-snmp-snmptrapd-5.1.1-3.i686.rpm -v
-rw-r-----    1 root    root                0 aug    8 14:24 /etc/snmp/snmptrapd.conf

and it fails only when building with builder (./builder -bb pkg). just creating SRPM goes ok

$ ./builder -bs net-snmp.spec
# $Revision: 1.40 $, $Date: 2004/10/25 10:44:37 $

No conditional flags passed

from available:
--with   :
--without:       autodeps

--01:21:41--  ftp://distfiles.pld-linux.org/by-md5/8/0/8080555ab3f90011f25d5122042d9a8d/net-snmp-5.1.2.tar.gz
           => `net-snmp-5.1.2.tar.gz'
Lahendan cache.online.ee... 194.106.96.8, 194.106.96.9, 194.106.96.6, ...
Loon ühendust serveriga cache.online.ee[194.106.96.8]:80... ühendus loodud.
Proxy päring saadetud, ootan vastust... 200 OK
Pikkus: 3,253,579 [application/x-tar]

100%[=============================================================================>] 3,253,579     49.40K/s    ETA 00:00

01:23:03 (42.52 KB/s) - `net-snmp-5.1.2.tar.gz' salvestatud [3253579/3253579]

P net-snmptrapd.init
P net-snmptrapd.sysconfig
ucd-ipchains.tar.gz having proper md5sum already exists
Wrote: /home/glen/pld/SRPMS/net-snmp-5.1.2-1.src.rpm
$





On Wednesday 08 December 2004 01:34, glen wrote:
> Author: glen                         Date: Tue Dec  7 23:34:27 2004 GMT
> Module: SOURCES                       Tag: HEAD
> ---- Log message:
> - builder does not like 0 byte file in CVS
>
> ---- Files affected:
> SOURCES:
>    net-snmptrapd.conf (1.1 -> 1.2)
>
> ---- Diffs:
>
> ================================================================
> Index: SOURCES/net-snmptrapd.conf
> diff -u SOURCES/net-snmptrapd.conf:1.1 SOURCES/net-snmptrapd.conf:1.2
> --- SOURCES/net-snmptrapd.conf:1.1 Mon Feb 17 21:59:23 2003
> +++ SOURCES/net-snmptrapd.conf Tue Dec  7 23:34:19 2004
> @@ -0,0 +1 @@
> +
> ================================================================
>
> ---- CVS-web:
>     http://cvs.pld-linux.org/SOURCES/net-snmptrapd.conf?r1=1.1&r2=1.2&f=u
>
>
> _______________________________________________
> pld-cvs-commit mailing list
> pld-cvs-commit at pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

-- 
glen




More information about the pld-devel-en mailing list