bug-gnulib
[Top][All Lists]
Advanced

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

Re: new snapshot available: coreutils-8.13.29-43a9


From: Bruno Haible
Subject: Re: new snapshot available: coreutils-8.13.29-43a9
Date: Sat, 8 Oct 2011 16:37:49 +0200
User-agent: KMail/1.13.6 (Linux/2.6.37.6-0.5-desktop; KDE/4.6.0; x86_64; ; )

On MacOS X 10.5, the following gnulib tests fail to link:


  CCLD     test-faccessat
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-faccessat] Error 1

  CCLD     test-fchdir
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-fchdir] Error 1

  CCLD     test-getcwd-lgpl
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-getcwd-lgpl] Error 1

  CCLD     test-getcwd
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-getcwd] Error 1

  CCLD     test-fchmodat
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-fchmodat] Error 1

  CCLD     test-stat
Undefined symbols:
  "_libintl_gettext", referenced from:
      _openat_save_fail in libcoreutils.a(openat-die.o)
      _openat_restore_fail in libcoreutils.a(openat-die.o)
      _error_tail in libcoreutils.a(error.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[3]: *** [test-stat] Error 1


This is apparently due to the recent implementation change of getcwd().
This patch should fix it:


2011-10-08  Bruno Haible  <address@hidden>

        Tests: Avoid link failures w.r.t. libintl.
        * modules/faccessat-tests (Makefile.am): Link test-faccessat against
        $(LIBINTL).
        * modules/fchdir-tests (Makefile.am): Link test-fchdir against
        $(LIBINTL).
        * modules/getcwd-lgpl-tests (Makefile.am): Link test-getcwd-lgpl
        against $(LIBINTL).
        * modules/getcwd-tests (Makefile.am): Link test-getcwd against
        $(LIBINTL).
        * modules/openat-tests (Makefile.am): Link test-fchmodat against
        $(LIBINTL).
        * modules/stat-tests (Makefile.am): Link test-stat against $(LIBINTL).

--- modules/faccessat-tests.orig        Sat Oct  8 16:33:31 2011
+++ modules/faccessat-tests     Sat Oct  8 15:34:02 2011
@@ -11,4 +11,4 @@
 Makefile.am:
 TESTS += test-faccessat
 check_PROGRAMS += test-faccessat
-test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS)
+test_faccessat_LDADD = $(LDADD) $(LIB_EACCESS) @LIBINTL@
--- modules/fchdir-tests.orig   Sat Oct  8 16:33:31 2011
+++ modules/fchdir-tests        Sat Oct  8 16:24:54 2011
@@ -12,3 +12,4 @@
 Makefile.am:
 TESTS += test-fchdir
 check_PROGRAMS += test-fchdir
+test_fchdir_LDADD = $(LDADD) $(LIBINTL)
--- modules/getcwd-lgpl-tests.orig      Sat Oct  8 16:33:31 2011
+++ modules/getcwd-lgpl-tests   Sat Oct  8 16:25:36 2011
@@ -10,3 +10,4 @@
 Makefile.am:
 TESTS += test-getcwd-lgpl
 check_PROGRAMS += test-getcwd-lgpl
+test_getcwd_lgpl_LDADD = $(LDADD) $(LIBINTL)
--- modules/getcwd-tests.orig   Sat Oct  8 16:33:31 2011
+++ modules/getcwd-tests        Sat Oct  8 15:34:03 2011
@@ -13,3 +13,4 @@
 Makefile.am:
 TESTS += test-getcwd
 check_PROGRAMS += test-getcwd
+test_getcwd_LDADD = $(LDADD) @LIBINTL@
--- modules/openat-tests.orig   Sat Oct  8 16:33:31 2011
+++ modules/openat-tests        Sat Oct  8 15:34:03 2011
@@ -36,6 +36,7 @@
 check_PROGRAMS += \
   test-fchmodat test-fchownat test-fstatat test-mkdirat test-openat \
   test-unlinkat
+test_fchmodat_LDADD = $(LDADD) @LIBINTL@
 test_fchownat_LDADD = $(LDADD) @LIBINTL@
 test_fstatat_LDADD = $(LDADD) @LIBINTL@
 test_mkdirat_LDADD = $(LDADD) @LIBINTL@
--- modules/stat-tests.orig     Sat Oct  8 16:33:31 2011
+++ modules/stat-tests  Sat Oct  8 16:26:08 2011
@@ -15,3 +15,4 @@
 Makefile.am:
 TESTS += test-stat
 check_PROGRAMS += test-stat
+test_stat_LDADD = $(LDADD) $(LIBINTL)
-- 
In memoriam Engin Ceber <http://en.wikipedia.org/wiki/Engin_Ceber>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]