Bug 252451 - net/freeradius3 fails to package
Summary: net/freeradius3 fails to package
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-01-05 20:51 UTC by cweimann
Modified: 2022-11-11 22:40 UTC (History)
2 users (show)

See Also:
bugzilla: maintainer-feedback? (zi)


Attachments
build log from poudriere (82.01 KB, text/plain)
2021-01-06 20:47 UTC, cweimann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description cweimann 2021-01-05 20:51:10 UTC
Does not package.

=======================<phase: package        >============================
===>  Building package for freeradius3-3.0.21_2
pkg-static: Warning: @unexec is deprecated, please use @[pre|post]unexec
pkg-static: Unable to access file /wrkdirs/usr/ports/net/freeradius3/work/stage/usr/local/lib/freeradius-3.0.21/rlm_python3.a:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/freeradius3/work/stage/usr/local/lib/freeradius-3.0.21/rlm_python3.la:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/freeradius3/work/stage/usr/local/lib/freeradius-3.0.21/rlm_python3.so:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/freeradius3/work/stage/usr/local/share/examples/freeradius/raddb/mods-config/python3/example.py:No such file or directory
pkg-static: Unable to access file /wrkdirs/usr/ports/net/freeradius3/work/stage/usr/local/share/examples/freeradius/raddb/mods-config/python3/radiusd.py:No such file or directory
pkg-static: Warning: @exec is deprecated, please use @[pre|post][un]exec
*** Error code 1

Stop.
make: stopped in /usr/ports/net/freeradius3
=>> Cleaning up wrkdir
===>  Cleaning for freeradius3-3.0.21_2
build of net/freeradius3 | freeradius3-3.0.21_2 ended at Tue Jan  5 14:40:42 EST 2021
build time: 00:02:17
!!! build failure encountered !!!
Comment 1 Ryan Steinmetz freebsd_committer freebsd_triage 2021-01-06 17:07:46 UTC
This packages ok for me.  Can you please share your build OPTIONS and the full build log?

Thanks!
Comment 2 cweimann 2021-01-06 20:47:20 UTC
Created attachment 221335 [details]
build log from poudriere
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2022-08-09 12:37:24 UTC
Can't reproduce this on 3.0.25 (12.3 amd64) howvever packaging fails with following: 

===>  Building package for freeradius3-3.0.25
pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead
pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead
pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead
pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead
pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead
pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead
pkg-static: Use of '@exec' is deprecated: Use @preexec/@postexec instead
pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead
pkg-static: Use of '@unexec' is deprecated: Use @preunexec/@postunexec instead
*** Error code 1

Best regards,
Daniel
Comment 4 Marek Zarychta 2022-11-11 21:38:53 UTC
(In reply to Daniel Engberg from comment #3)
The report refers to an unsupported version. Not reproducible for me. Packaging (@exec and @unexec errors) was fixed in the 3.2.1 version.