pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/40153: pkgsrc/devel/binutils fails to build on solaris 10 sparc



>Number:         40153
>Category:       pkg
>Synopsis:       pkgsrc/devel/binutils fails to build on solaris 10 sparc
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Dec 11 01:35:00 +0000 2008
>Originator:     Tim
>Release:        pkgsrc current
>Organization:
>Environment:
SunOS hostname 5.10 Generic_137111-05 sun4u sparc SUNW,Sun-Fire-V440 Solaris
>Description:
build on solaris 10 sparc with pkgsrc/lang/gcc34 and pkgsrc/devel/gettext 
results in:

gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O 
-I/usr/pkg/gcc34/include 
-I/usr/pkg/gcc34/lib/gcc/sparc-sun-solaris2.10/3.4.6/include -I/usr/include 
-I/usr/pkg/include -o size size.o bucomm.o version.o filemode.o  
../bfd/.libs/libbfd.a ../libiberty/libiberty.a
size.o: In function `usage':
size.c:(.text+0x8): undefined reference to `libintl_gettext'
size.c:(.text+0x28): undefined reference to `libintl_gettext'
size.c:(.text+0x40): undefined reference to `libintl_gettext'
size.c:(.text+0x58): undefined reference to `libintl_gettext'
size.c:(.text+0x8c): undefined reference to `libintl_gettext'
size.o: In function `main':
size.c:(.text+0xe8): undefined reference to `libintl_bindtextdomain'
size.c:(.text+0xf0): undefined reference to `libintl_textdomain'
size.c:(.text+0x1b4): undefined reference to `libintl_gettext'
size.c:(.text+0x258): undefined reference to `libintl_gettext'
bucomm.o: In function `set_default_bfd_target':
bucomm.c:(.text+0x180): undefined reference to `libintl_gettext'
bucomm.o: In function `list_matching_formats':
bucomm.c:(.text+0x1bc): undefined reference to `libintl_gettext'
bucomm.o: In function `list_supported_targets':
bucomm.c:(.text+0x250): undefined reference to `libintl_gettext'
bucomm.o:bucomm.c:(.text+0x270): more undefined references to `libintl_gettext' 
follow
../bfd/.libs/libbfd.a(archive.o): In function `_bfd_write_archive_contents':
archive.c:(.text+0x229c): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(archive.o): In function 
`_bfd_archive_bsd_update_armap_timestamp':
archive.c:(.text+0x2a74): undefined reference to `libintl_dgettext'
archive.c:(.text+0x2b58): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_errmsg':
bfd.c:(.text+0x54): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o): In function `bfd_assert':
bfd.c:(.text+0x608): undefined reference to `libintl_dgettext'
../bfd/.libs/libbfd.a(bfd.o):bfd.c:(.text+0x650): more undefined references to 
`libintl_dgettext' follow
collect2: ld returned 1 exit status
*** Error code 1

Stop.
bmake: stopped in /usr/pkg/pkgsrc/devel/binutils/work/binutils-2.17/binutils

>How-To-Repeat:
build on solaris 10 sparc with pkgsrc/lang/gcc34 and pkgsrc/devel/gettext
>Fix:
diff -u -r1.36 Makefile
--- Makefile    20 Jun 2008 01:09:12 -0000      1.36
+++ Makefile    11 Dec 2008 01:26:29 -0000
@@ -24,6 +24,7 @@
 
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --with-lib-path='/lib:/usr/lib'
+CONFIGURE_ARGS+=       --with-included-gettext
 GNU_PROGRAM_PREFIX?=   gnu-
 CONFIGURE_ARGS+=       --program-prefix=${GNU_PROGRAM_PREFIX:Q}
 PLIST_SUBST+=          GNU_PROGRAM_PREFIX=${GNU_PROGRAM_PREFIX:Q}



Home | Main Index | Thread Index | Old Index