Re: Alpha release of Maia Mailguard 1.0.5

"Janky Jay, III" <[email protected]> Tue, 23 Sep 2025 05:15:17 -0600
Newsgroups gmane.mail.virus.maiamailguard
Message-ID <[email protected]>
Hi Travis,

On 9/23/25 04:48AM, Travis Mikalson wrote:
> On 9/23/2025 06:41, Janky Jay, III wrote:
>> Hi Travis,
>> I'm not 100% sure about this, but you might need to run a "make 
>> clean" before you try to run another "make install" just to clear out 
>> any old links, dirs, perms, etc... before it tries again.
>
> make clean was done, always is.
>
> Even rm -rf'ed the port directory, re-copy from a freshly pulled copy 
> from your repo.
>
> No files are halfway installed in /usr/local/www or 
> /usr/local/etc/rc.d from the port, all clean there. This is an issue 
> with the port's paths.
>
>
>
> root@maiatest1:/usr/ports/security # rm -rf maia-mailguard/
> root@maiatest1:/usr/ports/security # cd /root/maia-mailguard-fbsd/
> root@maiatest1:~/maia-mailguard-fbsd # git pull
> Already up to date.
> root@maiatest1:~/maia-mailguard-fbsd # cp -R maia-mailguard 
> /usr/ports/security
> root@maiatest1:/usr/ports/security # cd 
> /usr/ports/security/maia-mailguard/
> root@maiatest1:/usr/ports/security/maia-mailguard # ls -la
> total 208
> drwxr-xr-x     3 root wheel     7 Sep 23 10:45 .
> drwxr-xr-x  1448 root wheel  1449 Sep 23 10:45 ..
> -rw-r--r--     1 root wheel 10642 Sep 23 10:45 Makefile
> -rw-r--r--     1 root wheel   221 Sep 23 10:45 distinfo
> drwxr-xr-x     2 root wheel    17 Sep 23 10:45 files
> -rw-r--r--     1 root wheel   348 Sep 23 10:45 pkg-descr
> -rw-r--r--     1 root wheel 39108 Sep 23 10:45 pkg-plist
> root@maiatest1:/usr/ports/security/maia-mailguard # make
> <snip> (all succeeds here)
> ====> Compressing man pages (compress-man)
> ===> Staging rc.d startup script(s)
> root@maiatest1:/usr/ports/security/maia-mailguard # make install
> ===>  Installing for maia-mailguard-1.0.5.a1
> ===>  Checking if maia-mailguard is already installed
> ===>   Registering installation for maia-mailguard-1.0.5.a1
> pkg-static: Unable to access file 
> /usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/libs/Smarty:No 
> such file or directory
> pkg-static: duplicate directory listing: 
> /usr/local/www/maia-mailguard/web, ignoring
> pkg-static: duplicate file listing: /usr/local/etc/rc.d/maiad, ignoring
> *** Error code 1
>
> Stop.
> make[1]: stopped in /usr/ports/security/maia-mailguard
> *** Error code 1
>
> Stop.
> make: stopped in /usr/ports/security/maia-mailguard

Hrm.. I'm unable to reproduce this. Obviously, I can't remove the Smarty 
link from pkg-plist otherwise it wouldn't be created.

If you run a "make all install" (no cleaning) from a the port, does the 
"/usr/ports/security/maia-mailguard/work/stage/usr/local/www/maia-mailguard/libs/Smarty" 
link exist? If so, where does it link to?

Also, Is there currently a /usr/loca/www/maia-mailguard/libs/Smary link 
that exists? If so, can you try deleting that? Perhaps the old port 
didn't remove it and it's causing the error? (which would be strange, 
but worth a shot.)

-- 
Regards,
Janky Jay, III


_______________________________________________
Maia-users mailing list
[email protected]
http://www.renaissoft.com/cgi-bin/mailman/listinfo/maia-users