* bug#61174: error compiling emacs @ 2023-01-30 10:59 Ugo Tomei 2023-01-30 14:53 ` Eli Zaretskii ` (2 more replies) 0 siblings, 3 replies; 8+ messages in thread From: Ugo Tomei @ 2023-01-30 10:59 UTC (permalink / raw) To: 61174 Hi all, i have always compile succesfully emacs with this command: git clone https://github.com/emacs-mirror/emacs.git cd /app/emacs git reset --hard git pull sudo make uninstall sudo make clean git checkout default git submodule update --init --recursive ./autogen.sh ./configure make bootstrap -j 32 sudo make install but now i have this error: [code] Loading /app/emacs/lisp/isearch.el (source)... Loading /app/emacs/lisp/rfn-eshadow.el (source)... Loading /app/emacs/lisp/menu-bar.el (source)... Loading /app/emacs/lisp/tab-bar.el (source)... Loading /app/emacs/lisp/emacs-lisp/lisp.el (source)... Loading /app/emacs/lisp/textmodes/page.el (source)... Loading /app/emacs/lisp/register.el (source)... Loading /app/emacs/lisp/textmodes/paragraphs.el (source)... Loading /app/emacs/lisp/progmodes/prog-mode.el (source)... Error: error ("Eager macro-expansion failure: (void-function treesit-parser-list)") mapbacktrace((closure ((prin1 . cl-prin1) t) (evald func args _flags) (let ((args args)) (if evald (progn (princ " ") (funcall prin1 func) (princ "(")) (progn (princ " (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n")))) (let ((print-escape-newlines t) (print-escape-control-characters t) (print-escape-nonascii t) (prin1 (if (and (fboundp 'cl-prin1) (require 'cl-print nil t)) #'cl-prin1 #'prin1))) (mapbacktrace #'(lambda (evald func args _flags) (let ((args args)) (if evald (progn (princ " ") (funcall prin1 func) (princ "(")) (progn (princ " (") (setq args (cons func args)))) (if args (while (progn (funcall prin1 (car args)) (setq args (cdr args))) (princ " "))) (princ ")\n"))))) debug-early-backtrace() debug-early(error (error "Eager macro-expansion failure: (void-function treesit-parser-list)")) signal(error ("Eager macro-expansion failure: (void-function treesit-parser-list)")) error("Eager macro-expansion failure: %S" (void-function treesit-parser-list)) (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form)) (cond ((eq 'skip (car macroexp--pending-eager-loads)) form) ((and load-file-name (member load-file-name macroexp--pending-eager-loads)) (let* ((bt (delq nil (mapcar #'macroexp--trim-backtrace-frame (macroexp--backtrace)))) (elem (list 'load (file-name-nondirectory load-file-name))) (tail (member elem (cdr (member elem bt))))) (if tail (setcdr tail (list '…))) (if (eq (car-safe (car bt)) 'macroexpand-all) (setq bt (cdr bt))) (if macroexp--debug-eager (debug 'eager-macroexp-cycle) (error "Eager macro-expansion skipped due to cycle:\n %s" (mapconcat #'prin1-to-string (nreverse bt) " => "))) (setq macroexp--pending-eager-loads (cons 'skip macroexp--pending-eager-loads)) form)) (t (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form)))) (let ((symbols-with-pos-enabled t) (print-symbols-bare t)) (cond ((eq 'skip (car macroexp--pending-eager-loads)) form) ((and load-file-name (member load-file-name macroexp--pending-eager-loads)) (let* ((bt (delq nil (mapcar #'macroexp--trim-backtrace-frame (macroexp--backtrace)))) (elem (list 'load (file-name-nondirectory load-file-name))) (tail (member elem (cdr (member elem bt))))) (if tail (setcdr tail (list '…))) (if (eq (car-safe (car bt)) 'macroexpand-all) (setq bt (cdr bt))) (if macroexp--debug-eager (debug 'eager-macroexp-cycle) (error "Eager macro-expansion skipped due to cycle:\n %s" (mapconcat #'prin1-to-string (nreverse bt) " => "))) (setq macroexp--pending-eager-loads (cons 'skip macroexp--pending-eager-loads)) form)) (t (condition-case err (let ((macroexp--pending-eager-loads (cons load-file-name macroexp--pending-eager-loads))) (if full-p (macroexpand--all-toplevel form) (macroexpand form))) (error (error "Eager macro-expansion failure: %S" err) form))))) internal-macroexpand-for-load((eval-when-compile (require 'cl-lib) (require 'subr-x) (require 'treesit)) nil) eval-buffer(#<buffer *load*> nil "/app/emacs/lisp/progmodes/prog-mode.el" nil t) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t))) (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer))) (let ((buffer (generate-new-buffer " *load*")) (load-in-progress t) (source (string-suffix-p ".el" fullname))) (unless nomessage (if source (message "Loading %s (source)..." file) (message "Loading %s..." file))) (when purify-flag (push (purecopy file) preloaded-file-list)) (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer))) (do-after-load-evaluation fullname) (unless (or nomessage noninteractive) (if source (message "Loading %s (source)...done" file) (message "Loading %s...done" file))) t) (if (null (file-readable-p fullname)) (and (null noerror) (signal 'file-error (list "Cannot open load file" file))) (let ((buffer (generate-new-buffer " *load*")) (load-in-progress t) (source (string-suffix-p ".el" fullname))) (unless nomessage (if source (message "Loading %s (source)..." file) (message "Loading %s..." file))) (when purify-flag (push (purecopy file) preloaded-file-list)) (unwind-protect (let ((load-true-file-name fullname) (load-file-name fullname) (set-auto-coding-for-load t) (inhibit-file-name-operation nil) shorthands) (with-current-buffer buffer (set-buffer-multibyte t) (let (deactivate-mark) (insert-file-contents fullname)) (setq shorthands (and hack-read-symbol-shorthands-function (funcall hack-read-symbol-shorthands-function))) (if (and enable-multibyte-characters (or (eq (coding-system-type last-coding-system-used) 'raw-text))) (set-buffer-multibyte nil)) (set-buffer-modified-p nil)) (let ((read-symbol-shorthands shorthands)) (if eval-function (funcall eval-function buffer (if dump-mode file fullname)) (eval-buffer buffer nil (if dump-mode file fullname) nil t)))) (let (kill-buffer-hook kill-buffer-query-functions) (kill-buffer buffer))) (do-after-load-evaluation fullname) (unless (or nomessage noninteractive) (if source (message "Loading %s (source)...done" file) (message "Loading %s...done" file))) t)) load-with-code-conversion("/app/emacs/lisp/progmodes/prog-mode.el" "/app/emacs/lisp/progmodes/prog-mode.el" nil nil) load("progmodes/prog-mode") load("loadup.el") Eager macro-expansion failure: (void-function treesit-parser-list) make[1]: *** [Makefile:916: bootstrap-emacs.pdmp] Errore 255 make[1]: uscita dalla directory «/app/emacs/src» make: *** [Makefile:544: src] Errore 2 [/code] how can i solve it? best regards ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#61174: error compiling emacs 2023-01-30 10:59 bug#61174: error compiling emacs Ugo Tomei @ 2023-01-30 14:53 ` Eli Zaretskii 2023-01-30 15:09 ` Ugo Tomei 2023-01-30 17:20 ` Eli Zaretskii 2024-12-04 18:36 ` bug#74693: " Ugo Tomei 2 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2023-01-30 14:53 UTC (permalink / raw) To: Ugo Tomei; +Cc: 61174 > Date: Mon, 30 Jan 2023 11:59:16 +0100 > From: Ugo Tomei <utomei@tiscali.it> > > Eager macro-expansion failure: (void-function treesit-parser-list) > make[1]: *** [Makefile:916: bootstrap-emacs.pdmp] Errore 255 > make[1]: uscita dalla directory «/app/emacs/src» > make: *** [Makefile:544: src] Errore 2 > > [/code] > > > how can i solve it? This was fixed recently, so please update from Git and try again. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#61174: error compiling emacs 2023-01-30 14:53 ` Eli Zaretskii @ 2023-01-30 15:09 ` Ugo Tomei 0 siblings, 0 replies; 8+ messages in thread From: Ugo Tomei @ 2023-01-30 15:09 UTC (permalink / raw) To: Eli Zaretskii, utomei; +Cc: 61174 [-- Attachment #1: Type: text/plain, Size: 667 bytes --] Yes, now works Best regardsInviato dal mio Galaxy Note -------- Messaggio originale --------Da: Eli Zaretskii <eliz@gnu.org> Data: 30/01/23 15:53 (GMT+01:00) A: Ugo Tomei <utomei@tiscali.it> Cc: 61174@debbugs.gnu.org Oggetto: Re: bug#61174: error compiling emacs > Date: Mon, 30 Jan 2023 11:59:16 +0100> From: Ugo Tomei <utomei@tiscali.it>> > Eager macro-expansion failure: (void-function treesit-parser-list)> make[1]: *** [Makefile:916: bootstrap-emacs.pdmp] Errore 255> make[1]: uscita dalla directory «/app/emacs/src»> make: *** [Makefile:544: src] Errore 2> > [/code]> > > how can i solve it?This was fixed recently, so please update from Git and try again. [-- Attachment #2: Type: text/html, Size: 1410 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#61174: error compiling emacs 2023-01-30 10:59 bug#61174: error compiling emacs Ugo Tomei 2023-01-30 14:53 ` Eli Zaretskii @ 2023-01-30 17:20 ` Eli Zaretskii 2024-12-04 18:36 ` bug#74693: " Ugo Tomei 2 siblings, 0 replies; 8+ messages in thread From: Eli Zaretskii @ 2023-01-30 17:20 UTC (permalink / raw) To: Ugo Tomei; +Cc: 61174-done > SavedFromEmail: utomei@tiscali.it > Date: Mon, 30 Jan 2023 16:09:44 +0100 > From: Ugo Tomei <utomei@tiscali.it> > Cc: 61174@debbugs.gnu.org > > Yes, now works Thanks, closing. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#74693: error compiling emacs 2023-01-30 10:59 bug#61174: error compiling emacs Ugo Tomei 2023-01-30 14:53 ` Eli Zaretskii 2023-01-30 17:20 ` Eli Zaretskii @ 2024-12-04 18:36 ` Ugo Tomei 2024-12-04 18:59 ` Eli Zaretskii 2 siblings, 1 reply; 8+ messages in thread From: Ugo Tomei @ 2024-12-04 18:36 UTC (permalink / raw) To: 74693 [-- Attachment #1: Type: text/plain, Size: 4575 bytes --] > Hi all, > > i have always compile succesfully emacs with this command: > > git clone https://github.com/emacs-mirror/emacs.git > cd /app/emacs > git reset --hard > git pull > sudo make uninstall > sudo make clean > git checkout default > git submodule update --init --recursive > ./autogen.sh > ./configure > make bootstrap -j 32 > sudo make install > > > but now i have this error: > > > [code] > > CC xgselect.o > CC terminfo.o > CC lastfile.o > image.c: In function ‘svg_load_image’: > image.c:12358:12: error: implicit declaration of function > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | rsvg_handle_get_pixbuf_sub > image.c:12358:12: warning: nested extern declaration of > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > pointer from integer without a cast [-Wint-conversion] > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > | ^ > make[3]: *** [Makefile:457: image.o] Errore 1 > make[3]: *** Attesa per i processi non terminati.... > make[3]: uscita dalla directory «/app/emacs/src» > make[2]: *** [Makefile:554: src] Errore 2 > make[2]: uscita dalla directory «/app/emacs» > make[1]: *** [Makefile:1299: 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@gnu.org, mentioning at least the build error > *** message, the platform, and the repository revision displayed by > *** "git rev-parse HEAD" > *** > make[1]: *** [Makefile:418: advice-on-failure] Errore 2 > make[1]: uscita dalla directory «/app/emacs» > make: *** [Makefile:1282: bootstrap] Errore 2 > make -C lib all > make[1]: ingresso nella directory «/app/emacs/lib» > make[1]: Nessuna operazione da eseguire per «all». > make[1]: uscita dalla directory «/app/emacs/lib» > make -C lib-src all > make[1]: ingresso nella directory «/app/emacs/lib-src» > make[1]: Nessuna operazione da eseguire per «all». > make[1]: uscita dalla directory «/app/emacs/lib-src» > make -C src BIN_DESTDIR='/usr/local/bin/' \ > ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all > make[1]: ingresso nella directory «/app/emacs/src» > CC image.o > image.c: In function ‘svg_load_image’: > image.c:12358:12: error: implicit declaration of function > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > | rsvg_handle_get_pixbuf_sub > image.c:12358:12: warning: nested extern declaration of > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > pointer from integer without a cast [-Wint-conversion] > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > | ^ > make[1]: *** [Makefile:457: image.o] Errore 1 > make[1]: uscita dalla directory «/app/emacs/src» > make: *** [Makefile:554: src] Errore 2 > > [/code] > > > how can i solve it? > > best regards > [-- Attachment #2.1: Type: text/html, Size: 6122 bytes --] [-- Attachment #2.2: yC01ZcK9YLqZ0vzE.png --] [-- Type: image/png, Size: 655500 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#74693: error compiling emacs 2024-12-04 18:36 ` bug#74693: " Ugo Tomei @ 2024-12-04 18:59 ` Eli Zaretskii 2024-12-07 14:25 ` Eli Zaretskii 0 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2024-12-04 18:59 UTC (permalink / raw) To: Ugo Tomei; +Cc: 74693 > Date: Wed, 4 Dec 2024 19:36:29 +0100 > From: Ugo Tomei <utomei@tiscali.it> > > > i have always compile succesfully emacs with this command: > > > > git clone https://github.com/emacs-mirror/emacs.git > > cd /app/emacs > > git reset --hard > > git pull > > sudo make uninstall > > sudo make clean > > git checkout default > > git submodule update --init --recursive > > ./autogen.sh > > ./configure > > make bootstrap -j 32 > > sudo make install > > > > > > but now i have this error: > > > > > > [code] > > > > CC xgselect.o > > CC terminfo.o > > CC lastfile.o > > image.c: In function ‘svg_load_image’: > > image.c:12358:12: error: implicit declaration of function > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | rsvg_handle_get_pixbuf_sub > > image.c:12358:12: warning: nested extern declaration of > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > pointer from integer without a cast [-Wint-conversion] > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > | ^ > > make[3]: *** [Makefile:457: image.o] Errore 1 > > make[3]: *** Attesa per i processi non terminati.... > > make[3]: uscita dalla directory «/app/emacs/src» > > make[2]: *** [Makefile:554: src] Errore 2 > > make[2]: uscita dalla directory «/app/emacs» > > make[1]: *** [Makefile:1299: 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@gnu.org, mentioning at least the build error > > *** message, the platform, and the repository revision displayed by > > *** "git rev-parse HEAD" > > *** > > make[1]: *** [Makefile:418: advice-on-failure] Errore 2 > > make[1]: uscita dalla directory «/app/emacs» > > make: *** [Makefile:1282: bootstrap] Errore 2 > > make -C lib all > > make[1]: ingresso nella directory «/app/emacs/lib» > > make[1]: Nessuna operazione da eseguire per «all». > > make[1]: uscita dalla directory «/app/emacs/lib» > > make -C lib-src all > > make[1]: ingresso nella directory «/app/emacs/lib-src» > > make[1]: Nessuna operazione da eseguire per «all». > > make[1]: uscita dalla directory «/app/emacs/lib-src» > > make -C src BIN_DESTDIR='/usr/local/bin/' \ > > ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all > > make[1]: ingresso nella directory «/app/emacs/src» > > CC image.o > > image.c: In function ‘svg_load_image’: > > image.c:12358:12: error: implicit declaration of function > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > | rsvg_handle_get_pixbuf_sub > > image.c:12358:12: warning: nested extern declaration of > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > pointer from integer without a cast [-Wint-conversion] > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > | ^ > > make[1]: *** [Makefile:457: image.o] Errore 1 > > make[1]: uscita dalla directory «/app/emacs/src» > > make: *** [Makefile:554: src] Errore 2 Thais was already fixed on the emacs-30 branch, and will be merged to master in a day or two. > > how can i solve it? Wait for a few days. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#74693: error compiling emacs 2024-12-04 18:59 ` Eli Zaretskii @ 2024-12-07 14:25 ` Eli Zaretskii 2024-12-07 19:42 ` Ugo Tomei 0 siblings, 1 reply; 8+ messages in thread From: Eli Zaretskii @ 2024-12-07 14:25 UTC (permalink / raw) To: utomei; +Cc: 74693-done > Cc: 74693@debbugs.gnu.org > Date: Wed, 04 Dec 2024 20:59:49 +0200 > From: Eli Zaretskii <eliz@gnu.org> > > > Date: Wed, 4 Dec 2024 19:36:29 +0100 > > From: Ugo Tomei <utomei@tiscali.it> > > > > > i have always compile succesfully emacs with this command: > > > > > > git clone https://github.com/emacs-mirror/emacs.git > > > cd /app/emacs > > > git reset --hard > > > git pull > > > sudo make uninstall > > > sudo make clean > > > git checkout default > > > git submodule update --init --recursive > > > ./autogen.sh > > > ./configure > > > make bootstrap -j 32 > > > sudo make install > > > > > > > > > but now i have this error: > > > > > > > > > [code] > > > > > > CC xgselect.o > > > CC terminfo.o > > > CC lastfile.o > > > image.c: In function ‘svg_load_image’: > > > image.c:12358:12: error: implicit declaration of function > > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > | rsvg_handle_get_pixbuf_sub > > > image.c:12358:12: warning: nested extern declaration of > > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > > pointer from integer without a cast [-Wint-conversion] > > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > > | ^ > > > make[3]: *** [Makefile:457: image.o] Errore 1 > > > make[3]: *** Attesa per i processi non terminati.... > > > make[3]: uscita dalla directory «/app/emacs/src» > > > make[2]: *** [Makefile:554: src] Errore 2 > > > make[2]: uscita dalla directory «/app/emacs» > > > make[1]: *** [Makefile:1299: 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@gnu.org, mentioning at least the build error > > > *** message, the platform, and the repository revision displayed by > > > *** "git rev-parse HEAD" > > > *** > > > make[1]: *** [Makefile:418: advice-on-failure] Errore 2 > > > make[1]: uscita dalla directory «/app/emacs» > > > make: *** [Makefile:1282: bootstrap] Errore 2 > > > make -C lib all > > > make[1]: ingresso nella directory «/app/emacs/lib» > > > make[1]: Nessuna operazione da eseguire per «all». > > > make[1]: uscita dalla directory «/app/emacs/lib» > > > make -C lib-src all > > > make[1]: ingresso nella directory «/app/emacs/lib-src» > > > make[1]: Nessuna operazione da eseguire per «all». > > > make[1]: uscita dalla directory «/app/emacs/lib-src» > > > make -C src BIN_DESTDIR='/usr/local/bin/' \ > > > ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all > > > make[1]: ingresso nella directory «/app/emacs/src» > > > CC image.o > > > image.c: In function ‘svg_load_image’: > > > image.c:12358:12: error: implicit declaration of function > > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration] > > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > | rsvg_handle_get_pixbuf_sub > > > image.c:12358:12: warning: nested extern declaration of > > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs] > > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > > pointer from integer without a cast [-Wint-conversion] > > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err); > > > | ^ > > > make[1]: *** [Makefile:457: image.o] Errore 1 > > > make[1]: uscita dalla directory «/app/emacs/src» > > > make: *** [Makefile:554: src] Errore 2 > > Thais was already fixed on the emacs-30 branch, and will be merged to > master in a day or two. > > > > how can i solve it? > > Wait for a few days. The fix was now merged to the master branch, and I'm therefore closing this bug. ^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#74693: error compiling emacs 2024-12-07 14:25 ` Eli Zaretskii @ 2024-12-07 19:42 ` Ugo Tomei 0 siblings, 0 replies; 8+ messages in thread From: Ugo Tomei @ 2024-12-07 19:42 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 74693-done [-- Attachment #1: Type: text/plain, Size: 5338 bytes --] Thanks now works! Best regards -------- Messaggio originale --------Da: Eli Zaretskii <eliz@gnu.org> Data: 07/12/24 15:26 (GMT+01:00) A: utomei@tiscali.it Cc: 74693-done@debbugs.gnu.org Oggetto: Re: bug#74693: error compiling emacs > Cc: 74693@debbugs.gnu.org> Date: Wed, 04 Dec 2024 20:59:49 +0200> From: Eli Zaretskii <eliz@gnu.org>> > > Date: Wed, 4 Dec 2024 19:36:29 +0100> > From: Ugo Tomei <utomei@tiscali.it>> > > > > i have always compile succesfully emacs with this command:> > >> > > git clone https://github.com/emacs-mirror/emacs.git> > > cd /app/emacs> > > git reset --hard> > > git pull> > > sudo make uninstall> > > sudo make clean> > > git checkout default> > > git submodule update --init --recursive> > > ./autogen.sh> > > ./configure> > > make bootstrap -j 32> > > sudo make install> > >> > >> > > but now i have this error:> > >> > >> > > [code]> > >> > > CC xgselect.o> > > CC terminfo.o> > > CC lastfile.o> > > image.c: In function ‘svg_load_image’:> > > image.c:12358:12: error: implicit declaration of function > > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]> > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);> > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> > > | rsvg_handle_get_pixbuf_sub> > > image.c:12358:12: warning: nested extern declaration of > > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]> > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > > pointer from integer without a cast [-Wint-conversion]> > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);> > > | ^> > > make[3]: *** [Makefile:457: image.o] Errore 1> > > make[3]: *** Attesa per i processi non terminati....> > > make[3]: uscita dalla directory «/app/emacs/src»> > > make[2]: *** [Makefile:554: src] Errore 2> > > make[2]: uscita dalla directory «/app/emacs»> > > make[1]: *** [Makefile:1299: 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@gnu.org, mentioning at least the build error> > > *** message, the platform, and the repository revision displayed by> > > *** "git rev-parse HEAD"> > > ***> > > make[1]: *** [Makefile:418: advice-on-failure] Errore 2> > > make[1]: uscita dalla directory «/app/emacs»> > > make: *** [Makefile:1282: bootstrap] Errore 2> > > make -C lib all> > > make[1]: ingresso nella directory «/app/emacs/lib»> > > make[1]: Nessuna operazione da eseguire per «all».> > > make[1]: uscita dalla directory «/app/emacs/lib»> > > make -C lib-src all> > > make[1]: ingresso nella directory «/app/emacs/lib-src»> > > make[1]: Nessuna operazione da eseguire per «all».> > > make[1]: uscita dalla directory «/app/emacs/lib-src»> > > make -C src BIN_DESTDIR='/usr/local/bin/' \> > > ELN_DESTDIR='/usr/local/lib/emacs/31.0.50/' all> > > make[1]: ingresso nella directory «/app/emacs/src»> > > CC image.o> > > image.c: In function ‘svg_load_image’:> > > image.c:12358:12: error: implicit declaration of function > > > ‘rsvg_handle_get_pixbuf_and_error’; did you mean > > > ‘rsvg_handle_get_pixbuf_sub’? [-Wimplicit-function-declaration]> > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);> > > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~> > > | rsvg_handle_get_pixbuf_sub> > > image.c:12358:12: warning: nested extern declaration of > > > ‘rsvg_handle_get_pixbuf_and_error’ [-Wnested-externs]> > > image.c:12358:10: error: assignment to ‘GdkPixbuf *’ from ‘int’ makes > > > pointer from integer without a cast [-Wint-conversion]> > > 12358 | pixbuf = rsvg_handle_get_pixbuf_and_error (rsvg_handle, &err);> > > | ^> > > make[1]: *** [Makefile:457: image.o] Errore 1> > > make[1]: uscita dalla directory «/app/emacs/src»> > > make: *** [Makefile:554: src] Errore 2> > Thais was already fixed on the emacs-30 branch, and will be merged to> master in a day or two.> > > > how can i solve it?> > Wait for a few days.The fix was now merged to the master branch, and I'm therefore closingthis bug. [-- Attachment #2: Type: text/html, Size: 7710 bytes --] ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-12-07 19:42 UTC | newest] Thread overview: 8+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2023-01-30 10:59 bug#61174: error compiling emacs Ugo Tomei 2023-01-30 14:53 ` Eli Zaretskii 2023-01-30 15:09 ` Ugo Tomei 2023-01-30 17:20 ` Eli Zaretskii 2024-12-04 18:36 ` bug#74693: " Ugo Tomei 2024-12-04 18:59 ` Eli Zaretskii 2024-12-07 14:25 ` Eli Zaretskii 2024-12-07 19:42 ` Ugo Tomei
Code repositories for project(s) associated with this public inbox https://git.savannah.gnu.org/cgit/emacs.git This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).