Opened 9 years ago

Closed 7 years ago

#32998 closed defect (fixed)

avidemux 2.5.3 fails building w/ asm error

Reported by: Ephaeton@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: johnhopkins@…, anddam (Andrea D'Amore), macports.org@…, gjznituv@…, press88@…, CharlesRThomasJr@…, cross@…, vincent.mcintyre@…, nivektang@…, cooljeanius (Eric Gallager)
Port: avidemux

Description (last modified by ryandesign (Ryan Schmidt))

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_avidemux/avidemux/work/avidemux_2.5.3/avidemux/ADM_libraries/ffmpeg/libavcodec/x86/dsputil_mmx.c:609:10: error: invalid operand for instruction
:info:build         "movzx (%3,%4), %2 \n"
:info:build          ^
:info:build <inline asm>:3:20: note: instantiated into assembly here
:info:build movzx (%rsi,%rdx), %eax 
:info:build                    ^
:info:build 1 warning generated.
:info:build 4 warnings and 1 error generated.
:info:build make[3]: *** [libavcodec/x86/dsputil_mmx.o] Error 1
:info:build 13 warnings generated.

Attachments (1)

main.log (973.9 KB) - added by Ephaeton@… 9 years ago.
build log file

Download all attachments as: .zip

Change History (20)

Changed 9 years ago by Ephaeton@…

Attachment: main.log added

build log file

comment:1 Changed 9 years ago by Ephaeton@…

Cc: Ephaeton@… added

Cc Me!

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

Cc: Ephaeton@… removed
Description: modified (diff)
Port: avidemux added

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

We should focus our efforts on updating avidemux to the latest version; perhaps that would happen to address this problem.

comment:5 Changed 9 years ago by ryandesign (Ryan Schmidt)

Cc: johnhopkins@… added

Has duplicate #33631.

comment:6 Changed 9 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:6 Changed 9 years ago by macports.org@…

I struggle with the same issue.

The ASM errors are not the only errors I see. There is also

:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_avidemux/avidemux/work/avidemux_2.5.3/avidemux/ADM_coreUI/include/DIA_factory.h:209:64: error: default arguments can only be specified for parameters in a function declaration

which is also in this main.log

Any idea how to work around this problem?

comment:7 Changed 9 years ago by macports.org@…

Cc: macports.org@… added

Cc Me!

comment:8 Changed 9 years ago by h_atac@…

Cc Me!

comment:9 Changed 9 years ago by LRGH

It is a bug in ffmpeg, which has been solved in up to date versions of ffmpeg. Why does avidemux include the source of ffmpeg_r22831 (almost two years old) rather than using the ffmpeg from MacPorts?

comment:10 Changed 8 years ago by gjznituv@…

Cc: gjznituv@… added

Cc Me!

comment:11 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: press88@… added

Has duplicate #36034.

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

Cc: CharlesRThomasJr@… cross@… vincent.mcintyre@… added

Has duplicate #37631.

comment:13 Changed 8 years ago by ryandesign (Ryan Schmidt)

Cc: nivektang@… added

Has duplicate #38187.

comment:14 Changed 7 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

comment:15 Changed 7 years ago by mf2k (Frank Schima)

avidemux was just updated to version 2.6.5 in r110579. Please try again and let us know if works for you.

comment:16 Changed 7 years ago by macports.org@…

# port install avidemux +dts +vorbis +xvid

worked for me. At least "avidemux" installed without errors and starts fine.

However, during installation, I saw some strange warning messages saying "Deactivate forced. Proceeding despite dependencies.":

...
--->  Staging qt4-mac into destroot
--->  Unable to uninstall qt4-mac @4.8.5_0, the following ports depend on it:
--->  	avidemux @2.6.5_0+aac+dts+gettext+lame+sqlite+twolame+vorbis+x264+xvid
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating qt4-mac @4.8.5_0
--->  Unable to deactivate qt4-mac @4.8.5_0, the following ports depend on it:
--->  	avidemux @2.6.5_0+aac+dts+gettext+lame+sqlite+twolame+vorbis+x264+xvid
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning qt4-mac
--->  Uninstalling qt4-mac @4.8.5_0
--->  Cleaning qt4-mac
--->  Computing dependencies for qt4-mac
--->  Installing qt4-mac @4.8.5_0
--->  Activating qt4-mac @4.8.5_0
NOTE: Qt database plugins for mysql55, postgresql91, and sqlite2 are NOT installed by this port; they are installed by qt4-mac-*-plugin instead.
--->  Cleaning qt4-mac
--->  Computing dependencies for libass
--->  Cleaning libass
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  Found 2 broken file(s), matching files to ports
--->  Found 1 broken port(s), determining rebuild order
--->  Rebuilding in order
     libass @0.10.1 
--->  Computing dependencies for libass
--->  Fetching distfiles for libass
--->  Attempting to fetch libass-0.10.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/libass
--->  Verifying checksums for libass
--->  Extracting libass
--->  Configuring libass
--->  Building libass
--->  Staging libass into destroot
--->  Unable to uninstall libass @0.10.1_0, the following ports depend on it:
--->  	ffmpeg-devel @20130727_1+gpl2+nonfree
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating libass @0.10.1_0
--->  Unable to deactivate libass @0.10.1_0, the following ports depend on it:
--->  	ffmpeg-devel @20130727_1+gpl2+nonfree
Warning: Deactivate forced.  Proceeding despite dependencies.
--->  Cleaning libass
--->  Uninstalling libass @0.10.1_0
--->  Cleaning libass
--->  Computing dependencies for libass
--->  Installing libass @0.10.1_0
--->  Activating libass @0.10.1_0
--->  Cleaning libass
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

comment:17 Changed 7 years ago by mf2k (Frank Schima)

Those warnings are normal.

comment:18 Changed 7 years ago by vincent.mcintyre@…

Buld works for mee now, os/x 10.8.4 64-bit.

sudo port install avidemux

Some issues

  • no with sound (tried quicktime .mov files (MP4 with qt codec), and .MP4 (avc1 codec). No movement on the audio level meter either.
  • clicking 'configure' buttone under Lavcodec subheading does nothing except display:

[HandleAction] ************ DecoderOption **************

  • Preferences menu does not open either, I get

[HandleAction] ************ PREFERENCES **************

comment:19 Changed 7 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: newclosed

Closing as fixed.

Note: See TracTickets for help on using tickets.