Opened 10 months ago

Last modified 8 months ago

#67752 new update

scid @4.7.0_0: upgrade to 5.0.2

Reported by: wepl (Bert Jahn) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.8.1
Keywords: Cc: Raimondi (Israel Chauca Fuentes)
Port: scid

Description

Could you please make scid 5.0.2 available to macports? Currently only 4.7 is available. Thanks a lot.

Attachments (6)

patch-Info.plist.diff (329 bytes) - added by Raimondi (Israel Chauca Fuentes) 10 months ago.
patch-Makefile.conf.diff (651 bytes) - added by Raimondi (Israel Chauca Fuentes) 10 months ago.
Portfile (1.9 KB) - added by Raimondi (Israel Chauca Fuentes) 10 months ago.
main.log (18.8 KB) - added by wepl (Bert Jahn) 10 months ago.
Portfile.2 (1.8 KB) - added by Raimondi (Israel Chauca Fuentes) 10 months ago.
This Portfile uses cmake to build
main.log.2 (66.9 KB) - added by wepl (Bert Jahn) 9 months ago.

Download all attachments as: .zip

Change History (15)

Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

Attachment: patch-Info.plist.diff added

Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

Attachment: patch-Makefile.conf.diff added

Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

Attachment: Portfile added

comment:1 Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

Thanks for the heads up. The attached files would update Scid to 5.0.2.

comment:2 Changed 10 months ago by wepl (Bert Jahn)

Thanks for you work. I'm unsure how to test this, but did the following: I copied the files into /opt/local/var/macports/sources/rsync.macports.org/macports/release/tarballs/ports/games/scid replacing existing ones. Then executed 'port upgrade scid'. Got:

--->  Computing dependencies for scid
--->  Fetching archive for scid
--->  Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://packages.macports.org/scid
--->  Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://fra.de.packages.macports.org/scid
--->  Attempting to fetch scid-5.0.2_0.darwin_17.x86_64.tbz2 from http://cph.dk.packages.macports.org/scid
--->  Fetching distfiles for scid
--->  Attempting to fetch scid_src_5.0.2.zip from http://distfiles.macports.org/scid
--->  Attempting to fetch scid_src_5.0.2.zip from http://deac-fra.dl.sourceforge.net/scid
--->  Verifying checksums for scid                                                   
--->  Extracting scid
--->  Applying patches to scid
--->  Configuring scid
--->  Building scid
Error: Failed to build scid: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_games_scid/scid/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug.

log file attached

Last edited 10 months ago by wepl (Bert Jahn) (previous) (diff)

Changed 10 months ago by wepl (Bert Jahn)

Attachment: main.log added

Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

Attachment: Portfile.2 added

This Portfile uses cmake to build

comment:3 Changed 10 months ago by Raimondi (Israel Chauca Fuentes)

I just uploaded a new Portfile that uses cmake to build. Let me know how that goes.

Changed 9 months ago by wepl (Bert Jahn)

Attachment: main.log.2 added

comment:4 Changed 9 months ago by wepl (Bert Jahn)

there are now compiler errors, main.log.2 attached

comment:5 Changed 9 months ago by Raimondi (Israel Chauca Fuentes)

I just realized that your machine is running High Sierra (macOS 10.13) and I have no way to test under that version. If you manage to make a working Portfile, we can work on merging the changes.

comment:6 Changed 9 months ago by wepl (Bert Jahn)

The Portfile you sent did work in your environment?
So is it failing because the compiler is too old in my environment?
I have here:

 > /usr/bin/clang++ --version
Apple LLVM version 10.0.0 (clang-1000.10.44.4)
Target: x86_64-apple-darwin17.7.0

As far as I have checked I can neither upgrade macOS nor Xcode (iMac12,1) anymore.
I don't know how to fix the compiler error.
So if this is all I'll continue to use scid 4.7.0.
Thanks a lot for your time!

Last edited 9 months ago by wepl (Bert Jahn) (previous) (diff)

comment:7 Changed 9 months ago by Raimondi (Israel Chauca Fuentes)

Yes, the Portfile works fine here. Can you install gcc and try with that one?

comment:8 Changed 9 months ago by wepl (Bert Jahn)

I have installed gcc-devel. What must I change in the Portfile that it gets used?

comment:9 Changed 8 months ago by Raimondi (Israel Chauca Fuentes)

In cmake's FAQ(1) there are a couple of options, but I'm not sure how to handle that in the Portfile. Maybe in the mailing list or #macports someone could answer that or give some pointers.

(1)https://gitlab.kitware.com/cmake/community/-/wikis/FAQ#how-do-i-use-a-different-compiler

Note: See TracTickets for help on using tickets.