[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems when "making" "gnustep-base-1.26.0" folder
From: |
Ivan Vučica |
Subject: |
Re: Problems when "making" "gnustep-base-1.26.0" folder |
Date: |
Wed, 17 Feb 2021 14:42:03 +0000 |
It's sufficient to send one mail to the mailing list, from a single
source address :-)
On Wed, Feb 17, 2021 at 12:54 PM juan-Cristobal Castro <jcc3d@gmx.com> wrote:
>
> I am trying to install the four core GNUstep packages on cygwin64 on Windows
> 10 64bit, I have successfully build the first package "gnustep-make-2.7.0",
> now the second package "gnustep-base-1.26.0" I have successfully
> "./configure" it, but I get an error when I "make" it, here is the error
> output of the command prompt :
>
> "$ make
> This is gnustep-make 2.7.0. Type 'make print-gnustep-make-help' for help.
> Running in gnustep-make version 2 strict mode.
> Making all in Source ...
> Making all in Additions ...
> Making all for subproject Additions...
> Linking subproject Additions ...
> /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld:
> obj/Additions.obj/GCObject.m.o:/gnustep-base-1.26.0/Source/Additions/../../Headers/Foundation/NSException.h:276:
> multiple definition of `NSRangeException';
> obj/Additions.obj/GSObjCRuntime.m.o:/gnustep-base-1.26.0/Source/Additions/../../Headers/Foundation/NSException.h:276:
> first defined here
>
> /usr/lib/gcc/x86_64-pc-cygwin/10/../../../../x86_64-pc-cygwin/bin/ld:
> obj/Additions.obj/GCObject.m.o:/gnustep-base-1.26.0/Source/Additions/../../Headers/Foundation/NSException.h:271:
> multiple definition of `NSPortTimeoutException';
> obj/Additions.obj/GSObjCRuntime.m.o:/gnustep-base-1.26.0/Source/Additions/../../Headers/Foundation/NSException.h:271:
> first defined here"
>
>
> The two code blocks that start with "/usr/lib/gcc/" are repeated and
> repeated (many lines of ouput error), it looks like it is a linking problem
> as the error speaks about "ld"
>
>
GNUstep-base 1.26 is from 2019; we've also released 1.27 in 2020. Is
there a reason why you're using the older version?
Either way this is odd, given I've built GNUstep on cygwin a few years
ago and I don't recall this issue. And NSException.h hasn't
significantly changed before 1.26 in years:
https://github.com/gnustep/libs-base/commits/master/Headers/Foundation/NSException.h
It also looks like the declarations in headers are marked as
GS_EXPORT, so I'm not sure why they'd be causing an issue.
1) Have you confirmed the issue with the latest gnustep-base from git?
We might be cutting a release soon and things may have changed since
last release.
2) Can you try fully uninstalling, then building an older pair of
make+gnustep-base until you find one that works? (Try going back to
2012 or so.)
3) Even better: if you can use git-bisect to find the commit that
started causing the issue, that'd be great.
https://git-scm.com/docs/git-bisect
GNUstep-make builds + installs very quickly, and gnustep-base does as
well, so once you write a short script to automate gnustep-make's
build+install and gnustep-base's build, it should be easy to
repeatedly build different pairs of releases, or to use git-bisect.
I'm mentioning only NSException.h, because whatever the issue, it's
already present there.