Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems packaging as an RPM #39

Closed
GoogleCodeExporter opened this issue May 6, 2015 · 1 comment
Closed

Problems packaging as an RPM #39

GoogleCodeExporter opened this issue May 6, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link
Contributor

What steps will reproduce the problem?
1. Sample rpm.spec file:
=======
#
Summary: FFmpeg customized for broadcast and professional usage. 

Name: FFmbc
Version: 0.6.rc3 
Release: 1
License: GPL
Group: Applications/Audio
Source: http://code.google.com/p/ffmbc/downloads/FFmbc-0.6.rc3.tar.gz
URL: http://code.google.com/p/ffmbc 
Distribution: REDHAT 5.5 AMD64 Linux
Vendor: FFMediaBroadcast
Packager: Charles Sibbald <casibbald@gmail.com>

BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
#BuildRequires:
%description
FFmpeg customized for broadcast and professional usage
Requires: 

%prep
rm -rf $RPM_BUILD_DIR/FFmbc
zcat $RPM_SOURCE_DIR/FFmbc-0.6.rc3.tar.gz | tar -xvf -
#                   Tar file updated to extract correctly.
%setup -q
%build 
#%configure
cd $RPM_BUILD_DIR/FFmbc
#./configure --enable-gpl
make %{?_smp_mflags}

%install
rm -rf %{buildroot}
make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc

%changelog

#===========



2. ]$  "rpmbuild -ba ffmbc-x86_64.spec"


============

Expect the configure stage to run with no issues.




What version of the product are you using?  FFmbc-0.6-rc3

On what operating system?   Redhat-5.5_x86_64


Please provide any additional information below:

- 
++ find . -name config.guess -o -name config.sub
+ ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu 
--target=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr 
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 
--libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com 
--mandir=/usr/share/man --infodir=/usr/share/info
Unknown option "--build=x86_64-redhat-linux-gnu".
See ./configure --help for available options.
error: Bad exit status from /var/tmp/rpm-tmp.46121 (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.46121 (%build)

Original issue reported on code.google.com by casibb...@gmail.com on 15 Apr 2011 at 1:48

@GoogleCodeExporter
Copy link
Contributor Author

configure option doesn't exist.

Original comment by baptiste...@gmail.com on 15 Apr 2011 at 8:13

  • Changed state: Invalid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant