Closed flickerfly closed 11 years ago
I'm looking into that. Getting an ubuntu 13.04 image at this very moment.
@flickerfly, after getting ubuntu 13.04 I didn't manage to recreate your specific problem, however I ran into a bunch of others in terms of dependencies. Unfortunately I maintain the NetworkManager-ssh package only for Fedora and still waiting for someone to pick it up and maintain it for ubuntu.
Either way, I managed to get it to build flawlessly after running this:
apt-get install libtool intltool intltool-debian libglib2.0-dev libglib-dbus-1-dev libgtk2.0-dev libgnome-keyring-dev libnm-gtk-dev libnm-glib-dev libnm-util-dev libnm-glib-vpn-dev dh-autoreconf
I'll leave this bug open until you manage to overcome the problem.
Seems I failed in the make deb which is to say I got much closer. Do I need to pass a different gpg key to it somehow?
Also, I moved over to 13.10 since last time I tried which doesn't have libglib-dbus-1-dev. Leaving it out seems to have moved me along okay.
dpkg-deb: warning: 'debian/network-manager-ssh/DEBIAN/control' contains user-defined field 'Original-Maintainer' dpkg-deb: warning: ignoring 1 warning about the control file(s)
dpkg-deb: building package network-manager-ssh' in
../network-manager-ssh_0.9.1-0ubuntu2_amd64.deb'.
dpkg-deb: warning: 'debian/network-manager-ssh-gnome/DEBIAN/control' contains user-defined field 'Original-Maintainer'
dpkg-deb: warning: ignoring 1 warning about the control file(s)
dpkg-deb: building package network-manager-ssh-gnome' in
../network-manager-ssh-gnome_0.9.1-0ubuntu2_amd64.deb'.
make[1]: Leaving directory `/home/jritchie/bin/NetworkManager-ssh'
dpkg-genchanges -B >../network-manager-ssh_0.9.1-0ubuntu2_amd64.changes
dpkg-genchanges: arch-specific upload - not including arch-independent packages
dpkg-genchanges: binary-only upload - not including any source code
signfile network-manager-ssh_0.9.1-0ubuntu2_amd64.changes
gpg: skipped "Dan Fruehauf malkodan@gmail.com": secret key not available
gpg: [stdin]: clearsign failed: secret key not available
dpkg-source --after-build NetworkManager-ssh dpkg-buildpackage: binary only upload (no source included) dpkg-buildpackage: warning: Failed to sign .changes file make: *\ [deb] Error 1
When I run it again, I get this so I suppose I need to clean something out for another try?
dpkg-buildpackage: source package network-manager-ssh
dpkg-buildpackage: source version 0.9.1-0ubuntu2
dpkg-buildpackage: source changed by Dan Fruehauf malkodan@gmail.com
dpkg-buildpackage: host architecture amd64
dpkg-source --before-build NetworkManager-ssh
debian/rules build-arch
make[1]: Entering directory /home/jritchie/bin/NetworkManager-ssh' dh build-arch --with autoreconf dh_testdir -a debian/rules override_dh_autoreconf make[2]: Entering directory
/home/jritchie/bin/NetworkManager-ssh'
intltoolize -f -c
You should update your 'aclocal.m4' by running aclocal.
dh_autoreconf
dh_autoreconf: Can only be run once, see dh-autoreconf(7)
make[2]: * [override_dh_autoreconf] Error 2
make[2]: Leaving directory `/home/jritchie/bin/NetworkManager-ssh'
make[1]: * [build-arch] Error 2
make[1]: Leaving directory`/home/jritchie/bin/NetworkManager-ssh'
dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
make: *\ [deb] Error 2
@flickerfly Looks like the deb itself built, it just doesn't sign it with the gpg key - as you don't have it.
See if you have a new .deb file, one directory above NetworkManager-ssh.
Yes, it does appear that I have a couple .debs
Once I install sshpass using sudo apt-get install sshpass, the other two installed using sudo dpkg -i with no problem.net
On Tue, Oct 29, 2013 at 6:13 PM, Dan Fruehauf notifications@github.comwrote:
@flickerfly https://github.com/flickerfly Looks like the deb itself built, it just doesn't sign it with the gpg key - as you don't have it.
See if you have a new .deb file, one directory above NetworkManager-ssh.
— Reply to this email directly or view it on GitHubhttps://github.com/danfruehauf/NetworkManager-ssh/issues/22#issuecomment-27348707 .
Yep, bad on me, sshpass is also a dependency (just not for the build). Please leave this open, I'll try to put some more love and attention into the deb packaging.
P.S. I'm still willing for someone to take over deb packaging and perhaps submit the packages to ubuntu, debian or both. I'm already doing the Fedora side.
I've tried to be a .deb maintainer in the past and found that ... let's just say I'm better in a beta test role. :-)
On Wed, Oct 30, 2013 at 6:10 PM, Dan Fruehauf notifications@github.comwrote:
Yep, bad on me, sshpass is also a dependency (just not for the build). Please leave this open, I'll try to put some more love and attention into the deb packaging.
P.S. I'm still willing for someone to take over deb packaging and perhaps submit the packages to ubuntu, debian or both. I'm already doing the Fedora side.
— Reply to this email directly or view it on GitHubhttps://github.com/danfruehauf/NetworkManager-ssh/issues/22#issuecomment-27444093 .
Well to be honest, all the dependencies for debian/ubuntu are already there, I'll have to close this one.
When building a .deb on Ubuntu 13.04, I get the following error. I installed build-essential and autoconf to be sure I had what was needed. How can I correct?
~/bin/NetworkManager-ssh$ autoreconf -fvi && ./configure && make deb Can't exec "libtoolize": No such file or directory at /usr/bin/autoreconf line 195. Use of uninitialized value in pattern match (m//) at /usr/bin/autoreconf line 195. autoreconf: Entering directory `.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: running: /usr/bin/autoconf --force configure.ac:17: error: possibly undefined macro: AC_PROG_LIBTOOL If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. autoreconf: /usr/bin/autoconf failed with exit status: 1
~/bin/NetworkManager-ssh$ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 13.04 Release: 13.04 Codename: raring