[zeromq-dev] Linking to OBS proved libzmq debs (GH Actions)

Arnaud Loonstra arnaud at sphaero.org
Fri Oct 8 09:05:11 CEST 2021


Nevermind, I blindly copied the repo urls not noticing I need to use the 
git-draft repos instead of git-stable.

On 07-10-2021 22:28, Arnaud Loonstra wrote:
> Hey all,
> 
> The OBS proved debian repository is a full libzmq build with draft 
> support, right?
> 
> I'm fiddling with Github Actions but somehow it fails to link czmq to 
> the OBS provided libzmq:
> 
> usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function `zframe_recv':
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:180: undefined 
> reference to `zmq_msg_routing_id'
> /usr/bin/ld: 
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:185: undefined 
> reference to `zmq_msg_group'
> /usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function `zframe_send':
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:215: undefined 
> reference to `zmq_msg_set_routing_id'
> /usr/bin/ld: 
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:219: undefined 
> reference to `zmq_msg_set_group'
> /usr/bin/ld: 
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:229: undefined 
> reference to `zmq_msg_set_routing_id'
> /usr/bin/ld: 
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:233: undefined 
> reference to `zmq_msg_set_group'
> /usr/bin/ld: ext/czmq/libczmq.a(zframe.c.o): in function 
> `zframe_recv_nowait':
> /home/runner/work/gazebosc/gazebosc/ext/czmq/src/zframe.c:595: undefined 
> reference to `zmq_msg_routing_id'
> ...
> 
> It seems libzmq is already installed on github runners but from the logs 
> I get it is upgraded:
> 
> The following packages will be upgraded:
>    libzmq5
> 
> I'm using this in the workflow yml:
> 
>      - name: add Debian Packages
>        uses: myci-actions/add-deb-repo at 10
>        with:
>          repo-name: obs
>          repo: deb 
> http://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/ 
> ./
>          keys-asc: 
> https://download.opensuse.org/repositories/network:/messaging:/zeromq:/git-stable/xUbuntu_20.04/Release.key 
> 
>          install: libzmq5 libzmq3-dev
> 
> 
> Anybody has this running already on Github Actions?
> 
> Rg,
> 
> Arnaud
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev


More information about the zeromq-dev mailing list