Package: imagemagick Severity: important Tags: patch Hi,
there was a problem building your package: Automatic build of imagemagick_6:6.0.6.2-2.2 on beethoven by sbuild/hurd-i386 1.170.5 Build started at 20050408-1856 ****************************************************************************** Checking available source versions... Fetching source files... Reading Package Lists... Building Dependency Tree... Need to get 6962kB of source archives. Get:1 http://ftp2.de.debian.org unstable/main imagemagick 6:6.0.6.2-2.2 (dsc) [881B] Get:2 http://ftp2.de.debian.org unstable/main imagemagick 6:6.0.6.2-2.2 (tar) [6824kB] Get:3 http://ftp2.de.debian.org unstable/main imagemagick 6:6.0.6.2-2.2 (diff) [137kB] Fetched 6962kB in 25s (273kB/s) Download complete and in download only mode ** Using build dependencies supplied by package: Build-Depends: libjpeg62-dev, libbz2-dev, libtiff4-dev, libwmf-dev (>= 0.2.7-1), libz-dev, libpng12-dev, libx11-dev , debhelper (>> 3.0.5), libxml2-dev, libfreetype6-dev, liblcms1-dev, libexif-dev, perl (>= 5.8.0-3), libdps-dev, libjasper-1.701-dev [...] The following NEW packages will be installed: gsfonts libdps-dev libdps1 libjasper-1.701-1 libjasper-1.701-dev libtiff4-dev libwmf-dev libwmf0.2-7 libxft1 xlibs [...] Checking correctness of source dependencies... Toolchain package versions: libc0.3-dev_2.3.2.ds1-20.0.1 gcc-3.3_1:3.3.5-2 g++-3.3_1:3.3.5-2 binutils_2.15-5 libstdc++5-3.3-dev_1:3.3.5-2 libstdc++5_1:3.3.5-2 ------------------------------------------------------------------------------ dpkg-source: extracting imagemagick in imagemagick-6.0.6.2 dpkg-buildpackage: source package is imagemagick dpkg-buildpackage: source version is 6:6.0.6.2-2.2 dpkg-buildpackage: host architecture is hurd-i386 [...] debian/rules build dh_testdir ./configure \ --prefix=/usr \ --mandir=\${prefix}/share/man \ --infodir=\${prefix}/share/info \ --with-gs-font-dir=/usr/share/fonts/type1/gsfonts\ --with-magick_plus_plus \ --enable-shared \ --enable-lzw \ --without-fpx \ --without-perl \ --with-perl-options='INSTALLDIRS=vendor' \ --x-includes=/usr/X11R6/include \ --x-libraries=/usr/X11R6/lib configuring ImageMagick 6.0.6 checking build system type... i686-unknown-gnu0.3 checking host system type... i686-unknown-gnu0.3 checking target system type... i686-unknown-gnu0.3 [...] checking for shmctl... no checking for library containing shmctl... none required [...] /bin/sh ../libtool --silent --mode=link --tag=CC gcc -g -O2 -Wall -L/usr/X11R6/lib -lfreetype -lz -L/usr/lib -o libMagick.la -rpath /usr/lib -no-undefined -version-info 6:6:0 animate.lo annotate.lo attribute.lo blob.lo cache.lo cache_view.lo client.lo coder.lo color.lo colorspace.lo compare.lo composite.lo compress.lo configure.lo conjure.lo constitute.lo convert.lo decorate.lo delegate.lo deprecate.lo display.lo draw.lo effect.lo enhance.lo error.lo fx.lo gem.lo geometry.lo hashmap.lo identify.lo image.lo import.lo list.lo locale.lo log.lo magic.lo magick.lo memory.lo module.lo mogrify.lo monitor.lo montage.lo option.lo paint.lo PreRvIcccm.lo profile.lo quantize.lo random.lo registry.lo resize.lo resource.lo segment.lo semaphore.lo shear.lo signature.lo static.lo stream.lo string.lo timer.lo token.lo transform.lo type.lo utility.lo version.lo widget.lo xwindow.lo ../coders/libCoders.la ../filters/libFilters.la -llcms -ltiff -lfreetype -ljasper -ljpeg -lpng -ldpstk -ldps -lXext -lXt -lcygipc -lSM -lICE -lX11 -lbz2 -lxml2 -lz -lpthread -lm -lpthread ../ltdl/libltdlc.la /usr/bin/ld: cannot find -lcygipc collect2: ld returned 1 exit status make[3]: *** [libMagick.la] Error 1 make[3]: Leaving directory `/build/mbanck/imagemagick-6.0.6.2/magick' make[2]: *** [all] Error 2 make[2]: Leaving directory `/build/mbanck/imagemagick-6.0.6.2/magick' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/build/mbanck/imagemagick-6.0.6.2' make: *** [build-stamp] Error 2 ****************************************************************************** Build finished at 20050408-1927 FAILED [dpkg-buildpackage died] This is due to configure.ac checking for shmctl in the following way: # # Check for X11 shared memory extension # # shmctl is required to support the shared memory extension AC_CHECK_FUNC([shmctl],[have_shmctl='yes'],[]) if test "$have_shmctl" != 'yes' then old_LIBS=$LIBS LIBS="$LIBS -lcygipc" AC_TRY_LINK_FUNC([shmctl],[have_shmctl='yes'; LIB_IPC='-lcygipc'],[]) LIBS=$old_LIBS fi However, shmctl is stubbed out on GNU/Hurd, so AC_CHECK_FUNCS does not succeed: | #if defined (__stub_shmctl) || defined (__stub___shmctl) | choke me | #else configure:36514: checking for shmctl configure:36571: gcc -o conftest -g -O2 -Wall -I/usr/X11R6/include -L/usr/X11R6/lib conftest.c -lSM -lICE -lX11 -lbz2 -lz -lm -lpthread >&5 conftest.c:163: error: parse error before "me" conftest.c:171: error: syntax error before "int" AC_SEARCH_LIBS does not do this and (by design) first checks without any additional libs. This succeeds (with warning that shmctl is not implemetned and will always fail) as can be seen by the 'none required' output above, but configure nevertheless sets LIB_IPC to '-lcygipc' resulting in the link failure later on. The following (tested) patch to configure.ac makes sure that -lcygipc only gets added if shmctl is actually found in it. Please forward it upstream should you decide to apply it. --- configure.ac.orig 2005-04-08 21:04:57.000000000 +0200 +++ configure.ac 2005-04-08 21:03:48.000000000 +0200 @@ -1148,7 +1148,10 @@ AC_CHECK_FUNC([shmctl],[have_shmctl='yes'],[]) if test "$have_shmctl" != 'yes' then - AC_SEARCH_LIBS([shmctl],[cygipc],[have_shmctl='yes'; LIB_IPC='-lcygipc'],[]) + old_LIBS=$LIBS + LIBS="$LIBS -lcygipc" + AC_TRY_LINK_FUNC([shmctl],[have_shmctl='yes'; LIB_IPC='-lcygipc'],[]) + LIBS=$old_LIBS fi if test "$have_shmctl" = 'yes' thanks, Michael -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

