Mailinglist Archive: opensuse-packaging (107 mails)

< Previous Next >
[opensuse-packaging] build service error (RHEL perl module)
  • From: "Daniel Westervelt" <dwestervelt@xxxxxxxxxx>
  • Date: Tue, 19 May 2009 11:05:01 -0600
  • Message-id: <4A12AE7D020000810009C983@xxxxxxxxxxxxxxxxxxxxxxxxx>

Does anyone now why I get this error building a perl module?

Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.34276
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd Parse-Eyapp-1.46
+ %perl_make_install
/var/tmp/rpm-tmp.34276: line 23: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.34276 (%install)

The build is a fairly straightforward perl module with a spec file that
follows the suse conventions.

Targets are RHEL4/5 i586 and x86_64.

Does OBS support the perl_* macros for RHEL?


%define cpan_name Parse-Eyapp

Name: perl-%cpan_name
Version: 1.46
Release: 0
Provides: %cpan_name
Requires: perl = %{perl_version}
Group: Development/Libraries/Perl
License: Artistic
Summary: Extensions for Parse::Yapp
Source: %cpan_name-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build

Parse::Eyapp Eyapp yacc/yapp syntax with
functionalities like named attributes,
EBNF-like expressions, modifiable default action,
automatic syntax tree building,
semi-automatic abstract syntax tree building,
translation schemes, tree regular expressions,
tree transformations, scope analysis, support,
directed acyclic graphs and a few more.

%setup -q -n %cpan_name-%{version}

perl Makefile.PL OPTIMIZE="$RPM_OPT_FLAGS -Wall"
make test
# correct spurious execute permissions
#chmod 644 Changes
#chmod 644 README



%doc %{_mandir}/man?/*

%changelog -n %{name}
* Fri May 08 2009 - dwestervelt@novell
- Initial release

To unsubscribe, e-mail: opensuse-packaging+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-packaging+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups