Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#34951 closed defect (fixed)

mpeg4ip fails to build with clang

Reported by: bbowers@… Owned by: reid@…
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: clang Cc: ryandesign (Ryan Schmidt), rmstonecipher@…, jeremyhu (Jeremy Huddleston Sequoia)
Port: mpeg4ip

Description (last modified by ryandesign (Ryan Schmidt))

Running Xcode 4.3, receive the following which is corrected by changing the default compiler.

[Users/bbowers] > install mpeg4ip
--->  Computing dependencies for mpeg4ip
--->  Fetching archive for mpeg4ip
--->  Attempting to fetch mpeg4ip-1.5.0.1_3.darwin_11.x86_64.tbz2 from http://packages.macports.org/mpeg4ip
--->  Fetching distfiles for mpeg4ip
--->  Verifying checksum(s) for mpeg4ip
--->  Extracting mpeg4ip
--->  Applying patches to mpeg4ip
--->  Configuring mpeg4ip
--->  Building mpeg4ip
Error: org.macports.build for port mpeg4ip returned: command execution failed
Please see the log file for port mpeg4ip for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_mpeg4ip/mpeg4ip/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port mpeg4ip failed

[Users/bbowers] > clean mpeg4ip  
--->  Cleaning mpeg4ip

[Users/bbowers] > install mpeg4ip configure.compiler=llvm-gcc-4.2
--->  Computing dependencies for mpeg4ip
--->  Fetching archive for mpeg4ip
--->  Attempting to fetch mpeg4ip-1.5.0.1_3.darwin_11.x86_64.tbz2 from http://packages.macports.org/mpeg4ip
--->  Fetching distfiles for mpeg4ip
--->  Verifying checksum(s) for mpeg4ip
--->  Extracting mpeg4ip
--->  Applying patches to mpeg4ip
--->  Configuring mpeg4ip
--->  Building mpeg4ip
--->  Staging mpeg4ip into destroot
--->  Installing mpeg4ip @1.5.0.1_3
--->  Activating mpeg4ip @1.5.0.1_3
--->  Cleaning mpeg4ip
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

Change History (6)

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

Cc: ryandesign@… added
Description: modified (diff)
Keywords: clang added
Owner: changed from macports-tickets@… to reid@…
Port: mpeg4ip added
Summary: mpeg4ip fails to build on default compilermpeg4ip fails to build with clang

Brad: Please remember to use WikiFormatting, to fill in the Port field, and to Cc the maintainer of the port.

Reid: See wiki:ProblemHotlist#compiler.

comment:2 Changed 7 years ago by rmstonecipher@…

A temporary workaround has been committed in r95546.

comment:3 Changed 7 years ago by rmstonecipher@…

Cc: rmstonecipher@… added

Cc Me!

comment:4 Changed 7 years ago by jmroot (Joshua Root)

Could someone please attach or otherwise point out a log from a build using clang?

comment:5 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed

Works for me with:

Apple LLVM version 4.2 (clang-425.0.28) (based on LLVM 3.2svn)
Target: x86_64-apple-darwin12.4.0
Thread model: posix

If you report logs with failing clang versions, we can blacklist individual versions.

r110381

comment:6 Changed 6 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Cc: jeremyhu@… added

Cc Me!

Note: See TracTickets for help on using tickets.