Too many levels of symbolic links

Jason E. Hale jhale at freebsd.org
Mon Mar 12 16:34:07 UTC 2018


On Mon, Mar 12, 2018 at 8:38 AM, Marko Cupać <marko.cupac at mimar.rs> wrote:
> Hi,
>
> I am quite new to ports, and am trying to update port net-mgmt/phpipam
> from 1.2.1 to 1.3.1. I changed PORTVERSION in Makefile, ran `make
> makesum' but poudriere testport fails (below). Any advices how to fix
> this?
>
> Thank you in advance,
>
> ===>   Generating temporary packing list
> cd /wrkdirs/usr/ports/net-mgmt/phpipam/work/phpipam ;  for src in
> $( /usr/bin/find . ! -name '*.orig') ; do
> dst=/wrkdirs/usr/ports/net-mgmt/phpipam/work/stage/usr/local/www/phpipam${src#.} ;
> if test -d "$src" ; then  /bin/mkdir -p "$dst" ;  else  install  -m
> 0644 "$src" "$dst" ;  fi  done
> install: ./functions/locale/cs_CZ.UTF-8/cs_CZ.UTF8: Too many levels of
> symbolic links *** Error code 71
>
> Stop.
> make: stopped in /usr/ports/net-mgmt/phpipam
> build of net-mgmt/phpipam | phpipam-1.3.1 ended at Mon Mar 12 13:36:12
> CET 2018 build time: 00:00:06
> !!! build failure encountered !!!
> [00:00:14] Error: Build failed in phase: stage
> [00:00:14] Cleaning up
> [00:00:14] Unmounting file systems
>
> --
> Before enlightenment - chop wood, draw water.
> After  enlightenment - chop wood, draw water.
>
> Marko Cupać
> https://www.mimar.rs/
>

Try changing the whole do-install target to this:

do-install:
        (cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR} "!
-name *.orig")

What the port currently has seems a little esoteric.

- Jason


More information about the freebsd-ports mailing list