GNU bug report logs - #61988
error compiling emacs

Previous Next

Package: emacs;

Reported by: Ugo Tomei <utomei <at> tiscali.it>

Date: Sun, 5 Mar 2023 19:03:02 UTC

Severity: normal

Done: Stefan Kangas <stefankangas <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Po Lu <luangruo <at> yahoo.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#61988: closed (error compiling emacs)
Date: Mon, 06 Mar 2023 13:44:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 06 Mar 2023 21:43:06 +0800
with message-id <871qm2q9lh.fsf <at> yahoo.com>
and subject line Re: bug#61988: error compiling emacs
has caused the debbugs.gnu.org bug report #61988,
regarding error compiling emacs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
61988: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61988
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ugo Tomei <utomei <at> tiscali.it>
To: bug-gnu-emacs <at> gnu.org
Subject: error compiling emacs
Date: Sun, 5 Mar 2023 12:23:22 +0100
Hi guys,

i have a problem during compiling emacs, when i launch "make":

make[3]: uscita dalla directory «/app/emacs/doc/lispref»
  CC       lcms.o
  CC       inotify.o
  CC       profiler.o
  CC       decompress.o
  CC       thread.o
  CC       systhread.o
  CC       sqlite.o
  CC       treesit.o
  CC       itree.o
  CC       xfont.o
  CC       ftfont.o
  CC       ftcrfont.o
  CC       hbfont.o
  CC       fontset.o
  CC       fringe.o
  CC       image.o
  CC       textconv.o
  CC       xgselect.o
  CC       json.o
  CC       terminfo.o
  CC       lastfile.o
  CCLD     temacs
  GEN      ../etc/DOC
/usr/bin/ld: image.o: undefined reference to symbol 'WebPGetInfo'
/usr/bin/ld: /lib/x86_64-linux-gnu/libwebp.so.7: error adding symbols: 
DSO missing from command line
collect2: error: ld returned 1 exit status
make[3]: *** [Makefile:705: temacs] Errore 1
make[3]: uscita dalla directory «/app/emacs/src»
make[2]: *** [Makefile:544: src] Errore 2
make[2]: uscita dalla directory «/app/emacs»
make[1]: *** [Makefile:1260: actual-bootstrap] Errore 2
make[1]: uscita dalla directory «/app/emacs»
make[1]: ingresso nella directory «/app/emacs»
***
*** "make bootstrap" failed with exit status 2.
***
*** You could try to:
*** - run "make extraclean" and run "make" again (or, equivalently, run
***   "make bootstrap configure=default"), to rebuild Emacs with the
***   default configuration options, which might fix the problem
*** - run "git clean -fdx" and run "make bootstrap" again, which might
***   fix the problem if "make bootstrap configure=default" did not
***   !BEWARE! "git clean -fdx" deletes all files that are not under
***   !BEWARE! version control, which means that all changes to such
***   !BEWARE! files will be lost and cannot be restored later
*** - run "make V=1", which displays the full commands invoked by make,
***   to further investigate the problem
*** - report the problem and ask for help by sending an email to
***   bug-gnu-emacs <at> gnu.org, mentioning at least the build error
***   message, the platform, and the repository revision displayed by
***   "git rev-parse HEAD"
***
make[1]: *** [Makefile:414: advice-on-failure] Errore 2
make[1]: uscita dalla directory «/app/emacs»
make: *** [Makefile:1243: bootstrap] Errore 2

Can you help me?

i have reinstalled this package but i have always same error: 
libwebp7:amd64 libwebp7:i386

Best regards


[Message part 3 (message/rfc822, inline)]
From: Po Lu <luangruo <at> yahoo.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: utomei <at> tiscali.it, 61988-done <at> debbugs.gnu.org
Subject: Re: bug#61988: error compiling emacs
Date: Mon, 06 Mar 2023 21:43:06 +0800
Eli Zaretskii <eliz <at> gnu.org> writes:

>> From: Po Lu <luangruo <at> yahoo.com>
>> Cc: 61988 <at> debbugs.gnu.org, Eli Zaretskii <eliz <at> gnu.org>
>> Date: Mon, 06 Mar 2023 18:35:05 +0800
>> 
>> >> -      WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED"
>> >> +      WEBP_MODULE="libwebpdemux >= $WEBP_REQUIRED libwebpdecoder >= $WEBP_REQUIRED"
>> >>           EMACS_CHECK_MODULES([WEBP], [$WEBP_MODULE])
>> >>         AC_SUBST([WEBP_CFLAGS])
>> >>
>> >> Everyone else, make sure to link to *EVERYTHING* that you depend on, not
>> >> just one library that happens to link to everything you depend on.
>> >> Thanks.
>> 
>> Thanks.  Eli, is this safe for Emacs 29?
>
> Yes, thanks.

Thanks, I installed the patch and am closing this bug.


This bug report was last modified 1 year and 260 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.