unable to build root(Ubuntu 12.04)

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

unable to build root(Ubuntu 12.04)

hammadm1254
Hi,

I have tried the live CD version of Inquisitor and liked it very much. However there are few features I need which I believe the Enterprise version will be able to offer. In the process of building Inquisitor I got a bunch of errors which I was able to fix by installing missing packages such as debhelper. There is one error I don't know how to fix yet. The output below shows the problem:

make[2]: Leaving directory `/home/testbench/Downloads/inq-3.0/work/build-package/inquisitor-client-1.0-1'
dh_testdir
dh_testroot
dh_installchangelogs
dh_installdocs
dh_installexamples
dh_installman
dh_link
dh_strip
dh_compress
dh_fixperms
dh_installdeb
dh_shlibdeps
dh_gencontrol
dh_md5sums
dh_builddeb
dpkg-deb: building package `inquisitor-client' in `../inquisitor-client_1.0-1_amd64.deb'.
make[1]: Leaving directory `/home/testbench/Downloads/inq-3.0/work/build-package/inquisitor-client-1.0-1'
 dpkg-genchanges -b >../inquisitor-client_1.0-1_amd64.changes
dpkg-genchanges: binary-only upload - not including any source code
 dpkg-source --after-build inquisitor-client-1.0-1
dpkg-buildpackage: binary only upload (no source included)
Unable to build root for Debian automatically. Please build root manually.
make: *** [build-root] Error 1
testbench@testbench-Precision-WorkStation-T7500:~/Downloads/inq-3.0$


I am new to this. Hopefully someone can shed some light on the issue. TIA
Reply | Threaded
Open this post in threaded view
|

Re: unable to build root(Ubuntu 12.04)

Mikhail Yakshin
Administrator
Hi hammadm1254,

Sorry for long delays with answer. If it's still actual, the answer is below.

> However there are few features I need which I believe the Enterprise version
> will be able to offer. In the process of building Inquisitor I got a bunch
> of errors which I was able to fix by installing missing packages such as
> debhelper. There is one error I don't know how to fix yet. The output below
> shows the problem:
>
> make[2]: Leaving directory
> `/home/testbench/Downloads/inq-3.0/work/build-package/inquisitor-client-1.0-1'
[...]
> Unable to build root for Debian automatically. Please build root manually.
> make: *** [build-root] Error 1
> testbench@testbench-Precision-WorkStation-T7500:~/Downloads/inq-3.0$

The main problem is that you're using older 3.0 version, it required
building Debian root manually. The best solution is to switch to
modern trunk version - it should build on Debian automatically without
problems. Use the following command to check it out:

svn co https://inq.svn.sourceforge.net/svnroot/inq/trunk inq

--
WBR, Mikhail Yakshin

------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
inq-discuss-en mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inq-discuss-en
Reply | Threaded
Open this post in threaded view
|

Re: unable to build root(Ubuntu 12.04)

hammadm1254
Hi,

Thank you for the reply. I had been busy and did not get a chance to try your solution until recently. Unfortunately I tried what you said and it did not work for me. If it helps, I had originally tried to install form tar files on sourceforge.net which are referenced in the downloads section of this website. I apologize in advance for my ignorance. I am new to this.
Reply | Threaded
Open this post in threaded view
|

Re: unable to build root(Ubuntu 12.04)

hammadm1254
The text below shows the errors I am currently encountering and unable to resolve. Note I have manually installed ruby, dialog, and xmlstarlet using apt-get install. Please help.


Running 09cleanup
Removing temporary files...
Cleaning up APT's cache...
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 inquisitor-client : Depends: ruby1.9.1 (>= 1.9.1) but it is not installed
                     Depends: dialog but it is not installable
                     Depends: xmlstarlet but it is not installed
E: Unmet dependencies. Try using -f.
Removing documentation and locales...

09cleanup done

Running 10root_password

10root_password done

Running 11configure_syslog-ng
./11configure_syslog-ng: 5: ./11configure_syslog-ng: cannot create /work/chroot/etc/syslog-ng/syslog-ng.conf: Directory nonexistent

11configure_syslog-ng done

Running 12image_unpack
./12image_unpack: 3: ./12image_unpack: pushd: not found
Moving data dir... cp: cannot stat `data': No such file or directory
chown: cannot access `/work/chroot//usr/share/inquisitor/data': No such file or directory
OK
./12image_unpack: 19: ./12image_unpack: popd: not found

12image_unpack done

Running 13ssh_keys

13ssh_keys done

Running 14tabs_copying

14tabs_copying done
ssh inq "mkdir -p /inq/root-x86_64; sudo chown root:inquisitor /inq/root-x86_64"
ssh: Could not resolve hostname inq: Name or service not known
make: *** [rsync] Error 255
testbench@testbench-Precision-WorkStation-T7500:~/inq$