Dnia wtorek, 31 sierpnia 2010 o 21:42:54 Loïc Minier napisał(a):
On Tue, Aug 31, 2010, Steve Langasek wrote:
That option probably only works if repacking the .deb, right? I would expect dpkg-gencontrol to ignore any ($version) in the source debian/control.
It does not ignore - it fails.
cd linux-source-2.6.35 ;\ DEB_STAGE=stage1 NO_PKG_MANGLE=1 dpkg-buildpackage -b -uc -us -aarmel 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 armel-cross-toolchain-base dpkg-buildpackage: source version 2.6.35-19.28 dpkg-buildpackage: source changed by Leann Ogasawara leann.ogasawara@canonical.com dpkg-architecture: warning: Specified GNU system type arm-linux-gnueabi does not match gcc system type x86_64-linux-gnu. dpkg-source --before-build linux-source-2.6.35 dpkg-buildpackage: host architecture armel dpkg-source: error: source package name `armel-cross-toolchain-base (1.28)' contains illegal character ` ' dpkg-buildpackage: error: dpkg-source --before-build linux-source-2.6.35 gave error exit status 255 make: *** [stamp-dir/build-linux] Error 255 dpkg-buildpackage: error: debian/rules build gave error exit status 2 debuild: fatal error at line 1337: dpkg-buildpackage -rfakeroot -D -us -uc -b failed 10:11 hrw@home:armel-cross-toolchain-base-1.28$ grep ^Source linux-source-2.6.35/debian/control Source: armel-cross-toolchain-base (1.28)
Oh yes, that's why I was suggesting passing -c + -l; I think this might work without repacking the .debs though
I would like to keep original versions for components. Otherwise we will have binutils 1.28, gcc-4.5 1.28 etc which does not tell anything.
Regards,