Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jan 2015 10:14:43 +0100
From:      Roman Serbski <mefystofel@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   portupgrading of p5-version over NFS fails
Message-ID:  <CAFnNK69go875ARoYb4RqZQqM0FSX_n3y928OnXNrwDDG1Dbqyw@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hello,

10.1-STABLE #0 r274583 with /usr/ports mounted on another server (same
version of FreeBSD).

portupgrade works perfectly fine except for devel/p5-version. There
are ~50 other p5 modules installed -- no problem there.

Here is the error:

--->  Upgrade of devel/p5-version started at: Mon, 26 Jan 2015 10:08:52 +0100
--->  Upgrading 'p5-version-0.99.08_2' to 'p5-version-0.99.12'
(devel/p5-version)
OK? [yes]
--->  Build of devel/p5-version started at: Mon, 26 Jan 2015 10:09:02 +0100
--->  Building '/usr/ports/devel/p5-version'
===>  Cleaning for p5-version-0.99.12
===>  License ART10 GPLv1 accepted by the user
===>   p5-version-0.99.12 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by p5-version-0.99.12 for building
===>  Extracting for p5-version-0.99.12
=> SHA256 Checksum OK for version-0.9912.tar.gz.
===>  Patching for p5-version-0.99.12
===>   p5-version-0.99.12 depends on file: /usr/local/bin/perl5.18.4 - found
===>  Configuring for p5-version-0.99.12
Testing if you have a C compiler
Error in tempfile() using template compilet-XXXXX.c: Could not create
temp file compilet-DYgmB.c: Operation not supported at
/usr/local/lib/perl5/site_perl/ExtUtils/CBuilder/Base.pm line 189.
*** Error code 45

Stop.
make: stopped in /usr/ports/devel/p5-version
** Command failed [exit code 1]: /usr/bin/script -qa
/tmp/portupgrade20150126-17834-jplcgf env UPGRADE_TOOL=portupgrade
UPGRADE_PORT=p5-version-0.99.08_2 UPGRADE_PORT_VER=0.99.08_2 make
** Fix the problem and try again.
--->  Build of devel/p5-version ended at: Mon, 26 Jan 2015 10:09:03
+0100 (consumed 00:00:01)

It seems that it only happens if /usr/ports is mounted over NFS. If I
copy /usr/ports to the server I can successfully update the port.

Any hints would be greatly appreciated.

Here is /etc/exports from the NFS server:

/usr/src /usr/ports /usr/obj    -maproot=root   -network 10.9.128.0/24

Thanks.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFnNK69go875ARoYb4RqZQqM0FSX_n3y928OnXNrwDDG1Dbqyw>