On Wed, 05 Sep 2007 19:28:56 +0530 Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:
> Package: apt-cross > Version: 0.2.0 > Severity: grave > Justification: renders package unusable Unwarranted. I suspect that this may not even be something apt-cross can fix - it appears to be a repository/apt failure. > > Hi Neil, > > Here's what the manpage says for apt-cross -i: More importantly, this is what the title of the man page says: apt-cross - apt support for cross compiling libraries *libraries* not applications and even less so complete compilers. > When I do a `apt-cross -a ia64 -i gcc` gcc is not a library - gcc-ia64-cross will not provide anything useful. apt-cross is not able to work with that package anyway. $ apt-cross -v -a ia64 -g libpopt0 Filename: libpopt0_1.10-3_ia64.deb FullPath: ftp://ftp.uk.debian.org/debian/pool/main/p/popt/libpopt0_1.10-3_ia64.deb If you want a cross-compiler you have to BUILD it. apt-cross / dpkg-cross cannot do that for you. > is defined above. The problem is that during an update, some of the > repositories specified in my sources.list file do not offer ia64 or > whatever. That is not actually a problem because the STDERR output is piped to /dev/null internally. Update errors are of no consequence to apt-cross. Many repositories do not carry the full architecture list and this was built into apt-cross from the start. Please attach a paste of: $ apt-cache policy The normal Debian ia64 repositories are fine with apt-cross. > And for them, the fetch fails. Now when apt-cross proceeds > ahead, the downloaded file, in this case gcc_4.2.1-5_ia64.deb, is nothing > but an xml file with details about failures it had seen. $ apt-cache show gcc "This is a dependency package providing the default GNU C compiler." To get the actual compiler, you would use gcc-4.2 etc. There are no useful files in either gcc or gcc4.2. Maybe you meant to try libc6? I have no idea where this xml file comes from. apt-cross doesn't use or understand xml. Neither does dpkg-cross. > This thus further fails with dpkg-cross which complains that the archive > is not a debian archive. I suspect the XML is coming from somewhere else. Have you actually checked that these unmentioned repositories actually provide valid files? -- Neil Williams ============= http://www.data-freedom.org/ http://www.nosoftwarepatents.com/ http://www.linux.codehelp.co.uk/
pgpP5GVw5Ydu8.pgp
Description: PGP signature

