gnuastro-devel
[Top][All Lists]
Advanced

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

[bug #57895] Failure to cross-compile Gnuastro 0.11 for x86_64-w64-mingw


From: Mosè Giordano
Subject: [bug #57895] Failure to cross-compile Gnuastro 0.11 for x86_64-w64-mingw32
Date: Tue, 25 Feb 2020 11:28:26 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:73.0) Gecko/20100101 Firefox/73.0

URL:
  <https://savannah.gnu.org/bugs/?57895>

                 Summary: Failure to cross-compile Gnuastro 0.11 for
x86_64-w64-mingw32
                 Project: GNU Astronomy Utilities
            Submitted by: giordano
            Submitted on: Tue 25 Feb 2020 05:28:24 PM CET
                Category: Installation
                Severity: 3 - Normal
              Item Group: Source code
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

After manually working around #57894, build for x86_64-w64-mingw32 fails with
the following error:


Making all in lib
make[2]: Entering directory '/workspace/srcdir/gnuastro-0.11/lib'
depbase=`echo arithmetic.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\
/bin/sh ../libtool  --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I. -I.. 
-I\../bootstrapped/lib -DSYSCONFIG_DIR=\"/workspace/destdir/etc\"
-I/workspace/destdir/include  -Wall -O3  -pthread -MT arithmetic.lo -MD -MP
-MF $depbase.Tpo -c -o arithmetic.lo arithmetic.c &&\
mv -f $depbase.Tpo $depbase.Plo
libtool: compile:  cc -DHAVE_CONFIG_H -I. -I.. -I../bootstrapped/lib
"-DSYSCONFIG_DIR=\"/workspace/destdir/etc\"" -I/workspace/destdir/include
-Wall -O3 -pthread -MT arithmetic.lo -MD -MP -MF .deps/arithmetic.Tpo -c
arithmetic.c  -DDLL_EXPORT -DPIC -o .libs/arithmetic.o
In file included from ./gnuastro/data.h:29:0,
                 from ./gnuastro/list.h:28,
                 from arithmetic.c:32:
/workspace/destdir/include/wcslib/wcs.h:1880:5: error: conflicting types for
‘wcsset’
 int wcsset(struct wcsprm *wcs);
     ^
In file included from ../bootstrapped/lib/string.h:41:0,
                 from arithmetic.c:28:
/opt/x86_64-w64-mingw32/x86_64-w64-mingw32/sys-root/include/string.h:179:20:
note: previous declaration of ‘wcsset’ was here
   wchar_t *__cdecl wcsset(wchar_t *_Str,wchar_t _Val)
__MINGW_ATTRIB_DEPRECATED_MSVC2005;
                    ^
make[2]: *** [Makefile:2158: arithmetic.lo] Error 1
make[2]: Leaving directory '/workspace/srcdir/gnuastro-0.11/lib'
make[1]: *** [Makefile:2077: all-recursive] Error 1
make[1]: Leaving directory '/workspace/srcdir/gnuastro-0.11'
make: *** [Makefile:1967: all] Error 2





    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?57895>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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