jerzyptak created an issue (kamailio/kamailio#4434)

<!--
Kamailio Project uses GitHub Issues only for bugs in the code or feature 
requests. Please use this template only for bug reports.

If you have questions about using Kamailio or related to its configuration 
file, ask on sr-users mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-users.lists.kamailio.org/

If you have questions about developing extensions to Kamailio or its existing C 
code, ask on sr-dev mailing list:

  * 
https://lists.kamailio.org/mailman3/postorius/lists/sr-dev.lists.kamailio.org/

Please try to fill this template as much as possible for any issue. It helps 
the developers to troubleshoot the issue.

Note that an issue report may be closed automatically after about 2 months
if there is no interest from developers or community users on pursuing it, being
considered expired. In such case, it can be reopened by writing a comment that 
includes
the token `/notexpired`. About two weeks before considered expired, the issue is
marked with the label `stale`, trying to notify the submitter and everyone else
that might be interested in it. To remove the label `stale`, write a comment 
that
includes the token `/notstale`. Also, any comment postpone the `expire` 
timeline,
being considered that there is interest in pursuing the issue.

If there is no content to be filled in a section, the entire section can be 
removed.

You can delete the comments from the template sections when filling.

You can delete next line and everything above before submitting (it is a 
comment).
-->

### Description

<!--
Explain what you did, what you expected to happen, and what actually happened.
-->
Trying to build rpm on a system that does not have cmake pre-installed results 
in a build error:
fg: no job control

### Troubleshooting

#### Reproduction

<!--
If the issue can be reproduced, describe how it can be done.
-->

To reproduce attempt to build rpm on a system that does not have cmake already 
installed.

#### Log Messages

<!--
Check the syslog file and if there are relevant log messages printed by 
Kamailio, add them next, or attach to issue, or provide a link to download them 
(e.g., to a pastebin site).
-->

```
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.GtwUBD
+ umask 022
+ cd /vagrant/rpmbuild/BUILD
+ cd kamailio-6.0.3
+ MODULES='acc_json acc_radius app_lua app_perl app_python3 app_python3s 
app_ruby app_ruby_proc auth_ephemeral auth_radius cdp cdp_avp cnxcc cplc crypto 
db2_ldap db_mongodb db_mysql db_perlvdb
db_postgres db_redis db_sqlite db_text db_text db_unixodbc dialplan evapi 
geoip2 gzcompress h350 http_async_client http_client ims_auth ims_charging 
ims_dialog ims_diameter_server ims_icscf ims_ipsec_pcscf ims_isc ims_ocs 
ims_qos ims_qos_npn ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf 
ims_usrloc_scscf jansson db_berkeley janssonrpcc json jsonrpcc jwt kazoo lcr 
ldap log_systemd lost lwsc memcached misc_radius ndb_mongodb ndb_redis outbound 
peering presence presence_conference presence_dfks presence_dialoginfo 
presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla 
pua_dialoginfo pua_json pua_reginfo pua_rpc pua_rpc pua_usrloc pua_xmpp pvtpl 
rabbitmq regex rls sctp siprepo slack snmpstats systemdops tls topos_redis 
utils uuid websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp '
+ '%{cmake}' -DBUILD_DOC=ON -DUSE_TLS=ON -DRADIUSCLIENT=RADCLI 
'-DINCLUDE_MODULES=acc_json acc_radius app_lua app_perl app_python3 
app_python3s app_ruby app_ruby_proc auth_ephemeral auth_radius cdp cdp_avp 
cnxcc cplc crypto db2_ldap db_mongodb db_mysql db_perlvdb
db_postgres db_redis db_sqlite db_text db_text db_unixodbc dialplan evapi 
geoip2 gzcompress h350 http_async_client http_client ims_auth ims_charging 
ims_dialog ims_diameter_server ims_icscf ims_ipsec_pcscf ims_isc ims_ocs 
ims_qos ims_qos_npn ims_registrar_pcscf ims_registrar_scscf ims_usrloc_pcscf 
ims_usrloc_scscf jansson db_berkeley janssonrpcc json jsonrpcc jwt kazoo lcr 
ldap log_systemd lost lwsc memcached misc_radius ndb_mongodb ndb_redis outbound 
peering presence presence_conference presence_dfks presence_dialoginfo 
presence_mwi presence_profile presence_reginfo presence_xml pua pua_bla 
pua_dialoginfo pua_json pua_reginfo pua_rpc pua_rpc pua_usrloc pua_xmpp pvtpl 
rabbitmq regex rls sctp siprepo slack snmpstats systemdops tls topos_redis 
utils uuid websocket xcap_client xcap_server xhttp_pi xmlops xmlrpc xmpp '
/var/tmp/rpm-tmp.GtwUBD: line 136: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.GtwUBD (%build)
```

### Possible Solutions

<!--
If you found a solution or workaround for the issue, describe it. Ideally, 
provide a pull request with a fix.
-->
Add BuildRequires: cmake to the kamailio.spec file


### Additional Information

  * **Kamailio Version** - output of `kamailio -v`

```
Attempting to build master branch (commit: 
33251505086772ebd99fdf16b5aa0b1f075d3a2e)
```

* **Operating System**:

<!--
Details about the operating system, the type: Linux (e.g.,: Debian 8.4, Ubuntu 
16.04, CentOS 7.1, ...), MacOS, xBSD, Solaris, ...;
Kernel details (output of `lsb_release -a` and `uname -a`)
-->

```
Rocky 9
```


-- 
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/4434
You are receiving this because you are subscribed to this thread.

Message ID: <kamailio/kamailio/issues/[email protected]>
_______________________________________________
Kamailio - Development Mailing List -- [email protected]
To unsubscribe send an email to [email protected]
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to