Package Details: libcamera-git r3989.e0e54965-1

Git Clone URL: https://aur.archlinux.org/libcamera-git.git (read-only, click to copy)
Package Base: libcamera-git
Description: A complex camera support library for Linux, Android, and ChromeOS
Upstream URL: http://libcamera.org/
Licenses: LGPL2.1
Conflicts: libcamera
Provides: libcamera
Submitter: fordprefect
Maintainer: gmy
Last Packager: gmy
Votes: 13
Popularity: 0.004334
First Submitted: 2018-12-06 09:51 (UTC)
Last Updated: 2022-10-11 08:56 (UTC)

Dependencies (22)

Required by (32)

Sources (1)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 Next › Last »

AquaUwU commented on 2021-04-20 00:45 (UTC)

May git be added as a make dependancy? It is needed to make the package, and without it in the make dependancies properly, I am unable to use tools such as aurto to manage this AUR package and build it automatically for me for easier updates

gmy commented on 2021-03-21 22:25 (UTC)

@SamLukeYes, thank you for the hint! I've updated PKGBUILD - builds now for me at least.

SamLukeYes commented on 2021-03-21 02:22 (UTC) (edited on 2021-03-21 05:50 (UTC) by SamLukeYes)

I can confirm that the build failure mentioned by @A.J also occurs on libcamera-git with the latest commit (r2416.1a26f79f). The error looks like this:

[205/341] Compiling C++ object src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o
FAILED: src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o 
c++ -Isrc/gstreamer/libgstlibcamera.so.p -Isrc/gstreamer -I../src/gstreamer -Iinclude -I../include -Iinclude/libcamera -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orc-0.4 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -g -Wshadow -include config.h -fPIC -pthread '-DVERSION="0.0.0+2416-1a26f79f"' '-DPACKAGE="libcamera"' -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/base/base.h:35,
                 from ../src/gstreamer/gstlibcamerasrc.cpp:39:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h: In function ‘guint8* gst_byte_reader_dup_data_unchecked(GstByteReader*, guint)’:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:41: error: ‘void* g_memdup(gconstpointer, guint)’ is deprecated: Use 'g_memdup2' instead [-Werror=deprecated-declarations]
  365 |   return (guint8 *) g_memdup (data, size);
      |                                         ^
In file included from /usr/include/glib-2.0/glib.h:82,
                 from /usr/include/gstreamer-1.0/gst/gst.h:27,
                 from ../src/gstreamer/gstlibcamerasrc.h:12,
                 from ../src/gstreamer/gstlibcamerasrc.cpp:34:
/usr/include/glib-2.0/glib/gstrfuncs.h:257:23: note: declared here
  257 | gpointer              g_memdup         (gconstpointer mem,
      |                       ^~~~~~~~
cc1plus: all warnings being treated as errors
[214/341] Compiling C++ object test/camera/capture.p/capture.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error making: libcamera-git

In libcamera-clang-git, I've fixed this error with the following prepare() function:

prepare() {
  sed -i 's/werror=true/werror=false/' ${srcdir}/libcamera/meson.build
}

gmy commented on 2021-03-18 17:31 (UTC)

Added dependencies according to documentation.

robertfoster commented on 2021-03-18 16:08 (UTC)

Please add boost as runtime dependency

gmy commented on 2021-03-17 23:34 (UTC)

@A.J, are you sure that you were trying to build libcamera-git, not libcamera-clang-git? They are different packages. Could you share the full command which was used?

A.J commented on 2021-03-17 21:50 (UTC)

it's failing to install with this error :


FAILED: src/gstreamer/libgstlibcamera.so.p/gstlibcamerasrc.cpp.o 
clang++ -Isrc/gstreamer/libgstlibcamera.so.p -Isrc/gstreamer -I../src/gstreamer -Iinclude -I../include -Iinclude/libcamera -I/usr/include/gstreamer-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orc-0.4 -Xclang -fcolor-diagnostics -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -Wnon-virtual-dtor -Wextra -Werror -std=c++17 -g -stdlib=libc++ -Wextra-semi -Wshadow -include config.h -Wno-c99-designator -march=x86-64 -mtune=generic -O2 -fno-plt -D_FORTIFY_SOURCE=2 -fPIC -pthread '-DVERSION="0.0.0+2409-79b48225"' '-DPACKAGE="libcamera"' -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 ../src/gstreamer/gstlibcamerasrc.cpp:39:
In file included from /usr/include/gstreamer-1.0/gst/base/base.h:35:
/usr/include/gstreamer-1.0/gst/base/gstbytereader.h:365:21: error: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Werror,-Wdeprecated-declarations]
  return (guint8 *) g_memdup (data, size);
                    ^
/usr/include/glib-2.0/glib/gstrfuncs.h:256:1: note: 'g_memdup' has been explicitly marked deprecated here
GLIB_DEPRECATED_IN_2_68_FOR (g_memdup2)
^
/usr/include/glib-2.0/glib/gversionmacros.h:1047:49: note: expanded from macro 'GLIB_DEPRECATED_IN_2_68_FOR'
# define GLIB_DEPRECATED_IN_2_68_FOR(f)         GLIB_DEPRECATED_FOR(f)
                                                ^
/usr/include/glib-2.0/glib/gmacros.h:1072:32: note: expanded from macro 'GLIB_DEPRECATED_FOR'
#define GLIB_DEPRECATED_FOR(f) G_DEPRECATED_FOR(f) _GLIB_EXTERN
                               ^
/usr/include/glib-2.0/glib/gmacros.h:1040:44: note: expanded from macro 'G_DEPRECATED_FOR'
#define G_DEPRECATED_FOR(f) __attribute__((__deprecated__("Use '" #f "' instead")))
                                           ^
1 error generated.
[163/302] Compiling C++ object src/qcam/qcam.p/main_window.cpp.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
error: target not found: libcamera-clang-git

fordprefect commented on 2021-03-13 17:04 (UTC)

Since I don't use it anymore, I'll disown. There seem to be enough people around to maintain.

SamLukeYes commented on 2021-03-13 16:32 (UTC)

boost dependency can be avoided by pipelines option. See my PKGBUILD.

SpineEyE commented on 2021-03-12 20:30 (UTC)

The boost package is missing from the dependencies, too.