svn commit: r558076 - head/lang/zig
Jan Beich
jbeich at FreeBSD.org
Mon Dec 14 22:54:30 UTC 2020
Dave Cottlehuber <dch at FreeBSD.org> writes:
> Author: dch
> Date: Mon Dec 14 06:32:18 2020
> New Revision: 558076
> URL: https://svnweb.freebsd.org/changeset/ports/558076
>
> Log:
> lang/zig: update to 0.7.1 and take ownership
>
> Sponsored by: SkunkWerks, GmbH
How did you test runtime?
$ cat >hello.zig
const std = @import("std");
pub fn main() void {
std.debug.print("Hello, world!\n", .{});
}
$ zig build-exe hello.zig
/usr/local/lib/zig/std/dwarf.zig:13:13: error: unable to find 'debug/leb128.zig'
const leb = @import("debug/leb128.zig");
^
[...]
$ poudriere testport -j 121amd64 x11-wm/river
[...]
=======================<phase: build >============================
===> Building for river-s20201212
/usr/local/lib/zig/std/dwarf.zig:13:13: error: unable to find 'debug/leb128.zig'
const leb = @import("debug/leb128.zig");
^
/usr/local/lib/zig/std/dwarf.zig:656:37: note: referenced here
const abbrev_code = try leb.readULEB128(u64, in);
^
/usr/local/lib/zig/std/dwarf.zig:642:22: note: referenced here
.table = try di.parseAbbrevTable(abbrev_offset),
^
/usr/local/lib/zig/std/dwarf.zig:435:34: note: referenced here
const abbrev_table = try di.getAbbrevTable(debug_abbrev_offset);
^
/usr/local/lib/zig/std/dwarf.zig:891:5: note: referenced here
try di.scanAllFunctions();
^
/usr/local/lib/zig/std/debug.zig:919:9: note: referenced here
try DW.openDwarfDebugInfo(&di, allocator);
^
/usr/local/lib/zig/std/debug.zig:1310:20: note: referenced here
obj_di.* = try readElfDebugInfo(self.allocator, elf_file);
^
/usr/local/lib/zig/std/debug.zig:569:60: note: referenced here
const module = debug_info.getModuleForAddress(address) catch |err| switch (err) {
^
/usr/local/lib/zig/std/debug.zig:325:9: note: referenced here
try printSourceAtAddress(debug_info, out_stream, return_address - 1, tty_config);
^
/usr/local/lib/zig/std/debug.zig:207:102: note: referenced here
writeStackTrace(stack_trace, stderr, getDebugInfoAllocator(), debug_info, detectTTYConfig()) catch |err| {
^
*** Error code 1
More information about the svn-ports-all
mailing list