-
Notifications
You must be signed in to change notification settings - Fork 18
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
Compilation of icamerasrc-git fails #18
Comments
I know this issue isn't strictly related to this repository, but it affects it.
|
Same issue here, compilation of icamerasrc-git fails ! |
Issue is with the package on AUR https://aur.archlinux.org/packages/icamerasrc-git. Workaround is to manually edit gstcamerasrc.cpp with diff --git a/src/gstcamerasrc.cpp b/src/gstcamerasrc.cpp
--- a/src/gstcamerasrc.cpp
+++ b/src/gstcamerasrc.cpp
@@ -2839 +2839 @@
- ret = camera_device_open(camerasrc->device_id, camerasrc->num_vc);
+ ret = camera_device_open(camerasrc->device_id); |
Still getting errors tho..
|
Strange. No idea why it worked for me. Errors look like missing |
Hello, I also noticed this issue, since the ipu6 driver was updated to compile on Linux 6.3 and I made a merge request to update the driver I came across this issue. An older commit works to compile. I wrote my workaround in the merge request #19 |
Hello as I have said before there are 3 main issues getting this to compile and run today.
@stefanpartheym I am open to discussion how we proceed with icamerasrc-git intel has introduced a bug at this line in this file that breaks compiling. The compiler says the function is passing too many arguments, removing the second (newly added argument) fixes compiling. I have not tested if any functionality is lost by doing this. This bug was introduced in commit fe733e7 at April 3. And has issue intel/icamerasrc#32 opened at April 6. Our issue #18 was opened at April 18. Do you want us to roll our own PKGBUILD file or something? 17841ab compiles successfully and can be compiled by replacing the source array in the PKGBUILD to fetch If someone is reading this and just want it to work right now. the steps are cd ~ #or wherever you want to clone a repo
git clone [email protected]:stefanpartheym/archlinux-ipu6-webcam.git #need to do this on a clean repo
cd archlinux-ipu6-webcam
git fetch origin pull/19/head:refs/heads/pr19
git merge pr19
git fetch origin pull/20/head:refs/heads/pr20
git merge pr20
#save and exit the file because a text editor will open, in vim this is done by hittin `:wq<enter>` if vim is what opened up
./install.sh This will fail but some of the steps in install.sh is needed to have dependencies to compile icamerasrc-git. So lets do that now cd ~ #or wherever you want to clone a repo
git clone https://aur.archlinux.org/icamerasrc-git.git
cd icamerasrc-git
sed -i 's/branch=icamerasrc_slim_api/commit=17841ab6249aaa69bd9b3959262bf182dee74111/' PKGBUILD
makepkg -sic Now this will compile and install the correct older icamerasrc-git, then go back to the folder where you checked out the repo in the previous step. And run And then either Stefan has accepted my two pull requests, in case just install like normal on the newest git pull. And I am sorry I spread that out over two pull requests makes it harder for people to follow at home When these are merge, just delete the repo you cloned and clone it again to "clean up" your local changes (you merged the two PRs locally including making a commit to merge the second PR) EDIT: order of the steps changed |
Thanks for your work @sigboe ! Following your steps, I still encounter issues. First, icamerasrc-git complains about missing ipu6-camera-hal dependencies.
After installing intel-ipu6ep-camera-hal-git with Following your steps, I clone the archlinux-ipu6-webcam repo and locally merge your two PRs, and then the problems begins. Pacman starts complaining about packages conflicts.
I can't remove intel-ipu6-dkms-git cause it's needed by intel-ipu6ep-camera-bin and intel-ipu6ep-camera-hal-git.
Do you have any clue for solving this ? PS : sorry for the French outputs, can't motivate myself to translate it all ! |
@GorgetGuilhem Okay, try to remove all the related packages, Then run the install.sh script, it will fail, but it will set up the correct dependencies first then install the icamerasrc-git with the modified PKGBUILD, then run the install.sh again if this works I'll update the steps! |
@sigboe thanks, it worked ! However the |
@GorgetGuilhem Maybe because it is spelled --workaround? archlinux-ipu6-webcam/install.sh Line 89 in 4d33274
Anyway, I will try to remember to make a PR to handle command line options in a different way. |
@sigboe sorry for the typo in my previous message, I checked my history and I ran the proper command (without the typo), so it's not coming from here. EDIT : There's no subject actually, my Firefox was just messed up. It works perfectly in a new window. |
@GorgetGuilhem I updated the previous commit with the fixes we discussed when I noticed more people saying it works for them |
@sigboe perfect, thanks for your work :) |
The text was updated successfully, but these errors were encountered: