[opensuse-buildservice] strange results from 'abuild' on SUSE 10.0 only?
Hi all I have a C library package that builds perfectly well on FC5 through 7, openSUSE 10.2 and Factory, and Mandriva 2006. The package fails strangely on SUSE 10.0, however, with a message from 'abuild', as follows, below. Despite what the message says, the spec file *does* have a %description, and this error is not thrown on any other distro. I have seen problems like this with the Build Service in other cases. It seems like the parsing of the spec file that abuild does might have some bugs in certain cases. In the past I was able to (trivially) rearrange my spec file and make it work, however I am less willing to do that now that my package builds correctly in all these other distros. Any thoughts or suggestions? Cheers JP |----------------------------------------------------------------- ----- building sundials.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- error: parse error in expression error: /usr/src/packages/SOURCES/sundials.spec:17: parseExpressionBoolean returns -1 error: Package has no %description: sundials | --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On Tue, Jul 03, 2007 at 10:30:54PM +1000, John Pye wrote:
I have a C library package that builds perfectly well on FC5 through 7, openSUSE 10.2 and Factory, and Mandriva 2006.
The package fails strangely on SUSE 10.0, however, with a message from 'abuild', as follows, below. Despite what the message says, the spec file *does* have a %description, and this error is not thrown on any other distro.
I have seen problems like this with the Build Service in other cases. It seems like the parsing of the spec file that abuild does might have some bugs in certain cases. In the past I was able to (trivially) rearrange my spec file and make it work, however I am less willing to do that now that my package builds correctly in all these other distros.
Any thoughts or suggestions?
I don't think %defined exists in older suse versions. Just use %if 0%{?fedora_version} %if 0%{?mandriva_version} %if 0%{?suse_version} instead.
|----------------------------------------------------------------- ----- building sundials.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- error: parse error in expression error: /usr/src/packages/SOURCES/sundials.spec:17: parseExpressionBoolean returns -1
This means that rpm couldn't parse a "%if" statement.
error: Package has no %description: sundials
That's just a red herring... Cheers, Michael. -- Michael Schroeder mls@suse.de SUSE LINUX Products GmbH, GF Markus Rex, HRB 16746 AG Nuernberg main(_){while(_=~getchar())putchar(~_-1/(~(_|32)/13*2-11)*13);} --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
On 2007-07-03 22:30:54 +1000, John Pye wrote:
I have a C library package that builds perfectly well on FC5 through 7, openSUSE 10.2 and Factory, and Mandriva 2006.
The package fails strangely on SUSE 10.0, however, with a message from 'abuild', as follows, below. Despite what the message says, the spec file *does* have a %description, and this error is not thrown on any other distro.
I have seen problems like this with the Build Service in other cases. It seems like the parsing of the spec file that abuild does might have some bugs in certain cases. In the past I was able to (trivially) rearrange my spec file and make it work, however I am less willing to do that now that my package builds correctly in all these other distros.
Any thoughts or suggestions?
Cheers JP
|----------------------------------------------------------------- ----- building sundials.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- error: parse error in expression error: /usr/src/packages/SOURCES/sundials.spec:17: parseExpressionBoolean returns -1 error: Package has no %description: sundials
what project? darix -- openSUSE - SUSE Linux is my linux openSUSE is good for you www.opensuse.org --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
Marcus Rueckert wrote:
On 2007-07-03 22:30:54 +1000, John Pye wrote:
I have a C library package that builds perfectly well on FC5 through 7, openSUSE 10.2 and Factory, and Mandriva 2006.
The package fails strangely on SUSE 10.0, however, with a message from 'abuild', as follows, below. Despite what the message says, the spec file *does* have a %description, and this error is not thrown on any other distro.
I have seen problems like this with the Build Service in other cases. It seems like the parsing of the spec file that abuild does might have some bugs in certain cases. In the past I was able to (trivially) rearrange my spec file and make it work, however I am less willing to do that now that my package builds correctly in all these other distros.
Any thoughts or suggestions?
Cheers JP
|----------------------------------------------------------------- ----- building sundials.spec (user abuild) ----------------------------------------------------------------- ----------------------------------------------------------------- error: parse error in expression error: /usr/src/packages/SOURCES/sundials.spec:17: parseExpressionBoolean returns -1 error: Package has no %description: sundials
what project?
darix
The project is home:jdpipe Cheers JP --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-buildservice+help@opensuse.org
participants (3)
-
John Pye
-
Marcus Rueckert
-
Michael Schroeder