Problems rebuilding the F12 kernel RPM on mock or Centos

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hey there,

I'm trying to do some (admittedly hacky) stuff involving trixbox on a netbook. Since it requires a fairly new kernel to support the bluetooth modules, I decided to go ahead and get the F12 kernel RPMs and recompile them for trixbox/centos 5. 

However, the build never seems to complete. I've tried under mock and using a virtual machine to build as root (which I know is bad, but I had to test...). Under mock, it fails in the generation of the header files, as it tries to remove files from /usr/include/ and it doesn't have the needed permission . On the virtual machine, the build fails later on, as it has successfully removes the headers from /usr/include, preventing anything else from compiling. 

With mock running on a Centos 5 host, here's the output:  (rebuilding kernel-2.6.31.12-174.2.3.fc12.src.rpm ) 
+ make ARCH=i386 INSTALL_HDR_PATH=/usr headers_install
  CHK     include/linux/version.h
  UPD     include/linux/version.h
  HOSTCC  scripts/basic/fixdep
  HOSTCC  scripts/basic/docproc
  HOSTCC  scripts/basic/hash
  HOSTCC  scripts/unifdef
  REMOVE  ipc.h
rm: cannot remove `/usr/include/asm-generic/ipc.h': Permission denied
make[2]: *** [/usr/include/asm-generic/.install] Error 1
make[1]: *** [asm-generic] Error 2
make: *** [headers_install] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.5339 (%install)


On a disposable Centos 5 instance as root:
+ make ARCH=x86_64 INSTALL_HDR_PATH=/usr headers_check
In file included from scripts/basic/fixdep.c:107:
/usr/include/sys/types.h:27:22: error: features.h: No such file or directory
In file included from /usr/include/bits/types.h:31,
                 from /usr/include/sys/types.h:31,
                 from scripts/basic/fixdep.c:107:

(and rpm -V glibc-headers shows all files are missing).

I'm trying to compile it under mock on a Fedora 12 instance , but it's not going very well.... I'm building a disposable F12 instance to test building there, but I'm guessing it will just fail as well...

Any ideas? It's looking like a bug; it should be using INSTALL_HDR_PATH into a path relative to the build root, not just /usr ...

--
Pmacedo

-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux