all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ergus <spacibba@aol.com>
To: emacs-devel@gnu.org
Cc: mattiase@acm.org, akrl@sdf.org
Subject: Some build issues
Date: Fri, 18 Jun 2021 13:48:13 +0200	[thread overview]
Message-ID: <20210618114813.mz7pxwrclzduugjz@Ergus> (raw)
In-Reply-To: 20210618114813.mz7pxwrclzduugjz.ref@Ergus

Hi:

I have two issues during the build that probably may be checked.

I didn't report them as issues because they are not critical for most of
the users. 

1)

Just building master with a modern gcc (11.1) I am getting some
warnings. They are not critical, but I see that some recent commit are
eliminating gcc warnings, so probably you will like to fix these too.


../../src/comp.c: In function ‘declare_runtime_imported_funcs’:
../../src/comp.c:2696:5: warning: this ‘while’ clause does not guard... [-Wmisleading-indentation]
  2696 |   } while (0)
       |     ^~~~~
../../src/comp.c:2704:3: note: in expansion of macro ‘ADD_IMPORTED’
  2704 |   ADD_IMPORTED (helper_PSEUDOVECTOR_TYPEP_XUNTAG, comp.bool_type, 2, args);
       |   ^~~~~~~~~~~~
../../src/comp.c:2690:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘while’
  2690 |   {                                                                            \
       |   ^

  (...)

../../src/image.c: In function ‘tiff_load’:
../../src/image.c:7980:3: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  7980 |   uint32 *buf;
       |   ^~~~~~
../../src/image.c:8106:7: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  8106 |       uint32 *row = buf + y * width;
       |       ^~~~~~
../../src/image.c:8110:11: warning: ‘uint32’ is deprecated [-Wdeprecated-declarations]
  8110 |           uint32 abgr = row[x];
       |           ^~~~~~
  
2)

Building in parallel (make -j install) it seems to install wrongly
because when I try to execute after that I get:

Error using execdir /home/user/.local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/:
emacs:
/home/user/.local/libexec/emacs/28.0.50/x86_64-pc-linux-gnu/../../../../bin/../native-lisp/28.0.50-0f08941b/preloaded/window-ac748af0-63c191c3.eln:
cannot open shared object file: No such file or directory

If I run:

make
make install 

then everything works fine.

Best,
Ergus



       reply	other threads:[~2021-06-18 11:48 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210618114813.mz7pxwrclzduugjz.ref@Ergus>
2021-06-18 11:48 ` Ergus [this message]
2021-06-18 12:31   ` Some build issues Eli Zaretskii
2021-06-19  0:10     ` Bob Rogers
2021-06-18 12:38   ` Mattias Engdegård
2021-06-18 12:40     ` Mattias Engdegård

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210618114813.mz7pxwrclzduugjz@Ergus \
    --to=spacibba@aol.com \
    --cc=akrl@sdf.org \
    --cc=emacs-devel@gnu.org \
    --cc=mattiase@acm.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.