Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Nov 2012 20:41:24 -0700
From:      "Ronald F. Guilmette" <rfg@tristatelogic.com>
To:        freebsd-questions@freebsd.org
Subject:   What tool is generating the various normal port install messages?
Message-ID:  <32031.1351914084@tristatelogic.com>

Next in thread | Raw E-Mail | Index | Archive | Help

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.




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?32031.1351914084>