Opened 10 years ago

Closed 10 years ago

#41143 closed defect (fixed)

ffmpeg STILL does not build under PPC Tiger!

Reported by: ultrajoe@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia), neverpanic (Clemens Lang), cooljeanius (Eric Gallager)
Port: ffmpeg, ffmpeg-devel

Description (last modified by neverpanic (Clemens Lang))

In spite of the comments in bug #39442, ffmpeg still does not build under Tiger.

The patch file (another copy of which is attached here) notes the removal of configuring libbluray and removing the dependency to the library. The updated Portfile only removes the configure.arg in line 100, not the dependency.

Attachments (4)

deps.txt (415 bytes) - added by ultrajoe@… 10 years ago.
Dependencies
main.log (109.6 KB) - added by ultrajoe@… 10 years ago.
Main log file with r112868 in place.
config.log (326.6 KB) - added by ultrajoe@… 10 years ago.
Revised config.log with r112868 in place
PortFile-ffmpeg.diff (1.3 KB) - added by ultrajoe@… 10 years ago.
Success''' The order is important. This is the revised patch file for r112868 to make it work under Tiger!

Download all attachments as: .zip

Change History (20)

comment:1 Changed 10 years ago by ultrajoe@…

The depends_lib-delete line is what's missing, I believe.

By the way, if there's really a need for the attitude seen in bug #39442, then maybe it is time to stop "helping" with bug reports here.

comment:2 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: jeremyhu@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to devans@…

comment:3 Changed 10 years ago by neverpanic (Clemens Lang)

It seems to me that r107091 did correctly add depends_lib-delete port:libblueray (see source:trunk/dports/multimedia/ffmpeg/Portfile@112864:99#L80 for ffmpeg and source:trunk/dports/multimedia/ffmpeg-devel/Portfile@112864:105#L80 for ffmpeg-devel).

Since I don't have access to a Tiger machine, I cannot test this, but if ffmpeg doesn't build for you it doesn't seem this is the cause. Please provide the main.log of a clean failed build and the output of port -v deps ffmpeg on your machine (which should correctly not list libbluray).

comment:4 Changed 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added

comment:5 Changed 10 years ago by dbevans (David B. Evans)

Status: newassigned

comment:6 Changed 10 years ago by dbevans (David B. Evans)

I've committed a fix (hopefully) in r112868 that appends --disable-libbluray as well as just removing the --enable-libbluray. This should keep it from trying to build with libbluray even if you have it installed.

Flying blind here as I don't have a PPC machine any more either so please let me know if this works or something else needs to be done.

As mentioned above, if there is a problem, submitting a full build log would help immensely. Thanks.

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

Cc: egall@… added

Cc Me!

Changed 10 years ago by ultrajoe@…

Attachment: deps.txt added

Dependencies

comment:8 Changed 10 years ago by ultrajoe@…

OK, I'm an idiot. The problem is not the dependency, but that it somehow needs configure.args-append --disable-libbluray. That is in my patch file, but missing from the Portfile. (Disclaimer: I have not tried the revision devans@… committed, though it sounds like that also does the trick.)

Please accept my apologies. Health crises have me extremely stressed right now.

comment:9 Changed 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: assignedclosed

So it seems mplayer's weird configure script along with the incorrect fix in r107091 is to blame. r112868 should fix this issue. Please test and re-open this ticket if it did not.

Thanks for pointing that out.

comment:10 Changed 10 years ago by ultrajoe@…

Nope, r112868 does not fix it. I'm attaching logs as soon as I finish typing this.

I have a hunch, though, what the problem is. I suspect the revisions around line 100 is actually too early, since the full config.args list follows that conditional. I have modified the Portfile to place the test after the list of config.args and am attempting a reinstall now.

Changed 10 years ago by ultrajoe@…

Attachment: main.log added

Main log file with r112868 in place.

Changed 10 years ago by ultrajoe@…

Attachment: config.log added

Revised config.log with r112868 in place

comment:11 Changed 10 years ago by ultrajoe@…

Resolution: fixed
Status: closedreopened

comment:12 Changed 10 years ago by neverpanic (Clemens Lang)

You're right. That also breaks --disable-asm, that is in the same block and was supposed to work. Since this is an obvious mistake and the consequences are limited to old systems, I've taken advantage of openmaintainer policies and changed that in r112948.

Let me know if that works for you.

Last edited 10 years ago by neverpanic (Clemens Lang) (previous) (diff)

comment:13 Changed 10 years ago by neverpanic (Clemens Lang)

Of course, if ffmpeg meanwhile stopped supporting --disable-asm, this will break the build again. Let us know if that's the case.

Changed 10 years ago by ultrajoe@…

Attachment: PortFile-ffmpeg.diff added

Success''' The order is important. This is the revised patch file for r112868 to make it work under Tiger!

comment:14 in reply to:  12 Changed 10 years ago by ultrajoe@…

Replying to cal@…:

You're right. That also breaks --disable-asm, that is in the same block and was supposed to work. Since this is an obvious mistake and the consequences are limited to old systems, I've taken advantage of openmaintainer policies and changed that in r112948.

Let me know if that works for you.

Sorry, cal. We were working in parallel. My patch dropped it below the post-destroot section, but where you put it should work as well. I'll verify that, though, just in case.

comment:15 in reply to:  12 Changed 10 years ago by ultrajoe@…

Replying to cal@…:

You're right. That also breaks --disable-asm, that is in the same block and was supposed to work. Since this is an obvious mistake and the consequences are limited to old systems, I've taken advantage of openmaintainer policies and changed that in r112948.

Let me know if that works for you.

r112948 is good!

comment:16 Changed 10 years ago by neverpanic (Clemens Lang)

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