Re: [Cin] Another attempt at patching cin-hv sources so they build on my system
On Fri, Feb 16, 2024 at 1:25 PM Andrew Randrianasulu <[email protected]> wrote:
On Fri, Feb 16, 2024 at 12:58 PM Andrew Randrianasulu <[email protected]> wrote:
On Fri, Feb 16, 2024 at 11:37 AM Andrew Randrianasulu <[email protected]> wrote:
On Fri, Feb 16, 2024 at 9:53 AM Andrew Randrianasulu <[email protected]> wrote:
On Fri, Feb 16, 2024 at 10:00 AM Adam williams <[email protected]> wrote:
Haven't had enough time to finish & integrate your work. Please submit a working build log on ubuntu 16-22 & explain why you're trying to build without filefork support.
It was function linker was unable to find (for some reason)
right now after those steps in hvirtual root (on chrooted Rosa 2016 system - gcc 5.5.0)
make clean twice
git clean -fdx {removes all untracked files}
git reset --hard HEAD is now at 400dcf62 Greater less typo
configure fails at sndfile step
ah, probably just artefact of running configure > log > 2>&1
just running configure is fine. but pulseaudio still barf
so, with just 4 new patches (attached) I see this linking failure:
g++ -o ../bin/cinelerra `cat x86_64/objs` ../thirdparty/libsndfile-1.0.28/src/.libs/libsndfile.a(libsndfile_la-flac.o): In function `flac_close': /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/flac.c:736: undefined reference to `FLAC__metadata_object_delete' ../thirdparty/libsndfile-1.0.28/src/.libs/libsndfile.a(libsndfile_la-flac.o): In function `flac_write_strings': /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/flac.c:627: undefined reference to `FLAC__metadata_object_vorbiscomment_entry_from_name_value_pair' /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/flac.c:628: undefined reference to `FLAC__metadata_object_vorbiscomment_append_comment' /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/flac.c:582: undefined reference to `FLAC__metadata_object_new' ../thirdparty/libsndfile-1.0.28/src/.libs/libsndfile.a(libsndfile_la-flac.o): In function `sf_flac_meta_get_vorbiscomments': /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/flac.c:414: undefined reference to `FLAC__metadata_object_vorbiscomment_find_entry_from' ../thirdparty/libsndfile-1.0.28/src/.libs/libsndfile.a(libsndfile_la-ogg_vorbis.o): In function `ogg_vorbis_open': /root/src/hvirtual/thirdparty/libsndfile-1.0.28/src/ogg_vorbis.c:506: undefined reference to `vorbis_version_string' collect2: error: ld returned 1 exit status make[2]: *** [Makefile:545: ../bin/cinelerra] Error 1
hm, may be disable flac support in libsndfile if possible?
disabling external programs in libsndfile helps but now I meet failure at loading mpg media:
bin/cinelerra Cinelerra 8 (C)2022 Adam Williams
Cinelerra is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. There is absolutely no warranty for Cinelerra. BC_DisplayInfo::test_window 158: No window manager EditPanel::create_objects: meter_panel == 0 libancil_get_fd 88 recvmsg failed <==== here we hang ^Csignal_entry: got SIGINT my pid=18201 execution table size=0: signal_entry: got SIGINT my pid=18262 execution table size=0: signal_entry: got SIGINT my pid=18203 execution table size=0: signal_entry: got SIGINT my pid=18232 execution table size=0: kill_subs 276: process=18203 SigHandler::signal_handler total files=0 SigHandler::signal_handler total files=0 SigHandler::signal_handler total files=0 Aborted [root@slax hvirtual]# grep libancil_get_fd -r . Binary file ./cinelerra/x86_64/forkwrapper.o matches Binary file ./cinelerra/x86_64/cfunctions.o matches ./cinelerra/cfunctions.c:int libancil_get_fd(int parent_fd) ./cinelerra/cfunctions.c: printf("libancil_get_fd %d recvmsg failed\n", __LINE__); ./cinelerra/forkwrapper.C: return libancil_get_fd(parent_fd); ./cinelerra/cfunctions.h:int libancil_get_fd(int parent_fd); Binary file ./bin/cinelerra matches
current set of patches to get to that point attached.
so, I do not know how to debug this filefork (?) hang but disabling it still makes cin-hv works (at least media loading/playback) for me new set attached
log attached
Sent: Thursday, February 15, 2024 at 4:53 PM From: "Andrew Randrianasulu" <[email protected]> To: [email protected], "Cinelerra.GG" <[email protected]>, "Phyllis Smith" <[email protected]>, "igor_ubuntu" <[email protected]> Subject: Another attempt at patching cin-hv sources so they build on my system a bit of mess because I was not sure if lack of .version or .tarball-version in thirdparty/pulseaudio-13 dir was responsible for rebuild failure. Probably .tarball-version, because just .version already in git ...
I was surprised my git add was not working, but it was simply due to file being already in git, so you probably can ignore patch 0005
participants (1)
-
Andrew Randrianasulu