[Cin] Another attempt at patching cin-hv sources so they build on my system

Andrew Randrianasulu randrianasulu at gmail.com
Fri Feb 16 12:16:53 CET 2024


On Fri, Feb 16, 2024 at 1:25 PM Andrew Randrianasulu
<randrianasulu at gmail.com> wrote:
>
> On Fri, Feb 16, 2024 at 12:58 PM Andrew Randrianasulu
> <randrianasulu at gmail.com> wrote:
> >
> > On Fri, Feb 16, 2024 at 11:37 AM Andrew Randrianasulu
> > <randrianasulu at gmail.com> wrote:
> > >
> > > On Fri, Feb 16, 2024 at 9:53 AM Andrew Randrianasulu
> > > <randrianasulu at gmail.com> wrote:
> > > >
> > > > On Fri, Feb 16, 2024 at 10:00 AM Adam williams <broadcast at earthling.net> 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 at 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" <randrianasulu at gmail.com>
> > > > > To: broadcast at earthling.net, "Cinelerra.GG" <cin at lists.cinelerra-gg.org>, "Phyllis Smith" <phylsmith2017 at gmail.com>, "igor_ubuntu" <sitelve at gmail.com>
> > > > > 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
> > > > >
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Fix-autoreconf-in-libsndfile-add-autoreconf-in-pulse.patch
Type: text/x-patch
Size: 1221 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Disable-some-more-stuff-systemd-asyncns-in-pulseaudi.patch
Type: text/x-patch
Size: 1111 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0001.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0006-Fix-file.c-without-USE_FILEFORK.patch
Type: text/x-patch
Size: 4621 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0002.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-.tarball-version-to-pulseaudio-13.0.patch
Type: text/x-patch
Size: 621 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0003.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0007-Hack-disable-filefork.patch
Type: text/x-patch
Size: 616 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0004.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0005-Disable-external-libs-in-libsndfile.patch
Type: text/x-patch
Size: 807 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0005.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0004-Change-ffmpeg-libqucktime-configure-to-add-more-auto.patch
Type: text/x-patch
Size: 2299 bytes
Desc: not available
URL: <https://lists.cinelerra-gg.org/pipermail/cin/attachments/20240216/d33430a3/attachment-0006.patch>


More information about the Cin mailing list