Opened 15 months ago

Last modified 8 months ago

#67996 new defect

mp4v2 @4.1.3: libtool: Version mismatch error

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc:
Port: mp4v2

Description

/bin/sh ./libtool  --tag=CXX   --mode=compile /opt/local/bin/g++-mp-12 -DHAVE_CONFIG_H   -I./include -I./include -I. -I. -I/opt/local/include -Wall -Wformat -pipe -Os -std=c++11 -Wno-narrowing -D_GLIBCXX_USE_CXX11_ABI=0 -arch ppc -fvisibility=hidden -c -o src/atom_chpl.lo src/atom_chpl.cpp
./libtool: line 1304: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make: *** [src/3gp.lo] Error 63
make: *** Waiting for unfinished jobs....
./libtool: line 1304: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make: *** [src/atom_chpl.lo] Error 63
./libtool: line 1304: func_opt_split: command not found
./libtool: line 1304: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
./libtool: line 1304: func_opt_split: command not found
make: *** [src/atom_avc1.lo] Error 63
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make: *** [src/atom_amr.lo] Error 63
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make: *** [src/atom_ac3.lo] Error 63
./libtool: line 1304: func_opt_split: command not found
libtool: Version mismatch error.  This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from libtool 2.4.7.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make: *** [src/atom_avcC.lo] Error 63
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mp4v2/mp4v2/work/mp4v2-4.1.3'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_multimedia_mp4v2/mp4v2/work/mp4v2-4.1.3" && /usr/bin/make -j6 -w all 
Exit code: 2
Error: Failed to build mp4v2: command execution failed

Change History (3)

comment:1 Changed 15 months ago by jmroot (Joshua Root)

Works for me. You really limit how much anyone else can help by not attaching the full log.

comment:2 Changed 15 months ago by ryandesign (Ryan Carsten Schmidt)

It's not clear from this output whether the "Version mismatch error" is the real problem or the preceding "func_opt_split: command not found" is.

In the files extracted from the tarball, "func_opt_split" is used in autoaux/ltmain.sh and is defined in aclocal.m4 and from there copied to configure. But the port runs autoreconf -fvi which replaces all those files, after which "func_opt_split" does not appear in them anymore, so it doesn't seem like this problem should be happening and I cannot reproduce it on macOS 12 on x86_64.

Probably we don't need to invest any time in investigating this and should instead switch to a maintained fork.

comment:3 Changed 8 months ago by ryandesign (Ryan Carsten Schmidt)

Summary: mp4v2 does not build now due to libtool version mismatch errormp4v2 @4.1.3: libtool: Version mismatch error

Here's what was said about this error on the libtool mailing list 15 years ago:

https://lists.gnu.org/archive/html/bug-libtool/2009-01/msg00023.html

So I now do think "Version mismatch error" is the real problem but I'm still not sure why it would happen here. If you still experience this problem, please attach the main.log file.

Note: See TracTickets for help on using tickets.