Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 19:36:06 +0400 (MSD)
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/117427: graphics/libgphoto2: doesn't build
Message-ID:  <20071023153606.D057B407E@hades.panopticon>
Resent-Message-ID: <200710231540.l9NFe167077520@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         117427
>Category:       ports
>Synopsis:       graphics/libgphoto2: doesn't build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 23 15:40:00 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE-p20 i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE-p20 FreeBSD 6.1-RELEASE-p20 #1: Tue Oct 23 05:28:10 MSD 2007 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386


>Description:

Does not build due to some libintl problems. Full log and list of packages on my system here: http://www.amdmi3.ru/gphoto2/
Btw, it DOES build if WITHOUT_NLS is defined.

--- build.log.txt begins here ---
===>  Extracting for libgphoto2-2.4.0
=> MD5 Checksum OK for libgphoto2-2.4.0.tar.bz2.
=> SHA256 Checksum OK for libgphoto2-2.4.0.tar.bz2.
===>  Patching for libgphoto2-2.4.0
===>   libgphoto2-2.4.0 depends on file: /usr/local/bin/libtool - found
===>  Applying FreeBSD patches for libgphoto2-2.4.0
===>   libgphoto2-2.4.0 depends on executable: gmake - found
===>   libgphoto2-2.4.0 depends on file: /usr/local/bin/libtool - found
===>   libgphoto2-2.4.0 depends on executable: pkg-config - found
===>   libgphoto2-2.4.0 depends on shared library: usb - found
===>   libgphoto2-2.4.0 depends on shared library: exif - found
===>   libgphoto2-2.4.0 depends on shared library: intl - found
===>   libgphoto2-2.4.0 depends on shared library: ltdl.4 - found
===>  Configuring for libgphoto2-2.4.0
...
checking for GNU gettext in libintl... yes
checking whether to use NLS... yes
checking where the gettext function comes from... external libintl
checking how to link with libintl... /usr/local/lib/libintl.so -L/usr/local/lib /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
...
===>  Building for libgphoto2-2.4.0
...
gmake[2]: Leaving directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/tests'
Making all in po
gmake[2]: Entering directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/po'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/po'
Making all in packaging
gmake[2]: Entering directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/packaging'
Making all in generic
gmake[3]: Entering directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/packaging/generic'
depbase=`echo print-camera-list.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\
	cc -DHAVE_CONFIG_H -I. -I../..  -I../.. -I../.. -I../../libgphoto2_port -I../../libgphoto2 -I../../libgphoto2  -Wall -g -D_GPHOTO2_INTERNAL_CODE -DLOCALEDIR=\"/usr/local/share/locale\" -DCAMLIBS=\"/usr/local/lib/libgphoto2/2.4.0\" -I../.. -I../.. -I../../libgphoto2_port -I../../libgphoto2 -I../../libgphoto2  -Wall -g -D_GPHOTO2_INTERNAL_CODE -I/usr/local/include -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -MT print-camera-list.o -MD -MP -MF $depbase.Tpo -c -o print-camera-list.o print-camera-list.c &&\
	mv -f $depbase.Tpo $depbase.Po
print-camera-list.c:462: warning: 'version_str_func' defined but not used
/bin/sh /usr/work/usr/ports/graphics/libgphoto2/work/gnome-libtool --tag=CC   --mode=link cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -Wall -g  -o print-camera-list print-camera-list.o ../../libgphoto2/libgphoto2.la ../../libgphoto2_port/libgphoto2_port/libgphoto2_port.la -L/usr/local/lib -lexif -lm   
mkdir .libs
cc -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -O2 -fno-strict-aliasing -pipe -march=pentium4 -Wall -Wmissing-declarations -Wmissing-prototypes -Wall -g -o .libs/print-camera-list print-camera-list.o  ../../libgphoto2/.libs/libgphoto2.so /usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so -L/usr/local/lib ../../libgphoto2_port/libgphoto2_port/.libs/libgphoto2_port.so /usr/local/lib/libltdl.so /usr/local/lib/libexif.so -lm  -Wl,--rpath -Wl,/usr/local/lib
../../libgphoto2/.libs/libgphoto2.so: undefined reference to `libintl_bindtextdomain'
../../libgphoto2/.libs/libgphoto2.so: undefined reference to `libintl_dgettext'
../../libgphoto2/.libs/libgphoto2.so: undefined reference to `libintl_bind_textdomain_codeset'
gmake[3]: *** [print-camera-list] Error 1
gmake[3]: Leaving directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/packaging/generic'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0/packaging'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/work/usr/ports/graphics/libgphoto2/work/libgphoto2-2.4.0'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/graphics/libgphoto2.
--- build.log.txt ends here ---

>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20071023153606.D057B407E>