pkgsrc-Users archive

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

Re: Package request: iterated-dynamics



Hi Richard!

On Thu, Jun 25, 2026 at 06:20:12AM +0100, Richard wrote:
> > - the workflow command from the documentation just gave me an error,
> >   so I switched to the default pkgsrc method for cmake packages
> 
> What was the error?  Were you using vckpg in the source tree submodule?

Executing workflow step 1 of 3: configure preset "default"

CMake Error at /usr/pkg/share/cmake-4.3/Modules/CMakeDetermineSystem.cmake:159 (message):
  Could not find toolchain file:

   "/tmp/wip/iterated-dynamics/work/iterated-dynamics-1.4.1/vcpkg/scripts/buildsystems/vcpkg.cmake"
Call Stack (most recent call first):
  CMakeLists.txt:36 (project)


No, I didn' checkout the vcpkg repository. pkgsrc is a distribution,
so we'd like to provide the dependencies ourselves and not depend on
another distribution to provide them. (Also, I doubt vcpkg works on
NetBSD.)

> > - it looks for a cpuid library, but we don't have that in pkgsrc
> 
> Most dependencies should be coming from vcpkg, not from the system
> environment.
> 
> > - It defines a RANDOM_MAX variable that's in conflict with
> > /usr/include/stdlib.h:#define	RANDOM_MAX	0x7fffffff	/* (((long)1 <<
>  31) - 1) */
> >   (added a patch for that)
> 
> I will be fixing this.  The identifier should've had an ID_ prefix.

Thanks.

> > - It uses a RUNTIME_DEPENDENCIES feature that cmake says is not
> >   supported on NetBSD (patched it out)
> 
> I will be fixing this as well.

Thanks.

> > - It doesn't like giflib 6.1.3 from pkgsrc:
> 
> I had this problem on macOS too and I worked around it by forcing
> it to use giflib from vcpkg.  The giflib library should be coming frmo
> vcpkg and not from the system.

Well, when packaging for pkgsrc we'd like to use the pkgsrc one.

> I will be adding CI jobs for FreeBSD and OpenBSD soon, so I should be
> able to reproduce the problems.

CI for NetBSD is also available on github.
Here is a very simple example:

https://github.com/nih-at/libzip/blob/main/.github/workflows/bsd.yml

Cheers,
 Thomas


Home | Main Index | Thread Index | Old Index