Can not build debian package of gnome-shell

Asked by Thomas Bechtold

Binary package hint: gnome-shell

i tried to build a dbian package of gnome-shell, but that does not work:

1) bzr branch lp:ubuntu/maverick/gnome-shell
2) cd gnome-shell
3) dpkg-buildpackage -us -uc -rfakeroot

Error is:

dpkg-buildpackage: exportiere CFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2
dpkg-buildpackage: exportiere CPPFLAGS aus dpkg-buildflags (Quelle: vendor):
dpkg-buildpackage: exportiere CXXFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2
dpkg-buildpackage: exportiere FFLAGS aus dpkg-buildflags (Quelle: vendor): -g -O2
dpkg-buildpackage: exportiere LDFLAGS aus dpkg-buildflags (Quelle: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: Quellpaket gnome-shell
dpkg-buildpackage: Quellversion 2.31.2-1ubuntu1
dpkg-buildpackage: Quellen geändert durch Sebastien Bacher <email address hidden>
dpkg-buildpackage: Host-Architektur i386
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 /usr/bin/make -C . -k distclean
make[1]: Betrete Verzeichnis '/home/tom/devel/ubuntu/gnome-shell'
make[1]: *** Keine Regel, um »distclean« zu erstellen.
make[1]: Verlasse Verzeichnis '/home/tom/devel/ubuntu/gnome-shell'
make: [makefile-clean] Fehler 2 (ignoriert)
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: konnte „.“ nicht entfernen: Invalid argument
make: [makefile-clean] Fehler 1 (ignoriert)
for i in ./config/config.guess ./config/config.sub ; do \
  if test -e $i.cdbs-orig ; then \
   mv $i.cdbs-orig $i ; \
  fi ; \
 done
dh_clean
rm -f debian/stamp-autotools-files
rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check debian/stamp-buildinfo
test -d . && cd . && \
   rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache; \
   if test -d doc; then find doc -name '*.omf.out' -exec rm -f \{\} \; ; fi; \
   if test -d help; then find help -name '*.omf.out' -exec rm -f \{\} \; ; fi
{ cat /usr/share/gnome-pkg-tools/control.header ; \
   sed "s/@GNOME_TEAM@/Debian GNOME Maintainers <email address hidden>, Gustavo Noronha Silva <email address hidden>, Josselin Mouette <email address hidden>/" debian/control.in ; } \
 > debian/control
 dpkg-source -b gnome-shell
dpkg-source: Fehler: kann nicht mit Quellformat »3.0 (quilt)« bauen: keine orig.tar-Datei gefunden
dpkg-buildpackage: Fehler: dpkg-source -b gnome-shell gab Fehler-Exitstatus 255
tom@zitrone:~/devel/ubuntu/gnome-shell$ LANG=C dpkg-buildpackage -us -uc -rfakeroot
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor):
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions
dpkg-buildpackage: source package gnome-shell
dpkg-buildpackage: source version 2.31.2-1ubuntu1
dpkg-buildpackage: source changed by Sebastien Bacher <email address hidden>
dpkg-buildpackage: host architecture i386
 fakeroot debian/rules clean
test -x debian/rules
dh_testroot
rm -f debian/stamp-makefile-build debian/stamp-makefile-install
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 /usr/bin/make -C . -k distclean
make[1]: Entering directory `/home/tom/devel/ubuntu/gnome-shell'
make[1]: *** No rule to make target `distclean'.
make[1]: Leaving directory `/home/tom/devel/ubuntu/gnome-shell'
make: [makefile-clean] Error 2 (ignored)
rm -f debian/stamp-autotools
rmdir --ignore-fail-on-non-empty .
rmdir: failed to remove `.': Invalid argument
make: [makefile-clean] Error 1 (ignored)
for i in ./config/config.guess ./config/config.sub ; do \
  if test -e $i.cdbs-orig ; then \
   mv $i.cdbs-orig $i ; \
  fi ; \
 done
dh_clean
rm -f debian/stamp-autotools-files
rm -f debian/cdbs-install-list debian/cdbs-package-list debian/stamp-copyright-check debian/stamp-buildinfo
test -d . && cd . && \
   rm -f intltool-extract intltool-merge intltool-update po/.intltool-merge-cache; \
   if test -d doc; then find doc -name '*.omf.out' -exec rm -f \{\} \; ; fi; \
   if test -d help; then find help -name '*.omf.out' -exec rm -f \{\} \; ; fi
{ cat /usr/share/gnome-pkg-tools/control.header ; \
   sed "s/@GNOME_TEAM@/Debian GNOME Maintainers <email address hidden>, Gustavo Noronha Silva <email address hidden>, Josselin Mouette <email address hidden>/" debian/control.in ; } \
 > debian/control
 dpkg-source -b gnome-shell
dpkg-source: error: can't build with source format '3.0 (quilt)': no orig.tar file found
dpkg-buildpackage: error: dpkg-source -b gnome-shell gave error exit status 255

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: gnome-shell 2.31.2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.35-11.16-generic 2.6.35-rc5
Uname: Linux 2.6.35-11-generic i686
Architecture: i386
Date: Wed Jul 28 19:02:22 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LANG=de_DE.utf8
 SHELL=/bin/bash
SourcePackage: gnome-shell

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu gnome-shell Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

This question was originally filed as bug #610954.

Revision history for this message
Thomas Bechtold (toabctl) said :
#1
Revision history for this message
Micah Gersten (micahg) said :
#2

Thank you for taking the time to report this issue and helping to make Ubuntu better. Examining the information you have given us, this does not appear to be a bug report so we are closing it and converting it to a question in the support tracker. We appreciate the difficulties you are facing, but it would make more sense to raise problems you are having in the support tracker at https://answers.launchpad.net/ubuntu if you are uncertain if they are bugs. For help on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs#When%20not%20to%20file%20a%20bug.

Revision history for this message
Micah Gersten (micahg) said :
#3

Please read the documents on building packages with the bzr branches.

Revision history for this message
Micah Gersten (micahg) said :
#4

I apologize, I thought I posted the link to the documentation.
https://wiki.ubuntu.com/DistributedDevelopment/Documentation/

The quick answer though is to use bzr-builddeb:
sudo apt-get install bzr-builddeb; bzr bd -- -us -uc

Revision history for this message
Micah Gersten (micahg) said :
#5

Could you please let us know which documentation page, if any, suggested building in the way you tried?

Revision history for this message
steveacab (antonio.chiurazzi) said :
#6

go in /gnome-shell/debian/source and remove the file "format" and run dpkg-buildpackage -us -uc -rfakeroot in the gnome-shell path.

Can you help with this problem?

Provide an answer of your own, or ask Thomas Bechtold for more information if necessary.

To post a message you must log in.