[th/rpm] epoch 0.1 -> SIGSEGV

Paweł Sikora pluto w agmk.net
Pią, 8 Wrz 2006, 22:35:36 CEST


$ rpmbuild foo.spec -bp
zsh: segmentation fault  rpmbuild foo.spec -bp

Program received signal SIGSEGV, Segmentation fault.
0x00002afc347391b0 in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x00002afc347391b0 in strlen () from /lib64/libc.so.6
#1  0x00002afc3470bafe in vfprintf () from /lib64/libc.so.6
#2  0x00002afc3472c7aa in vsnprintf () from /lib64/libc.so.6
#3  0x00002afc3424b6c5 in rpmlogClose () from /lib64/librpmio-4.4.so
#4  0x00002afc3424b958 in rpmlog () from /lib64/librpmio-4.4.so
#5  0x00002afc33b4b8f8 in handlePreambleTag (spec=0x633d50, pkg=0x64a1a0, 
tag=RPMTAG_EPOCH, macro=0x2afc33b5720a "epoch",
    lang=0x7fffffe6d1a0 "") at parsePreamble.c:639
#6  0x00002afc33b4c7e5 in parsePreamble (spec=0x633d50, initialPackage=<value 
optimized out>) at parsePreamble.c:960
#7  0x00002afc33b4f88b in parseSpec (ts=0x6338d0, 
specFile=0x7fffffe71290 "/home/users/pluto/rpm/SPECS/foo.spec", 
rootURL=0x2afc33dc755c "/",
    buildRootURL=0x0, recursing=0, passPhrase=0x404583 "", cookie=0x0, 
anyarch=0, force=0) at parseSpec.c:508
#8  0x0000000000402e66 in ?? ()
#9  0x0000000000000000 in ?? ()

jak się komuś chce, to niech zerknie w bebechy. ja jestem padnięty narazie.
-------------- następna część ---------
Summary:	foo
Name:		foo
Epoch:		0.1
Version:	1
Release:	1
License:	GPL
Group:		Applications/System
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
foo

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(644,root,root,755)

%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback w pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org

$Log: foo.spec,v $


Więcej informacji o liście dyskusyjnej pld-devel-pl