Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to build on launchpad #4

Closed
Jnchi opened this issue Jun 27, 2019 · 1 comment
Closed

Failed to build on launchpad #4

Jnchi opened this issue Jun 27, 2019 · 1 comment
Assignees
Labels
bug Something isn't working help wanted Extra attention is needed

Comments

@Jnchi
Copy link
Collaborator

Jnchi commented Jun 27, 2019

dpkg-buildpackage
-----------------

dpkg-buildpackage: info: source package openvpn-auth-aad
dpkg-buildpackage: info: source version 0.0.1-0~201906191925~ubuntu18.04.1
dpkg-buildpackage: info: source distribution bionic
 dpkg-source --before-build openvpn-auth-aad-0.0.1
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j1 clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_clean
 debian/rules build
dh build
   dh_update_autotools_config
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
/bin/sh ./bootstrap.sh
./bootstrap.sh: 3: ./bootstrap.sh: git: not found
autoreconf: 'configure.ac' or 'configure.in' is required
debian/rules:9: recipe for target 'override_dh_auto_configure' failed
make[1]: *** [override_dh_auto_configure] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
debian/rules:6: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
Build finished at 20190619-1951

Source: buildlog

@Jnchi Jnchi added bug Something isn't working help wanted Extra attention is needed labels Jun 27, 2019
@Jnchi Jnchi self-assigned this Jun 27, 2019
Jnchi added a commit that referenced this issue Jun 28, 2019
@Jnchi Jnchi closed this as completed Jun 28, 2019
Jnchi added a commit that referenced this issue Jul 1, 2019
Launchpad cannot clone submodules for some reason,
so I am including the contents of each here to get
it working. Further investigation is needed on
compiling deb packages via git using submodules.

Bug: #4
Jnchi added a commit that referenced this issue Jul 1, 2019
WARNING: This branch SHOULD NOT BE MERGED

Launchpad cannot clone submodules for some reason,
so I am including the contents of each here to get
it working. Further investigation is needed on
compiling deb packages via git using submodules.

Bug: #4
@Jnchi Jnchi pinned this issue Aug 15, 2019
Jnchi added a commit that referenced this issue Aug 15, 2019
WARNING: This branch SHOULD NOT BE MERGED

Launchpad cannot clone submodules for some reason,
so I am including the contents of each here to get
it working. Further investigation is needed on
compiling deb packages via git using submodules.

Bug: #4
@Jnchi
Copy link
Collaborator Author

Jnchi commented Aug 16, 2019

git checkout tags/{{tag}} # e.g. 0.0.2
docker run -v $(pwd):/usr/src/openvpn-auth-aad -it cyberninjas/openvpn-auth-aad:ubuntu /bin/bash
./bootstrap.sh
diff --git a/debian/rules b/home/lramage/repos/openvpn-auth-aad/debian/rules
index 0036ae5..8c2d13e 100755
--- a/debian/rules
+++ b/home/lramage/repos/openvpn-auth-aad/debian/rules
@@ -7,7 +7,7 @@ OPENVPN_VERSION = bebd25a0e3a2aba0b1f98463a87b24db6c419a66
 %:
        dh $@

-override_dh_auto_configure:
+override_dh_auto_configure: clean-submodules openvpn pam_aad
        echo "skipping configure ..."

 openvpn:
find . -name '.git*' -exec rm -rf {} \;
git init
git commit # copy and paste DO NOT COMMIT message from previous commit
docker build --build-arg VERSION="0.0.2" --build-arg DEBVER="1" -t cyberninjas/openvpn-auth-aad:ubuntu . -f docker/ubuntu/Dockerfile

Jnchi added a commit that referenced this issue Aug 16, 2019
WARNING: This branch SHOULD NOT BE MERGED

Launchpad cannot clone submodules for some reason,
so I am including the contents of each here to get
it working. Further investigation is needed on
compiling deb packages via git using submodules.

Bug: #4
Jnchi added a commit that referenced this issue Aug 16, 2019
WARNING: This branch SHOULD NOT BE MERGED

Launchpad cannot clone submodules for some reason,
so I am including the contents of each here to get
it working. Further investigation is needed on
compiling deb packages via git using submodules.

Bug: #4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant