From kstars-devel Tue Dec 19 05:04:39 2023 From: Jasem Mutlaq Date: Tue, 19 Dec 2023 05:04:39 +0000 To: kstars-devel Subject: Re: Build is broken in 3.6.7 without CFitsio Message-Id: X-MARC-Message: https://marc.info/?l=kstars-devel&m=170296227310675 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--000000000000620830060cd5ce7d" --000000000000620830060cd5ce7d Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable THank you for the report. cfitsio is optional, I can confirm the issue. Hy added ImageOverlayComponent in 3.6.8 that includes fitsdata. So we either disable this component when cfitsio is not detected, or we enable it but as an #ifdef around line imageoverlaycomponent.cpp line 392 -- Best Regards, Jasem Mutlaq On Tue, Dec 19, 2023 at 12:45=E2=80=AFAM Albert Astals Cid = wrote: > Please CC me I'm not on the list. > > > > You can see the log here > > https://buildbot.flathub.org/api/v2/logs/3498660/raw > > CFitsio is marked as not found > > -- The following OPTIONAL packages have not been found: > > * CFitsio, FITS IO Library, fitsio.html > > Support for the FITS (Flexible Image Transport System) data format in > KStars. > > > but then it's tried to be used anyway. > > > /run/build/kstars/kstars/fitsviewer/fitsdata.h:33:10: fatal error: > fitsio.h: > No such file or directory > 33 | #include > > > What is the fix? Should CFitsio be made mandatory? Or is there a way to > make > it compile without it? > > Cheers, > Albert > > Please CC me I'm not on the list. > > > > --000000000000620830060cd5ce7d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
THank you for the report. cfitsio is optional, I can confi= rm=C2=A0the issue. Hy added ImageOverlayComponent in 3.6.8 that includes fi= tsdata. So we either disable this component when cfitsio is not detected, o= r we enable it but as an #ifdef around line imageoverlaycomponent.cpp line = 392

--
Best Regards,
Jasem Mutlaq



On Tue, Dec 19, 2023 at 12:45=E2=80=AFAM= Albert Astals Cid <aacid@kde.org&g= t; wrote:
Please= CC me I'm not on the list.



You can see the log here

https://buildbot.flathub.org/api/v2/logs/3498660= /raw

CFitsio is marked as not found

-- The following OPTIONAL packages have not been found:

=C2=A0* CFitsio, FITS IO Library, <https://heasar= c.gsfc.nasa.gov/fitsio/
fitsio.html
>
=C2=A0 =C2=A0Support for the FITS (Flexible Image Transport System) data fo= rmat in
KStars.


but then it's tried to be used anyway.


/run/build/kstars/kstars/fitsviewer/fitsdata.h:33:10: fatal error: fitsio.h= :
No such file or directory
=C2=A0 =C2=A033 | #include <fitsio.h>


What is the fix? Should CFitsio be made mandatory? Or is there a way to mak= e
it compile without it?

Cheers,
=C2=A0 Albert

Please CC me I'm not on the list.



--000000000000620830060cd5ce7d--