GNU bug report logs - #47872
28.0.50; Emacs tries to load character map files from buildir instead of libdir or datadir

Previous Next

Package: emacs;

Reported by: Bjoern Bidar <bjorn.bidar <at> thaodan.de>

Date: Sun, 18 Apr 2021 14:15:02 UTC

Severity: normal

Found in version 28.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 47872 <at> debbugs.gnu.org (full text, mbox):

From: Bjoern Bidar <bjorn.bidar <at> thaodan.de>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 47872 <at> debbugs.gnu.org
Subject: Re: bug#47872: 28.0.50;
 Emacs tries to load character map files from buildir instead of
 libdir or datadir
Date: Sun, 18 Apr 2021 23:47:05 +0300
Am Sonntag, 18. April 2021, 22:17:46 EEST schrieben Sie:
> > From: Bjoern Bidar <bjorn.bidar <at> thaodan.de>
> > Date: Sun, 18 Apr 2021 21:51:25 +0300
> > 
> > > Then please describe in detail the steps you took to configure, build,
> > > and install the native-comp branch, and how did you invoke it after
> > > that.
> > 
> > Like mentioned in the first message of this thread (except pgtk of
> > course).
> > 
> > I quote:
> >  'configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib
> >  --localstatedir=/var --mandir=/usr/share/man --with-gameuser=:games
> >  --with-sound=alsa --with-modules --without-gconf --without-gsettings
> >  --with-nativecomp --enable-link-time-optimization
> >  --enable-profiling --with-x-toolkit=gtk3 --without-xaw3d
> >  --without-m17n-flt --with-cairo 'CFLAGS=-mtune=native -O2 -pipe
> >  -fstack-protector-strong -fno-plt -fPIC -g -flto -fuse-linker-plugin
> >  -fuse-ld=gold -g -flto -fuse-linker-plugin -fuse-ld=gold'
> >  CPPFLAGS=-D_FORTIFY_SOURCE=2
> >  LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now'
> > 
> > Make install
> > 
> > Run emacs:
> > emacs
> 
> Thanks.  But in your original report you said:
> > On my build to today I noticed that emacs tries to load files from the
> 
> > build dir instead of the destdir/libdir or datadir:
> So what is that "build dir" in this case, and what is destdir/libdir
> and datadir?  Without knowing that, how to understand the warning
> 
Buildir is the directory where emacs is build in e.g. In my cause the 
directory where .git  or configure.ac is in.

>Actually, I found that we were not calling one of the functions that
>are supposed to set this up, so please try the latest native-comp
>branch and see if the problem is solved.
Solved now.







This bug report was last modified 4 years and 31 days ago.

Previous Next


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