Skip to content
This repository has been archived by the owner on May 30, 2023. It is now read-only.

svraka/MINGW-packages-16190

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trying to rebuild Emacs

See msys2/MINGW-packages#16190

You need to set up everything and run the test for each MINGW environment separately.

Setup

Install Emacs with its optional and build dependencies:

pacman -S $MINGW_PACKAGE_PREFIX-{emacs,giflib,libjpeg-turbo,libpng,librsvg,libtiff,libxml2,toolchain,autotools}

Then, set up a local mirror for tarballs. In a .env file in this repo set its location as MSYS2_REPO and sync required packages with sync_repo.sh from the directory of the main repo in a shell of a MINGW environment you want to test. You might need to run it on previous revisions as well because dependencies changed over time. We will also sync a lot of unnecessary packages (especially Python packages) because we can't use regular expressions in rsync filters.

Run a git bisect

Then run a git bisect in the main repo with bisect.sh from this repo (this calls test.el in this repo):

git bisect start 0b8134337 dbe8d4aa9 -- $(../MINGW-packages-16190/bisect-paths.sh)
git bisect run ../MINGW-packages-16190/bisect.sh