Opened 4 years ago
Last modified 6 months ago
#61324 assigned defect
ds9 @8.1: error: implicit declaration of function 'panic' is invalid in C99
Reported by: | xnaxe29 (Adarsh Ranjan) | Owned by: | lpsinger (Leo Singer) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | DaveStrickland (Dave Strickland), astrofitz (Michael Fitzgerald), chrstphrchvz (Christopher Chavez), gallc1 | |
Port: | ds9 |
Description (last modified by mf2k (Frank Schima))
I tried to install ds9 +x11 version using port so that I can access it from terminal. the installation fails with the following report -
Error: Failed to build ds9: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/main.log for details. Error: Follow https://guide.macports.org/#project.tickets to report a bug. Error: Processing of port ds9 failed
The error lines in the logfile is given below -
SAOImageDS9-9a1da6b' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_ds9/ds9/work/SAOImageDS9" && /usr/bin/make -j16 -w all JOBS=16 CC=/usr/bin/clang CXX=/usr/bin/clang++ CXXFLAGS="-Os -std=c++11 -stdlib=libc++" XINCLUDES=-I/opt/local/include XML_INCLUDEDIR=/opt/local/include/libxml2 XFT_LIBS="-lXft -lfontconfig" :info:build Exit code: 2 :error:build Failed to build ds9: command execution failed :debug:build Error code: CHILDSTATUS 80290 2 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Please help regarding this. Thanks Adarsh
Attachments (2)
Change History (16)
comment:1 Changed 4 years ago by xnaxe29 (Adarsh Ranjan)
Keywords: | ds9 added |
---|
comment:2 Changed 4 years ago by mf2k (Frank Schima)
comment:3 Changed 4 years ago by mf2k (Frank Schima)
Status: | new → assigned |
---|
And fill in the Port field.
comment:4 Changed 4 years ago by mf2k (Frank Schima)
Keywords: | ds9 removed |
---|---|
Owner: | set to lpsinger |
Port: | ds9 added |
comment:5 Changed 4 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|
comment:6 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)
Please attach the main.log file; we can't see what the problem was without that.
Changed 3 years ago by carolinestraatman
main.log from carolinestraatman
comment:7 Changed 3 years ago by carolinestraatman
I would like to revive this ticket as I'm having the same problem. main.log file is now attached.
comment:8 Changed 3 years ago by reneeotten (Renee Otten)
comment:9 Changed 3 years ago by carolinestraatman
If I understand correctly the PR https://github.com/macports/macports-ports/pull/14403 means there is an updated version?
In your comment #64897 you mention it works on macOS Catalina. I have Big Sur 11.6.1. I certainly keep having the problem running sudo port install ds9 +x11
comment:10 Changed 3 years ago by reneeotten (Renee Otten)
Yes, there is a new version for which I submitted a PR for the maintainer to look at, which hasn’t happened yet. I will notify him again and if there is no response merge the PR. Unless you specifically fetched that PR or copied the Portfile from there and added it to your local tree it’s expected that you still are having issues. Until the PR is merged it will not yet be available to users without their manual intervention.
comment:12 Changed 3 years ago by reneeotten (Renee Otten)
You can try and install the port from the PR as I mentioned above. Leo said he has still issues with it on Monterey nut for me it works fine on Catalina. It would be good to see whether it works for others, so please give that a try and report here whether or not it works for you.
comment:13 Changed 2 years ago by carolinestraatman
Reporting that unfortunately as of yet neither sudo port install ds9 +x11
nor sudo port -dvt install ds9
works (Monterey).
comment:14 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)
Cc: | DaveStrickland astrofitz chrstphrchvz gallc1 added |
---|---|
Summary: | sudo port install ds9 +x11 failed → ds9 @8.1: error: implicit declaration of function 'panic' is invalid in C99 |
Has duplicates #61642 and #64897.
Leo, please update ds9 to 8.5. As a reminder, a PR updating the port to 8.3 was submitted by Renee two years ago but rejected by you.
In the future, please use WikiFormatting and add the port maintainer(s) to Cc (
port info --maintainers ds9
), if any.