← Back to team overview

ubuntu-packaging-guide-team team mailing list archive

[Bug 1248353] Re: Probem in Packaging New Software Article

 

adi@adi-ubuntu:~/hello$ bzr builddeb -- -us -uc
Building using working tree
Building package in normal mode
Purging the build dir: /home/adi/build-area/hello-2.10
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
Building the package in /home/adi/build-area/hello-2.10, using debuild -us -uc
 dpkg-buildpackage -rfakeroot -us -uc -ui
dpkg-buildpackage: info: source package hello
dpkg-buildpackage: info: source version 2.10-0ubuntu1
dpkg-buildpackage: info: source distribution unstable
dpkg-buildpackage: info: source changed by Verban Adrian <verbanady@xxxxxxxxx>
 dpkg-source --before-build hello-2.10
dpkg-buildpackage: info: host architecture amd64
 fakeroot debian/rules clean
dh clean
   dh_auto_clean
	make -j4 -O distclean
make[1]: Entering directory '/home/adi/build-area/hello-2.10'
There seems to be no Makefile in this directory.
You must run ./configure before running 'make'.
GNUmakefile:106: recipe for target 'abort-due-to-no-makefile' failed
make[1]: *** [abort-due-to-no-makefile] Error 1
make[1]: Leaving directory '/home/adi/build-area/hello-2.10'
dh_auto_clean: make -j4 -O distclean returned exit code 2
debian/rules:18: recipe for target 'clean' failed
make: *** [clean] Error 25
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
debuild: fatal error at line 1152:
dpkg-buildpackage -rfakeroot -us -uc -ui failed
bzr: ERROR: The build failed.

Error in 2019.

-- 
You received this bug notification because you are a member of Ubuntu
Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide.
https://bugs.launchpad.net/bugs/1248353

Title:
  Probem in Packaging New Software Article

Status in Ubuntu Packaging Guide:
  Fix Released

Bug description:
  I am attempting to get through the "packaging new software" section
  (http://developer.ubuntu.com/packaging/html/packaging-new-
  software.html) of ubuntu's packaging guide. I have hit a roadblock and
  am hoping that somebody can point me in the right direction.

  When I get to the point were it asks me to insert the code:

  [CODE]$ bzr builddeb -- -us -uc[/CODE]

  I get this message in the terminal:

  [CODE]
  make[1]: Entering directory `/home/morgan/build-area/hello-2.9'
  There seems to be no Makefile in this directory.
  You must run ./configure before running 'make'.
  make[1]: *** [abort-due-to-no-makefile] Error 1
  make[1]: Leaving directory `/home/morgan/build-area/hello-2.9'
  dh_auto_clean: make -j1 distclean returned exit code 2
  make: *** [clean] Error 2
  dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
  debuild: fatal error at line 1361:
  dpkg-buildpackage -rfakeroot -D -us -uc failed
  bzr: ERROR: The build failed.
  morgan@morgans-laptop:~/hello/debian$ 
  [/CODE]

  I am assuming that this means I am missing a makefile so it is not
  able to get past that. I just dont understand why I am missing a
  makefile or where to get it.

  To get to this point I have followed the "GETTING SET UP" article
  (http://developer.ubuntu.com/packaging/html/getting-set-up.html) and
  the "PACKAGING NEW SOFTWARE" article
  (http://developer.ubuntu.com/packaging/html/packaging-new-
  software.html) point by point.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/1248353/+subscriptions


References