Opened 12 years ago

Last modified 6 years ago

#36282 assigned defect

mediatomb: compilation error with latest mp4v2

Reported by: mfourtytwoi@… Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: haspatch Cc:
Port: mediatomb

Description

I've mediatomb 0.12.1_4 running nicely on my G4 PowerBook with OS X 10.5.8. But after upgrading the ports tree I get the following compilation error:

:info:build make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarba
lls_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1/build'
:info:build /usr/bin/g++-4.0 -DHAVE_CONFIG_H -I. -I.. -I../tombupnp/upnp/inc   -I/opt/local/include -I../src -I../tombupnp/ixml/inc -I.
./tombupnp/threadutil/inc -I../tombupnp/upnp/inc -I..   -I/opt/local/include/js -I/opt/local/include/taglib       -D_THREAD_SAFE     -I
/opt/local/include    -pipe -O2 -arch ppc  -MT libmediatomb_a-libmp4v2_handler.o -MD -MP -MF .deps/libmediatomb_a-libmp4v2_handler.Tpo 
-c -o libmediatomb_a-libmp4v2_handler.o `test -f '../src/metadata/libmp4v2_handler.cc' || echo './'`../src/metadata/libmp4v2_handler.cc
:info:build ../src/metadata/libmp4v2_handler.cc: In function <E2><80><98>void addMetaField(metadata_fields_t, void*, zmm::Ref<CdsItem>)
<E2><80><99>:
:info:build ../src/metadata/libmp4v2_handler.cc:77: error: <E2><80><98>MP4GetMetadataName<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc:80: error: <E2><80><98>MP4GetMetadataArtist<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc:83: error: <E2><80><98>MP4GetMetadataAlbum<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc:86: error: <E2><80><98>MP4GetMetadataYear<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc:98: error: <E2><80><98>MP4GetMetadataGenre<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc:101: error: <E2><80><98>MP4GetMetadataComment<E2><80><99> was not declared in this scop
e
:info:build ../src/metadata/libmp4v2_handler.cc:104: error: <E2><80><98>MP4GetMetadataTrack<E2><80><99> was not declared in this scope
:info:build ../src/metadata/libmp4v2_handler.cc: In member function <E2><80><98>virtual void LibMP4V2Handler::fillMetadata(zmm::Ref<Cds
Item>)<E2><80><99>:
:info:build ../src/metadata/libmp4v2_handler.cc:200: error: <E2><80><98>MP4GetMetadataCoverArt<E2><80><99> was not declared in this sco
pe
:info:build ../src/metadata/libmp4v2_handler.cc: In member function <E2><80><98>virtual zmm::Ref<IOHandler> LibMP4V2Handler::serveConte
nt(zmm::Ref<CdsItem>, int, off_t*)<E2><80><99>:
:info:build ../src/metadata/libmp4v2_handler.cc:258: error: <E2><80><98>MP4GetMetadataCoverArt<E2><80><99> was not declared in this sco
pe
:info:build make[2]: *** [libmediatomb_a-libmp4v2_handler.o] Error 1
:info:build make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarbal
ls_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1/build'
:info:build make[1]: *** [all-recursive] Error 1
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarbal
ls_ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_
ports_net_mediatomb/mediatomb/work/mediatomb-0.12.1'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_port
s_net_mediatomb/mediatomb/work/mediatomb-0.12.1" && /usr/bin/make -w all 
:info:build Exit code: 2
:error:build org.macports.build for port mediatomb returned: command execution failed

Full main.log as attachment.

Attachments (2)

main.log (9.1 KB) - added by mfourtytwoi@… 12 years ago.
main.log after upgrading mediatomb
mediatomb-0.12.1-libmp4v2_191_p479.patch (5.8 KB) - added by mfourtytwoi@… 12 years ago.
Patch for using libmp4v2 1.9.1 p479

Download all attachments as: .zip

Change History (7)

Changed 12 years ago by mfourtytwoi@…

Attachment: main.log added

main.log after upgrading mediatomb

comment:1 Changed 12 years ago by mfourtytwoi@…

After applying the attached patch, the compilation ran without errors and mediatomb --compile-info lists libmp4v2 support.

Source: http://sourceforge.net/tracker/index.php?func=detail&aid=3515012&group_id=129766&atid=715782

Changed 12 years ago by mfourtytwoi@…

Patch for using libmp4v2 1.9.1 p479

comment:2 Changed 12 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to yattenator@…

In the future, please Cc the port maintainer(s).

comment:3 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: mediatomb: compilation error on PPC 10.5mediatomb: compilation error with latest mp4v2

comment:4 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: haspatch added

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Owner: yattenator@… deleted
Status: newassigned

See #58254.

Note: See TracTickets for help on using tickets.