Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#55900 closed update (fixed)

ngspice @27_3 Update ngspice from 26 to 27 version

Reported by: mguthaus (Matt Guthaus) Owned by: kencu (Ken)
Priority: Normal Milestone:
Component: ports Version:
Keywords: haspatch Cc:
Port: ngspice

Description

This is just an update to the version. No changes to the Portfile are necessary except the version number and hashes.

Attachments (3)

Portfile (2.7 KB) - added by mguthaus (Matt Guthaus) 6 years ago.
Updated Portfile with new version and hashes
change-ngspice-update.diff (1.1 KB) - added by mguthaus (Matt Guthaus) 6 years ago.
Patch to update portfile
change-ngspice-maintainer.diff (735 bytes) - added by mguthaus (Matt Guthaus) 6 years ago.
Add myself as maintainer

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by mguthaus (Matt Guthaus)

Attachment: Portfile added

Updated Portfile with new version and hashes

Changed 6 years ago by mguthaus (Matt Guthaus)

Attachment: change-ngspice-update.diff added

Patch to update portfile

Changed 6 years ago by mguthaus (Matt Guthaus)

Add myself as maintainer

comment:1 Changed 6 years ago by mguthaus (Matt Guthaus)

Added myself as maintainer since there was no maintainer.

comment:2 Changed 6 years ago by kencu (Ken)

also had to

  • remove the revision line (as the revision now reverts back to 0 with the update, so the line is removed rather than set it to 0),
  • update the hashes for the ngspice-docs subport, as now with version 27, you get a new PDF with new hashes.
  • add your usual email in MacPorts-fashion
  • add openmaintainer so that we can make essential updates if you're unreachable

Should be able to post this up for you soonish, as soon as I confirm it builds and runs on this machine.

Thanks!

Last edited 6 years ago by kencu (Ken) (previous) (diff)

comment:3 Changed 6 years ago by kencu (Ken)

Owner: set to kencu
Resolution: fixed
Status: newclosed

In 23b86b5c3c69a83a0bed2da19c7d66309d13d352/macports-ports:

ngspice: update to version 27

update ngspice-docs as well
add mguthaus as maintainer (Thanks!)
closes: #55900

comment:4 Changed 6 years ago by kencu (Ken)

Two build errors, both in the 32bit builds:

<https://build.macports.org/builders/ports-10.6_i386_legacy-builder/builds/37314/steps/install-port/logs/stdio>

  CCLD     test_cx_cph
ld: absolute addressing (perhaps -mdynamic-no-pic) used in _main from test_cx_mag.o not allowed in slidable image. Use '-read_only_relocs suppress' to enable text relocs
collect2: ld returned 1 exit status

and <https://build.macports.org/builders/ports-10.5_ppc_legacy-builder/builds/55357/steps/install-port/logs/stdio>

  CCLD     test_cx_j
ld: absolute address to symbol ___stderrp in a different linkage unit not ld: absolute addresssupported  into  _mainsymbol  from ___stderrp test_cx_mag.oin
 a different linkage unit not supported in _main from test_cx_j.o

The first one is usually fixed by doing what it says, ie adding the following to the 32 bit build only:

configure.ldflags-append -Wl,-read_only_relocs,suppress

Perhaps that might fix the other different linkage unit error as well in the PPC build. I've seen that error before, and just right at this moment I forget the flag(s) you have to send the linker to make that go away.

Last edited 6 years ago by kencu (Ken) (previous) (diff)

comment:5 Changed 6 years ago by mf2k (Frank Schima)

Keywords: haspatch added
Port: ngspice added
Version: 2.4.2
Note: See TracTickets for help on using tickets.