[schilytools] Case sensitivity problem trying to clone on macOS
Robert Clausecker
fuz at fuz.su
Tue Sep 20 13:17:48 CEST 2022
Hi rmd,
> > just tried that out, works on a case sensitive afs pretty weiil:
> >
> > rmd at macon ~/schily-tools 63% git -c http.sslVerify=false clone https://codeberg.org/schilytools/schilytools
> > Cloning into 'schilytools'...
> > remote: Enumerating objects: 22976, done.
> > remote: Counting objects: 100% (22976/22976), done.
> > remote: Compressing objects: 100% (4307/4307), done.
> > remote: Total 22976 (delta 18381), reused 22593 (delta 18005), pack-reused 0
> > Receiving objects: 100% (22976/22976), 12.83 MiB | 5.39 MiB/s, done.
> > Resolving deltas: 100% (18381/18381), done.
> > Checking out files: 100% (4180/4180), done.
> >
> > After that, a 'make install' without any options went through the
> > usual way but stopped at:
> > …
> > gcc -o smake make.o readfile.o parse.o update.o rules.o archconf.o job.o memory.o astoi.o astoll.o comerr.o error.o eaccess.o format.o getexecpath.o getnstimeofday.o jsprintf.o jssnprintf.o saveargs.o seterrno.o strcatl.o strlcpy.o strncpy.o strnlen.o streql.o getargs.o geterrno.o movebytes.o fillbytes.o ovstrcpy.o raisecond.o rename.o searchinpath.o uname.o unsetenv.o file_raise.o fileopen.o fcons.o cvmod.o flag.o flush.o dat.o filewrite.o fileread.o fileseek.o niread.o niwrite.o
> > Undefined symbols for architecture x86_64:
> > "_libintl_setlocale", referenced from:
> > _main in make.o
> > ld: symbol(s) not found for architecture x86_64
> > clang: error: linker command failed with exit code 1 (use -v to see invocation)
> > make: *** [install] Error 1
> >
> > could be that it is a gcc/clang issue but I am to tired now to actually look into it,
> > it’s around 0413 in the night…
> >
> > /rmd
> sorry, forgot to tell, tried that on a pretty old MacOSX 10.13 on a
> mid 2010 MacBook Pro, one of those one can change the battery,
> memory and disk...
>
> /rmd
Interesting. I tested on current aarch64 macOS and did not encounter this
issue. The fix is to link with -lintl. I did however have to patch in
-lintl in other places. Maybe the bootstrap smake needs to be massaged a
bit more to not try funky locale stuff.
Yours,
Robert Clausecker
--
() ascii ribbon campaign - for an 8-bit clean world
/\ - against html email - against proprietary attachments
More information about the schilytools
mailing list