Subject: bug#53024: 29.0.50; Wishlist: Byte-compile loaddefs.el?

From: Andreas Schwab <[email-masked]>
Date: Thu, 04 Aug 2022 21:15:42 +0200

On Aug 04 2022, Lars Ingebrigtsen wrote:

> Andreas Schwab <[email-masked]> writes:
>
>>> Perhaps this is a bug in the RPM build script.  That is, now that
>>> loaddefs files are compiled, it only copies over the .elc files to
>>> rpmbuild/BUILD, and not the .el files, or something along those lines?
>>
>> This happens during build, the install directory hasn't even been
>> created yet.
>
> So does loaddefs.elc and/or loaddefs.el exist when you get this error?

No loaddefs.el, it has been removed by make distclean.

make distclean
CFLAGS='-O2 -Wall -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=3 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-clash-protection -Werror=return-type -flto=auto -g -D_GNU_SOURCE -DGDK_DISABLE_DEPRECATION_WARNINGS -DGLIB_DISABLE_DEPRECATION_WARNINGS -pipe -Wno-pointer-sign -Wno-unused-variable -Wno-unused-label -Wno-unprototyped-calls '
./configure --with-pop --without-hesiod --with-kerberos --with-kerberos5 --with-xim --with-wide-int --with-gpm --with-file-notification=inotify --with-modules --enable-autodepend --with-file-notification=gfile --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --localstatedir=/var --sharedstatedir=/var/lib --libexecdir=/usr/lib --enable-locallisppath=/usr/share/emacs/29.0.50/site-lisp:/usr/share/emacs/site-lisp --with-x --with-sound --with-xpm --with-jpeg --with-tiff --with-gif --with-png --with-rsvg --with-dbus --with-xft --with-x-toolkit=gtk3 --with-xwidgets --with-toolkit-scroll-bars --x-includes=/usr/include --x-libraries=/usr/lib64 --with-libotf --with-m17n-flt --with-cairo --with-native-compilation --build=x86_64-suse-linux
make -j4

-- 
Andreas Schwab, [email-masked]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."