Your message dated Mon, 10 May 2010 00:06:37 +0200 with message-id <[email protected]> and subject line buildd.emdebian.org: file cross compiles now nicely has caused the Debian Bug report #480715, regarding [file] needs to omit python support 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.) -- 480715: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480715 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: general Severity: normal $ emsource --status file Checking the apt-cross cache is up to date for arm. Checking status of file in /opt/emdebian/trunk/f/file/trunk/ 4 emdebian patch files 0 debian patch files Checking emdebuild status in /opt/emdebian/trunk/f/file/trunk/ build log: file (4.24) FAILED to cross build for arm. /opt/emdebian/trunk/f/file/trunk/file_4.24-2em1_arm.build Checking empdebuild status file may be out of date. Checking for error logs in /opt/emdebian/trunk/f/file/trunk/ Checking bug status No open cross-building bugs for file file FAILED to build. /bin/sh ../libtool --tag=CC --mode=link arm-linux-gnu-gcc -DHOWMANY=0x18000 -Wall -g -O2 -no-undefined -version-info 1:0:0 -o libmagic.la -rpath /usr/lib magic.lo apprentice.lo softmagic.lo ascmagic.lo compress.lo is_tar.lo readelf.lo print.lo fsmagic.lo funcs.lo apptype.lo -lz gcc -shared .libs/magic.o .libs/apprentice.o .libs/softmagic.o .libs/ascmagic.o .libs/compress.o .libs/is_tar.o .libs/readelf.o .libs/print.o .libs/fsmagic.o .libs/funcs.o .libs/apptype.o -lz -Wl,-soname -Wl,libmagic.so.1 -o .libs/libmagic.so.1.0.0 /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) /usr/bin/ld: .libs/magic.o: Relocations in generic ELF (EM: 40) .libs/magic.o: could not read symbols: File in wrong format collect2: ld returned 1 exit status make[3]: *** [libmagic.la] Error 1 make[3]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 Recording that the package failed to build. This is down to the libtool handling in the package - the libtool script modified by calling ./configure is removed and replaced by a basic one that is unable to handle cross building. Allowing the upstream libtool to be updated by the configure script causes a different build error: arm-linux-gnu-ranlib .libs/libmagic.a creating libmagic.la (cd .libs && rm -f libmagic.la && ln -s ../libmagic.la libmagic.la) arm-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DMAGIC='"/etc/magic:/usr/share/file/magic"' -DHOWMANY=0x18000 -Wall -g -O2 -MT file.o -MD -MP -MF .deps/file.Tpo -c -o file.o file.c mv -f .deps/file.Tpo .deps/file.Po /bin/sh ../libtool --tag=CC --mode=link arm-linux-gnu-gcc -DHOWMANY=0x18000 -Wall -g -O2 -o file file.o libmagic.la arm-linux-gnu-gcc -DHOWMANY=0x18000 -Wall -g -O2 -o file file.o ./.libs/libmagic.a -lz make[3]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24/src' Making all in magic make[3]: Entering directory `/opt/emdebian/trunk/f/file/trunk/file-4.24/magic' make[3]: *** No rule to make target `file', needed by `magic.mgc'. Stop. make[3]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24/magic' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/emdebian/trunk/f/file/trunk/file-4.24' make: *** [build-stamp] Error 2 dpkg-buildpackage: failure: debian/rules build gave error exit status 2 -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 2.6.22-2-amd64 (SMP w/1 CPU core) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- End Message ---
--- Begin Message ---Hello, I just did a cross comiling attempt for file and... zu...@eefk2m5:/tmp/file-5.04$ dpkg-buildpackage -aarmel -us -uc -rfakeroot [...] dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps -Llibmagic1 -ldebian/libmagic1/usr/lib dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/python-magic/usr/lib/python2.6/dist-packages/magic.so debian/python-magic/usr/lib/python2.5/site-packages/magic.so" were not uselessly linked against it (they use none of its symbols). dpkg-shlibdeps: warning: dependency on libpthread.so.0 could be avoided if "debian/python-magic-dbg/usr/lib/python2.5/site-packages/magic_d.so debian/python-magic-dbg/usr/lib/python2.6/dist-packages/magic_d.so" were not uselessly linked against it (they use none of its symbols). dh_gencontrol dpkg-gencontrol: warning: la variable de substitució ${python:Provides} és desconeguda dpkg-gencontrol: warning: la variable de substitució ${python:Depends} és desconeguda dpkg-gencontrol: warning: la variable de substitució ${python:Provides} és desconeguda dpkg-gencontrol: warning: la variable de substitució ${python:Versions} és desconeguda dh_md5sums dh_builddeb dpkg-deb: s'està construint el paquet «file» en «../file_5.04-2_armel.deb». dpkg-deb: s'està construint el paquet «libmagic1» en «../libmagic1_5.04-2_armel.deb». dpkg-deb: s'està construint el paquet «libmagic-dev» en «../libmagic-dev_5.04-2_armel.deb». dpkg-deb: s'està construint el paquet «python-magic» en «../python-magic_5.04-2_armel.deb». dpkg-deb: s'està construint el paquet «python-magic-dbg» en «../python-magic-dbg_5.04-2_armel.deb». dpkg-genchanges >../file_5.04-2_armel.changes dpkg-genchanges: not including original source code in upload dpkg-buildpackage: binary and diff upload (original source NOT included) Hence I close this bug. -- Héctor Orón "Our Sun unleashes tremendous flares expelling hot gas into the Solar System, which one day will disconnect us."
--- End Message ---

