pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: sysutils/podman missing files directory



On Sat, 29 Jun 2024 at 15:16, Thomas Klausner <wiz%gatalith.at@localhost> wrote:
>
> On Sat, Jun 29, 2024 at 02:53:09PM +0100, Chavdar Ivanov wrote:
> > Hi,
> >
> > sysutils/podman has now
> > ...
> > post-extract:
> >         ${CP}   ${FILESDIR}/options_netbsd.go
> > ${WRKSRC}/vendor/github.com/containers/storage/types/
> >         ${CP}   ${FILESDIR}/config_netbsd.go
> > ${WRKSRC}/vendor/github.com/containers/common/pkg/config/
> >         ${CP}   ${FILESDIR}/default_netbsd.go
> > ${WRKSRC}/vendor/github.com/containers/common/pkg/config/
> >         ${CP}   ${FILESDIR}/ignition_netbsd.go  ${WRKSRC}/pkg/machine/ignition/
> >         ${MV}   ${WRKSRC}/pkg/machine/env/dir_freebsd.go
> > ${WRKSRC}/pkg/machine/env/dir_bsd.go
> > ...
> >
> >
> > in its Makefile, however, there is no 'files' subdirectory coming from
> > cvs, so at the moment it is unbuildable under NetBSD.
>
> I've just (untestedly) added the files/ directory from the wip package.
> Hope it works now!

It builds now, but doesn't work at all, here is a ktruss:
.....

                 podman: text relocations
ktruss   fcntl(0x4, 0x3, 0)          = 4194305
ktruss   emul(netbsd)
ktruss   fcntl(0x4, 0x4, 0x400001)   = 0
podman   execve("/usr/pkg/bin/podman", 0x7f7fff49fdb0, 0x7f7fff49fdc8)
JUSTRETURN
podman   emul(netbsd)
podman   mmap(0, 0x8000, 0x3, 0x1002, 0xffffffff, 0, 0) = 0x7cbdd9fac000
podman   open("/etc/ld.so.conf", 0, 0x7f7ff78a8090) Err#2 ENOENT
podman   open("/usr/lib/libresolv.so.3", 0, 0x7) = 3
podman   __fstat50(0x3, 0x7f7fff7ab598) = 0
podman   mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0) = 0x7cbdd9fab000
podman   mmap(0, 0x10000, 0, 0x1002, 0xffffffff, 0, 0) = 0x7cbdd9f9b000
podman   mmap(0x7cbdd9f9b000, 0x3000, 0x1, 0x12, 0x3, 0, 0) = 0x7cbdd9f9b000
podman   mmap(0x7cbdd9f9e000, 0x9000, 0x5, 0x12, 0x3, 0, 0x3000) =
0x7cbdd9f9e000
podman   mmap(0x7cbdd9fa7000, 0x2000, 0x1, 0x12, 0x3, 0, 0xc000) =
0x7cbdd9fa7000
podman   mmap(0x7cbdd9fa9000, 0x2000, 0x3, 0x12, 0x3, 0, 0xd000) =
0x7cbdd9fa9000
podman   close(0x3)                  = 0
podman   open("/usr/lib/libpthread.so.1", 0, 0) = 3
podman   __fstat50(0x3, 0x7f7fff7ab598) = 0
podman   mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0) = 0x7cbdd9f9a000
podman   mmap(0, 0x16000, 0, 0x1002, 0xffffffff, 0, 0) = 0x7cbdd9f84000
podman   mmap(0x7cbdd9f84000, 0x7000, 0x1, 0x12, 0x3, 0, 0) = 0x7cbdd9f84000
podman   mmap(0x7cbdd9f8b000, 0x8000, 0x5, 0x12, 0x3, 0, 0x7000) =
0x7cbdd9f8b000
podman   mmap(0x7cbdd9f93000, 0x4000, 0x1, 0x12, 0x3, 0, 0xf000) =
0x7cbdd9f93000
podman   mmap(0x7cbdd9f97000, 0x2000, 0x3, 0x12, 0x3, 0, 0x12000) =
0x7cbdd9f97000
podman   mmap(0x7cbdd9f99000, 0x1000, 0x3, 0x1012, 0xffffffff, 0, 0) =
0x7cbdd9f99000
podman   close(0x3)                  = 0
podman   open("/usr/lib/libc.so.12", 0, 0x3) = 3
podman   __fstat50(0x3, 0x7f7fff7ab598) = 0
podman   mmap(0, 0x1000, 0x1, 0x1, 0x3, 0, 0) = 0x7cbdd9f83000
podman   mmap(0, 0x418000, 0, 0x1002, 0xffffffff, 0, 0) = 0x7cbdd9b6b000
podman   mmap(0x7cbdd9b6b000, 0x41000, 0x1, 0x12, 0x3, 0, 0) = 0x7cbdd9b6b000
podman   mmap(0x7cbdd9bac000, 0x15c000, 0x5, 0x12, 0x3, 0, 0x41000) =
0x7cbdd9bac000
podman   mmap(0x7cbdd9d08000, 0x47000, 0x1, 0x12, 0x3, 0, 0x19d000) =
0x7cbdd9d08000
podman   mmap(0x7cbdd9d4f000, 0x12000, 0x3, 0x12, 0x3, 0, 0x1e4000) =
0x7cbdd9d4f000
podman   mmap(0x7cbdd9d61000, 0x222000, 0x3, 0x1012, 0xffffffff, 0, 0)
= 0x7cbdd9d61000
podman   close(0x3)                  = 0
podman   write(0x2, 0x7f7fff7abc08, 0x18) = 24
             "podman: text relocations"
podman   write(0x2, 0x7f7ff78a4879, 0x1) = 1
             "\n"
podman   mprotect(0x575000, 0x880000, 0x3) = 0
podman   SIGSEGV SIG_DFL

....

Chavdar

>  Thomas



-- 
----


Home | Main Index | Thread Index | Old Index