Hi, I'm trying to compile kdepim and I get the following error: ../../kode/kxml_compiler/kxml_compiler --custom-parser /usr/src/packages/BUILD/kdepim-3.4.2/kresources/featureplan/kde-features.rng echo > dummy.cpp makeobj[0]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.4.2' error: Bad exit status from /var/tmp/rpm-tmp.22779 (%build) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.22779 (%build) The spec file is almost untouched (added BuildArch: i686, Packager: me and changed the Release from 18 to 18.SUPER.1). CFLAGS, CXXFLAGS and LDFLAGS are used (check my blog). Any idea? Cheers, -- Damian Mihai Liviu Mobile: +40 741 226993; Fax: +1 347-632-4117 Phone : +1 360-526-6441; +1 347-632-4117; +44 0870-3403339 URL: http://liviudm.blogspot.com
On Tue, 8 Nov 2005 13:28:14 +0200 Damian Mihai Liviu <dazzle.digital@gmail.com> wrote:
Hi,
I'm trying to compile kdepim and I get the following error: ../../kode/kxml_compiler/kxml_compiler --custom-parser /usr/src/packages/BUILD/kdepim-3.4.2/kresources/featureplan/kde-features.rng echo > dummy.cpp makeobj[0]: Leaving directory `/usr/src/packages/BUILD/kdepim-3.4.2' error: Bad exit status from /var/tmp/rpm-tmp.22779 (%build)
It would be nice if you post some more output because there's no "error". Cheers Marcus
Hi, On Tuesday 08 November 2005 16:18, Marcus Hüwe wrote:
It would be nice if you post some more output because there's no "error". http://rapidshare.de/files/7350915/kdepim3-output.html Here is all I can see in my console. y2pmbuild keeps the logs? If yes, where?
Cheers, -- Damian Mihai Liviu Mobile: +40 741 226993; Fax: +1 347-632-4117 Phone : +1 360-526-6441; +1 347-632-4117; +44 0870-3403339 URL: http://liviudm.blogspot.com
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Damian Mihai Liviu wrote:
Hi,
Hi Damian ...
The spec file is almost untouched (added BuildArch: i686, Packager: me and
Don't do that ! Never, ever write "BuildArch: i686" in the spec file That's something you pass as an option to rpmbuild: rpmbuild -ba --target=i686 ... The "BuildArch:" directive in the spec file has precedence over the --target parameter of rpmbuild (!!). This means that your spec file would always result in RPMs built for i686 (even if you build on x86_64 or ppc, never mind what --target= parameter you pass to rpmbuild). The only exception to that rule is when you write a spec file for a package where all the files are architecture-independent (e.g. most Perl or Python modules). In that case, you _must_ write this: BuildArch: noarch cheers - -- -o) Pascal Bleser http://linux01.gwdg.de/~pbleser/ /\\ <pascal.bleser@skynet.be> <guru@unixtech.be> _\_v FOSDEM 2006 -- 25+26 February 2006 in Brussels -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) iD8DBQFDcL9Jr3NMWliFcXcRAsnnAKC9ew/AjrVSa9fNrgYx11dxh2RvAgCfVd37 6hLliByf0i9tlq5DjF843H8= =ezcM -----END PGP SIGNATURE-----
On Tuesday 08 November 2005 17:07, Pascal Bleser wrote:
Never, ever write "BuildArch: i686" in the spec file
That's something you pass as an option to rpmbuild: rpmbuild -ba --target=i686 ... How can I do that if I'm using y2pmbuild?
-- Damian Mihai Liviu Mobile: +40 741 226993; Fax: +1 347-632-4117 Phone : +1 360-526-6441; +1 347-632-4117; +44 0870-3403339 URL: http://liviudm.blogspot.com
On Tue, Nov 08, 2005 at 08:05:15PM +0200, Damian Mihai Liviu wrote:
On Tuesday 08 November 2005 17:07, Pascal Bleser wrote:
Never, ever write "BuildArch: i686" in the spec file
That's something you pass as an option to rpmbuild: rpmbuild -ba --target=i686 ... How can I do that if I'm using y2pmbuild?
Most commands on a Linux system have a --help switch. If you try this with y2pmbuild I am quite sure you are able to guess which of the mentioned options is the right one. Robert -- Robert Schiele Tel.: +49-621-181-2214 Dipl.-Wirtsch.informatiker mailto:rschiele@uni-mannheim.de
Most commands on a Linux system have a --help switch. If you try this with y2pmbuild I am quite sure you are able to guess which of the mentioned options is the right one. Ups! Sorry about that. I had a hard day and I'm also very tired... I promise
On Tuesday 08 November 2005 20:25, Robert Schiele wrote: that in the future I will not ask dumb questions ;-) -- Damian Mihai Liviu Mobile: +40 741 226993; Fax: +1 347-632-4117 Phone : +1 360-526-6441; +1 347-632-4117; +44 0870-3403339 URL: http://liviudm.blogspot.com
participants (4)
-
Damian Mihai Liviu
-
Marcus Hüwe
-
Pascal Bleser
-
Robert Schiele