X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; q=dns; s=default; b=tFXDfuH3R9Mn3JFMvFrR6nw6dYA68ySkikDZEq2Xyt7 ubFoyPo3M/uykuL4uATIelsYGyE5krG8I6w27eyldV4jUx+Q4FruAuCziWZ9H7d4 x9zmrKMRepiTDbpiLmW6Lghpj7DntkOPTzuwCpqSaXpPZ0jiM/Nzb+vJRruWY0Rg = DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type:content-transfer-encoding; s=default; bh=LeLLQ+kt+SdDflGIz/7p4+lJrnA=; b=GbzwzSlL1bUlck1W3 fgUE66ypM68O399UedHrEtwqV17v2805BFZ8q4zhbsRfDoYpsuKpQzwnam/VJRCh 8M7RGBiQaLZ7RFZtEfe1CC2SMkF8n4voODmH8DO2ramoxrBCPMy9hMoWc77tAMnd yLAqC0D7VmO0OVcq9Fb4GdMk4U= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: smtp203.alice.it Message-ID: <54A317D2.3050200@alice.it> Date: Tue, 30 Dec 2014 22:23:30 +0100 From: Angelo Graziosi User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.3.0 MIME-Version: 1.0 To: Marco Atzeri , cygwin AT cygwin DOT com Subject: Re: [ANNOUNCEMENT] Updated: ImageMagick-6.9.0.0-1 (Emacs problem) References: <54A2B49A DOT 9060108 AT alice DOT it> <54A2CFD1 DOT 3030403 AT gmail DOT com> In-Reply-To: <54A2CFD1.3030403@gmail.com> Content-Type: text/plain; charset=iso-8859-15; format=flowed Content-Transfer-Encoding: 7bit Il 30/12/2014 17:16, Marco Atzeri ha scritto: > On 12/30/2014 3:20 PM, Angelo Graziosi wrote: >> Marco Atzeri wrote: >>> Version 6.9.0.0-1 of >>> ImageMagick >>> ImageMagick-doc >>> libMagickCore6 >>> libMagick-devel >>> perl-Image-Magick >>> >>> have been uploaded for cygwin >> >> After this upgrade, Emacs fails to build from trunk: >> >> [...] >> Configured for `x86_64-pc-cygwin'. >> >> Where should the build process find the source code? . >> What compiler should emacs be built with? clang -pipe >> -Ofast -g0 -fomit-frame-pointer >> Should Emacs use the GNU version of malloc? only before >> dumping >> Should Emacs use a relocating allocator for buffers? no >> Should Emacs use mmap(2) for buffer allocation? yes >> What window system should Emacs use? w32 >> What toolkit should Emacs use? none >> Where do we find X Windows header files? Standard dirs >> Where do we find X Windows libraries? Standard dirs >> [...] >> Does Emacs use imagemagick? yes >> [...] >> -lpng15 -lm -lz -lcairo -lz -lGL -lgobject-2.0 -lffi -lglib-2.0 -lintl >> -lpcre -lintl -liconv -lpcre -lpixman-1 -lfontconfig -lexpat -lfreetype >> -lbz2 -lpng15 -lm -lz -lexpat -lfreetype -lbz2 -lz -lEGL -lm -lpthread >> -lGL -lm -lpthread -lXdamage -lXfixes -lX11-xcb -lxcb-glx -lpng15 -lm >> -lz -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp >> -lxml2 -lz -lgdi32 -lm -lgomp -lm -lMagickCore-6.Q16 -ljbig -llcms2 [...] >> -lgobject-2.0 -lffi -lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre -lz >> /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/bin/ld: >> impossibile trovare -lMagickCore >> /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/bin/ld: >> impossibile trovare -lMagickCore > [cut] >> clang: error: linker (via gcc) command failed with exit code 1 (use -v >> to see invocation) > > it seems clang lost the "-6.Q16" when passing to ld. > I am not sure it is a ImageMagick package bug; the new format > is unusual but we already have names with dot before .dll.a > > libgdk-x11-2.0.dll.a Hmm... I don't understand... I have built Emacs with CLANG since this was added to Cygwin. First on Cygwin32 and now on Cygwin64, and it always worked O(other_bugs)... Only after the last ImageMagick update the build is broken... In any case, also GCC seems to have the same problems: [...] Configured for `x86_64-pc-cygwin'. Where should the build process find the source code? . What compiler should emacs be built with? gcc -std=gnu99 -pipe -Ofast -g0 -fomit-frame-pointer Should Emacs use the GNU version of malloc? only before dumping Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? yes What window system should Emacs use? w32 What toolkit should Emacs use? none Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? Standard dirs Does Emacs use -lXaw3d? no Does Emacs use -lXpm? yes Does Emacs use -ljpeg? yes Does Emacs use -ltiff? yes Does Emacs use a gif library? yes -lgif Does Emacs use a png library? yes -lpng15 Does Emacs use -lrsvg-2? no Does Emacs use imagemagick? yes Does Emacs support sound? yes Does Emacs use -lgpm? no Does Emacs use -ldbus? yes Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use a file notification library? yes -lgio (gfile) Does Emacs use access control lists? yes Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? no Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs directly use zlib? yes Does Emacs use toolkit scroll bars? yes [...] -lpcre -lintl -liconv -lpcre -lpixman-1 -lfontconfig -lexpat -lfreetype -lbz2 -lpng15 -lm -lz -lexpat -lfreetype -lbz2 -lz -lEGL -lm -lpthread -lGL -lm -lpthread -lXdamage -lXfixes -lX11-xcb -lxcb-glx -lpng15 -lm -lz -lxcb-shm -lxcb-render -lXrender -lXext -lX11 -lxcb -lXau -lXdmcp -lxml2 -lz -lgdi32 -lm -lgomp -lm -ldbus-1 -lxml2 -lz -llzma -liconv -lm -lncurses -lgnutls -lz -lintl -liconv -lp11-kit -lgmp -lhogweed -lgmp -lnettle -ltasn1 -lp11-kit -lz -lgio-2.0 -lz -lgmodule-2.0 -lgobject-2.0 -lffi -lglib-2.0 -lintl -lpcre -lintl -liconv -lpcre -lz /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/bin/ld: impossibile trovare -lMagickCore /usr/lib/gcc/x86_64-pc-cygwin/4.8.3/../../../../x86_64-pc-cygwin/bin/ld: impossibile trovare -lMagickCore collect2: error: ld returned 1 exit status Makefile:689: set di istruzioni per l'obiettivo "temacs.exe" non riuscito make[1]: *** [temacs.exe] Errore 1 make[1]: uscita dalla directory "/tmp/emacs-master/src" Makefile:384: set di istruzioni per l'obiettivo "src" non riuscito make: *** [src] Errore 2 Sure it isn't a packaging bug? I see that now ImageMagick has missed /usr/lib/libMagickCore.dll.a... and this cd /usr/lib ln -sf libMagickCore-6.Q16.dll.a libMagickCore.dll.a seem to fix the build (both with CLANG and GCC) Ciao, Angelo. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple