Opened 12 years ago

Closed 12 years ago

#34998 closed defect (duplicate)

swftools: Undefined symbols: _PrintGifError

Reported by: mark.steddom@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc:
Port: swftools

Description (last modified by ryandesign (Ryan Carsten Schmidt))

Having problems installing swftools with a fresh install of macports (after port self update) on:

Mac OS X Lion 10.7.4 (11E2620) Retina MBP.

Xcode - Version 4.3.3 (4E3002)

>sudo port clean swftools
--->  Cleaning swftools
>sudo port install swftools
--->  Computing dependencies for swftools
--->  Fetching archive for swftools
--->  Attempting to fetch swftools-0.9.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/swftools
--->  Fetching distfiles for swftools
--->  Verifying checksum(s) for swftools
--->  Extracting swftools
--->  Applying patches to swftools
--->  Configuring swftools
--->  Building swftools
Error: org.macports.build for port swftools returned: command execution failed
Please see the log file for port swftools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port swftools failed
>xcode-select -print-path
/Applications/Xcode.app/Contents/Developer
>sudo port clean swftools
--->  Cleaning swftools
>sudo port install swftools configure.compiler=llvm-gcc-4.2
--->  Computing dependencies for swftools
--->  Fetching archive for swftools
--->  Attempting to fetch swftools-0.9.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/swftools
--->  Fetching distfiles for swftools
--->  Verifying checksum(s) for swftools
--->  Extracting swftools
--->  Applying patches to swftools
--->  Configuring swftools
--->  Building swftools
Error: org.macports.build for port swftools returned: command execution failed
Please see the log file for port swftools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port swftools failed
sudo port clean swftools
--->  Cleaning swftools
sudo port install swftools configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2
--->  Computing dependencies for swftools
--->  Fetching archive for swftools
--->  Attempting to fetch swftools-0.9.2_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/swftools
--->  Fetching distfiles for swftools
--->  Verifying checksum(s) for swftools
--->  Extracting swftools
--->  Applying patches to swftools
--->  Configuring swftools
--->  Building swftools
Error: org.macports.build for port swftools returned: command execution failed
Please see the log file for port swftools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port swftools failed

The tail of the main.log output says:

:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/work/swftools-0.9.2/src'
: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_graphics_swftools/swftools/work/swftools-0.9.2'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/work/swftools-0.9.2" && /usr/bin/make -j8 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port swftools returned: command execution failed
:debug:build Error code: CHILDSTATUS 16994 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for swftools: org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Please see the log file for port swftools for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/main.log

A little higher up in the main.log output I see where the command was assembled and executed, so the "cd" portion of the command was successful. LOL

:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/work/swftools-0.9.2" && /usr/bin/make -j8 -w all'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/work/swftools-0.9.2" && /usr/bin/make -j8 -w all 
:info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_swftools/swftools/work/swftools-0.9.2'
:info:build making all in m4...
:info:build cd m4;/usr/bin/make all

Attachments (1)

main.log (489.4 KB) - added by mark.steddom@… 12 years ago.
main.log output file referenced in error

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by mark.steddom@…

Attachment: main.log added

main.log output file referenced in error

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

Description: modified (diff)
Keywords: build failed swftools command execution failed removed
Resolution: duplicate
Status: newclosed
Summary: swftools @0.9.2 - build failed, returned: command execution failedswftools: Undefined symbols: _PrintGifError

The actual relevant error in the log is:

:info:build Undefined symbols for architecture x86_64:
:info:build   "_PrintGifError", referenced from:
:info:build       _MovieAddFrame in gif2swf.o
:info:build       _CheckInputFile in gif2swf.o
:info:build ld: symbol(s) not found for architecture x86_64

Duplicate of #34553.

Note: See TracTickets for help on using tickets.