TheStarLion |
03-18-2010 03:15 PM |
Problem compiling a Cobbler for Ubuntu Karmic
For those who don't know, Cobbler is something found in Fedora - it simplifies creating a PXE boot server, if I understood it correctly.
It's homepage can be found here
Unfortunately, I'm not using Fedora at the moment, and as I want to PXE install a distribution that doesn't have a means of PXE booting that I can see (Pardus, incidentally) I thought I'd give Cobbler a go.
I tried following the instructions on the Download and build Instructions, as it seems to be the only way to get a .deb package of it, and even got the build environment it talks about set up. However, trying to run 'pdebuild' to make the package gives a problem.
It appears to try to meet the dependencies using aptitude, which suggests a solution that it goes ahead with, which then seems to fail, unable to meet the dependencies. Full terminal output of the command is at the end of the post.
I'm wondering how to fix or get around this so I can finish creating the cobbler package - unless anyone knows of a place I can get one that works with Karmic.
Code:
liam@night-city/~/source/cobbler$ pdebuild
W: /home/liam/.pbuilderrc does not exist
dpkg-checkbuilddeps: Unmet build dependencies: python-cheetah
W: Unmet build-dependency in source
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value: -Wl,-Bsymbolic-functions
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package cobbler
dpkg-buildpackage: source version 1.5.0-1
dpkg-buildpackage: source changed by Jasper Capel <jasper@newnewyork.nl>
dpkg-checkbuilddeps: Unmet build dependencies: python-cheetah
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)
dpkg-buildpackage: warning: This is currently a non-fatal warning with -S, but
dpkg-buildpackage: warning: will probably become fatal in the future.
fakeroot debian/rules clean
dh_testdir
dh_testroot
rm -f build-stamp configure-stamp
# Add here commands to clean up after the build process.
/usr/bin/make clean
make[1]: Entering directory `/home/liam/source/cobbler'
rm -rf build rpm-build
rm -f *~
rm -f cobbler/*.pyc
rm -rf dist
rm -rf buildiso
rm MANIFEST
rm: cannot remove `MANIFEST': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm -f koan/*.pyc
rm -f config/modules.conf config/settings config/version
rm -f docs/*.1.gz
rm *.tmp
rm: cannot remove `*.tmp': No such file or directory
make[1]: [clean] Error 1 (ignored)
rm *.log
rm: cannot remove `*.log': No such file or directory
make[1]: [clean] Error 1 (ignored)
make[1]: Leaving directory `/home/liam/source/cobbler'
dh_clean
dpkg-source -b cobbler
dpkg-source: warning: source directory 'cobbler' is not <sourcepackage>-<upstreamversion> 'cobbler-1.5.0'
dpkg-source: info: using source format `1.0'
dpkg-source: info: building cobbler in cobbler_1.5.0-1.tar.gz
dpkg-source: info: building cobbler in cobbler_1.5.0-1.dsc
dpkg-genchanges -S >../cobbler_1.5.0-1_source.changes
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: source only upload: Debian-native package
[sudo] password for liam:
W: /home/liam/.pbuilderrc does not exist
I: using fakeroot in build.
I: Current time: Thu Mar 18 20:10:45 GMT 2010
I: pbuilder-time-stamp: 1268943045
I: Building the build Environment
I: extracting base tarball [/var/cache/pbuilder/base.tgz]
I: creating local configuration
I: copying local configuration
I: mounting /proc filesystem
I: mounting /dev/pts filesystem
I: policy-rc.d already exists
I: Obtaining the cached apt archive contents
I: Installing the build-deps
-> Attempting to satisfy build-dependencies
-> Creating pbuilder-satisfydepends-dummy package
Package: pbuilder-satisfydepends-dummy
Version: 0.invalid.0
Architecture: i386
Maintainer: Debian Pbuilder Team <pbuilder-maint@lists.alioth.debian.org>
Description: Dummy package to satisfy dependencies with aptitude - created by pbuilder
This package was created automatically by pbuilder and should
Depends: debhelper (>= 7), python-cheetah, python-yaml, git-core, python
dpkg-deb: building package `pbuilder-satisfydepends-dummy' in `/tmp/satisfydepends-aptitude/pbuilder-satisfydepends-dummy.deb'.
Reading package lists...
Building dependency tree...
Reading state information...
aptitude is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Selecting previously deselected package pbuilder-satisfydepends-dummy.
(Reading database ... 10668 files and directories currently installed.)
Unpacking pbuilder-satisfydepends-dummy (from .../pbuilder-satisfydepends-dummy.deb) ...
dpkg: dependency problems prevent configuration of pbuilder-satisfydepends-dummy:
pbuilder-satisfydepends-dummy depends on debhelper (>= 7); however:
Package debhelper is not installed.
pbuilder-satisfydepends-dummy depends on python-cheetah; however:
Package python-cheetah is not installed.
pbuilder-satisfydepends-dummy depends on python-yaml; however:
Package python-yaml is not installed.
pbuilder-satisfydepends-dummy depends on git-core; however:
Package git-core is not installed.
pbuilder-satisfydepends-dummy depends on python; however:
Package python is not installed.
dpkg: error processing pbuilder-satisfydepends-dummy (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
pbuilder-satisfydepends-dummy
Reading package lists...
Building dependency tree...
Reading state information...
Initializing package states...
Writing extended state information...
The following packages are BROKEN:
pbuilder-satisfydepends-dummy
The following NEW packages will be installed:
bsdmainutils{a} debhelper{a} file{a} gettext{a} gettext-base{a}
git-core{a} groff-base{a} html2text{a} intltool-debian{a} libcroco3{a}
libdigest-sha1-perl{a} liberror-perl{a} libexpat1{a} libglib2.0-0{a}
libmagic1{a} libpcre3{a} libsqlite3-0{a} libxml2{a} man-db{a}
mime-support{a} po-debconf{a} python{a} python-cheetah{a}
python-support{a} python2.6{a}
0 packages upgraded, 25 newly installed, 0 to remove and 0 not upgraded.
Need to get 14.4MB/17.9MB of archives. After unpacking 52.4MB will be used.
The following packages have unmet dependencies:
pbuilder-satisfydepends-dummy: Depends: python-yaml which is a virtual package.
The following actions will resolve these dependencies:
Remove the following packages:
pbuilder-satisfydepends-dummy
Score is -9850
Writing extended state information...
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 10668 files and directories currently installed.)
Removing pbuilder-satisfydepends-dummy ...
Selecting previously deselected package libmagic1.
(Reading database ... 10668 files and directories currently installed.)
Unpacking libmagic1 (from .../libmagic1_5.03-1ubuntu1_i386.deb) ...
Selecting previously deselected package file.
Unpacking file (from .../file_5.03-1ubuntu1_i386.deb) ...
Selecting previously deselected package libsqlite3-0.
Unpacking libsqlite3-0 (from .../libsqlite3-0_3.6.16-1ubuntu1_i386.deb) ...
Selecting previously deselected package mime-support.
Unpacking mime-support (from .../mime-support_3.46-1ubuntu1_all.deb) ...
Selecting previously deselected package python2.6.
Unpacking python2.6 (from .../python2.6_2.6.4~rc2-0ubuntu1_i386.deb) ...
Selecting previously deselected package python.
Unpacking python (from .../python_2.6.4~rc1-0ubuntu1_all.deb) ...
Selecting previously deselected package bsdmainutils.
Unpacking bsdmainutils (from .../bsdmainutils_6.1.10ubuntu4_i386.deb) ...
Setting up libmagic1 (5.03-1ubuntu1) ...
Setting up file (5.03-1ubuntu1) ...
Setting up libsqlite3-0 (3.6.16-1ubuntu1) ...
Setting up mime-support (3.46-1ubuntu1) ...
update-alternatives: using /usr/bin/see to provide /usr/bin/view (view) in auto mode.
Setting up python2.6 (2.6.4~rc2-0ubuntu1) ...
Setting up python (2.6.4~rc1-0ubuntu1) ...
Setting up bsdmainutils (6.1.10ubuntu4) ...
update-alternatives: using /usr/bin/bsd-write to provide /usr/bin/write (write) in auto mode.
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
Reading package lists...
Building dependency tree...
Reading state information...
Reading extended state information...
Initializing package states...
Writing extended state information...
Aptitude couldn't satisfy the build dependencies
E: pbuilder-satisfydepends failed.
I: Copying back the cached apt archive contents
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env
I: removing directory /var/cache/pbuilder/build//20029 and its subdirectories
|