Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kernel-module/Makefile: install - create the /lib/modules/…/updates directory #1589

Merged
merged 1 commit into from
Jan 11, 2023

Conversation

dilyanpalauzov
Copy link
Contributor

… if it does not exist.

daemon/rtpengine.pod: spell what MOS means

MAX_SESSIONS in config file does not work, it must be max-sessions.

@rfuchs
Copy link
Member

rfuchs commented Jan 10, 2023

https://github.com/sipwise/rtpengine/actions/runs/3887601866/jobs/6634052992 and https://github.com/sipwise/rtpengine/actions/runs/3887601866/jobs/6634052815 are still failing

Not sure if debhelper is colliding with the make install targets

…irectory

… if it does not exist. Likewise in iptables-extension/Makefile .

daemon/rtpengine.pod: spell what MOS means

MAX_SESSIONS in config file does not work, it must be max-sessions.

sipwise#1589
@dilyanpalauzov
Copy link
Contributor Author

It fails because kernel-module/xt_RTPENGINE.ko is not built on make by default (without calling make -C kernel-module). It is part of the .DEFAULT recipe, but not of the all recipe.

make -C iptables-extension install
make[2]: Entering directory '/github/workspace/iptables-extension'
install -D libxt_RTPENGINE.so /github/workspace/debian/tmp/usr/lib/x86_64-linux-gnu/xtables/libxt_RTPENGINE.so
make[2]: Leaving directory '/github/workspace/iptables-extension'
make -C kernel-module install
make[2]: Entering directory '/github/workspace/kernel-module'
install -D xt_RTPENGINE.ko /github/workspace/debian/tmp/lib/modules/5.15.0-1024-azure/updates/xt_RTPENGINE.ko
install: cannot stat 'xt_RTPENGINE.ko': No such file or directory
make[2]: *** [Makefile:43: install] Error 1
make[2]: Leaving directory '/github/workspace/kernel-module'
make[1]: *** [Makefile:50: install] Error 2
make[1]: Leaving directory '/github/workspace'
dh_auto_install: error: make -j2 install DESTDIR=/github/workspace/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" returned exit code 2
make: *** [debian/rules:31: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2

@sipwise-jenkins sipwise-jenkins merged commit 92ef924 into sipwise:master Jan 11, 2023
@dilyanpalauzov dilyanpalauzov deleted the fix_install branch January 11, 2023 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants