Package Details: gsc 1.2-5

Git Clone URL: https://aur.archlinux.org/gsc.git (read-only, click to copy)
Package Base: gsc
Description: All-sky catalog of positions and magnitudes for ~19 million stars and other objects
Upstream URL: http://gsss.stsci.edu/Catalogs/GSC/GSC1/GSC1.htm
Licenses: GPL2
Submitter: pozar87
Maintainer: pozar87
Last Packager: pozar87
Votes: 0
Popularity: 0.000000
First Submitted: 2020-05-04 08:14 (UTC)
Last Updated: 2022-10-21 13:41 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

astromatto commented on 2024-09-03 11:01 (UTC)

same here, compilation fails now, code hasn't changed in years, maybe some glibc change?

maxawake commented on 2024-07-06 18:00 (UTC) (edited on 2024-07-06 18:01 (UTC) by maxawake)

Fails to build:

==> Making package: gsc 1.2-5 (Sat 06 Jul 2024 07:58:44 PM CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
rm -f *.exe epoch encode core
cc -I. -O gsc.c prtgsc.c dispos.c decode_c.c get_head.c find_reg.c to_d.c dtos.c -lm
gsc.c:356:1: error: return type defaults to ‘int’ [-Wimplicit-int]
  356 | main(argc,argv)
      | ^~~~
gsc.c: In function ‘main’:
gsc.c:442:20: error: implicit declaration of function ‘to_d’; did you mean ‘tod’? [-Wimplicit-function-declaration]
  442 |                 if(to_d(line,&da0,&dd0) <0) {
      |                    ^~~~
      |                    tod
gsc.c:614:16: error: implicit declaration of function ‘lseek’; did you mean ‘fseek’? [-Wimplicit-function-declaration]
  614 |         size = lseek(f2,0L,2);
      |                ^~~~~
      |                fseek
gsc.c:617:12: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
  617 |         cc=read(f2,ind2,size);
      |            ^~~~
      |            fread
gsc.c:621:9: error: implicit declaration of function ‘close’; did you mean ‘pclose’? [-Wimplicit-function-declaration]
  621 |         close(f2);
      |         ^~~~~
      |         pclose
get_head.c: In function ‘get_header’:
get_head.c:25:13: error: implicit declaration of function ‘read’; did you mean ‘fread’? [-Wimplicit-function-declaration]
   25 |         if (read(fp,w,4) != 4) return((char *)0);
      |             ^~~~
      |             fread
to_d.c: In function ‘to_d’:
to_d.c:61:16: error: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
   61 |         while (isspace(*str)) str++;
      |                ^~~~~~~
to_d.c:17:1: note: include ‘<ctype.h>’ or provide a declaration of ‘isspace’
   16 | #include <string.h>
  +++ |+#include <ctype.h>
   17 | 
to_d.c:62:13: error: implicit declaration of function ‘ispunct’ [-Wimplicit-function-declaration]
   62 |         if (ispunct(*str)) return(-1);
      |             ^~~~~~~
to_d.c:62:13: note: include ‘<ctype.h>’ or provide a declaration of ‘ispunct’
make: *** [Makefile:57: gsc.exe] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: gsc-exit status 4
 -> Failed to install the following packages. Manual intervention is required:
gsc - exit status 4

astromatto commented on 2022-10-21 13:35 (UTC)

can we bump the arch to all? GSC works on arm/aarch64

pozar87 commented on 2021-02-28 11:34 (UTC)

That's awesome :) Thanks for testing!

wgauvin commented on 2021-02-28 06:27 (UTC)

That works. I did an uninstall and removed the locally install southern hemisphere files. Reinstalled and did a test.

Thanks updating this.

pozar87 commented on 2021-02-26 17:55 (UTC)

Indeed, my mistake :( Should be better now, please test it.

wgauvin commented on 2021-02-23 11:06 (UTC)

This only installs the Northern hemisphere data files, this doesn't work when doing a cone search for a negative declination.

pozar87 commented on 2020-08-20 10:20 (UTC)

Thanks! Sums updated, should be fine again.

mobarre commented on 2020-08-20 09:19 (UTC)

sha256 sum seems wrong. I did manage to install it by modifying the sha256sum of the catalog