Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add libxml2 to emacs #31

Open
SebastianMpl opened this issue Apr 13, 2024 · 6 comments
Open

Add libxml2 to emacs #31

SebastianMpl opened this issue Apr 13, 2024 · 6 comments

Comments

@SebastianMpl
Copy link

Hi there,
Could you please add libxml2 to emacs build?
Without it eww command doesn't work.

Also there is emacs v 29.3 available. Maybe the version could also be updated if its not a big issue...

Thank you,

@ahgamut
Copy link
Owner

ahgamut commented Apr 14, 2024

updated emacs to 29.3, added libxml2 (thanks @croqaz!) and jansson.
try the nightly build here: https://cosmo.zip/pub/cosmos/bin/emacs if it works fine I'll cut a new release on Github.

@SebastianMpl
Copy link
Author

SebastianMpl commented Apr 14, 2024

I didn't expected it to be so quick!
Eww started displaying : Doing vfork Operation not permitted.
But some pages load correctly, so it isn't a big issue.
More important - version 29.3 works fine for me.

Thank you very much for update

@jart
Copy link
Collaborator

jart commented Apr 14, 2024

What OS are you on?

@SebastianMpl
Copy link
Author

What OS are you on?

Linux sebapc 6.7.2-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 26 Jan 2024 19:10:20 +0000 x86_64 GNU/Linux

I tried running normally and with assimilate. Eww message is as above.

@jart
Copy link
Collaborator

jart commented Apr 14, 2024

Can you run it under strace and post the last part of log?

@SebastianMpl
Copy link
Author

SebastianMpl commented Apr 14, 2024

Here you are. It covers the time when the url for eww was fired up. Oh and in info bar it says: Error in process filter - Doing vfork Operation not supported

rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=0}, {sigmask=NULL, sigsetsize=8}) = 1 (in [5], left {tv_sec=0, tv_nsec=0})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=10000000}, {sigmask=NULL, sigsetsize=8}) = 1 (in [5], left {tv_sec=0, tv_nsec=9996971})
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
recvfrom(5, "\27\3\3))", 5, 0, NULL, NULL) = 5
recvfrom(5, "H\344\341\276/\316\236\260\216\211D\356\256MHP\347c4W\273\2069m\23Xv\353\220a\24`"..., 10537, 0, NULL, NULL) = 10537
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=0}, {sigmask=NULL, sigsetsize=8}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=0}, {sigmask=NULL, sigsetsize=8}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH IO], [], 8) = 0
write(3, "\33[42d\33[?25luffix.txt.gz...", 26) = 26
write(3, "\33[40;1H\33[30m\33[48;2;191;191;191m-"..., 103) = 103
write(3, "uncompressing publics\\\r\n\33[3d\33[?1"..., 49) = 49
rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], [WINCH IO], 8) = 0
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cosmolibc_cc/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/nim2/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/.cargo/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cosmolibc_cc/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/nim2/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/.cargo/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/local/sbin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/local/bin/gzip", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/bin/gzip", X_OK, AT_EACCESS) = 0
faccessat2(AT_FDCWD, "/usr/bin/gzip/./", F_OK, AT_EACCESS) = -1 ENOTDIR (Not a directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cos/./", F_OK, AT_EACCESS) = 0
getrandom("\x38\x26\xf3\xc8\xf4\x37\x2c\x7d", 8, GRND_NONBLOCK) = 8
openat(AT_FDCWD, "/tmp/jka-comgP7LIn", O_RDWR|O_CREAT|O_EXCL|O_CLOEXEC, 0600) = 6
close(6)                                = 0
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cos/./", F_OK, AT_EACCESS) = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[], ~[KILL STOP], 8) = 0
mmap(0x6fd000cf0000, 65536, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x6fd000cf0000
rt_sigprocmask(SIG_SETMASK, ~[KILL STOP], ~[KILL STOP], 8) = 0
fcntl(2, F_DUPFD_CLOEXEC, 3)            = 6
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP], 8) = 0
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cos/./", F_OK, AT_EACCESS) = 0
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cosmolibc_cc/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/nim2/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/.cargo/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/cosmolibc_cc/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/Pobrane/nim2/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/home/seba/.cargo/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/local/sbin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/local/bin/sh", X_OK, AT_EACCESS) = -1 ENOENT (No such file or directory)
faccessat2(AT_FDCWD, "/usr/bin/sh", X_OK, AT_EACCESS) = 0
faccessat2(AT_FDCWD, "/usr/bin/sh/./", F_OK, AT_EACCESS) = -1 ENOTDIR (Not a directory)
pipe2([7, 8], O_CLOEXEC)                = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, ~[ABRT KILL STOP RTMIN], [INT CHLD], 8) = 0
vfork()                                 = 8290
wait4(8290, [{WIFEXITED(s) && WEXITSTATUS(s) == 127}], 0, NULL) = 8290
rt_sigprocmask(SIG_SETMASK, [INT CHLD], ~[ABRT KILL STOP RTMIN], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT CHLD], 8) = 0
--- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=8290, si_uid=1000, si_status=127, si_utime=0, si_stime=0} ---
rt_sigreturn({mask=[]})                 = 0
close(8)                                = 0
close(7)                                = 0
rt_sigprocmask(SIG_SETMASK, ~[], [], 8) = 0
close(6)                                = 0
rt_sigprocmask(SIG_SETMASK, [], ~[KILL STOP], 8) = 0
faccessat2(AT_FDCWD, "/tmp/jka-comgP7LIn/./", F_OK, AT_EACCESS) = -1 ENOTDIR (Not a directory)
unlinkat(AT_FDCWD, "/tmp/jka-comgP7LIn", 0) = 0
ioctl(3, TCGETS, {c_iflag=IGNBRK, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
ioctl(3, TCSETSW, {c_iflag=IGNBRK, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
ioctl(3, TCGETS, {c_iflag=IGNBRK, c_oflag=NL0|CR0|TAB0|BS0|VT0|FF0|OPOST, c_cflag=B38400|CS8|CREAD, c_lflag=ISIG|ECHOE|ECHOK|ECHOCTL|ECHOKE, ...}) = 0
write(3, "\7", 1)                       = 1
rt_sigprocmask(SIG_BLOCK, [WINCH IO], [], 8) = 0
write(3, "\33[42d\33[?25lation not supported", 30) = 30
write(3, "\33[39;1H\33[30m\33[48;2;191;191;191m-"..., 103) = 103
write(3, "error in process filt\\\r\n", 24) = 24
write(3, "er: Doing vfork: Oper\33[H\n\n\33[?12l"..., 47) = 47
rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], [WINCH IO], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [4 5 9], [], NULL, {tv_sec=0, tv_nsec=261911507}, {sigmask=NULL, sigsetsize=8}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [4 5 9], [], NULL, {tv_sec=0, tv_nsec=736561103}, {sigmask=NULL, sigsetsize=8}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
rt_sigprocmask(SIG_BLOCK, [WINCH IO], [], 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [WINCH IO], [WINCH IO], 8) = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=10000000}, {sigmask=NULL, sigsetsize=8}) = 0 (Timeout)
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
ioctl(3, FIONREAD, [0])                 = 0
setitimer(ITIMER_REAL, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}, {it_interval={tv_sec=0, tv_usec=0}, it_value={tv_sec=0, tv_usec=0}}) = 0
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], [INT], 8) = 0
pselect6(10, [3 4 5 9], [], NULL, {tv_sec=0, tv_nsec=25000000}, {sigmask=NULL, sigsetsize=8}^Cstrace: Process 7621 detached
 <detached ...>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants