Making DCP-O-Matic Package Locally

Anything and everything to do with DCP-o-matic.
rahmani
Posts: 97
Joined: Sat Jun 17, 2017 1:24 pm

Re: Making DCP-O-Matic Package Locally

Post by rahmani »

Hi Carl,

The server is reachable (ping and HTTPS both work), but Git operations fail here is the results (the same as before):

rahmani@Rahmani:~$ git clone https://git.carlh.net/git/cdist.git
Cloning into 'cdist'...
fatal: unable to access 'https://git.carlh.net/git/cdist.git/': SSL connection timeout

rahmani@Rahmani:~$ ping -c 4 git.carlh.net
PING git.carlh.net (91.99.112.218) 56(84) bytes of data.
64 bytes from static.218.112.99.91.clients.your-server.de (91.99.112.218): icmp_seq=1 ttl=50 time=109 ms
64 bytes from static.218.112.99.91.clients.your-server.de (91.99.112.218): icmp_seq=2 ttl=50 time=108 ms
64 bytes from static.218.112.99.91.clients.your-server.de (91.99.112.218): icmp_seq=3 ttl=50 time=108 ms
64 bytes from static.218.112.99.91.clients.your-server.de (91.99.112.218): icmp_seq=4 ttl=50 time=109 ms
--- git.carlh.net ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 107.555/108.482/109.353/0.772 ms

rahmani@Rahmani:~$ curl -I https://git.carlh.net
HTTP/1.1 200 OK
Date: Sun, 12 Jul 2026 21:18:01 GMT
Server: Apache/2.4.67 (Debian)
Strict-Transport-Security: max-age=63072000; includeSubdomains;
Content-Type: text/html;charset=UTF-8

rahmani@Rahmani:~$ curl -I https://git.carlh.net/git/cdist.git
HTTP/1.1 404 Not Found
Date: Sun, 12 Jul 2026 21:21:45 GMT
Server: Apache/2.4.67 (Debian)
Expires: Fri, 01 Jan 1980 00:00:00 GMT
Pragma: no-cache
Cache-Control: no-cache, max-age=0, must-revalidate
Strict-Transport-Security: max-age=63072000; includeSubdomains;

rahmani@Rahmani:~$ git ls-remote https://git.carlh.net/git/cdist.git
fatal: unable to access 'https://git.carlh.net/git/cdist.git/': SSL connection timeout

Would it be possible to provide either: a GitHub/GitLab mirror, or a ZIP/tarball of the cdist repository?

Thanks
carl
Site Admin
Posts: 2997
Joined: Thu Nov 14, 2013 2:53 pm

Re: Making DCP-O-Matic Package Locally

Post by carl »

Strange, it works for me. Sometimes that server gets overwhelmed with AI/bot traffic.

Anyway it's mirrored on github: https://github.com/cth103/cdist.git
rahmani
Posts: 97
Joined: Sat Jun 17, 2017 1:24 pm

Re: Making DCP-O-Matic Package Locally

Post by rahmani »

Hi Carl,

I downloaded the GitHub repository you suggested:
https://github.com/cth103/cdist.git but, the downloaded project is the generic "cdist" configuration management tool. Running it gives commands such as:
banner
config
install
inventory
shell
scan

It does not accept the DCP-o-matic build options like:

cdist -p dcpomatic -c main -t windows-64 ...

Could you please send me the correct GitHub repository (or branch) for the DCP-o-matic build tool?

Thank you very much
carl
Site Admin
Posts: 2997
Joined: Thu Nov 14, 2013 2:53 pm

Re: Making DCP-O-Matic Package Locally

Post by carl »

It sounds like you are running a totally different tool, also called cdist: https://manpages.ubuntu.com/manpages/xe ... ist.1.html

Unless you need it I would suggest you uninstall it. Then the correct cdist should be run.

Alternatively, you could specify the path to the correct cdist, e.g.

/where/I/cloned/cdist -p dcpomatic ...
rahmani
Posts: 97
Joined: Sat Jun 17, 2017 1:24 pm

Re: Making DCP-O-Matic Package Locally

Post by rahmani »

Hi Carl,

I have now got cdist running correctly. Docker is working, WSL integration is enabled, and I can run `docker ps` without sudo.
However, when I run:
cdist -p dcpomatic -c main -t windows-64 -k -w /home/rahmani/build build
I get:
Unable to find image 'windows:latest' locally
docker: Error response from daemon: pull access denied for windows, repository does not exist or may require 'docker login'


Should the `windows` Docker image already exists? If so, how should I build or obtain it before running cdist?

Thank you for your help