From: damianoognissanti <damianoognissanti@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: New package: libcamera-0.0.3
Date: Tue, 24 Jan 2023 11:41:44 +0100 [thread overview]
Message-ID: <20230124104144.D07HgNJlwYjtS-Ov_g_x1J9mjyCSyihJoQMeuJdSylQ@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-41263@inbox.vuxu.org>
[-- Attachment #1: Type: text/plain, Size: 4011 bytes --]
New comment by damianoognissanti on void-packages repository
https://github.com/void-linux/void-packages/pull/41263#issuecomment-1401714568
Comment:
So the compilation for musl fails at the very end. Do we need to patch the `libcamera` code somehow?
```
[224/226] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o
FAILED: src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o
g++ -Isrc/gstreamer/libgstlibcamera.so.p -Isrc/gstreamer -I../src/gstreamer -Iinclude -I../include -Iinclude/libcamera/ipa -Iinclude/libcamera -I/usr/include/gstreamer-1.0 -I/usr/include/orc-0.4 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wextra -Werror -std=c++17 -Wshadow -include /builddir/libcamera-0.0.3/build/config.h -fstack-clash-protection -D_FORTIFY_SOURCE=2 -mtune=generic -O2 -pipe -ffile-prefix-map=/builddir/libcamera-0.0.3/build=. -fPIC -pthread -DLIBCAMERA_BASE_PRIVATE '-DVERSION="0.0.3"' '-DPACKAGE="libcamera"' -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_40 -MD -MQ src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -MF src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o.d -o src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o -c ../src/gstreamer/gstlibcamerasrc.cpp
In file included from /usr/include/gstreamer-1.0/gst/gstbin.h:27,
from /usr/include/gstreamer-1.0/gst/gst.h:35,
from ../src/gstreamer/gstlibcamerasrc.h:11,
from ../src/gstreamer/gstlibcamerasrc.cpp:30:
../src/gstreamer/gstlibcamerasrc.cpp: In member function 'int GstLibcameraSrcState::processRequest()':
/usr/include/gstreamer-1.0/gst/gstelement.h:506:7: error: missing sentinel in function call [-Werror=format=]
506 | ("flow-return", G_TYPE_INT, flow_return, NULL));\
| ^
/usr/include/gstreamer-1.0/gst/gstelement.h:489:81: note: in definition of macro 'GST_ELEMENT_MESSAGE_MAKE_DETAILS'
489 | #define GST_ELEMENT_MESSAGE_MAKE_DETAILS(args) gst_make_element_message_details args
| ^~~~
/usr/include/gstreamer-1.0/gst/gstelement.h:503:3: note: in expansion of macro 'GST_ELEMENT_ERROR_WITH_DETAILS'
503 | GST_ELEMENT_ERROR_WITH_DETAILS (el, STREAM, FAILED, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/gstreamer/gstlibcamerasrc.cpp:312:25: note: in expansion of macro 'GST_ELEMENT_FLOW_ERROR'
312 | GST_ELEMENT_FLOW_ERROR(src_, ret);
| ^~~~~~~~~~~~~~~~~~~~~~
../src/gstreamer/gstlibcamerasrc.cpp: In function 'void gst_libcamera_src_task_enter(GstTask*, GThread*, gpointer)':
/usr/include/gstreamer-1.0/gst/gstelement.h:506:7: error: missing sentinel in function call [-Werror=format=]
506 | ("flow-return", G_TYPE_INT, flow_return, NULL));\
| ^
/usr/include/gstreamer-1.0/gst/gstelement.h:489:81: note: in definition of macro 'GST_ELEMENT_MESSAGE_MAKE_DETAILS'
489 | #define GST_ELEMENT_MESSAGE_MAKE_DETAILS(args) gst_make_element_message_details args
| ^~~~
/usr/include/gstreamer-1.0/gst/gstelement.h:503:3: note: in expansion of macro 'GST_ELEMENT_ERROR_WITH_DETAILS'
503 | GST_ELEMENT_ERROR_WITH_DETAILS (el, STREAM, FAILED, \
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
../src/gstreamer/gstlibcamerasrc.cpp:593:17: note: in expansion of macro 'GST_ELEMENT_FLOW_ERROR'
593 | GST_ELEMENT_FLOW_ERROR(self, flow_ret);
| ^~~~~~~~~~~~~~~~~~~~~~
cc1plus: all warnings being treated as errors
[225/226] Linking target src/apps/cam/cam
ninja: build stopped: subcommand failed.
=> ERROR: libcamera-0.0.3_1: do_build: '${make_cmd} -C ${meson_builddir} ${makejobs} ${make_build_args} ${make_build_target}' exited with 1
=> ERROR: in do_build() at common/build-style/meson.sh:133
```
next prev parent reply other threads:[~2023-01-24 10:41 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-24 9:35 [PR PATCH] " damianoognissanti
2022-12-24 9:37 ` [PR PATCH] [Updated] " damianoognissanti
2022-12-24 9:38 ` damianoognissanti
2022-12-24 10:02 ` damianoognissanti
2022-12-24 10:04 ` damianoognissanti
2022-12-24 10:07 ` damianoognissanti
2022-12-24 10:07 ` damianoognissanti
2022-12-25 10:22 ` [PR REVIEW] " paper42
2022-12-25 10:22 ` paper42
2022-12-26 9:18 ` [PR PATCH] [Updated] " damianoognissanti
2022-12-26 9:31 ` damianoognissanti
2022-12-26 9:32 ` [PR REVIEW] " damianoognissanti
2022-12-26 19:28 ` damianoognissanti
2022-12-27 18:39 ` paper42
2022-12-27 18:43 ` [PR REVIEW] " paper42
2022-12-28 8:07 ` [PR PATCH] [Updated] " damianoognissanti
2022-12-28 8:33 ` damianoognissanti
2022-12-28 8:34 ` damianoognissanti
2022-12-28 10:14 ` [PR PATCH] [Updated] " damianoognissanti
2023-01-24 10:41 ` damianoognissanti [this message]
2023-03-05 15:27 ` [PR REVIEW] " jcgruenhage
2023-03-05 15:27 ` jcgruenhage
2023-03-05 15:27 ` jcgruenhage
2023-03-06 8:34 ` [PR PATCH] [Updated] " damianoognissanti
2023-03-06 8:35 ` [PR REVIEW] New package: libcamera-0.0.4 damianoognissanti
2023-03-06 9:22 ` paper42
2023-03-06 9:22 ` paper42
2023-03-06 12:08 ` damianoognissanti
2023-03-06 19:51 ` paper42
2023-03-06 20:43 ` jcgruenhage
2023-03-07 6:10 ` [PR PATCH] [Updated] " damianoognissanti
2023-03-07 6:18 ` damianoognissanti
2023-05-08 8:03 ` damianoognissanti
2023-05-08 8:04 ` New package: libcamera-0.0.5 damianoognissanti
2023-05-14 7:30 ` [PR REVIEW] " 0-st
2023-05-15 7:08 ` [PR PATCH] [Updated] " damianoognissanti
2023-05-15 7:10 ` [PR REVIEW] " damianoognissanti
2023-05-15 7:11 ` damianoognissanti
2023-05-15 7:20 ` damianoognissanti
2023-08-14 1:44 ` github-actions
2023-08-28 1:45 ` [PR PATCH] [Closed]: " github-actions
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230124104144.D07HgNJlwYjtS-Ov_g_x1J9mjyCSyihJoQMeuJdSylQ@z \
--to=damianoognissanti@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).