Opened 15 years ago

Closed 14 years ago

#21687 closed defect (fixed)

x264 build errors on 10.6.1

Reported by: jboyce@… Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 1.8.1
Keywords: snowleopard Cc:
Port: x264

Description

I'm on 10.6.1, Xcode 3.2. Output:

jacks-computer:~ jack$ sudo port install x264
--->  Computing dependencies for x264
--->  Fetching x264
--->  Verifying checksum(s) for x264
--->  Extracting x264
--->  Configuring x264
--->  Building x264
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_multimedia_x264/work/x264-snapshot-20090810-2245" && /usr/bin/make -j2 default " returned error 2
Command output:   "_gf_isom_set_pl_indication", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_sample_del", referenced from:
      _close_file_mp4 in muxers.o
      _close_file_mp4 in muxers.o
  "_gf_isom_set_track_enabled", referenced from:
      _set_param_mp4 in muxers.o
  "_gf_isom_get_esd", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_close", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_new_track", referenced from:
      _set_param_mp4 in muxers.o
  "_gf_isom_get_media_duration", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_set_storage_mode", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_get_sample_info", referenced from:
      _close_file_mp4 in muxers.o
  "_gf_isom_sample_new", referenced from:
      _open_file_mp4 in muxers.o
  "_gf_isom_add_sample", referenced from:
      _set_eop_mp4 in muxers.o
  "_gf_isom_open", referenced from:
      _open_file_mp4 in muxers.o
  "_gf_isom_get_media_timescale", referenced from:
      _close_file_mp4 in muxers.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [x264] Error 1

Error: Status 1 encountered during processing.

Change History (5)

comment:1 Changed 15 years ago by blb@…

Keywords: snowleopard added
Owner: changed from macports-tickets@… to devans@…
Port: x264 added

comment:2 Changed 15 years ago by jboyce@…

Cc: jboyce@… added

Cc Me!

comment:3 in reply to:  description Changed 15 years ago by george@…

This happens when you are selecting to the "universal" variant. After some investigation it turned out to be the double -arch flag that gets generated the in config.mak you get one -arch for the current x86_64 and one for each of the architecture types.

A quick bypass is to edit config.mak manually and remove the unnecessary -arch flag. You need to do this for each architecture but the current. Then it will compile fine.

Eventually the port file need to be changed so this does not occur.

comment:4 Changed 15 years ago by mf2k (Frank Schima)

Cc: jboyce@… removed

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: newclosed

Current version seems fine.

Note: See TracTickets for help on using tickets.