Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#64738 closed defect (fixed)

SDRangel @6.19.1 build failure: use of undeclared identifier 'apt_temperature'

Reported by: findamind Owned by: ra1nb0w
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: Cc: michaelld (Michael Dickens)
Port: SDRangel

Description

New install of MacPorts. Ran selfupdate. Attempted sudo port install sdrangel

This failed at roughly 48%

I ran sudo port clean sdrangel

Then repeated the process. Same result. Attaching the output of the target log file.

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_SDRangel/SDRangel/main.log

Attachments (2)

main.log (5.4 MB) - added by findamind 3 years ago.
main.log
main.2.log (5.5 MB) - added by findamind 3 years ago.
Main.log

Change History (10)

Changed 3 years ago by findamind

Attachment: main.log added

main.log

comment:1 Changed 3 years ago by jmroot (Joshua Root)

Cc: michaelld added
Keywords: SDRangel removed
Owner: set to ra1nb0w
Status: newassigned
Summary: SDRangel @6.19.1: Error: Failed to build SDRangel: command execution failedSDRangel @6.19.1 build failure: use of undeclared identifier 'apt_temperature'
:info:build /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_science_SDRangel/SDRangel/work/sdrangel-6.19.1/plugins/channelrx/demodapt/aptdemodimageworker.cpp:849:9: error: use of undeclared identifier 'apt_temperature'
:info:build         apt_temperature(satnum, &m_tempImage, APT_CHB_OFFSET, APT_CH_WIDTH);
:info:build         ^

comment:2 Changed 3 years ago by findamind

I apologize. It has been 12 years since I was active in linux. Do I need to search the source of this MacPort and comment out references to the apt_temperature? Or will the correction be implemented in a future MacPorts pull?

comment:3 Changed 3 years ago by Davide Gerhard <ra1nb0w@…>

Resolution: fixed
Status: assignedclosed

In 069d93837c5c1c002c05a35fbfb27e88eb54e14e/macports-ports (master):

aptdec: update commit to 51405971f

Closes: #64738

comment:4 Changed 3 years ago by ra1nb0w

You need to sudo port sync and then should works fine. Can you confirm? thank you

comment:5 Changed 3 years ago by findamind

sudo port clean sdrangel

sudo port sync

sudo port install sdrangel

Failed again. Attaching log output.

Changed 3 years ago by findamind

Attachment: main.2.log added

Main.log

comment:6 Changed 3 years ago by ra1nb0w

retry with sudo port sync because should work fine now.

comment:7 Changed 3 years ago by findamind

I repeated the following steps.

sudo port clean sdrangel

sudo port sync

sudo port install sdrangel

This time the install completed without errors.

Thank you!

comment:8 Changed 3 years ago by ra1nb0w

good! Have a great day

Note: See TracTickets for help on using tickets.