Your message dated Wed, 20 Feb 2008 12:02:03 +0000 with message-id <[EMAIL PROTECTED]> and subject line Bug#440332: fixed in dpkg-cross 2.2.0 has caused the Debian Bug report #440332, regarding fix_la_file in dpkg-cross does not properly match all dependencies to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [EMAIL PROTECTED] immediately.) -- 440332: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=440332 Debian Bug Tracking System Contact [EMAIL PROTECTED] with problems
--- Begin Message ---Package: dpkg-cross Version: 1.39 The regular expression search/replace doesn't match libraries that have a '-' or an extra '.' in the version name. I hacked my version (fix_la_file routine) as follows to fix the problems I was having: Version: 1.39: s/\S+\/(\w+.la)/$crosslib\/$1/g; My Hack: s/\S+\/([\w-.]+.la)/$crosslib\/$1/g; > Problem there - the . is a special character matching anything. You > probably need to escape the period (and later): > > - s/\S+\/([\w-.]+.la)/$crosslib\/$1/g; > + s/\S+\/([\w-\.]+\.la)/$crosslib\/$1/g; > > Otherwise it could inadvertently allow a match with _ or even with > rubbish like foo%£la or /usr/share/foo/foola.txt > > Would you mind testing that? > If it works, please attach a full 'diff -u' to make a usable patch > against 1.39 or 1.99+2.0.0pre1, your choice. I'll then check for other > unescaped periods in regexps in dpkg-cross. :-) > Actually, the more I look at that regexp, the more problems appear - > I'll have to check whether '$' should be used at the end too. You are correct, the escape is needed before the .la (e.g. \.la); however, inside the [], they are not necessary. Attached is the diff against 1.39. dpkg-cross ======================================= diff -Nru dpkg-cross-1.39.orig/dpkg-cross dpkg-cross-1.39/dpkg-cross --- dpkg-cross-1.39.orig/dpkg-cross 2007-07-05 14:46:43.000000000 -0600 +++ dpkg-cross-1.39/dpkg-cross 2007-08-31 09:05:11.000000000 -0600 @@ -470,7 +470,7 @@ print TO "libdir=\'$crosslib\'\n"; } elsif (/^dependency_libs=/) { s/( )?-L\S+//g; - s/\S+\/(\w+.la)/$crosslib\/$1/g; + s/\S+\/([\w-.]+\.la)/$crosslib\/$1/g; print TO; } else { print TO;
--- End Message ---
--- Begin Message ---Source: dpkg-cross Source-Version: 2.2.0 We believe that the bug you reported is fixed in the latest version of dpkg-cross, which is due to be installed in the Debian FTP archive: dpkg-cross_2.2.0.dsc to pool/main/d/dpkg-cross/dpkg-cross_2.2.0.dsc dpkg-cross_2.2.0.tar.gz to pool/main/d/dpkg-cross/dpkg-cross_2.2.0.tar.gz dpkg-cross_2.2.0_all.deb to pool/main/d/dpkg-cross/dpkg-cross_2.2.0_all.deb libdebian-dpkgcross-perl_2.2.0_all.deb to pool/main/d/dpkg-cross/libdebian-dpkgcross-perl_2.2.0_all.deb A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [EMAIL PROTECTED], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Neil Williams <[EMAIL PROTECTED]> (supplier of updated dpkg-cross package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [EMAIL PROTECTED]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Tue, 19 Feb 2008 12:53:11 +0000 Source: dpkg-cross Binary: dpkg-cross libdebian-dpkgcross-perl Architecture: source all Version: 2.2.0 Distribution: unstable Urgency: low Maintainer: Debian Embedded Group <[EMAIL PROTECTED]> Changed-By: Neil Williams <[EMAIL PROTECTED]> Description: dpkg-cross - tools for cross compiling Debian packages libdebian-dpkgcross-perl - functions to aid cross-compiling Debian packages Closes: 440332 466514 Changes: dpkg-cross (2.2.0) unstable; urgency=low . * Post remove script fails on purge (Closes: #466514) * fix_la_file in dpkg-cross does not properly match all dependencies (Closes: #440332) . dpkg-cross (2.1.1) unstable; urgency=low . * Fix typo in keep temp logic Files: 44269b622e6bd6a8ed50ea13610328cc 966 utils extra dpkg-cross_2.2.0.dsc efaae6aa4711a8cafedd44838e553dcd 83966 utils extra dpkg-cross_2.2.0.tar.gz 4ddf0dc74403e04cf8aac009bc3b3f47 48652 utils extra dpkg-cross_2.2.0_all.deb e862d5f7807cd23b072156ed0afd844d 29782 perl extra libdebian-dpkgcross-perl_2.2.0_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHvBP3iAEJSii8s+MRAs3oAKDnvX8GU1+mbtx4r++i2rmvVmoQIwCguQn1 sqilBr9uL5wd44IUJrhAohk= =byoa -----END PGP SIGNATURE-----
--- End Message ---

