Date: Fri, 2 Nov 2012 20:54:20 -0700 (PDT) From: "Ronald F.Guilmette" <rfg@tristatelogic.com> To: FreeBSD-gnats-submit@FreeBSD.org Cc: rfg@tristatelogic.com Subject: ports/173319: multimedia/ffmpeg - install with debug info crashes & burns Message-ID: <20121103035420.CA53C5081D@segfault.tristatelogic.com> Resent-Message-ID: <201211030400.qA34002j011975@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 173319 >Category: ports >Synopsis: multimedia/ffmpeg - install with debug info crashes & burns >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Nov 03 04:00:00 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ronald F. Guilmette >Release: FreeBSD 8.3-RELEASE amd64 >Organization: entr0py >Environment: FreeBSD 8.3-RELEASE GENERIC amd64 >Description: I was trying to build & install the ffmpeg port with full debugging symbols (-g). Note that normally, one has to suppress the default stripping of the debug symbols on install also if one really wants the debugging info to be present within the various parts of the installed port. Online sources suggest that the proper way to (re)install a port with full debug info is as follows: make clean make deinstall make WITH_DEBUG=yes STRIP= reinstall (I don't know if this is really correct procedure or not, but it looks correct.) So anyway, I did the above with (current?) ffmpeg-0.7.13_6,1 and the result was a failure to complete the (re)install step: ===> Installing for ffmpeg-0.7.13_6,1 ===> ffmpeg-0.7.13_6,1 depends on shared library: aacplus.2 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: faac.0 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: freetype.9 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: mp3lame.0 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: opencv_imgproc.2 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: openjpeg.2 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: schroedinger-1.0.11 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: theora.0 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: va.1 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: vorbisenc.2 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: vpx.1 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: x264.125 - found ===> ffmpeg-0.7.13_6,1 depends on shared library: xvidcore.4 - found ===> Generating temporary packing list INSTALL doc/ffmpeg.1 INSTALL doc/ffprobe.1 INSTALL libavdevice/libavdevice.a INSTALL libavdevice/libavdevice.so STRIP install-libavdevice-shared gmake: *** [install-libavdevice-shared] Segmentation fault: 11 (core dumped) *** Error code 2 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. >How-To-Repeat: See above. Basically just: cd /usr/ports/multimedia/ffmpeg make clean make deinstall make WITH_DEBUG=yes STRIP= reinstall Or else if you have not previously installed ffmpeg, this should do it: cd /usr/ports/multimedia/ffmpeg make WITH_DEBUG=yes STRIP= install **** NOTE **** The failure DOES NOT occur if the "STRIP=" part is left out of the make command line. So the failure only occurs when one is trying to get the thing install without stripping. >Fix: I really do not know to fix this. I tried myself to hack a conditional into the main ffmpeg Makefile, but that didn't work for reasons that are still mysterious to me. >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20121103035420.CA53C5081D>