pike issues
https://git.lysator.liu.se/pikelang/pike/-/issues
2022-08-28T23:33:13Z
https://git.lysator.liu.se/pikelang/pike/-/issues/4483
Protocols.SMTP.Client()->send_message() lets bare LF's slip through
2022-08-28T23:33:13Z
Peter Bortas
Protocols.SMTP.Client()->send_message() lets bare LF's slip through
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4483
Reported by Mathias Södermark <mathias@roxen.com>
Protocols.SMTP.Client()->send_message() does not convert bare LF's to CR-LF
or throw an error that they are not all...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=4483
Reported by Mathias Södermark <mathias@roxen.com>
Protocols.SMTP.Client()->send_message() does not convert bare LF's to CR-LF
or throw an error that they are not allowed.
Pike 7.6
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2768
bogus `type mismatch' warning
2022-08-28T23:32:32Z
Peter Bortas
bogus `type mismatch' warning
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2768
Reported by Robert J. Budzynski, Warsaw University, Dept. of Physics <Robert.Budzynski@fuw.edu.pl>
```
Running the following script (foo.pike):
#!/usr/local/bin/pike...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2768
Reported by Robert J. Budzynski, Warsaw University, Dept. of Physics <Robert.Budzynski@fuw.edu.pl>
```
Running the following script (foo.pike):
#!/usr/local/bin/pike -w
#pragma strict_types
int main(int ac, array(string) av)
{
write(version()+"\n");
int(-1..1) foo=0;
if(ac>1)
{
if(av[1]=="1") foo++;
else foo--;
}
switch(foo)
{
case 1: write("foo is one\n"); break;
case -1: write("foo is minus one\n"); break;
case 0: write("foo is zero\n"); break;
default: write("Bah!\n");
}
return 0;
}
// script ends here
```
I obtain the output
```
$ ./foo.pike xxx
foo.pike:15: Warning: Type mismatch in case.
foo.pike:15: Warning: Expected: int(-1..1)
foo.pike:15: Warning: Got : int
Pike v7.3 release 14
foo is minus one
```
Pike 7.4
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1882
Missing GTK images
2022-08-28T23:21:46Z
Peter Bortas
Missing GTK images
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1882
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Some images referenced by the GTK refdoc is not created when make docs is
ran:
gtk_aspectframe.png
gtk_che...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1882
Reported by Martin Nilsson, IDA <nilsson@pike.ida.liu.se>
Some images referenced by the GTK refdoc is not created when make docs is
ran:
gtk_aspectframe.png
gtk_checkbutton.png
gtk_databox.png
gtk_menubar.png
gtk_optionmenu.png
gtk_radiobutton.png
gnome_messagebox.png
gnome_messagebox_2.png
gtk_button_3.png is generated, but is not checked in.
Martin Nilsson
Martin Nilsson
https://git.lysator.liu.se/pikelang/pike/-/issues/3153
Image copy error
2022-08-28T22:55:17Z
Peter Bortas
Image copy error
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3153
Reported by Martin Stjernholm <mast@roxen.com>
I get a lot of errors like these when I run the refdoc extractor in a
spotless tree:
Extracting file "../src/post...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3153
Reported by Martin Stjernholm <mast@roxen.com>
I get a lot of errors like these when I run the refdoc extractor in a
spotless tree:
Extracting file "../src/post_modules/GTK/refdoc/GTK.pmod/Button.pike"...
copying from
[/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button.png]
to [build/images//GTK.Button.1.png]
Error: Could not move
/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button.png
to build/images//GTK.Button.1.png.
(Could not read
/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button.png)
copying from
[/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button_2.png]
to [build/images//GTK.Button.2.png]
Error: Could not move
/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button_2.png
to build/images//GTK.Button.2.png.
(Could not read
/home/mast/Pike/7.3/refdoc/build/src/post_modules/GTK/refdoc/images/gtk_button_2.png)
Note that it tries to copy from the build directory. At the point when it
complains, the images doesn't there, and neither does the images directory.
Afterwards all files seems to be there.
Pike 7.4
https://git.lysator.liu.se/pikelang/pike/-/issues/8050
Update the SSL module to support TLS 1.3.
2022-08-28T22:32:58Z
Peter Bortas
Update the SSL module to support TLS 1.3.
Imported from https://youtrack.roxen.com/issue/PIKE-50
Reported by @grubba
TLS 1.3 is starting to stabilize, and various drafts of it are already supported by browsers.
Imported from https://youtrack.roxen.com/issue/PIKE-50
Reported by @grubba
TLS 1.3 is starting to stabilize, and various drafts of it are already supported by browsers.
https://git.lysator.liu.se/pikelang/pike/-/issues/3935
Filesystem.Traversion doesn't check if directory listing succeeded
2022-08-28T19:40:46Z
Peter Bortas
Filesystem.Traversion doesn't check if directory listing succeeded
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3935
Reported by Adam Montague, Sirius Hosting <amontague@siriushosting.com>
If you create a Filesystem.Traversion object for a directory that contains
a directory that y...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3935
Reported by Adam Montague, Sirius Hosting <amontague@siriushosting.com>
If you create a Filesystem.Traversion object for a directory that contains
a directory that you do not have permissions to list (execute), then you
get a non-obvious and lengthy error message. I think its assuming that
listing of directories succeeds, instead of either skipping directories
with no permission to list, or throwing an exception. Here's the error I
get if I foreach a Filesystem.Travsion(".") object when I don't have
permission to list the ./models directory:
```
Bad argument 1 to sizeof().
/usr/local/lib/pike/modules/Filesystem.pmod/module.pmod:287:
/${PIKE_MODULE_PATH}/Filesystem.pmod/module.Traversion()->create("./
models",0)
/usr/local/lib/pike/modules/Filesystem.pmod/module.pmod:226:
/${PIKE_MODULE_PATH}/Filesystem.pmod/module->Traversion()
/usr/local/lib/pike/modules/Filesystem.pmod/module.pmod:301:
/${PIKE_MODULE_PATH}/Filesystem.pmod/module.Traversion()->set_current()
/usr/local/lib/pike/modules/Filesystem.pmod/module.pmod:324:
/${PIKE_MODULE_PATH}/Filesystem.pmod/module.Traversion()->add(1)
/usr/local/lib/pike/modules/Filesystem.pmod/module.pmod:329:
/${PIKE_MODULE_PATH}/Filesystem.pmod/module.Traversion()->`+=(1)
```
Pike 7.8
https://git.lysator.liu.se/pikelang/pike/-/issues/3643
Endless loop during install after "Installing Pike"
2022-08-28T16:03:22Z
Peter Bortas
Endless loop during install after "Installing Pike"
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3643
Reported by Scott Walters, <scott@slowass.net>
NetBSD. Install goes to 100% CPU usage and sits there for hours
after "make install" (possibly indefinately - hours be...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3643
Reported by Scott Walters, <scott@slowass.net>
NetBSD. Install goes to 100% CPU usage and sits there for hours
after "make install" (possibly indefinately - hours before I
killed it). "make verify" does the same thing but
does a little progress bar that says "Installing:" and gets to 20% before
stopping and sitting on the CPU. There are no errors during the
configure or build process except a warning that it was unable
to compile peep.c with optimizations but did link pike, and
I am able to run bin/pike -v and get the version number.
NetBSD 1.6.1 x86, gcc 2.95.3, default Pike configuration, Pike v7.4.44
(freshly downloaded).
Sorry for the lame bug report - I'm not a Pike user so I don't
know how to give you a stacktrace and I don't have the
incentive to try earlier versions or such.
Pike 7.4
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/3505
Incorrect paths in dumped modules for .so libraries
2022-08-28T16:00:50Z
Peter Bortas
Incorrect paths in dumped modules for .so libraries
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3505
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210743
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
When building Pike in a fake...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3505
Reference: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=210743
Reported by Marek Habersack, The Caudium Group <grendel@caudium.net>
When building Pike in a fakeroot the modules which reference other modules
implemented as .so libraries will have the full path of the fakeroot stored
in the resulting .o file when referencing the .so modules:
/usr/lib/pike/7.4.27/lib/modules/_Charset.pmod.o:-: Warning: Decode failed:
Failed to decode program
"/tmp/buildd/pike7.4-7.4.27/debian/pike7.4-core/usr/lib/pike/7.4.27/lib/modules/____Charset.so".
/usr/lib/pike/7.4.27/lib/modules/Regexp.pmod.o:-: Warning: Decode failed:
Failed to decode program
"/tmp/buildd/pike7.4-7.4.27/debian/pike7.4-core/usr/lib/pike/7.4.27/lib/modules/___Regexp.so".
The error is probably somewhere in the master resolver, but I'm not sure of
that.
Pike 9.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/1632
Autodoc XML manual for people making extractors of their own
2022-08-28T15:59:05Z
Peter Bortas
Autodoc XML manual for people making extractors of their own
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1632
Reported by Johan H Sundström, IDA <jhs@pike.ida.liu.se>
A detailed-enough description of the XML format the autodoc mk ii extractor
outputs after crawling the pike ...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=1632
Reported by Johan H Sundström, IDA <jhs@pike.ida.liu.se>
A detailed-enough description of the XML format the autodoc mk ii extractor
outputs after crawling the pike tree for people who want to make extractors
for their own documentation formats is neecessary. Such a manual should at
least give sufficient information about:
* the markup used for grouping entities or their different signatures with
the corresponding documentation string
* the intent/semantics of all tags (perhaps as a simple extension to the
current docs for the autodoc level markup tags, listing how they would
show up in the XML output by the autodoc extractor)
* the restrictions imposed on the output format (as dictated by a DTD or
XSchema ruleset), preferrably in some machine-readable state, to be used
for compliance verification (so we don't end up with various part-broken
documentation, that only barely works in some random manual subset, e g
the HTML docs but not the PDF version)
preferrably aimed at people unfamiliar with, or indeed even fundamentally
opposed to learning all the nitty-gritty details of our own autodoc level
syntax (since these are the people who will most likely be writing their
own extractors; know thy audience ;-).
This ticket most likely ought to be split-up into sub tickets, similar to
[bug #882], but I'll leave that to the assignee, who is better equipped to
partitioning the workload.
https://git.lysator.liu.se/pikelang/pike/-/issues/3127
relay2 gives backtrace on linux (async_connect problem)
2022-08-28T15:54:36Z
Peter Bortas
relay2 gives backtrace on linux (async_connect problem)
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3127
Reported by Marcus Wellhardh <wellhard@roxen.com>
This is written to the debug log if I try to access a relayed page:
```
| Stdio.File(): not open.
| module.File:...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=3127
Reported by Marcus Wellhardh <wellhard@roxen.com>
This is written to the debug log if I try to access a relayed page:
```
| Stdio.File(): not open.
| module.File: Stdio.File("socket", "community.roxen.com:80", 777 /* fd=-1
*/)->_disable_callbacks()
| /home/wellhard/projects/pike-7.2/lib/modules/Stdio.pmod/module.pmod
(version 1.115):966: Stdio.File("socket", "community.roxen.com:80", 777 /*
fd=-1 */)->set_nonblocking(0,0,0,0,0)
| /home/wellhard/projects/pike-7.2/lib/modules/Stdio.pmod/module.pmod
(version 1.115):371: Stdio.File("socket", "community.roxen.com:80", 777 /*
fd=-1 */)->_async_check_cb(0)
| : Cannot access global variables in destructed object.
| : protocols/http.pike (version 1.369):1916: unknown function()
| : base_server/roxen.pike (version 1.795):588: roxen->handler_thread(3)
```
The problem disappears if a change:
```
| #if 1
| fd->async_connect( host, port, connected );
| #else
```
to:
```
| #if 0
| fd->async_connect( host, port, connected );
| #else
```
in the relay2.pike module
Pike 8.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/2873
LDAP search can't handle binary data
2022-08-28T15:48:14Z
Peter Bortas
LDAP search can't handle binary data
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2873
Reported by David Israelsson, Roxen IS <david@roxen.com>
Search operations in Protocols.LDAP.client fail in utf8_to_string when a
record contains base64 encoded bina...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=2873
Reported by David Israelsson, Roxen IS <david@roxen.com>
Search operations in Protocols.LDAP.client fail in utf8_to_string when a
record contains base64 encoded binary data.
Detected in pf 2.2.253 / Pike 7.2.259.
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/7828
Loop documentation contains inappropriate examples
2022-08-28T14:56:44Z
Peter Bortas
Loop documentation contains inappropriate examples
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7828
Reference: http://pike.lysator.liu.se/docs/tutorial/statements/loops.xml
Reported by Daniel Wressle <wressle@roxen.com>
At http://pike.lysator.liu.se/docs/tutorial/...
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=7828
Reference: http://pike.lysator.liu.se/docs/tutorial/statements/loops.xml
Reported by Daniel Wressle <wressle@roxen.com>
At http://pike.lysator.liu.se/docs/tutorial/statements/loops.xml there is an example code snippet which reads as follows:
```
string answer;
write("Have you stopped beating your wife yet?\n");
do
{
write("Answer yes or no: ");
answer = Stdio.stdin->gets();
} while(answer != "yes" && answer != "no");
```
I don't think further comments are necessary. Alter or remove.
Pike Next
https://git.lysator.liu.se/pikelang/pike/-/issues/10058
Xcode12 fails to ./configure due to -Wimplicit-function-declaration
2021-12-10T14:57:04Z
Mitchell Blank
Xcode12 fails to ./configure due to -Wimplicit-function-declaration
Compiling Pike-v8.0.702 on MacOS 11 with Xcode 12 one encounters an issue common to a lot of autoconf scripts -- broken tests due to the change to `-Werror,-Wimplicit-function-declaration`
Xcode 12 decided to make this warning an error ...
Compiling Pike-v8.0.702 on MacOS 11 with Xcode 12 one encounters an issue common to a lot of autoconf scripts -- broken tests due to the change to `-Werror,-Wimplicit-function-declaration`
Xcode 12 decided to make this warning an error by default in C code. One place this tends to bite in a subtle way is inside of autoconf scripts, since there a failure will usually be silent unless it causes something to be misdetected. Indeed, when building pike the build ends up failing with:
```
Configuration error: No way to set nonblocking I/O
```
If you search for `Werror` in the config.log lines you see lots and lots of examples:
```
./build/darwin-20.1.0-x86_64/modules/_Image_JPEG/config.log:conftest.c:27:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Image_TIFF/config.log:conftest.c:48:26: error: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:116:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:134:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:141:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:135:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:103:63: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Stdio/config.log:conftest.c:136:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_real_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Mysql/config.log:conftest.c:39:3: error: implicit declaration of function 'mysql_connect' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/system/config.log:conftest.c:116:14: error: implicit declaration of function 'setprgp' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/system/config.log:conftest.c:118:3: error: implicit declaration of function 'gethostbyname_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/system/config.log:conftest.c:118:7: error: implicit declaration of function 'gethostbyname_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/system/config.log:conftest.c:117:3: error: implicit declaration of function 'getservbyname_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/system/config.log:conftest.c:118:7: error: implicit declaration of function 'getservbyname_r' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/sybase/config.log:conftest.c:32:11: error: implicit declaration of function 'cs_ctx_alloc' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/sybase/config.log:conftest.c:33:11: error: implicit declaration of function 'ct_init' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_math/config.log:conftest.c:28:5: error: implicit declaration of function 'fpsetround' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/_Image_XFace/config.log:conftest.c:45:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Wnotify/config.log:conftest.c:33:3: error: implicit declaration of function 'FindFirstChangeNotification' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/modules/Wnotify/config.log:conftest.c:34:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '_bswap' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '_bswap64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '_bit_scan_reverse' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '_bit_scan_forward' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:64:12: error: implicit declaration of function '_byteswap_ulong' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:64:12: error: implicit declaration of function '_byteswap_uint64' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '__cntlz4' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '__cntlz8' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '__cnttz4' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:12: error: implicit declaration of function '__cnttz8' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:59:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:y.tab.c:1206:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.y:42:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:y.tab.c:1206:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.y:42:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:y.tab.c:1208:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:1: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:y.tab.c:1208:16: error: implicit declaration of function 'yylex' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:1: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:62:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:61:14: error: implicit declaration of function 'bar' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:174:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:168:30: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:239:3: error: implicit declaration of function 'mkdir' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:225:17: error: implicit declaration of function 'infnan' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:228:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:224:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:224:8: error: implicit declaration of function '_isnan' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:225:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:234:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:245:25: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:249:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:251:3: error: implicit declaration of function 'fpsetmask' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:252:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:255:3: error: implicit declaration of function 'fpsetround' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:256:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:253:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:253:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:245:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:259:24: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:250:3: error: implicit declaration of function 'GetSystemTimeAsFileTime' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:251:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:253:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:249:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:245:42: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:245:33: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:260:17: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:245:19: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:258:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:261:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:258:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:261:7: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:255:3: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:289:8: error: implicit declaration of function 'getpid' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:292:10: error: implicitly declaring library function 'strlen' with type 'unsigned long (const char *)' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:251:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:251:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:250:3: error: implicitly declaring library function 'printf' with type 'int (const char *, ...)' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:252:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:/Users/mitch/Pike-v8.0.702/src/fd_control.c:300:5: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:341:7: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:351:7: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:360:7: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:367:29: error: implicit declaration of function 'inet_addr' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:416:4: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:439:7: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:276:3: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:258:1: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:254:14: error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
./build/darwin-20.1.0-x86_64/config.log:conftest.c:8:3: error: implicit declaration of function 'testfunc2' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
```
The number one cause of this type of failure is calling `exit()` without `#include <stdlib.h>` first. However, in my experience the fastest way to solve *that* particular one is to adjust the tests to just `return` from `main()` instead. E.g. here is one recent PR I made for a smaller project: https://github.com/jca02266/lha/pull/18/files
However in the case of pike there are a lot of other functions that are called without the proper header inclusion. For the time being I am going to work around it in Homebrew by adding `CFLAGS=-Wno-implicit-function-declaration` but long-term the configure.in files should be cleaned up to not generate these errors.
Pike 8.0
https://git.lysator.liu.se/pikelang/pike/-/issues/10072
SIGSEGV in Crypto.AES.CCM
2021-12-03T17:43:18Z
Henrik (Grubba) Grubbström
SIGSEGV in Crypto.AES.CCM
From LysLysKOM
```
25080935 igår 21:18 /27 rader/ Niels Möller (entering a radioactive zone)
Mottagare: Pike (-) developers forum <21270>
Mottagare: Niels Möller (entering a radioactive zone) <104958>
Mottaget: igår 21:18
Ärende: Bu...
From LysLysKOM
```
25080935 igår 21:18 /27 rader/ Niels Möller (entering a radioactive zone)
Mottagare: Pike (-) developers forum <21270>
Mottagare: Niels Möller (entering a radioactive zone) <104958>
Mottaget: igår 21:18
Ärende: Bug in ccm glue?
```
------------------------------------------------------------
Hi, I've received a bug report (from someone at Opera) about a crash
when using Crypto.AES.CCM. Example
```
int main() {
mixed state1 = Crypto.AES.CCM.State();
state1->set_encrypt_key(String.hex2string("bedcfb5a011ebc84600fcb296c15af0d"));
state1->set_iv(String.hex2string("438a547a94ea88dce46c6c85"));
state1->update(String.hex2string(""));
string ct = state1->crypt(String.hex2string(""));
state1->digest();
return 0;
}
```
When I try it (with Pike v8.0, installed as a debian package on
x86_64) it segfaults in nettle_memxor3. As far as I can tell from 5
minutes of printf debugging, crash is inside the call to ->digest().
The set_iv method looks a bit suspicious to me, it doesn't include the
required arguments for the nettle function ccm_set_nonce (and ccm is
generally a bit messier to setup than most other modes). See
http://www.lysator.liu.se/~nisse/nettle/nettle.html#index-ccm_005fset_005fnonce
There may of course be some problem in the nettle library too, in
particular, I would be happier if api misuse resulted in an assert
failure rather than a segfault.
```
(25080935) /Niels Möller (entering a radioactive zone)/
```
Pike 8.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10070
pthread_cond_timedwait() does not normalize tv_nsec
2021-11-26T17:10:22Z
Henrik (Grubba) Grubbström
pthread_cond_timedwait() does not normalize tv_nsec
`pthread_cond_timedwait()` on several OSes (including Linux and MacOS X) apparently does not normalize `tv_nsec`. A timeout with a `tv_sec` of `0` and a `tv_nsec` value above `1000000000` seems to give a zero timeout.
Make `co_wait_time...
`pthread_cond_timedwait()` on several OSes (including Linux and MacOS X) apparently does not normalize `tv_nsec`. A timeout with a `tv_sec` of `0` and a `tv_nsec` value above `1000000000` seems to give a zero timeout.
Make `co_wait_timeout()` normalize `tv_nsec`.
Pike 8.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10039
Automap behavior differs for constants and variables.
2021-11-19T14:58:05Z
Henrik (Grubba) Grubbström
Automap behavior differs for constants and variables.
From the Pike mailinglist:
```
24084121 2020-06-18 11:26 +0200 /42 lines/ Mateusz Krawczuk <krawczukmat@gmail.com>
Sent by: SRS0+eNdN=77=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2020-06-18 11:27 by Brevbäraren
Ext...
From the Pike mailinglist:
```
24084121 2020-06-18 11:26 +0200 /42 lines/ Mateusz Krawczuk <krawczukmat@gmail.com>
Sent by: SRS0+eNdN=77=lists.lysator.liu.se=pike-devel-bounces@lysator.liu.se
Imported: 2020-06-18 11:27 by Brevbäraren
External recipient: Pike Development List <pike-devel@lists.lysator.liu.se>
To: Pike (-) developers forum <21001>
Subject: an automap bug
```
------------------------------------------------------------
Reproduces both on pike 8 from apt repository and pike compiled on master:
```
$ ./pike -v
Pike v8.1 release 13 Copyright © 1994-2018 Linköping University
Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are
welcome to redistribute it under certain conditions; read the files
COPYING and COPYRIGHT in the Pike distribution for more details.
$
$ cat automap1.pike
int main() {
write( "%O\n", combine_path("foo", ({ "abc", "cde" })[*] ) );
}
$
$ cat automap2.pike
int main() {
string s = "foo";
write("%O\n", combine_path(s, ({ "abc", "cde" })[*] ) );
}
$
$ ./pike automap1.pike
({ /* 2 elements */
"foo/abc",
"foo/cde"
})
$
$ ./pike automap2.pike
automap2.pike:4:[*] not supported here.
Pike: Failed to compile script.
$
$ pike -v
Pike v8.0 release 498 Copyright © 1994-2017 Linköping University
Pike comes with ABSOLUTELY NO WARRANTY; This is free software and you are
welcome to redistribute it under certain conditions; read the files
COPYING and COPYRIGHT in the Pike distribution for more details.
$ pike automap1.pike
({ /* 2 elements */
"foo/abc",
"foo/cde"
})
$
$ pike automap2.pike
automap2.pike:4:[*] not supported here.
```
(24084121) /Mateusz Krawczuk <krawczukmat@gmail.com>/
https://git.lysator.liu.se/pikelang/pike/-/issues/8189
Improve diagnostics for Thread.MutexKey
2021-11-18T16:01:26Z
Peter Bortas
Improve diagnostics for Thread.MutexKey
Imported from https://youtrack.roxen.com/issue/PIKE-189
Reported by @grubba
Add an `_sprintf()` which displays which `Thread.Mutex` that the key belongs to.
Imported from https://youtrack.roxen.com/issue/PIKE-189
Reported by @grubba
Add an `_sprintf()` which displays which `Thread.Mutex` that the key belongs to.
https://git.lysator.liu.se/pikelang/pike/-/issues/10051
Protocols.DNS.async_client does not like when the callback function has been ...
2020-08-18T11:50:09Z
Henrik (Grubba) Grubbström
Protocols.DNS.async_client does not like when the callback function has been destructed.
Seen in the wild (Pike 8.0.354 patched to 5cf5f2a4b8ededbb0bc03f3eabc9bc97a71d61b9 (aka `rxnpatch/2020-03-25T110609`)):
```
Internal server error: Attempt to call the NULL-value
Unknown program: 0("foo.examle.com",0,0,80)
pike/lib/module...
Seen in the wild (Pike 8.0.354 patched to 5cf5f2a4b8ededbb0bc03f3eabc9bc97a71d61b9 (aka `rxnpatch/2020-03-25T110609`)):
```
Internal server error: Attempt to call the NULL-value
Unknown program: 0("foo.examle.com",0,0,80)
pike/lib/modules/Protocols.pmod/DNS.pmod:2014: Protocols.DNS.global_async_client
->generic_get("foo.example.com",0,-1,0,1,"a","foo.example.com",0,0,80)
pike/lib/modules/Protocols.pmod/DNS.pmod:1909: Protocols.DNS.global_async_client
->remove(Protocols.DNS.global_async_client->Request())
base_server/roxenloader.pike (53ed4390):269: Protocols.DNS.global_async_client->
remove->`()(@0=Protocols.DNS.global_async_client->Request())
-:1: Pike.Backend(0)->`()(3600.0)
```
Pike 8.0
Henrik (Grubba) Grubbström
Henrik (Grubba) Grubbström
https://git.lysator.liu.se/pikelang/pike/-/issues/10040
Warnings in __builtin.Nettle.Hash
2020-08-15T12:54:22Z
Henrik (Grubba) Grubbström
Warnings in __builtin.Nettle.Hash
The following warnings cause the testsuite to fail:
```
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:477: Warning: An expression of type int cannot be assigned to a variable of type void | int(0..).
.../lib/modules/__builtin.pmod...
The following warnings cause the testsuite to fail:
```
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:477: Warning: An expression of type int cannot be assigned to a variable of type void | int(0..).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:578: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:911: Warning: An expression of type int | mixed cannot be assigned to a variable of type int.
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1258: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
.../lib/modules/__builtin.pmod/Nettle.pmod/Hash.pike:1321: Warning: An expression of type string cannot be assigned to a variable of type string(8bit).
```
https://git.lysator.liu.se/pikelang/pike/-/issues/10045
Warning in Crypto.DH
2020-07-26T10:38:00Z
Henrik (Grubba) Grubbström
Warning in Crypto.DH
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/DH.pmod:77: Warning: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```
The following warning causes the testsuite to fail:
```
.../lib/modules/Crypto.pmod/DH.pmod:77: Warning: An expression of type mixed cannot be assigned to a variable of type { mpz = object(implements _static_modules.Gmp()->mpz) }.
```