Opened 6 years ago

Closed 6 years ago

#55820 closed defect (worksforme)

libvpx @1.7.0: vpx_dsp/x86/sad4d_avx512.c fails build El Capitan

Reported by: sunoterra (Michael Stilson) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: elcapitan Cc:
Port: libvpx

Description

how

after a tree sync

  • sudo port -cfsuv upgrade outdated

or by uninstalling gimp first

  • sudo port -cfuv uninstall gimp
  • then trim leaved deps
    • sudo port_cutleaves
  • and re-install
    • sudo port -cfsuv install gimp +quartz

error summary at log-end

8 warnings and 18 errors generated.
make[1]: *** [vpx_dsp/x86/sad4d_avx512.c.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [.DEFAULT] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.7.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/work/libvpx-1.7.0" && /usr/bin/make -j4 -w verbose=1 CFLAGS_S=-fno-integrated-as
Exit code: 2
Error: Failed to build libvpx: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_sea.us.rsync.macports.org_release_tarballs_ports_multimedia_libvpx/libvpx/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port gimp failed

full log is attached

(i) experienced no issues compiling this on Sierra or HighSierra

Attachments (1)

upgrade-libvpx-1.7.0-elcapitan-build.log (270.8 KB) - added by sunoterra (Michael Stilson) 6 years ago.
elcapitan build log

Download all attachments as: .zip

Change History (9)

Changed 6 years ago by sunoterra (Michael Stilson)

elcapitan build log

comment:1 Changed 6 years ago by sunoterra (Michael Stilson)

notice this in the log:

:debug:build Failed to locate 'lbzip2' in path: '/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at its MacPorts configuration time location, did you move it?

so, just to be safe, after installing sudo port -cfsuv install libzip2, cleaning sudo port -v clean libvpx ... an attempted re-installation of gimp yields the same build errors, unfortunately.

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

Owner: set to dbevans
Status: newassigned

In the future, please Cc the port maintainers (port info --maintainers libvpx), if any.

comment:3 Changed 6 years ago by kencu (Ken)

I thought we fixed this issue with avx512 55800.

please try sudo port selfupdate to bring your tree right up to date, and then

sudo port clean libvpx and sudo port -v install libvpx

comment:4 in reply to:  2 Changed 6 years ago by sunoterra (Michael Stilson)

Replying to mf2k:

In the future, please Cc the port maintainers (port info --maintainers libvpx), if any.

excellent, thanks @mf2k, will do 👍

comment:5 in reply to:  3 Changed 6 years ago by sunoterra (Michael Stilson)

Replying to kencu:

I thought we fixed this issue with avx512 55800.

please try sudo port selfupdate to bring your tree right up to date, and then

sudo port clean libvpx and sudo port -v install libvpx

hmmmm ... my question is why did i not find this during initial searches ... weird ... anyways ... attempted the above steps, same resulting errors, unfortunately.

my Xcode devtools are at 8.0 (8A218a), which seems to be good for elcapitan.

you know what @kencu? with these recent lib updates for hardware holes and such, i did have to go through the migration steps again for HighSierra, in order to fix certain ports (htop e.g.) but i'm realizing that i did not redo those migration steps for this elcapitan machine. thinking, at least for science, that i should do that.

will let y'all know how it turns out.

thanks you all. keep being awesome.

comment:6 Changed 6 years ago by kencu (Ken)

the buildbots <http://packages.macports.org/libvpx/> seemed to like the fix, so it should work on your system in the end...

comment:7 in reply to:  6 Changed 6 years ago by sunoterra (Michael Stilson)

Replying to kencu:

the buildbots <http://packages.macports.org/libvpx/> seemed to like the fix, so it should work on your system in the end...

after repeating steps 4a - 4f of the Migration guide, the libvpx port now builds as expected. 🎉

comment:8 Changed 6 years ago by kencu (Ken)

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