Opened 7 years ago

Closed 7 years ago

#54331 closed defect (duplicate)

libass-0.13.7 not building on macOS 10.12.5 + Xcode 8.

Reported by: ssisak (Steve Sisak) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc:
Port: libass

Description

libass is failing to build on current macOS+Xcode -- I'll update ticket as I figure it out, but here's the problem section of the log (missing dependency on libreadline)?

checking for fontconfig >= 2.10.92... yes
checking for CORETEXT... yes
checking for DIRECTWRITE... no
checking whether make supports nested variables... (cached) yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
dyld: Library not loaded: /opt/local/lib/libreadline.6.dylib
  Referenced from: /opt/local/bin/gawk
  Reason: image not found
sed: stdout: Broken pipe
./config.status: line 1229: 34241 Done(1)                 eval sed \"\$ac_sed_extra\" "$ac_file_inputs"
     34242 Abort trap: 6           | $AWK -f "$ac_tmp/subs.awk" > $ac_tmp/out
config.status: error: could not create Makefile
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/work/libass-0.13.7-x86_64" && ./configure --prefix=/opt/local --disable-dependency-tracking --enable-fontconfig --disable-harfbuzz --disable-silent-rules --disable-dependency-tracking --host=x86_64-apple-darwin16.6.0 --enable-asm 
Exit code: 1
Error: Failed to configure libass, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/work/libass-0.13.7-x86_64/config.log
Error: Failed to configure libass: configure failure: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_multimedia_libass/libass/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

config.log (47.1 KB) - added by ssisak (Steve Sisak) 7 years ago.
config.log from failure

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by ssisak (Steve Sisak)

Attachment: config.log added

config.log from failure

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Resolution: duplicate
Status: newclosed

Duplicate #54321 has the fix.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

Keywords: libass universal removed

comment:3 Changed 7 years ago by ssisak (Steve Sisak)

The "fix" referenced is port upgrade redline...

I'm not sure that's correct as:

  1. This was a part of "port upgrade outdated"
  2. The error is that libreadline.6.dylib did not load
  3. That appears to be because libreadline.7.dylib is what's currently installed

Not sure if I should address this here or in that ticket, but looks like a missing or circular dependency

comment:4 Changed 7 years ago by ssisak (Steve Sisak)

Got it:

sudo port upgrade readline gawk

and then another

port upgrade outdated

Got things moving again -- assuming somethings missing a dependency on gawk.

comment:5 Changed 7 years ago by ssisak (Steve Sisak)

Resolution: duplicate
Status: closedreopened

Reading the other ticket, want to double check if someone (libass?) is missing a dependency on gawk

Pretty sure both ticked are reducing to gawk not being rebuilt automatically and failing because libreadline was too new.

Feel free to close again if I'm off base.

comment:6 Changed 7 years ago by Schamschula (Marius Schamschula)

No such dependency.

If gawk is installed, it is found before the OS awk. Thus, if gawk is broken you will run into this issue on most ports that use ./configure.

comment:7 in reply to:  6 Changed 7 years ago by ssisak (Steve Sisak)

Replying to Schamschula:

No such dependency.

If gawk is installed, it is found before the OS awk. Thus, if gawk is broken you will run into this issue on most ports that use ./configure.

OK, that's a better description -- maybe s/b FAQ

I only have ffmpeg and ImageMagick installed in MacPorts and this happened doing a "port upgrade outdated", meaning there's an implicit dependency on gawk somewhere -- or some port installs it as a side-effect causing it to override the system awk, which breaks some other port the is fine with the system awk (now being overridden) if it happens to build before whoever depends on gawk. HTH

comment:8 Changed 7 years ago by ssisak (Steve Sisak)

In fact, this sequence where I followed the instructions but only built libreadine seems suddenly relevant:

bash-3.2# port upgrade readline
--->  Updating database of binaries
--->  Scanning binaries for linking errors               
--->  Found 4 broken files, matching files to ports      
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: gawk @4.1.4+universal
Continue? [Y/n]: n
bash-3.2# port upgrade readline gawk
--->  Computing dependencies for gawk
--->  Fetching archive for gawk
--->  Attempting to fetch gawk-4.1.4_3+universal.darwin_16.i386-x86_64.tbz2 from https://packages.macports.org/gawk
--->  Attempting to fetch gawk-4.1.4_3+universal.darwin_16.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gawk
--->  Attempting to fetch gawk-4.1.4_3+universal.darwin_16.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/gawk
--->  Fetching distfiles for gawk
--->  Attempting to fetch gawk-4.1.4.tar.xz from http://ftp.gnu.org/gnu/gawk
--->  Verifying checksums for gawk
--->  Extracting gawk
--->  Configuring gawk
--->  Building gawk
--->  Staging gawk into destroot
--->  Installing gawk @4.1.4_3+universal
--->  Cleaning gawk
--->  Computing dependencies for gawk
--->  Deactivating gawk @4.1.4_0+universal
--->  Cleaning gawk
--->  Activating gawk @4.1.4_3+universal
--->  Cleaning gawk
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.                             
bash-3.2# port upgrade readline gawk

comment:9 Changed 7 years ago by mf2k (Frank Schima)

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