Opened 14 years ago

Closed 12 years ago

#24704 closed defect (fixed)

ffmpeg, ffmpeg-devel: -dylib_compatibility_version must be greater than zero

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: tiger haspatch Cc: ultrajoe@…, roberto@…, rudloff@…
Port: ffmpeg, ffmpeg-devel

Description

ffmpeg-devel @22866_0 doesn't build on Tiger:

--->  Building ffmpeg-devel
DEBUG: Executing org.macports.build (ffmpeg-devel)
DEBUG: Environment: MACOSX_DEPLOYMENT_TARGET='10.4'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_multimedia_ffmpeg-devel/work/trunk" && /usr/bin/nice -n 10 gmake -j1 all'
LD	libavformat/libavformat.52.dylib
LD	libavdevice/libavdevice.52.dylib
LD	libswscale/libswscale.0.dylib
ld: -dylib_compatibility_version must be greater than zero
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/libtool: internal link edit command failed
gmake: *** [libswscale/libswscale.0.dylib] Error 1
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_multimedia_ffmpeg-devel/work/trunk" && /usr/bin/nice -n 10 gmake -j1 all " returned error 2
DEBUG: Backtrace: shell command " cd "/opt/local/var/macports/build/_Users_rschmidt_macports_dports_multimedia_ffmpeg-devel/work/trunk" && /usr/bin/nice -n 10 gmake -j1 all " returned error 2
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 9)
    invoked from within
"$procedure $targetname"
Warning: the following items did not execute (for ffmpeg-devel): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Attachments (2)

main.log.bz2 (18.9 KB) - added by ryandesign (Ryan Carsten Schmidt) 13 years ago.
log of ffmpeg-devel @25102 on tiger
patch_configure.diff (960 bytes) - added by ultrajoe@… 13 years ago.
Patch file for ffmpeg 0.7.1 that fixes Tiger build problem.

Download all attachments as: .zip

Change History (17)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Keywords: tiger added

Is this still the case with revision 25102?

Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log.bz2 added

log of ffmpeg-devel @25102 on tiger

comment:2 in reply to:  1 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to jmr@…:

Is this still the case with revision 25102?

Yes; I've attached a full log.

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

Also reported against ffmpeg in #30001.

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

Cc: ultrajoe@… added
Port: ffmpeg added
Summary: ffmpeg-devel: ld: -dylib_compatibility_version must be greater than zeroffmpeg, ffmpeg-devel: -dylib_compatibility_version must be greater than zero

I see this problem was reported in September 2009 on the ffmpeg-user mailing list but I don't see any response to it.

comment:5 Changed 13 years ago by roberto@…

Cc: roberto@… added

Cc Me!

Changed 13 years ago by ultrajoe@…

Attachment: patch_configure.diff added

Patch file for ffmpeg 0.7.1 that fixes Tiger build problem.

comment:6 Changed 13 years ago by ultrajoe@…

I have uploaded a patch file that fixes the ffmpeg build issue on my PowerMac G4 running OS X 10.4.11. I would assume that the patch for ffmpeg-devel would be similar, if not identical.

I will be submitting this patch file to the developer as well.

comment:7 Changed 13 years ago by danstowell+macports@…

I have the same problem, installing ffmpeg @0.7.1_0+no_nonfree.

ultrajoe's fix worked for me (10.4.11 intel).

comment:8 Changed 13 years ago by dbevans (David B. Evans)

Status: newassigned

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

Cc: rudloff@… added
Keywords: haspatch added

Has duplicate #31909.

comment:10 Changed 12 years ago by rudloff@…

Cc: rudloff@… removed

Cc Me!

comment:11 Changed 12 years ago by rudloff@…

Cc: rudloff@… added

Cc Me!

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

ultrajoe, thank you for the patch. Question: Why should the use of the -compatibility_version switch be restricted to darwin 8? Why not use it all the time?

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

Wait, now I understand. You're removing the compatibility_version switch on darwin 8 only.

comment:14 Changed 12 years ago by rudloff@…

I confirm that this patch works on Tiger.

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

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.