ports/150396: misc/mc - new version fails to build due to linker error

Marko Njezic mrmax063 at maxempire.com
Wed Sep 8 23:20:01 UTC 2010


>Number:         150396
>Category:       ports
>Synopsis:       misc/mc - new version fails to build due to linker error
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Sep 08 23:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Marko Njezic
>Release:        8.1-RELEASE
>Organization:
MAX Interactive corp.
>Environment:
FreeBSD vmbsd 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010     root at almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
After Midnight Commander port has been updated to the version 4.7.4, it now fails to build due to linker error.

By a quick look, it appears that the configure script is not able to find SLANG library headers due to some change in the new m4 macros from version 4.7.4 compared to the old version 4.7.2, where everything worked fine.
>How-To-Repeat:
[root at vmbsd]:/usr/ports/misc/mc> make
..
===>  Found saved configuration for mc-4.7.0.1
===>  Extracting for mc-4.7.4
=> MD5 Checksum OK for mc-4.7.4.tar.lzma.
=> SHA256 Checksum OK for mc-4.7.4.tar.lzma.
===>   mc-4.7.4 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Patching for mc-4.7.4
===>   mc-4.7.4 depends on file: /usr/local/bin/perl5.10.1 - found
===>  Applying FreeBSD patches for mc-4.7.4
/usr/bin/sed -i.bak -e 's/SUBDIRS = intl/SUBDIRS =/' /usr/ports/misc/mc/work/mc-4.7.4/Makefile.in
===>   mc-4.7.4 depends on executable: pkg-config - found
===>   mc-4.7.4 depends on executable: gmake - found
===>   mc-4.7.4 depends on file: /usr/local/bin/perl5.10.1 - found
===>   mc-4.7.4 depends on executable: pkg-config - found
===>   mc-4.7.4 depends on shared library: slang.2 - found
===>   mc-4.7.4 depends on shared library: iconv.3 - found
===>   mc-4.7.4 depends on shared library: intl - found
===>   mc-4.7.4 depends on shared library: glib-2.0.0 - found
===>  Configuring for mc-4.7.4
..
checking for subshell support... no
checking for SLANG... yes
checking for slang/slang.h... no
..
  CCLD   mc
/usr/local/lib/libslang.so: undefined reference to `tgetnum'
/usr/local/lib/libslang.so: undefined reference to `tgetflag'
/usr/local/lib/libslang.so: undefined reference to `tgetent'
/usr/local/lib/libslang.so: undefined reference to `tgetstr'
gmake[3]: *** [mc] Error 1
gmake[3]: Leaving directory `/usr/ports/misc/mc/work/mc-4.7.4/src'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/ports/misc/mc/work/mc-4.7.4/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/misc/mc/work/mc-4.7.4'
gmake: *** [all] Error 2
*** Error code 1

Stop in /usr/ports/misc/mc.
*** Error code 1

Stop in /usr/ports/misc/mc.

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list