Fedora :: Can't Build Rpm - Rpmbuild Fails

Mar 4, 2010

recently i have been building my own kernels, and have been successful. however, over the last 2 days, using the proper documentation and methods i always get to the same point that rpmbuild fails at. it's very frustrating to say the least...i am somewhat new to fedora, as i tend to use debian-based systems or freeBSD, where the approach and methodology is quite different to that of redhat. the command used:

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

this builds the kernel with modules(needed by me) and this is where it fails:

[Code]...

if anyone has fix let me know, i can't update or upgrade rpmubuild without doing so to my whole system, so i hope this isn't a bug in rpmbuild.... i already had to upgrade yum & yum-utils because of a bug that wouldn't let "builddep" work. (come on fedora, this is a standard release, i shouldn't be having problems with yum or with rpm! this is apart of the OS's core isn't it? anyway, if someone who is in the know has a solution

View 2 Replies


ADVERTISEMENT

Red Hat :: Why Rpmbuild Deletes The BUILD Directory

Apr 15, 2011

I'm using rpmbuild 4.8.0 to build my rpm package on RHEL6. The spec file works just fine with any other Linux Releases, including RHEL5. But at the end, build failed with:
"shell-init error retrieving current directory: getcwd: cannot access parent directories: No such file or directory" I found that rpmbuild tried to compare the BUILD directory with the root filesystem, it will delete the BUILD directory if it's not '/'. My working directory is /tmp/test, so something like this in the /var/tmp/rpm-tmp file:

Code:

cd "/tmp/test/BUILD"
[ "RPM_BUILD_ROOT" != "/" ] && rm -rf "${RPM_BUILD_ROOT}"

I think this is the reason why the command failed. And I can't find the two lines of similar code in an earlier version of rpmbuild on RHEL5.

View 5 Replies View Related

Software :: Self Build Rpm Fails With Missing Dependencies On Build Host?

Sep 24, 2009

as I'm advancing in building some nice rpm I finally wanted to install on of my gems also the build was successful the actual install fails with missing dependencies.

Code:

$ rpm --root /home/sascha/rpmbuild/ -i ./RPMS/x86_64/memcached-1.4.1-2.x86_64.rpm
error: Failed dependencies:
libc.so.6()(64bit) is needed by memcached-1.4.1-2.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by memcached-1.4.1-2.x86_64

[code]....

View 1 Replies View Related

Ubuntu Security :: Script Running As A Special Build User Which Performs An Automated Build That Fails With (Too Many Open Files)?

Feb 11, 2011

I have an init script running as a special build user which performs an automated build that fails with (Too many open files).I updated /etc/security/limits to allow the special user more open files, but that didn't work - the init script still isn't allowed more open files.Here's a demonstration of the problem;

Code:
$ su - sbsbuild -c "ulimit -n"
Password:

[code]....

View 1 Replies View Related

Fedora Servers :: Build Of Apache 1.3.41 Fails On F12?

Jan 9, 2010

I'm trying to move an existing webserver from an old machine to a machine with Fedora 12 installed on it. ThSince the version available in the repository is version 2.X I downloaded the source from apache.org and tried to compile it. I ran configure using the default options and it an without any warnings or errors. However when I run make it fails with the following error:

gcc -c -I../os/unix -I../include -DLINUX=22 -DHAVE_SET_DUMPABLE -DUSE_HSREGEX -DNO_DL_NEEDED `../apaci` htpasswd.c
htpasswd.c:101: error: conflicting types for getline
/usr/include/stdio.h:653: note: previous declaration of getline was here
make[2]: *** [htpasswd.o] Error 1
make[2]: Leaving directory `/root/apache_1.3.41/src/support'
make[1]: *** [build-support] Error 1
make[1]: Leaving directory `/root/apache_1.3.41'
make: *** [build] Error 2

what the problem and more importantly the solution to this problem is?

View 9 Replies View Related

Fedora :: Akmods Fails To Build VirtualBox-OSE Driver For Kernel 2.6.40-4

Aug 2, 2011

I had no problems up to the newest kernel version. But for 2.6.40-4 akmods fails to build the kmod with the following error:

Code:
Building RPM using the command '/usr/bin/akmodsbuild --target x86_64 --kernels 2.6.40-4.fc15.x86_64 /usr/src/akmods/VirtualBox-OSE-kmod.latest'
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-4.fc15.x86_64/vboxnetflt/vboxnetflt.mod.o
LD [M] /tmp/akmodsbuild.yob64XwN/BUILD/VirtualBox-OSE-kmod-4.0.4/_kmod_build_2.6.40-
[Code]...

View 13 Replies View Related

Fedora X86/64bit :: Build Mandrivas Theme Ia_ora From Source But It Fails

Feb 13, 2011

Im trying to build Mandrivas theme ia_ora from source but it fails.

Code:
sh install.sh
-- Found Qt-Version 4.7.1 (using /usr/bin/qmake-qt4)
-- Found X11: /usr/lib64/libX11.so
-- Found KDE 4.6 include dir: /usr/include/kde4
-- Found KDE 4.6 library dir: /usr/lib64/kde4/devel

[Code]...

View 2 Replies View Related

Red Hat / Fedora :: Rpmbuild Cannot Install Src.rpm?

Apr 19, 2010

kernel source cannot install using rpmbuild Dear all, here is my problemi downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5.i installed succeffully above src.rpm using command ..rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpmit created a directory in /usr/src/redhatthen i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed.saying: error:cannot create %sourcedir /usr/src/redhat/sourceserror:kernel-2.6.18-53.el5.src.rpm cannot be installed may i know the reason why it is failing

View 1 Replies View Related

Fedora :: Error From The Rpmbuild Command

Aug 9, 2009

I'm building an RPM for the first time. I'm getting the following error from the rpmbuild command:

View 2 Replies View Related

Fedora :: Use Rpmbuild To Compile Kernel Without Re-compiling Unchanged Module?

Apr 20, 2011

Using the rpmbuild to compile the kernel, every time the patches will be applied to the source code. So even if no changes are made to the source code and no patches are added to kernel.spec, the whole kernel will still be recompiled, wasting a lot of time

View 13 Replies View Related

Slackware :: Easystroke 0.5.3 Build Fails

Jun 23, 2010

using slakware64 13.1 modified sbo slackbuild for latest version..

View 7 Replies View Related

Slackware :: KDE 4.5.4 Bindings Build Fails

Dec 4, 2010

I'm trying to build/install KDE 4.5.4, but I run into problems with the bindings package. Build fails with the following:

[Code]....

I'm building using the KDE slackbuild from sources dir, with the new KDE packages. edit: Well I decided to just take the risk of a not working KDE and commented out the bindings package. All other packages build fine. After this I crossed my fingers and rebooted, KDE loaded up. I gave the bindings package another go, and to my surprise it did build now. Got KDE up to date and it seems to be running fine.

View 6 Replies View Related

Slackware :: NVIDIA X86-256.44 Fails To Build Against 2.6.36

Oct 22, 2010

here is the output:

[code]...

NVIDIA x86-256.44 fails to build against 2.6.36

View 13 Replies View Related

Software :: Libc6 Debian Build Fails?

Feb 18, 2010

I am using my athlon64 machine running Debian squeeze i386 to build some packages optimized for a K6-2 machine. I decided to start with libc6 since most packages depend on it.

I installed the build dependencies via

Code:
apt-get build-dep eglibc

Then, as an unprivileged user, I downloaded the debianized source via

Code:
apt-get source eglibc

I changed to the source directory and ran

Code:
dpkg-buildpackage -rfakeroot -us -us
About 6 hours later, the build failed: [URL]

There were four config.log files:

Code:
./build-tree/i386-xen/config.log
./build-tree/i386-i686/config.log
./build-tree/i386-libc/config.log
./build-tree/i386-amd64/config.log

All of which end with exit status 0. They are also about 1600 lines each so I haven't read them entirely. If someone can tell me which one/ones is/are relevant, I will post it/them to a pastebin.

View 2 Replies View Related

Slackware :: Build Fails In Current: Gtkimageview-1.6.4?

Feb 14, 2010

I can not get gtkimageview-1.6.4 to build in current. It fails with a number of errors of type:

Code:
gtkanimview.c: In function 'gtk_anim_view_get_type':
/usr/include/glib-2.0/glib/gthread.h:339: error: dereferencing pointer 'value_location.1' does break strict-aliasing rules
/usr/include/glib-2.0/glib/gthread.h:339: note: initialized from here

View 2 Replies View Related

Software :: Package Gpart Fails To Build On Powerpc?

Apr 17, 2010

Question is: How do I compile a package for little endian on big endian proceessors? Gpart is known to build on arm-el, ia64, i386, and amd64. I'm using gcc 4.3 and have versions 3.4, 4.1, 4.2. Build environment is debian lenny, powerpc.

View 4 Replies View Related

Slackware :: VirtualBox < 3.1.4 Module Build Fails On 2.6.33 Kernel

Mar 4, 2010

I had an issue with the module build for vbox 3.1.2 breaking on the latest kernel ( /etc/rc.d/rc.vboxdrv setup ). Apparently the issue is that a kernel header (autoconf.h ) has changed its location in the module tree and hence the issue.

2 options:

1. upgrade to 3.1.4

2. create a symlink as follows

cd /usr/src/linux/include/linux
ln -s ../generated/autoconf.h autoconf.h

View 12 Replies View Related

Debian :: Installing Kernel Sources - Make Command To Build Package Fails

Jul 22, 2010

I'm trying to build the package zaptel on debian, but I'm encountering two errors:
1- When I try to run the "make menuselect" command, I get an error stating that I need ncurses which is missing. I tried to get it installed but didn't get to do it yet.
2- After that, there's the command "make" I think it's to build the package. Yet again this fails, and the error I get is "you do not appear to have the sources for the 2.6.26-2-686 kernel installed".

View 3 Replies View Related

General :: Kernel Source Cannot Install Using Rpmbuild

Apr 19, 2010

i downloaded kernel source rpm. i.e kernel-2.6.18-53.el5.src.rpm for my kernel 2.6.18-53.el5. i installed succeffully above src.rpm using command .. rpmbuild --rebuild kernel-2.6.18-53.el5.src.rpm it created a directory in /usr/src/redhat

then i manually deleted the redhat directory just because i want to rebuild the kernel source again.so i i removed the redhat directory but now i tried to excute above rpmbuild command again but it is failed. saying: error:cannot create %sourcedir /usr/src/redhat/sources error:kernel-2.6.18-53.el5.src.rpm cannot be installed

View 1 Replies View Related

General :: Rpmbuild Force To Use Cpio.gz On RHEL 5.3?

Oct 19, 2010

I have RHEL 5.3.

I am trying to build a e1000 network card driver rpm with particular requirement to have cpio.gz inside rpm.

But after i build my rpm driver it has cpio.lzma inside. I simply build using command from the readme: rpmbuild -tb *.tar.gz.

I have googled and found that from around 5.0 RHEL includes lzma and uses it as a default setting. Is there any way to force to use cpio.gz or somehow repackage my rpm correctly?

I have searched through makefile and other files but was not able to find a clue.

View 11 Replies View Related

Server :: Run Rpmbuild -bb On Centos 5.5 Box To Create The Rpm For Python 2.7

Feb 23, 2011

I've been attempting to run rpmbuild -bb on my centos 5.5 box to create the rpm for Python 2.7 to no success.

View 3 Replies View Related

Software :: Rpmbuild Does Not Create Lib64 In Correct Path?

May 13, 2011

I am trying to install OpenCV2.2.0 from the sources and to make it easier in the future I want to create a rpm on my OpenSuse 11.2 x86_64 platform. The instructions how to install are in the specfile The relevant parts of the specfile below:

Code:

---snipp
%prep
%setup
%build

[code]....

View 2 Replies View Related

Software :: Rpmbuild A Spec File When A BuildRequires Is Not Installed

Dec 8, 2008

I'm trying to create a set of rpm files to install the requirements for a program.I found a great utility named cpanspec that will create a spec file for perl modules and have started building rpm files. I was able to create an rpm file for Business::CreditCard as a regular user. Now I'm trying to build another module that requires B::CC, and rpmbuild -ba fails saying that I am missing B::CC. I don't want to install it just to create another rpm file.Is there a way to make rpmbuild "think" that B::CC is installed in the build environment without installing it on the system?

View 1 Replies View Related

Programming :: Unable To Install The %files Directory In Rpmbuild

Nov 25, 2010

I have managed to get it to install the files in the BUILDROOT directory correctly but when I add the directories under the file it seems to try and install the files from root. my rpmmacros is as follows:

Code:

%_topdir /home/rpmbuild
# The directory where buildroots will be created.
%_buildrootdir %{_topdir}/BUILDROOT

[code]...

View 1 Replies View Related

Software :: Rpmbuild: Check File Exist Before Installing Package?

Nov 17, 2010

I'm building a RPM package. In my SPEC file, in the "%pre" and "%post" sections, I need to be sure that Postgresql-server is started.I tried to add a "PreReq: /var/run/postmaster*" but the * is not interpreted ! (filename changes, depending on the linux distribution)Is this way test that this file exist (or test if the result of "pidof -s/usr/bin/postmaster" is empty, for example

View 2 Replies View Related

Software :: Rpmbuild: ./libtool: Line 1015: -e: Command Not Found?

Jan 24, 2010

rpmbuild: ./libtool: line 1015: -e: command not foundDear Experts,As part of a solution here:[URL]I'm trying to create a binary RPM from a SRC.RPM file. I'm running Redhat 5. cat /etc/redhat-releaseEnterprise Linux Enterprise Linux Server release 5.2 (Carthage)uname -aLinux blue.gateway.2wire.net 2.6.18-92.el5PAE #1 SMP Fri May 23 22:26:05 EDT 2008 i686 i686 i386 GNU/LinuxI managed to find the source package I need:ompat-db-4.1.25-9.src.rpmBut I'm getting this error as part of the build process:./libtool: line 1015: -e: command not foundDoes anyone know the secret to getit to work?Please see more detail in the following notes

pwd
/tmp/compat-db-4.1.25-9.i386
ls -l

[code]....

View 1 Replies View Related

OpenSUSE :: Find All The Build-deps Or What They Are For That Matter To Build Boxee

Feb 20, 2010

I'm in love with my Opensuse 11.2. Love my KDE 4.4. The only thing I miss from my Ubuntu installation, is the ability to use Boxee. I would be more than willing to compile Boxee from source. I only have 2 problems with that:

1) I don't know where I can find all the build-deps or what they are for that matter to build Boxee.

2) I'm running on a Netbook. Yes, my measly Intel Atom is no fun for compiling and building.

What are my options/what can I do to get Boxee up and running on 11.2? I've tried searching on build service for an RPM, but I think due to legal restrictions, Boxee can't be on there.

View 9 Replies View Related

OpenSUSE :: Build Libevent-dev 2.0.10 In Ooder To Build New Version Of Transmission?

Feb 16, 2011

looking for LIBEVENT... configure: error: Package requirements (libevent >= 2.0.10) were not met: In order to build transmission 2.21.I need libeventnew version of transmission,I need to build libevent-dev >= 2.0.10 and installed first.But I can't get any information about building development files for libevent.

View 1 Replies View Related

Slackware :: Install The I386 Build On One Partition And The 64-bit Build On Another

Sep 16, 2010

Trying to install SW 13.1 (on DVD) on the following system: M/B Intel: DX38BT Processor Intel Core 2 Quad Q6700 - 2.66GHz, 8MB Cache, 1066MHz FSB, Socket 775 Memory Corsair Dual Channel 8192MB PC10600 DDR3 1333MHz Memory (4x2048MB) Graphics Diamond Radeon HD 3850 Video Card - Viper, 512MB GDDR3, PCI Express 2.0 P/S Ultra 1000W

My goal is to install the i386 build on one partition and the 64-bit build on another. I have been away from Linux for a while and am sick to death of Win7, want to come home. :-}

Booted on i386 side of DVD, system freezes after a couple of lines that start with ATA2. Does not respond to 3 finger salute, ctrl-c, nothing. Have to press reset. I have tried both huge.s and hugesmp.s kernels

Booted on 64-bit side, comes up fine. I performed the install, selected for automatic lilo install. Lilo install hung but I was able to reboot. I booted off the 64-bit side again, entered the following: huge.s root=/dev/sde3 rdinit= ro It booted fully to the login prompt but the keyboard does not work, no input.

View 2 Replies View Related

Fedora Installation :: Upgrade RH9 To F10 - Install Fails - Installer Fails Media Check Due To "errors"

Jan 23, 2009

I am trying to upgrade RH9 to F10. I have downloaded dvd iso image i386. The SHA1 integrity check passes. The installer fails media check due to "errors". I did an independent verification of the DVD and zero errors found. Download was from Fedora's own torrent, so files should be verified anyway. If I bypass the media check I get the message : Running anaconda 11.4.1.62 the Fedora system installer - please wait.....

[Code]....

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved