Bug 196467 - audio/ncmpcpp: script "configure" failed unexpectedly
Summary: audio/ncmpcpp: script "configure" failed unexpectedly
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-03 19:23 UTC by intothearmsofrighteousanger
Modified: 2015-10-11 12:22 UTC (History)
5 users (show)

See Also:
bugzilla: maintainer-feedback? (yamagi)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description intothearmsofrighteousanger 2015-01-03 19:23:38 UTC

    
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2015-01-03 19:23:38 UTC
Auto-assigned to maintainer dhn@FreeBSD.org
Comment 2 intothearmsofrighteousanger 2015-01-03 19:23:56 UTC
===>   Script "configure" failed unexpectedly.
Please report the problem to dhn@FreeBSD.org [maintainer] and attach the "/usr/ports/audio/ncmpcpp/work/ncmpcpp-0.6.2/config.log" including the output of the failure of your make command. ALso, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/audio/ncmpcpp
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/audio/ncmpcpp




How to reproduce:
cd /usr/ports/audio/ncmpcpp
make install clean
Comment 3 protocelt 2015-01-05 03:36:25 UTC
I have the following failure during configure I think may be related as well:

portmaster: ncmpcpp-0.5.10_4
===>>> Currently installed version: ncmpcpp-0.5.10_4
===>>> Port directory: /usr/ports/audio/ncmpcpp

===>>> Gathering distinfo list for installed ports

===>>> Launching 'make checksum' for audio/ncmpcpp in background
===>>> Gathering dependency list for audio/ncmpcpp from ports
===>>> Initial dependency check complete for audio/ncmpcpp

portmaster: ncmpcpp-0.5.10_4
===>>> Starting build for audio/ncmpcpp <<<===

===>>> All dependencies are up to date

===>  Cleaning for ncmpcpp-0.6.2
===>  Found saved configuration for ncmpcpp-0.6.2
===>   ncmpcpp-0.6.2 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by ncmpcpp-0.6.2 for building
===>  Extracting for ncmpcpp-0.6.2
===>  Patching for ncmpcpp-0.6.2
===>  Applying FreeBSD patches for ncmpcpp-0.6.2
===>   ncmpcpp-0.6.2 depends on file: /usr/local/lib/libncurses.so.5 - found
===>   ncmpcpp-0.6.2 depends on executable: pkgconf - found
===>   ncmpcpp-0.6.2 depends on shared library: libmpdclient.so - found (/usr/local/lib/libmpdclient.so.2.0.9)
===>   ncmpcpp-0.6.2 depends on shared library: libfftw3.so - found (/usr/local/lib/libfftw3.so.3.3.2)
===>   ncmpcpp-0.6.2 depends on shared library: libboost_filesystem.so - found (/usr/local/lib/libboost_filesystem.so.1.55.0)
===>   ncmpcpp-0.6.2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0.4200.1)
===>  Configuring for ncmpcpp-0.6.2
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of c++... gcc3
checking build system type... amd64-portbld-freebsd10.1
checking host system type... amd64-portbld-freebsd10.1
checking how to print strings... printf
checking for gcc... cc
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking whether cc understands -c and -o together... yes
checking dependency style of cc... gcc3
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by cc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... (cached) 262144
checking how to convert amd64-portbld-freebsd10.1 file names to amd64-portbld-freebsd10.1 format... func_convert_file_noop
checking how to convert amd64-portbld-freebsd10.1 file names to toolchain format... func_convert_file_noop
checking for /usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from cc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... cpp
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC -DPIC
checking if cc PIC flag -fPIC -DPIC works... yes
checking if cc static flag -static works... yes
checking if cc supports -c -o file.o... yes
checking if cc supports -c -o file.o... (cached) yes
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd10.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... c++ -E
checking for ld used by c++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking for c++ option to produce PIC... -fPIC -DPIC
checking if c++ PIC flag -fPIC -DPIC works... yes
checking if c++ static flag -static works... yes
checking if c++ supports -c -o file.o... yes
checking if c++ supports -c -o file.o... (cached) yes
checking whether the c++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd10.1 ld.so
checking how to hardcode library paths into programs... immediate
checking whether compiler supports -std=c++0x... yes
checking whether compiler supports initializer lists... yes
checking whether compiler supports auto keyword... yes
checking whether compiler supports lambda functions... yes
checking whether calling derived member function passed to lambda without explicit this usage works ... yes
checking whether compiler supports override keyword... yes
checking boost/bind.hpp usability... yes
checking boost/bind.hpp presence... yes
checking for boost/bind.hpp... yes
checking boost/lexical_cast.hpp usability... yes
checking boost/lexical_cast.hpp presence... yes
checking for boost/lexical_cast.hpp... yes
checking boost/algorithm/string.hpp usability... yes
checking boost/algorithm/string.hpp presence... yes
checking for boost/algorithm/string.hpp... yes
checking boost/filesystem.hpp usability... yes
checking boost/filesystem.hpp presence... yes
checking for boost/filesystem.hpp... yes
checking for main in -lboost_filesystem... yes
checking for main in -lboost_system... yes
checking boost/format.hpp usability... yes
checking boost/format.hpp presence... yes
checking for boost/format.hpp... yes
checking boost/locale.hpp usability... yes
checking boost/locale.hpp presence... yes
checking for boost/locale.hpp... yes
checking for main in -lboost_locale... no
configure: error: no boost.locale library found
===>  Script "configure" failed unexpectedly.
Please report the problem to dhn@FreeBSD.org [maintainer] and attach the
"/usr/portswkdir/usr/ports/audio/ncmpcpp/work/ncmpcpp-0.6.2/config.log"
including the output of the failure of your make command. Also, it might be
a good idea to provide an overview of all packages installed on your system
(e.g. a /usr/local/sbin/pkg-static info -g -Ea).
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/audio/ncmpcpp
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/ncmpcpp

===>>> make build failed for audio/ncmpcpp
===>>> Aborting update


===>>> You can restart from the point of failure with this command line:
       portmaster <flags> audio/ncmpcpp
Comment 4 Jens Grassel 2015-01-26 12:59:00 UTC
Hi,

I can confirm this bug. The same error (no boost.locale library found) occurs on my machine running 10.1-RELEASE.

Regards,

Jens
Comment 5 Jens Grassel 2015-02-12 09:11:39 UTC
Hi,

I may have found the solution for this problem:

In the boost-libs port the option ICU was enabled. After disabling it and recompiling the boost-libs ncmpcpp compiled just fine.

Regards,

Jens
Comment 6 intothearmsofrighteousanger 2015-02-17 18:00:00 UTC
(In reply to jan0sch from comment #5)
Thanks, that solved the issue for me too.
Comment 7 Jan Beich freebsd_committer freebsd_triage 2015-08-30 23:03:36 UTC
Reset assignee per ports r386920.
Comment 8 yamagi 2015-08-31 12:36:44 UTC
Hmm... I'm unable to reproduce this. At least when libboost is build with standard options the ncmpcpp configure script is able to find and use it. Since we've done several updates since the last report: Is anyone still able to reproduce this?
Comment 9 Thomas Zander freebsd_committer freebsd_triage 2015-10-11 12:22:03 UTC
This builds fine with an up to date ports tree and default options.