Skip to content
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

Fails to build, MythFile.cpp issue #328

Open
FabioLolix opened this issue Jan 8, 2022 · 2 comments
Open

Fails to build, MythFile.cpp issue #328

FabioLolix opened this issue Jan 8, 2022 · 2 comments

Comments

@FabioLolix
Copy link

[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/ShoutcastFile.cpp.o
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SlingboxDirectory.cpp.o
/build/openpht-git/src/openpht/xbmc/filesystem/MythFile.cpp: In member function ‘virtual bool XFILE::CMythFile::SkipNext()’:
/build/openpht-git/src/openpht/xbmc/filesystem/MythFile.cpp:521:53: error: ordered comparison of pointer with integer zero (‘cmyth_recorder_t’ {aka ‘cmyth_recorder*’} and ‘int’)
  521 |     return m_dll->recorder_is_recording(m_recorder) > 0;
      |            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SlingboxFile.cpp.o
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SmartPlaylistDirectory.cpp.o
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SourcesDirectory.cpp.o
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SpecialProtocol.cpp.o
[ 61%] Building CXX object xbmc/CMakeFiles/xbmc.dir/filesystem/SpecialProtocolDirectory.cpp.o
make[2]: *** [xbmc/CMakeFiles/xbmc.dir/build.make:4556: xbmc/CMakeFiles/xbmc.dir/filesystem/MythFile.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:2575: xbmc/CMakeFiles/xbmc.dir/all] Error 2
make: *** [Makefile:156: all] Error 2
==> ERROR: A failure occurred in build().

Hello, I'm on Manjaro Linux and I'm revisiting the AUR pkgbuilds for openpht, building using latest commit cf23f65, attached there is the build log

openpht-git-1.8.0b.r0.gcf23f65fd-1-x86_64-build.log

@brfransen
Copy link

I have fixed this in #329

@FabioLolix
Copy link
Author

Confirming that @brfransen patches are working (applied all 4), after that builds fails again with problems about CEC, disabling CEC the build pass

Side note that previously added flag -DPLIST_LIBRARY:FILEPATH=/usr/lib/libplist-2.0.so which might no longer be required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants