Opened 18 years ago

Closed 16 years ago

Last modified 15 years ago

#9759 closed defect (fixed)

BUG: Avidemux-2.0.42 doesn't compile on Intel Mac

Reported by: ycodet@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.2
Keywords: Cc:
Port:

Description

Hello.

I couldn't install Avidemux on my Intel Mac. Here is the required information:

$ uname -a Darwin ordinateur-de-yves-codet.local 8.7.1 Darwin Kernel Version 8.7.1: Wed Jun 7 16:19:56 PDT 2006; root:xnu-792.9.72.obj~2/RELEASE_I386 i386 i386

=============================================================

$ port version Version: 1.211

=============================================================

$ port info avidemux avidemux 2.0.42, multimedia/avidemux http://avidemux.sourceforge.net/

Avidemux is an avi and mpeg editing program capable of splicing movies together, and chopping movies apart.

Build Dependencies: gmake Library Dependencies: gtk2, libxml2, libmad Platforms: darwin Maintainers: tristan@…

=============================================================

$ sudo port -vd install avidemux DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/avidemux DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/multimedia/avidemux DEBUG: Requested variant darwin is not provided by port avidemux. DEBUG: Requested variant i386 is not provided by port avidemux. DEBUG: Requested variant macosx is not provided by port avidemux. DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/gtk2 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/x11/gtk2 DEBUG: Searching for dependency: gtk2 DEBUG: Found Dependency: receipt exists for gtk2 DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libxml2 DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/textproc/libxml2 DEBUG: Searching for dependency: libxml2 DEBUG: Didn't find receipt, going to depspec regex for: libxml2 DEBUG: Found Dependency: path: /usr/lib filename: libxml2.2.dylib regex: libxml2\.2\.dylib$ DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libmad DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/audio/libmad DEBUG: Searching for dependency: libmad DEBUG: Found Dependency: receipt exists for libmad DEBUG: Found port in file:///opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gmake DEBUG: Changing to port directory: /opt/local/var/db/dports/sources/rsync.rsync.darwinports.org_dpupdate_dports/devel/gmake DEBUG: Searching for dependency: gmake DEBUG: Found Dependency: receipt exists for gmake DEBUG: Executing com.apple.main (avidemux) DEBUG: No TGZ archive: /opt/local/var/db/dports/packages/darwin/i386/avidemux-2.0.42_0.i386.tgz DEBUG: Skipping unarchive (avidemux) since no archive found DEBUG: Skipping completed com.apple.unarchive (avidemux) ---> Fetching avidemux DEBUG: Executing com.apple.fetch (avidemux) ---> Verifying checksum(s) for avidemux DEBUG: Executing com.apple.checksum (avidemux) ---> Checksumming avidemux-2.0.42.tar.gz DEBUG: Correct (md5) checksum for avidemux-2.0.42.tar.gz ---> Extracting avidemux DEBUG: Executing com.apple.extract (avidemux) ---> Extracting avidemux-2.0.42.tar.gz DEBUG: setting option extract.args to /opt/local/var/db/dports/distfiles/avidemux/avidemux-2.0.42.tar.gz DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_avidemux/work" && gzip -dc /opt/local/var/db/dports/distfiles/avidemux/avidemux-2.0.42.tar.gz | /usr/bin/gnutar --no-same-owner -xf -' DEBUG: Executing com.apple.patch (avidemux) ---> Configuring avidemux DEBUG: Executing com.apple.configure (avidemux) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_avidemux/work/avidemux-2.0.42" && ./configure --prefix=/opt/local' checking build system type... i386-apple-darwin8.7.1 checking host system type... i386-apple-darwin8.7.1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk checking whether make sets $(MAKE)... yes checking for ranlib... ranlib checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc3 checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -p checking for a sed that does not truncate output... checking whether ln -s works... yes checking how to recognise dependant libraries... file_magic Mach-O dynamically linked shared library checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking the maximum length of command line arguments... 65536 checking command to parse /usr/bin/nm -p output from gcc object... ok checking for objdir... .libs checking for ranlib... (cached) ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fno-common checking if gcc PIC flag -fno-common works... yes checking if gcc supports -c -o file.o... yes checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.7.1 dyld checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes configure: creating libtool appending configuration tag "CXX" to libtool checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no checking for g++ option to produce PIC... -fno-common checking if g++ PIC flag -fno-common works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... no checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.7.1 dyld appending configuration tag "GCJ" to libtool checking if gcj supports -fno-rtti -fno-exceptions... (cached) no checking for gcj option to produce PIC... -fno-common checking if gcj PIC flag -fno-common works... no checking if gcj supports -c -o file.o... no checking whether the gcj linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking dynamic linker characteristics... darwin8.7.1 dyld checking whether NLS is requested... yes checking for msgfmt... /opt/local/bin/msgfmt checking for gmsgfmt... /opt/local/bin/msgfmt checking for xgettext... /opt/local/bin/xgettext checking for msgmerge... /opt/local/bin/msgmerge checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... done checking whether NLS is requested... yes checking for GNU gettext in libc... no checking for iconv... yes checking how to link with libiconv... /opt/local/lib/libiconv.dylib checking for GNU gettext in libintl... yes checking whether to use NLS... yes checking where the gettext function comes from... external libintl checking how to link with libintl... /opt/local/lib/libintl.dylib -L/opt/local/lib /opt/local/lib/libiconv.dylib -lc checking for pkg-config... /opt/local/bin/pkg-config checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking malloc/malloc.h usability... yes checking malloc/malloc.h presence... yes checking for malloc/malloc.h... yes checking for xml2-config... /usr/bin/xml2-config checking libxml/parser.h usability... yes checking libxml/parser.h presence... yes checking for libxml/parser.h... yes checking for x264 codec ... checking x264.h usability... no checking x264.h presence... no checking for x264.h... no checking for xvid codec 0.9... checking xvid.h usability... no checking xvid.h presence... no checking for xvid.h... no checking for xvid codec 1.0... checking for xvid.h... (cached) no checking for xvid_encore in -lxvidcore... no checking for lrintf in math.h... yes checking for fastint... yes checking iconv needs const... yes checking for OSS audio support... no checking for ALSA audio support... checking alsa/asoundlib.h usability... no checking alsa/asoundlib.h presence... no checking for alsa/asoundlib.h... no checking for Arts audio support... checking for artsc-config... no checking mad.h usability... yes checking mad.h presence... yes checking for mad.h... yes checking for mad_decoder_run in -lmad... no checking mad library... no checking faad.h usability... no checking faad.h presence... no checking for faad.h... no checking faad2 library... no checking faac.h usability... no checking faac.h presence... no checking for faac.h... no checking faac library... no checking a52dec/a52.h usability... no checking a52dec/a52.h presence... no checking for a52dec/a52.h... no checking for vorbis_info_init in -lvorbis... no checking lame/lame.h usability... no checking lame/lame.h presence... no checking for lame/lame.h... no checking sys/shm.h usability... yes checking sys/shm.h presence... yes checking for sys/shm.h... yes checking for X11/extensions/XShm.h... yes checking for X11/extensions/Xvlib.h... yes checking for XvShmPutImage in -lXv... yes checking libSDL support... checking for sdl-config... no checking Freetype2 support... checking for freetype-config... /opt/local/bin/freetype-config checking ft2build.h usability... yes checking ft2build.h presence... yes checking for ft2build.h... yes configure: WARNING: ft2build.h is there assuming the library is there also checking /usr/local/ is full of divx... "yes" checking win32 host... no Checking cpu/system type CPU type : i386 X86 is ON checking for Altivec ... no cpu done checking Built in vectors... use_builtin BSD type OS

GTK+ version : 2.8.19 Divx5.0.5 ? : yes * DISABLED * Xvid 0.9 Codec : no Xvid 1.0 Codec : no x264 encoder c : no Mad decoder : no OSS : no ALSA : no SDL : no Xvideo : yes Lame : no Ogg Vorbis : no Faad2(decoder) : no Faac (encoder) : no A52/AC3 : no FFMPEG : yes ARTS : no FreeType : yes XML2 : yes locale : Little endian cpu : yes AMD64 : no Altivec : no PPC : no X86 : 1 MacOsX(Darwin) : no Cygwin : no Gcc supports vectors: yes

Regeneration preferences definitions configure: creating ./config.status config.status: creating Makefile config.status: creating adm_lavcodec/Makefile config.status: creating adm_lavcodec/i386/Makefile config.status: creating adm_lavcodec/libpostproc/Makefile config.status: creating adm_lavcodec/ppc/Makefile config.status: creating avidemux/Makefile config.status: creating avidemux/ADM_3gp/Makefile config.status: creating avidemux/ADM_audio/Makefile config.status: creating avidemux/ADM_audiocodec/Makefile config.status: creating avidemux/ADM_audiodevice/Makefile config.status: creating avidemux/ADM_audiofilter/Makefile config.status: creating avidemux/ADM_codecs/Makefile config.status: creating avidemux/ADM_colorspace/Makefile config.status: creating avidemux/ADM_dialog/Makefile config.status: creating avidemux/ADM_editor/Makefile config.status: creating avidemux/ADM_encoder/Makefile config.status: creating avidemux/ADM_filter/Makefile config.status: creating avidemux/ADM_gui/Makefile config.status: creating avidemux/ADM_gui2/Makefile config.status: creating avidemux/ADM_h263/Makefile config.status: creating avidemux/ADM_inpics/Makefile config.status: creating avidemux/ADM_lavformat/Makefile config.status: creating avidemux/ADM_library/Makefile config.status: creating avidemux/ADM_lvemux/Makefile config.status: creating avidemux/ADM_mpeg2dec/Makefile config.status: creating avidemux/ADM_mpegindexer/Makefile config.status: creating avidemux/ADM_mplex/Makefile config.status: creating avidemux/ADM_nuv/Makefile config.status: creating avidemux/ADM_ocr/Makefile config.status: creating avidemux/ADM_ogm/Makefile config.status: creating avidemux/ADM_openDML/Makefile config.status: creating avidemux/ADM_requant/Makefile config.status: creating avidemux/ADM_script/Makefile config.status: creating avidemux/ADM_toolkit/Makefile config.status: creating avidemux/ADM_video/Makefile config.status: creating avidemux/ADM_vp32/Makefile config.status: creating avidemux/ADM_vp32/include/Makefile config.status: creating avidemux/ADM_xvidratectl/Makefile config.status: creating avidemux/MPlayer_pp/Makefile config.status: creating avidemux/libMpeg2Dec/Makefile config.status: creating avidemux/libtoolame/Makefile config.status: creating avidemux/mpeg2enc/Makefile config.status: creating avidemux/oplug_avi/Makefile config.status: creating avidemux/oplug_mpeg/Makefile config.status: creating avidemux/oplug_mpegFF/Makefile config.status: creating avidemux/oplug_ogm/Makefile config.status: creating avidemux/xpm/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands ---> Building avidemux with target all DEBUG: Executing com.apple.build (avidemux) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_avidemux/work/avidemux-2.0.42" && make all' make all-recursive Making all in po make[2]: Nothing to be done for `all'. Making all in m4 make[2]: Nothing to be done for `all'. Making all in adm_lavcodec Making all in libpostproc if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DHAVE_AV_CONFIG_H -I/opt/local/include -I/usr/include/malloc -I/usr/include/libxml2 -g -O2 -O2 -falign-loops=16 -MT postprocess.o -MD -MP -MF ".deps/postprocess.Tpo" -c -o postprocess.o postprocess.c; \ then mv -f ".deps/postprocess.Tpo" ".deps/postprocess.Po"; else rm -f ".deps/postprocess.Tpo"; exit 1; fi postprocess.c:110:1: warning: "memalign" redefined postprocess.c:100:1: warning: this is the location of the previous definition In file included from postprocess.c:610: postprocess_template.c: In function 'postProcess_C': postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_C' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_C' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_C' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_C' differ in signedness In file included from postprocess.c:630: postprocess_template.c: In function 'postProcess_MMX': postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_MMX' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_MMX' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX' differ in signedness In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:630: postprocess_template.c:3398:1: warning: this is the location of the previous definition In file included from postprocess.c:640: postprocess_template.c: In function 'postProcess_MMX2': postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness In file included from postprocess.c:650: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:640: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:640: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:3398:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c: In function 'postProcess_3DNow': postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_3DNow' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_3DNow' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_3DNow' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_3DNow' differ in signedness postprocess_template.c:3368: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3453: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3368: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3453: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[3]: * [postprocess.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2 Error: Target com.apple.build returned: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_multimedia_avidemux/work/avidemux-2.0.42" && make all" returned error 2 Command output: postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_MMX2' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_MMX2' differ in signedness In file included from postprocess.c:650: postprocess_template.c:53:1: warning: "REAL_PAVGB" redefined In file included from postprocess.c:640: postprocess_template.c:51:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:1378:1: warning: "REAL_FIND_MIN_MAX" redefined In file included from postprocess.c:640: postprocess_template.c:1373:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c:3398:1: warning: "REAL_SCALED_CPY" redefined In file included from postprocess.c:640: postprocess_template.c:3375:1: warning: this is the location of the previous definition In file included from postprocess.c:650: postprocess_template.c: In function 'postProcess_3DNow': postprocess_template.c:3685: warning: pointer targets in passing argument 6 of 'blockCopy_3DNow' differ in signedness postprocess_template.c:3831: warning: pointer targets in passing argument 6 of 'blockCopy_3DNow' differ in signedness postprocess_template.c:3943: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_3DNow' differ in signedness postprocess_template.c:3967: warning: pointer targets in passing argument 4 of 'tempNoiseReducer_3DNow' differ in signedness postprocess_template.c:3368: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3453: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3368: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' postprocess_template.c:3453: error: can't find a register in class 'GENERAL_REGS' while reloading 'asm' make[3]: * [postprocess.o] Error 1 make[2]: * [all-recursive] Error 1 make[1]: * [all-recursive] Error 1 make: * [all] Error 2

Warning: the following items did not execute (for avidemux): com.apple.activate com.apple.build com.apple.destroot com.apple.archive com.apple.install Error: /opt/local/bin/port: Status 1 encountered during processing.

============================================================

Best wishes,

Yves Codet

Change History (6)

comment:1 Changed 18 years ago by markd@…

Summary: Avidemux doesn't compile on Intel MacBUG: Avidemux-2.0.42 doesn't compile on Intel Mac

comment:2 Changed 17 years ago by pipping@…

Milestone: Port Bugs

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

Has duplicate #12636.

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

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

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

Resolution: fixed
Status: newclosed

Updated to avidemux 2.4 in r32308. It does build on Intel! :)

comment:6 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.