[Bug 223724] graphics/netpbm can not be upgraded

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 17 21:38:53 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223724

            Bug ID: 223724
           Summary: graphics/netpbm can not be upgraded
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: tobik at freebsd.org
          Reporter: mi at ALDAN.algebra.com
          Assignee: tobik at freebsd.org
             Flags: maintainer-feedback?(tobik at freebsd.org)

Trying to build the new version (10.80.00) with the old one (10.35.98) still
installed, I kept getting various errors like:

cc -o ppmtompeg ppmtompeg.o mfwddct.o postdct.o huff.o bitio.o mheaders.o 
mpeg.o subsample.o param.o rgbtoycc.o readframe.o combine.o jrevdct.o frame.o
fsize.o frametype.o specifics.o rate.o opts.o input.o  parallel.o psocket.o
gethostname.o frames.o iframe.o pframe.o bframe.o psearch.o bsearch.o block.o 
jpeg.o    -L/opt/lib -ljpeg  
-L/mi/ports/graphics/netpbm/work/netpbm-10.80.00/lib -lnetpbm    -lm  
ppmtompeg.o: In function `main':
ppmtompeg.c:(.text+0x9a5): undefined reference to `pm_strfree'
ppmtompeg.o: In function `getUserFrameFile':
ppmtompeg.c:(.text+0xcb1): undefined reference to `pm_asprintf'
ppmtompeg.c:(.text+0xcfb): undefined reference to `pm_strfree'
ppmtompeg.c:(.text+0xd04): undefined reference to `pm_strfree'


Evidently, ${LOCALBASE}/lib is in the linker's search path ahead of the
build-directory and so the already installed libnetpbm is picked instead of the
just-built version.

Obviously, this is unhealthy and dangerous.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list