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

VLC with master branch compilation #800

Open
VaginAY opened this issue Mar 18, 2024 · 2 comments
Open

VLC with master branch compilation #800

VaginAY opened this issue Mar 18, 2024 · 2 comments

Comments

@VaginAY
Copy link

VaginAY commented Mar 18, 2024

I tried to compile vlc with the latest version of the meta-openembedded layer (scacrthgap) and got errors. I provide the log file below.

meta_engine/taglib.cpp:185:32: error: 'null' is not a member of 'TagLib::ByteVector'
  185 |             return ByteVector::null;
      |                                ^~~~

and

libtool: link: echo "{ global:" > .libs/libpacketizer_flac_plugin.ver
libtool: link:  cat .libs/libpacketizer_flac_plugin.exp | sed -e "s/\(.*\)/\1;/" >> .libs/libpacketizer_flac_plugin.ver
meta_engine/taglib.cpp: In function 'void ReadMetaFromMP4(TagLib::MP4::Tag*, demux_meta_t*, vlc_meta_t*)':
meta_engine/taglib.cpp:781:14: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  781 |     if( tag->itemListMap().contains(keyName) )                                               \
      |              ^~~~~~~~~~~
meta_engine/taglib.cpp:793:5: note: in expansion of macro 'SET'
  793 |     SET("----:com.apple.iTunes:MusicBrainz Track Id", TrackID );
      |     ^~~
meta_engine/taglib.cpp:783:21: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  783 |         list = tag->itemListMap()[keyName];                                                  \
      |                     ^~~~~~~~~~~
meta_engine/taglib.cpp:793:5: note: in expansion of macro 'SET'
  793 |     SET("----:com.apple.iTunes:MusicBrainz Track Id", TrackID );
      |     ^~~
meta_engine/taglib.cpp:787:14: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  787 |     if( tag->itemListMap().contains(keyName) )                                  \
      |              ^~~~~~~~~~~
meta_engine/taglib.cpp:794:5: note: in expansion of macro 'SET_EXTRA'
  794 |     SET_EXTRA("----:com.apple.iTunes:MusicBrainz Album Id", VLC_META_EXTRA_MB_ALBUMID );
      |     ^~~~~~~~~
meta_engine/taglib.cpp:789:21: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  789 |         list = tag->itemListMap()[keyName];                                     \
      |                     ^~~~~~~~~~~
meta_engine/taglib.cpp:794:5: note: in expansion of macro 'SET_EXTRA'
  794 |     SET_EXTRA("----:com.apple.iTunes:MusicBrainz Album Id", VLC_META_EXTRA_MB_ALBUMID );
      |     ^~~~~~~~~
meta_engine/taglib.cpp:799:14: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  799 |     if( tag->itemListMap().contains("covr") )
      |              ^~~~~~~~~~~
      |              itemMap
meta_engine/taglib.cpp:801:39: error: 'class TagLib::MP4::Tag' has no member named 'itemListMap'; did you mean 'itemMap'?
  801 |         MP4::CoverArtList list = tag->itemListMap()["covr"].toCoverArtList();
      |                                       ^~~~~~~~~~~
      |                                       itemMap
meta_engine/taglib.cpp: In function 'int ReadMeta(vlc_object_t*)':
meta_engine/taglib.cpp:897:23: error: 'class TagLib::String' has no member named 'isNull'
  897 |     if( !p_tag->tag().isNull() && !p_tag->tag().isEmpty() )                    \
      |                       ^~~~~~
meta_engine/taglib.cpp:907:5: note: in expansion of macro 'SET'
  907 |     SET( title, Title );
      |     ^~~
meta_engine/taglib.cpp:897:23: error: 'class TagLib::String' has no member named 'isNull'
  897 |     if( !p_tag->tag().isNull() && !p_tag->tag().isEmpty() )                    \
      |                       ^~~~~~
meta_engine/taglib.cpp:908:5: note: in expansion of macro 'SET'
  908 |     SET( artist, Artist );
      |     ^~~
meta_engine/taglib.cpp:897:23: error: 'class TagLib::String' has no member named 'isNull'
  897 |     if( !p_tag->tag().isNull() && !p_tag->tag().isEmpty() )                    \
      |                       ^~~~~~
meta_engine/taglib.cpp:909:5: note: in expansion of macro 'SET'
  909 |     SET( album, Album );
      |     ^~~
meta_engine/taglib.cpp:897:23: error: 'class TagLib::String' has no member named 'isNull'
  897 |     if( !p_tag->tag().isNull() && !p_tag->tag().isEmpty() )                    \
      |                       ^~~~~~
meta_engine/taglib.cpp:910:5: note: in expansion of macro 'SET'
  910 |     SET( comment, Description );
      |     ^~~
meta_engine/taglib.cpp:897:23: error: 'class TagLib::String' has no member named 'isNull'
  897 |     if( !p_tag->tag().isNull() && !p_tag->tag().isEmpty() )                    \
      |                       ^~~~~~
meta_engine/taglib.cpp:911:5: note: in expansion of macro 'SET'
  911 |     SET( genre, Genre );
      |     ^~~
libtool: link:  echo "local: *; };" >> .libs/libpacketizer_flac_plugin.ver
meta_engine/taglib.cpp:974:45: error: invalid conversion from 'TagLib::Tag*' to 'TagLib::ID3v2::Tag*' [-fpermissive]
  974 |             ReadMetaFromId3v2( riff_wav->tag(), p_demux_meta, p_meta );
      |                                ~~~~~~~~~~~~~^~
      |                                             |
      |                                             TagLib::Tag*
@kraj
Copy link
Contributor

kraj commented Mar 18, 2024

I think we need more backports from master branch of vlc to support taglib 2.12. I proposed something which builds it with clang compiler but its not all, there are more fixes [1] in master branch that might be needed on 3.x

[1] https://mailman.videolan.org/pipermail/vlc-devel/2024-March/143639.html

@VaginAY
Copy link
Author

VaginAY commented Mar 19, 2024

Find, that compilation is good, if i take last changes from master. Sorry for the false alarm

thomas-roos pushed a commit to thomas-roos/meta-openembedded that referenced this issue May 2, 2024
This release contains bug fixes only.
The following CVEs have been addressed:

CVE-2023-27783
CVE-2023-27784
CVE-2023-27785
CVE-2023-27786
CVE-2023-27787
CVE-2023-27788
CVE-2023-27789

Changelog:
=========
dlt_jnpr_ether_cleanup: check subctx before cleanup by @Marsman1996 in openembedded#781
Bug openembedded#780 assert tcpedit dlt cleanup by @fklassen in openembedded#800
Fix bugs caused by strtok_r by @Marsman1996 in openembedded#783
Bug openembedded#782 openembedded#784 openembedded#785 openembedded#786 openembedded#787 openembedded#788 strtok r isuses by @fklassen in openembedded#801
Update en10mb.c by @david-guti in openembedded#793
PR openembedded#793 ip6 unicast flood by @fklassen in openembedded#802
Bug openembedded#719 fix overflow check for parse_mpls() by @fklassen in openembedded#804
PR openembedded#793 - update tests for corrected IPv6 MAC by @fklassen in openembedded#805
PR openembedded#793 - update tests for vlandel by @fklassen in openembedded#806
Feature openembedded#773 gh actions ci by @fklassen in openembedded#807
Feature openembedded#759: Upgrade autogen/libopts to 5.18.16 by @fklassen in openembedded#760
Bug openembedded#751 don't exit after send error by @fklassen in openembedded#761
Bug openembedded#750: configure: libpcap version robustness by @fklassen in openembedded#764
Bug openembedded#749 flow stats: avoid overstating flow packet count by @fklassen in openembedded#765
Bug openembedded#750 more libpcap version updates by @fklassen in openembedded#766
Bug openembedded#767 tests: support for out-of-tree tests by @fklassen in openembedded#768
Bug openembedded#750 - fix macOS test failure by @fklassen in openembedded#770
4.4.3 by @fklassen in openembedded#769 and openembedded#771

Signed-off-by: Archana Polampalli <[email protected]>
Signed-off-by: Armin Kuster <[email protected]>
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