View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum ↗

iraf-v216 · Code · Issues (50) · Pull requests (81)

iraf.net Issue #64

[linux] library format problem during build

closed closed olebole opened this issue on 2017-05-16


olebole commented on 2017-05-16

When building on linux 32 bit, there seem to be problems with the library format (which may cause the errors shown in #63). The following repeats every time an archive is checked out:

check out file `libds.a = /home/oles/Projects/2015/upstream/iraf/iraf-v216/lib/libds.a'  
warning, mlb_setdate: attempted illegal entry for dsmap.o  
warning, mlb_setdate: attempted illegal entry for dspmmap.o  
warning, mlb_setdate: attempted illegal entry for dsulut.o  
warning, mlb_setdate: attempted illegal entry for findz.o  
warning, mlb_setdate: attempted illegal entry for iisblk.o  
[...]  

Looking into scanlib.c, this happens when the date is <= 0. checking with ar tv shows that indeed these files are checked in with zero date:

$ ar tv bin/libcur.a  
rw-r--r-- 0/0   5132 Jan  1 08:00 1970 giotr.o  
rw-r--r-- 0/0  11808 Jan  1 08:00 1970 grcaxes.o  
rw-r--r-- 0/0   1764 Jan  1 08:00 1970 grcclose.o  
rw-r--r-- 0/0  15204 Jan  1 08:00 1970 grccmd.o  
rw-r--r-- 0/0   1888 Jan  1 08:00 1970 grcinit.o  
rw-r--r-- 0/0   3928 Jan  1 08:00 1970 grcopen.o  
[...]  

Fixed in #71


Last updated on 2017-05-16