Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Mar 2018 12:34:04 -0400
From:      "Jason E. Hale" <jhale@freebsd.org>
To:        =?UTF-8?B?TWFya28gQ3VwYcSH?= <marko.cupac@mimar.rs>
Cc:        "ports@FreeBSD.org" <ports@freebsd.org>
Subject:   Re: Too many levels of symbolic links
Message-ID:  <CAJE75NHw2-Q4T4L-kxPGn1UE=bFz5t0bV5aV2eV0emP7vN=0fg@mail.gmail.com>
In-Reply-To: <20180312133829.2a84df80@efreet-freebsd.kappastar.com>
References:  <20180312133829.2a84df80@efreet-freebsd.kappastar.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Mar 12, 2018 at 8:38 AM, Marko Cupa=C4=87 <marko.cupac@mimar.rs> wr=
ote:
> 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,
>
> =3D=3D=3D>   Generating temporary packing list
> cd /wrkdirs/usr/ports/net-mgmt/phpipam/work/phpipam ;  for src in
> $( /usr/bin/find . ! -name '*.orig') ; do
> dst=3D/wrkdirs/usr/ports/net-mgmt/phpipam/work/stage/usr/local/www/phpipa=
m${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=C4=87
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJE75NHw2-Q4T4L-kxPGn1UE=bFz5t0bV5aV2eV0emP7vN=0fg>