Skip to content

Conversation

@goyalyashpal
Copy link

(aims to) Fix: #2590

@goyalyashpal
Copy link
Author

goyalyashpal commented Jan 2, 2024

the failed check is related with symlinks, which requires enabling developer mode on windows, and setting up the MSYS=winsymlinks:native env var. on my system, the build passes this step successfully:

 ==> Extracting sources...
   -> Extracting kakoune-2023.08.05.tar.bz2 with bsdtar
 kakoune-2023.08.05/CHANGELOG: Can't create 'kakoune-2023.08.05/CHANGELOG': No such file or directory
 kakoune-2023.08.05/libexec/kak/kak: Can't create 'kakoune-2023.08.05/libexec/kak/kak': No such file or directory
 bsdtar: Error exit delayed from previous errors.
 ==> ERROR: Failed to extract kakoune-2023.08.05.tar.bz2
     Aborting...

https://github.com/msys2/MSYS2-packages/actions/runs/7390777336/job/20106351099?pr=4322#step:10:127

$ makepkg -sCLf
==> Making package: kakoune 2023.08.05-1 ()
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found kakoune-2023.08.05.tar.bz2
==> Validating source files with sha256sums...
    kakoune-2023.08.05.tar.bz2 ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting kakoune-2023.08.05.tar.bz2 with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .alias_registry.debug.d -c -o .alias_registry.debug.o alias_registry.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .assert.debug.d -c -o .assert.debug.o assert.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .backtrace.debug.d -c -o .backtrace.debug.o backtrace.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer.debug.d -c -o .buffer.debug.o buffer.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer_manager.debug.d -c -o .buffer_manager.debug.o buffer_manager.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .buffer_utils.debug.d -c -o .buffer_utils.debug.o buffer_utils.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .changes.debug.d -c -o .changes.debug.o changes.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .client.debug.d -c -o .client.debug.o client.cc
g++ -DKAK_DEBUG -D_XOPEN_SOURCE=700 -march=nocona -msahf -mtune=generic -O2 -pipe -O0 -pedantic -std=c++2a -g -Wall -Wextra -Wno-unused-parameter -Wno-sign-c
ompare -Wno-address -Wno-init-list-lifetime -MD -MP -MF .client_manager.debug.d -c -o .client_manager.debug.o client_manager.cc
make: *** Deleting file '.client_manager.debug.o'
make: *** [Makefile:104: .assert.debug.o] Interrupt
make: *** [Makefile:104: .backtrace.debug.o] Interrupt
make: *** [Makefile:104: .buffer.debug.o] Interrupt
make: *** [Makefile:104: .client.debug.o] Interrupt
make: *** [Makefile:104: .buffer_manager.debug.o] Interrupt
make: *** [Makefile:104: .buffer_utils.debug.o] Interrupt
make: *** [Makefile:104: .alias_registry.debug.o] Interrupt
make: *** [Makefile:104: .changes.debug.o] Interrupt
make: *** [Makefile:104: .client_manager.debug.o] Interrupt

==> ERROR: Aborted by user! Exiting...


@goyalyashpal
Copy link
Author

goyalyashpal commented Jan 2, 2024

as to "why i need it" - it's a tui basd text editor which heavily uss linux utils. so, it can't run on windows

#3695

eveen if you don't want to distribute it in binary form, then can at least the PKGBUILD be distributed from ur side - so that users can just run a small set of tried and true command(s) which build and install it via pacman?

@lazka lazka added the new-package Pull request which adds new package(s) label May 31, 2024
@goyalyashpal goyalyashpal marked this pull request as draft September 7, 2025 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new-package Pull request which adds new package(s)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Kakoune package availability

2 participants