On -CURRENT I have build fails like this: gmake[5]: Entering directory '/usr/home/novel/ports_stuff/deadbeef/work/deadbeef-0.6.2/plugins/gtkui' /bin/mkdir -p '/usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef' /bin/sh ../../libtool --mode=install /usr/bin/install -c -s ddb_gui_GTK2.la '/usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef' libtool: install: /usr/bin/install -c .libs/ddb_gui_GTK2.so /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.so libtool: install: strip --strip-unneeded /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.so libtool: install: /usr/bin/install -c .libs/ddb_gui_GTK2.lai /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.la libtool: install: /usr/bin/install -c .libs/ddb_gui_GTK2.a /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.a libtool: install: strip --strip-debug /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.a strip: file format not recognized Makefile:889: recipe for target 'install-pkglibLTLIBRARIES' failed gmake[5]: *** [install-pkglibLTLIBRARIES] Error 1 Running file(1) on this file says: /usr/home/novel/ports_stuff/deadbeef/work/stage/usr/local/lib/deadbeef/ddb_gui_GTK2.a: current ar archive I'm running today's -CURRENT/amd64. I've started to see this problem for a few weeks on -CURRENT though.
Created attachment 160595 [details] disable static libs Adding a part that add '--disable-static' to configure args and drops static libs from the plist. Upstream suggested it's a safe thing to do: https://github.com/Alexey-Yakovenko/deadbeef/issues/1255#issuecomment-134326260 and it fixes build on -CURRENT for me.
Ok. Commit it.
A commit references this bug: Author: novel Date: Tue Sep 1 17:12:32 UTC 2015 New revision: 395786 URL: https://svnweb.freebsd.org/changeset/ports/395786 Log: Deadbeef creates ar-inside-ar during the build and that causes build failure on -CURRENT because strip cannot handle this. As it was confirmed by upstream that it's safe to disable static libs [1], do and and fix build on -CURRENT. Drop static libs from plist and bump PORTREVISION. 1: https://github.com/Alexey-Yakovenko/deadbeef/issues/1255 PR: 202573 Approved by: vg (maintainer) Changes: head/audio/deadbeef/Makefile head/audio/deadbeef/pkg-plist
Done, thanks!
*** Bug 199319 has been marked as a duplicate of this bug. ***