On Sat, 30 Mar 2013 09:00:43 -0400, Lowell Gilbert <freebsd-ports-lo...@be-well.ilk.org> wrote:

Andre Goree <an...@drenet.info> writes:

Having issues building postfixadmin on a 10-CURRENT system.  Any advice?

[root@nqhost postfixadmin]# make install clean
===>  Installing for postfixadmin-2.3.6
===>   postfixadmin-2.3.6 depends on file:
/usr/local/include/php/main/php.h - found
===>   postfixadmin-2.3.6 depends on file:
/usr/local/lib/php/20090626/session.so - found
===>   postfixadmin-2.3.6 depends on file:
/usr/local/lib/php/20090626/mbstring.so - found
===>   postfixadmin-2.3.6 depends on file:
/usr/local/lib/php/20090626/xmlrpc.so - found
===>   postfixadmin-2.3.6 depends on file:
/usr/local/lib/php/20090626/mysqli.so - found
===>   Generating temporary packing list
===>  Checking if mail/postfixadmin already installed
(cd /usr/ports/mail/postfixadmin/work/postfixadmin-2.3.6/ &&  /bin/sh -c
'(/usr/bin/find -d $0 $2 | /usr/bin/cpio -dumpl $1 >/dev/null  2>&1) &&
 /usr/sbin/chown -R root:wheel $1 &&  /usr/bin/find -d $0 $2 -type d
-exec chmod 755 $1/{} \; &&  /usr/bin/find -d $0 $2 -type f -exec chmod
444 $1/{} \;' -- \*.php /usr/local/www/postfixadmin "! -name
config.inc.php")
*** [do-install] Error code 1

Stop in /usr/ports/mail/postfixadmin.
*** [install] Error code 1

Stop in /usr/ports/mail/postfixadmin.

No message from what actually goes wrong; strange.
Especially for failing on do-install; it looks like it should be
changing permissions at that point.

And I can't reproduce the failure on RELENG_9 with default options.
Are you using any unusual options?

Revisiting this, it looks like the issue may be due to missing files (?):

[root@nqhost postfixadmin]# truss -o /tmp/truss.out -d make install clean
[root@nqhost postfixadmin]# grep -i "no such file" /tmp/truss.out
0.000287217 readlink("/etc/malloc.conf",0x7fffffffd5f0,1024) ERR#2 'No such file or directory' 0.003630441 stat("obj.amd64",0x7fffffffc950) ERR#2 'No such file or directory' 0.003774608 stat("obj",0x7fffffffc950) ERR#2 'No such file or directory' 0.003943641 stat("/usr/obj/usr/ports/mail/postfixadmin",0x7fffffffc950) ERR#2 'No such file or directory' 0.011316001 open("BSDmakefile",O_RDONLY,0666) ERR#2 'No such file or directory' 0.011466035 open("makefile",O_RDONLY,0666) ERR#2 'No such file or directory' 0.040288003 stat("/usr/local/sbin/pkg_info",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.040825556 stat("/usr/ports/mail/postfixadmin/../Makefile.inc",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.040997383 stat("/usr/ports/mail/postfixadmin/Makefile.amd64-FreeBSD",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.041220619 stat("/usr/ports/mail/postfixadmin/Makefile.FreeBSD",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.041430443 stat("/usr/ports/mail/postfixadmin/Makefile.amd64",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.041595286 stat("/usr/ports/mail/postfixadmin/Makefile.local",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.043887152 stat("/var/db/ports/postfixadmin/options.local",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.099489278 stat("/usr/ports/Makefile.inc",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.124130399 stat("/cdrom/ports/distfiles",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.126861472 stat("/usr/ports/packages",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.133828432 stat("/usr/ports/mail/postfixadmin/work/.install_done.postfixadmin._usr_local",0x7fffffffc0c0) ERR#2 'No such file or directory' 0.134219583 stat("/usr/ports/mail/postfixadmin/work/.package_done.postfixadmin._usr_local",0x7fffffffc0c0) ERR#2 'No such file or directory' 0.141124238 stat("/usr/ports/mail/postfixadmin/pkg-help",0x7fffffffc0f0) ERR#2 'No such file or directory' 0.155416619 open(".depend",O_RDONLY,0666) ERR#2 'No such file or directory' 0.156752400 stat("pre-config",0x7fffffffc700) ERR#2 'No such file or directory' 0.156928697 stat("pre-config",0x7fffffffc720) ERR#2 'No such file or directory' 0.157066438 stat("config-conditional",0x7fffffffc730) ERR#2 'No such file or directory' 0.157207811 stat("config-conditional",0x7fffffffc750) ERR#2 'No such file or directory' 0.157342758 stat("install",0x7fffffffc760) ERR#2 'No such file or directory'


I've attached the full truss output file if anyone is interested.

--
Andre Goree
an...@drenet.net

Attachment: truss.out
Description: Binary data

_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to