#26918: MacPorts-1.9.1 compiled to XFS NFS files system -------------------------------------+-------------------------------------- Reporter: rletourneau@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: base | Version: 1.9.1 Keywords: | Port: -------------------------------------+-------------------------------------- Changes (by jmr@…): * component: ports => base Old description:
Hello,
I've been trying to install macports to /opt linked to a network file system. The file system is SGI's XFS. It is mounted via NFS. It compiles and installs with no mayjor errors. I run selfupdate, and then try to install my first package, but it always fails with '''Error: Target org.macports.patch returned: could not set flags for file'''
I've recompiled and installed many times with various configure options. I always get the same error. I created a compile and install script, to be run in the compile dir, with the following configure options ;
----------------------
#!/bin/sh
export PATH=/bin:/sbin:/usr/bin:/usr/sbin MP_PREFIX=/opt/macports/snowleopard
./configure --prefix=$MP_PREFIX --with-tclpackage=$MP_PREFIX/Library/Tcl --with-applications-dir=$MP_PREFIX/Applications --with-install-user=root --with-install-group=wheel --with-shared-directory --with-frameworks-dir --with-universal-archs="I386 X86_64"
make && make install
-----------------------------
Here is verbose output of installing first package ;
bash-3.2# ./port -v install py26-PyQt4 +universal ---> Computing dependencies for py26-pyqt4................................................................................................................................................................................................................................ ---> Dependencies to be installed: py26-sip python26 bzip2 db46 gdbm gettext expat libiconv gperf ncurses ncursesw openssl zlib readline sqlite3 qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff libpng qt4_select ---> Fetching bzip2 ---> bzip2-1.0.6.tar.gz doesn't seem to exist in /opt/macports/snowleopard/var/macports/distfiles/bzip2 ---> Attempting to fetch bzip2-1.0.6.tar.gz from http://distfiles.macports.org/bzip2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 763k 100 763k 0 0 895k 0 --:--:-- --:--:-- --:--:-- 925k ---> Verifying checksum(s) for bzip2 ---> Checksumming bzip2-1.0.6.tar.gz ---> Extracting bzip2 ---> Extracting bzip2-1.0.6.tar.gz ---> Applying patches to bzip2 ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-man.diff patching file Makefile ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-links.diff patching file Makefile ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-dylib.diff patching file Makefile '''Error: Target org.macports.patch returned: could not set flags for file "/opt/macports/snowleopard/var/macports/build/_Volumes_VFX_opt_macports_snowleopard_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.6/Makefile": operation not supported''' Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for bzip2 is at: /opt/macports/snowleopard/var/macports/logs/_Volumes_VFX_opt_macports_snowleopard_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/main.log Error: The following dependencies failed to build: py26-sip python26 bzip2 db46 gdbm gettext expat libiconv gperf ncurses ncursesw openssl zlib readline sqlite3 qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff libpng qt4_select Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets>
We installed MacPorts-1.8.1, some time ago, for OS X Leopard to /opt/macports/leopard with the same compile options and it works well.
I have attached compile and install logs to this post.
Thanks,
Ryan Letourneau
New description: Hello, I've been trying to install macports to /opt linked to a network file system. The file system is SGI's XFS. It is mounted via NFS. It compiles and installs with no mayjor errors. I run selfupdate, and then try to install my first package, but it always fails with '''Error: Target org.macports.patch returned: could not set flags for file''' I've recompiled and installed many times with various configure options. I always get the same error. I created a compile and install script, to be run in the compile dir, with the following configure options ; ---------------------- {{{ #!/bin/sh export PATH=/bin:/sbin:/usr/bin:/usr/sbin MP_PREFIX=/opt/macports/snowleopard ./configure --prefix=$MP_PREFIX --with-tclpackage=$MP_PREFIX/Library/Tcl --with-applications-dir=$MP_PREFIX/Applications --with-install-user=root --with-install-group=wheel --with-shared-directory --with-frameworks-dir --with-universal-archs="I386 X86_64" make && make install }}} ----------------------------- Here is verbose output of installing first package ; {{{ bash-3.2# ./port -v install py26-PyQt4 +universal ---> Computing dependencies for py26-pyqt4................................................................................................................................................................................................................................ ---> Dependencies to be installed: py26-sip python26 bzip2 db46 gdbm gettext expat libiconv gperf ncurses ncursesw openssl zlib readline sqlite3 qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff libpng qt4_select ---> Fetching bzip2 ---> bzip2-1.0.6.tar.gz doesn't seem to exist in /opt/macports/snowleopard/var/macports/distfiles/bzip2 ---> Attempting to fetch bzip2-1.0.6.tar.gz from http://distfiles.macports.org/bzip2 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 763k 100 763k 0 0 895k 0 --:--:-- --:--:-- --:--:-- 925k ---> Verifying checksum(s) for bzip2 ---> Checksumming bzip2-1.0.6.tar.gz ---> Extracting bzip2 ---> Extracting bzip2-1.0.6.tar.gz ---> Applying patches to bzip2 ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-man.diff patching file Makefile ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-links.diff patching file Makefile ---> Applying /Volumes/VFX/opt/macports/snowleopard/var/macports/sources/rsync.macports.org/release/ports/archivers/bzip2/files /patch-Makefile-dylib.diff patching file Makefile '''Error: Target org.macports.patch returned: could not set flags for file "/opt/macports/snowleopard/var/macports/build/_Volumes_VFX_opt_macports_snowleopard_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/work/bzip2-1.0.6/Makefile": operation not supported''' Warning: the following items did not execute (for bzip2): org.macports.activate org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for bzip2 is at: /opt/macports/snowleopard/var/macports/logs/_Volumes_VFX_opt_macports_snowleopard_var_macports_sources_rsync.macports.org_release_ports_archivers_bzip2/main.log Error: The following dependencies failed to build: py26-sip python26 bzip2 db46 gdbm gettext expat libiconv gperf ncurses ncursesw openssl zlib readline sqlite3 qt4-mac dbus autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake libtool pkgconfig jpeg libmng lcms tiff libpng qt4_select Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} We installed MacPorts-1.8.1, some time ago, for OS X Leopard to /opt/macports/leopard with the same compile options and it works well. I have attached compile and install logs to this post. Thanks, Ryan Letourneau -- Comment: Please remember to preview and use WikiFormatting, and to select the correct component. -- Ticket URL: <https://trac.macports.org/ticket/26918#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS