From owner-freebsd-questions@FreeBSD.ORG Sat Nov 3 03:41:25 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DEF78B7 for ; Sat, 3 Nov 2012 03:41:25 +0000 (UTC) (envelope-from rfg@tristatelogic.com) Received: from outgoing.tristatelogic.com (segfault.tristatelogic.com [69.62.255.118]) by mx1.freebsd.org (Postfix) with ESMTP id B49948FC0A for ; Sat, 3 Nov 2012 03:41:25 +0000 (UTC) Received: from segfault-nmh-helo.tristatelogic.com (localhost [127.0.0.1]) by segfault.tristatelogic.com (Postfix) with ESMTP id B13225081B for ; Fri, 2 Nov 2012 20:41:24 -0700 (PDT) To: freebsd-questions@freebsd.org Subject: What tool is generating the various normal port install messages? Date: Fri, 02 Nov 2012 20:41:24 -0700 Message-ID: <32031.1351914084@tristatelogic.com> From: "Ronald F. Guilmette" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Nov 2012 03:41:25 -0000 I ran into something that looks like a small bug relating to install of the ffmpeg port. (See below.) I will be filing of formal PR (shortly) to report this bug, but usually, I do try to spend at least a few minutes before I file any formal PR, trying to work out for myself what the proper solution or workaround is. In this case however I am utterly stumped. I can't even get to first base. This has made me realize that I know a lot less about the FreeBSD ports building system than I thought I did. So I'm asking: Which tool (or piece of code) is it, exactly, that prints all these normal build messages when building or installing a port? I mean specifically these ones: ===> Generating temporary packing list INSTALL <...> STRIP <...> Who generates those message? I scrounged around for a short while within the /usr/share/mk directory and I was just not able to find anyplace where these messages are being generated, so I'm stumped. Oh yea, and the ports(7) man page is of no help either. (In short, there does seem to me to be some important stuff missing from TFM. And we can include in that any & all information about how to properly build & install any arbitrary port with debugging information preserved.) ===================================================================== ... % cd /usr/ports/multimedia/ffmpeg % make WITH_DEBUG=yes STRIP= deinstall ... % make WITH_DEBUG=yes STRIP= reinstall ===> 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.