Ticket #780 (new defect)

Opened 11 years ago

Last modified 9 years ago

gdm-config/debian/rules is quite ill-fitted for building a source package

Reported by: geofft Owned by:
Priority: insignificant Milestone: The Distant Future
Component: -- Keywords:
Cc: Fixed in version:
Upstream bug:

Description

builder@zulu:/mit/debathena/packages/config$ dasource debathena-gdm-config
Updating and cleaning debathena-gdm-config/debathena-gdm-config-1.24
At revision 24925.
removed `debian/control'
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
egrep: debian/control: No such file or directory
dh_listpackages: cannot read debian/control: No such file or directory

dh_listpackages: cannot read debian/control: No such file or directory

dh_listpackages: cannot read debian/control: No such file or directory

dh_listpackages: cannot read debian/control: No such file or directory

grep: debian/control: No such file or directory
grep: debian/control: No such file or directory
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
dpkg-checkbuilddeps -B
dpkg-checkbuilddeps: Unmet build dependencies: dh-buildinfo gdm
make: [debian/control] Error 1 (ignored)
Creating source package
 dpkg-buildpackage -rfakeroot -d -us -uc -sa -i -S -i -I.svn -sa
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): 
dpkg-buildpackage: source package debathena-gdm-config
dpkg-buildpackage: source version 1.24
dpkg-buildpackage: source changed by Jonathan Reed <jdreed@mit.edu>
 dpkg-source -i -i -I.svn --before-build debathena-gdm-config-1.24
 fakeroot debian/rules clean
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
dpkg: --compare-versions takes three arguments: <version> <relation> <version>

Type dpkg --help for help about installing and deinstalling packages [*];
Use `dselect' or `aptitude' for user-friendly package management;
Type dpkg -Dhelp for a list of dpkg debug flag values;
Type dpkg --force-help for a list of forcing options;
Type dpkg-deb --help for help about manipulating *.deb files;

Options marked [*] produce a lot of output - pipe it through `less' or `more' !
test -x debian/rules
dh_testroot
dh_clean 
rm -rf debian/check_file_copies
rm -rf debian/transform_file_copies
rm debathena/distro.svg
rm: cannot remove `debathena/distro.svg': No such file or directory
make: [clean] Error 1 (ignored)
 dpkg-source -i -i -I.svn -b debathena-gdm-config-1.24
dpkg-source: warning: no source format specified in debian/source/format, see dpkg-source(1)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building debathena-gdm-config in debathena-gdm-config_1.24.tar.gz
dpkg-source: info: building debathena-gdm-config in debathena-gdm-config_1.24.dsc
 dpkg-genchanges -sa -S -sa >../debathena-gdm-config_1.24_source.changes
dpkg-genchanges: including full source code in upload
 dpkg-source -i -i -I.svn --after-build debathena-gdm-config-1.24
dpkg-buildpackage: source only upload: Debian-native package
Now running lintian...
W: debathena-gdm-config source: changelog-should-mention-nmu
W: debathena-gdm-config source: source-nmu-has-incorrect-version-number 1.24
W: debathena-gdm-config source: out-of-date-standards-version 3.8.4 (current is 3.9.1)
Finished running lintian.

The culprit seems to be these lines:

GDM_VERSION = $(shell dpkg-query --showformat='$${Version}' --show gdm)
NEW_GDM = $(shell dpkg --compare-versions $(GDM_VERSION) ge '2.25.2~' && echo y)

That said, though, we do declare gdm as a build-dependency. And I _think_ we're wrong to be building source packages on the host instead of in a build chroot with build-deps installed; if we fixed that, this error would likely go away.

Change History

comment:1 Changed 9 years ago by jdreed

The right thing to do here is probably to have debathena-gdm-config and debathena-gdm3-config, and an "or" dependency. Is there any hope that Debian and Ubuntu will ever have a unified gdm package namespace, or is Debian going to cling to GNOME2 for another 3 years?

Note: See TracTickets for help on using tickets.