Created attachment 205293 [details] arcconf Makefile and distinfo diff in one file * Update arcconf to 3_01_23531 * Update distinfo * Add run dependecy to GCC (port default) because arcconf needs libstdc++.so.6: version GLIBCXX_3.4.11 (port misc/compat9x latest support is GLIBCXX_3.4.9) * Remove OS check Patch attached
OK, since 10.x is EOL, we assume it is >= 11.X. Looks fine, please commit
Cannot apply the patch. Could you submit it again? % curl -s -L 'https://bz-attachments.freebsd.org/attachment.cgi?id=205293' | patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |diff -u arcconf.orig/Makefile arcconf/Makefile |--- arcconf.orig/Makefile 2019-04-07 06:04:44.000000000 +0000 |+++ arcconf/Makefile 2019-06-23 09:29:07.164130000 +0000 -------------------------- Patching file Makefile using Plan A... patch: **** malformed patch at line 6:
Created attachment 206016 [details] Updated diff Updated diff. "cat arcconf.diff | patch" applied cleanly
BTW, never decrement PORTEPOCH or reset to zero. See porter's handbook 5.2.3.2. https://www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html
A commit references this bug: Author: meta Date: Thu Jul 25 02:03:17 UTC 2019 New revision: 507307 URL: https://svnweb.freebsd.org/changeset/ports/507307 Log: sysutils/arcconf: Update to 3.01.23531 * Add run dependecy to GCC (port default) because arcconf needs libstdc++.so.6: version GLIBCXX_3.4.11 (port misc/compat9x latest support is GLIBCXX_3.4.9) * Remove os check since 10.x is EoL PR: 238775 Submitted by: thomas@bsdunix.ch Approved by: maintainer Changes: head/sysutils/arcconf/Makefile head/sysutils/arcconf/distinfo
Committed with a minor change, thanks!
arcconf is not work. even 3_01_23531 version. [ root@ /usr/ports/sysutils/arcconf ] # uname -a FreeBSD video.bvgm.org 12.1-RELEASE-p1 FreeBSD 12.1-RELEASE-p1 8d3f226f4b8(releng/12.1) BVG amd64 [ root@ /usr/ports/sysutils/arcconf ] # head Makefile # Created by: michael@fuckner.net # $FreeBSD$ PORTNAME= arcconf DISTVERSION= 3_01_23531 PORTREVISION= 1 PORTEPOCH= 1 CATEGORIES= sysutils MASTER_SITES= http://download.adaptec.com/raid/storage_manager/ DISTNAME= arcconf_v${DISTVERSION} [ root@ /usr/ports/sysutils/arcconf ] # arcconf ld-elf.so.1: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.11 required by /usr/local/sbin/arcconf not found [ root@ /usr/ports/sysutils/arcconf ] #
You need at least gcc9 version installed to make it run. The arcconf Makefile contains: LIB_DEPENDS= libstdc++.so.6:lang/gcc${GCC_DEFAULT} Did you set a specific gcc version in /etc/make.conf?
Created attachment 210459 [details] Force to use gcc48+
(In reply to igor.polovykh from comment #7) Could you try the attached patch? It add USE_GCC= 4.8+ to the Makefile.
after installation gcc 9.2 arcconf works good. workaround: remove /usr/lib/libstdc++.so.6 and use /usr/local/lib/compat/pkg/libstdc++.so.6.0.19 instead because gcc does not need at all in bsd It contains necessary code.
(In reply to igor.polovykh from comment #11) Great. I submitted a PR with a fix that should make it more robust against older libstdc++.so.6 from old bsd versions or compatXX ports. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=243142