Re: Can I please get some help with my port of dell Racadm? (https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201799)

"Dan Mahoney (Ports)" <[email protected]>
Newsgroups gmane.os.freebsd.devel.ports
Message-ID <[email protected]>
I needed a few minor tweaks to get it to pass portlint (needed to add a www line, needed to add a carriage return or two.

I hit the same error with poudriere testport:

[freebsd:14:x86:64-default_git] Fetching linux_base-rl9-9.6.pkg: 100%   59 MiB  30.9MB/s    00:02
[00:00:19] Package fetch: Using cached copy of linux_base-rl9-9.6
[00:00:19] Sanity checking the repository
[00:00:19] Checking packages for incremental rebuild needs
[00:00:19] Deleting stale symlinks... done
[00:00:19] Deleting empty directories... done
[00:00:19] Package fetch: Generating logs for fetched packages
[00:00:20] Unqueueing existing packages
[00:00:20] Unqueueing orphaned build dependencies
[00:00:20] Sanity checking build queue
[00:00:20] Processing PRIORITY_BOOST
[00:00:20] Balancing pool
[00:00:20] Recording filesystem state for prepkg... done
[00:00:20] Committing packages to repository: /usr/local/poudriere/data/packages/freebsd:14:x86:64-default_git/.real_1756772595 via .latest symlink
[00:00:20] Removing old packages
[00:00:20] Building with flags: PREFIX=/compat/linux
[00:00:20] Removing existing /compat/linux
rm: /usr/local/poudriere/data/.m/freebsd_14_x86_64-default_git/ref/compat/linux/proc: Device busy
rm: /usr/local/poudriere/data/.m/freebsd_14_x86_64-default_git/ref/compat/linux: Directory not empty
[ERROR] Unhandled error!
[00:00:20] Cleaning up
[00:00:20] Unmounting file systems
Exiting with status 1

But poudriere bulk does work, logs are here:  https://poudriere-src.isc.org/build.html?mastername=freebsd%3A14%3Ax86%3A64-default_git&build=2025-09-02_00h29m45s

=====

However, when I try to build and run it on a 15.x machine, it bombs out, because racadm looks for libraries in a weird place…

ERROR: RAC1170: Unable to find the SSL library in the default path.
       If a SSL library is not installed, install one and retry the
       operation. If a SSL library is installed, create a soft-link of the
       installed SSL library to "libssl.so" using the linux "ln" command
       and retry the operation.


I need to go build a copy of strace to chase this down.  OR it might mean that I previously contaminated my /compat/linux previously and need to clean it out.

-Dan


> On Sep 1, 2025, at 16:48, Marcin Cieslak <[email protected]> wrote:
> 
> Dear Dan,
> 
> can you check if the port below works?
> 
> I don't have any Dell machines around but it established an SSL
> connection to my port 443 successfully.
> 
> Marcin
> 
> # This is a shell archive.  Save it in a file, remove anything before
> # this line, and then unpack it by entering "sh file".  Note, it may
> # create directories; files and directories will be owned by you and
> # have default permissions.
> #
> # This archive contains:
> #
> # racadm9
> # racadm9/Makefile
> # racadm9/pkg-plist
> # racadm9/distinfo
> # racadm9/pkg-descr
> # racadm9/pkg-message
> #
> echo c - racadm9
> mkdir -p racadm9 > /dev/null 2>&1
> echo x - racadm9/Makefile
> sed 's/^X//' >racadm9/Makefile << '747e38b00e309df20a6f016e31b0a896'
> X# $FreeBSD$
> X
> XPORTNAME= racadm
> XPORTVERSION= 11.3
> XCATEGORIES= sysutils linux
> XMASTER_SITES= https://linux.dell.com/repo/hardware/DSU_25.08.25/os_dependent/RHEL9_64/racadm/
> XDISTNAME= srvadmin-idracadm7-11.3.0.0-795
> XDISTFILES= srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm \
> X srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm
> X XMAINTAINER= [email protected]
> XCOMMENT= Dell remote access controller admin utility
> X
> XLICENSE= DELL
> XLICENSE_NAME=   Dell Proprietary License
> XLICENSE_TEXT=   This program is NOT in the public domain.\
> X Dell allows free downloads and mirroring of the linux RPMs this port is based on,\
> X but you should read the full license here:\
> X https://www.dell.com/learn/us/en/uscorp1/legal_terms-conditions_dellgrmwebpage/art-software-license-agreements\
> X and determine if it is right for you or your organization.
> XLICENSE_PERMS=  dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept
> X
> XONLY_FOR_ARCHS= amd64
> XWRKSRC= ${WRKDIR}/${PORTNAME}
> XNO_WRKSUBDIR= yes
> X
> XRUN_DEPENDS= linux_base-rl9>=0:emulators/linux_base-rl9
> X
> XUSE_LINUX= rl9
> XUSE_LINUX_PREFIX=YES
> XUSE_LINUX_RPM=YES
> XNO_BUILD=YES
> X
> Xdo-install:
> X cd ${WRKSRC}; ${CP} -pR * ${STAGEDIR}${PREFIX}
> X ${RLN} ${PREFIX}/lib64/libssl.so.3 ${STAGEDIR}${PREFIX}/opt/dell/srvadmin/lib64/openmanage/private/libssl.so
> X
> X.include <bsd.port.mk>
> 747e38b00e309df20a6f016e31b0a896
> echo x - racadm9/pkg-plist
> sed 's/^X//' >racadm9/pkg-plist << '1cc4b16233ee29344102051bde6b0bae'
> Xetc/ld.so.conf.d/srvadmin-idrac7.conf
> Xopt/dell/srvadmin/bin/idracadm7
> Xopt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0
> Xopt/dell/srvadmin/lib64/openmanage/private/libargtable2.so.0.1.6
> Xopt/dell/srvadmin/lib64/openmanage/private/libssl.so
> Xopt/dell/srvadmin/sbin/racadm-wrapper-idrac7
> Xopt/dell/srvadmin/share/man/man3/argtable.3
> Xopt/dell/srvadmin/share/man/man3/argtable2.3
> Xusr/lib/.build-id/ca/690910e69bfe67f0f4bd2e4b155adfcf8627d3
> Xusr/lib/.build-id/51/8f7b88f8e092b14c16c3454fa89b3e0541645f
> Xusr/share/doc/srvadmin-argtable2/AUTHORS
> Xusr/share/doc/srvadmin-argtable2/COPYING
> Xusr/share/doc/srvadmin-argtable2/ChangeLog
> Xusr/share/doc/srvadmin-argtable2/README
> 1cc4b16233ee29344102051bde6b0bae
> echo x - racadm9/distinfo
> sed 's/^X//' >racadm9/distinfo << '4146598f28ba0d447745a4554e995d8b'
> XTIMESTAMP = 1756768563
> XSHA256 (srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm) = 1db4a3431dd6b90a668467a0e623961f8bde9d975f268f6dbb59fde10bece165
> XSIZE (srvadmin-argtable2-11.3.0.0-795.el9.x86_64.rpm) = 66651
> XSHA256 (srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm) = 9aaa86556fba84088494618d58a92d0e9ab0949eeb201ec7b0d91d17ffce9047
> XSIZE (srvadmin-idracadm7-11.3.0.0-795.el9.x86_64.rpm) = 1142062
> 4146598f28ba0d447745a4554e995d8b
> echo x - racadm9/pkg-descr
> sed 's/^X//' >racadm9/pkg-descr << '60f89da3ebc0f64cfdeec27b55288bef'
> XLinux's cli to interface with Dell's Remote Access Controller (DRAC).
> X
> XThis is probably only useful in "remote" mode.
> 60f89da3ebc0f64cfdeec27b55288bef
> echo x - racadm9/pkg-message
> sed 's/^X//' >racadm9/pkg-message << '3c369757d3be1edeaff655d0e079611f'
> X[
> X{ type: install
> X  message: <<EOM
> Xracadm7 has been installed under the linux "compat" tree:
> X(by default, /compat/linux/opt/dell/srvadmin/bin/idracadm7) due to linux library dependencies.
> X
> XIt is left to the user to alias/symlink this path in their scripts.
> XNote that under FreeBSD this will not work as a "local" racadm (to operate on an iDrac installed in the machine where it is run).
> XEOM
> X}
> X]
> 3c369757d3be1edeaff655d0e079611f
> exit
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.