Opened 17 years ago

Closed 17 years ago

Last modified 16 years ago

#14435 closed defect (fixed)

ntfs-3g 1.1120 fetch fails; 1.2310 is available

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: kballard (Lily Ballard)
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: im.not.using.any.numbers@…, Russell.Stringer.Bell.RIP@…
Port:

Description

Ludwig reported on macports-users, and I can confirm, that the ntfs-3g portfile 1.1120 does not fetch.

$ sudo port fetch ntfs-3g
Password:
--->  Fetching ntfs-3g
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://www.ntfs-3g.org/
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/distfiles/ntfs-3g
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/distfiles/general/
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/downloads/ntfs-3g
Error: Target org.macports.fetch returned: fetch failed
Error: Status 1 encountered during processing.
$

A newer version 1.2216 is available. Maybe the port should be updated to that version.

Attachments (1)

Portfile.diff (1.1 KB) - added by ryandesign (Ryan Carsten Schmidt) 17 years ago.
incomplete patch to upgrade to 1.2310

Download all attachments as: .zip

Change History (7)

comment:1 Changed 17 years ago by avsmith@…

I can't get 1.2216 to compile now. Fails with an error of:

--->  Staging ntfs-3g into destroot
Error: Target org.macports.destroot returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/ntfs-3g-1.2216" && make install DESTDIR=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot " returned error 2
Command output: (cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib && { ln -s -f libntfs-3g.23.0.0.dylib libntfs-3g.dylib || { rm -f libntfs-3g.dylib && ln -s libntfs-3g.23.0.0.dylib libntfs-3g.dylib; }; })
/usr/bin/install .libs/libntfs-3g.lai /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.la
/usr/bin/install .libs/libntfs-3g.a /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.a
chmod 644 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.a
ranlib /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.a
ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.a(libntfs_3g_la-compat.o) has no symbols
ranlib: file: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/libntfs-3g.a(libntfs_3g_la-debug.o) has no symbols
libtool: install: warning: remember to run `libtool --finish /opt/local/lib'
make  install-exec-hook
test -z "/opt/local/lib" || /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/ntfs-3g-1.2216/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib"
if [ "/opt/local/lib" != "/opt/local/lib" ]; then \
                /bin/mv -f "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot//opt/local/lib"/libntfs-3g.so* "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot//opt/local/lib";  \
        fi
if [ "/opt/local/lib" != "/opt/local/lib" ]; then \
                ln -s "/opt/local/lib/libntfs-3g.so" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot//opt/local/lib/libntfs-3g.so"; \
        fi
test -z "/opt/local/lib/pkgconfig" || /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/ntfs-3g-1.2216/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/pkgconfig"
 /usr/bin/install -m 644 'libntfs-3g.pc' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib/pkgconfig/libntfs-3g.pc'
test -z "/opt/local/lib" || /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/ntfs-3g-1.2216/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/lib"
Making install in src
test -z "/opt/local/bin" || /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/ntfs-3g-1.2216/install-sh -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/bin"
  /bin/sh ../libtool --mode=install /usr/bin/install 'ntfs-3g.probe' '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/bin/ntfs-3g.probe'
libtool: install: warning: `../libntfs-3g/libntfs-3g.la' has not been installed in `/opt/local/lib'
/usr/bin/install .libs/ntfs-3g.probe /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/bin/ntfs-3g.probe
/usr/bin/install -d "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/opt/local/sbin"
ln -s -f "/opt/local/bin/ntfs-3g" "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/sbin/mount.ntfs-3g"
ln: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_fuse_ntfs-3g/work/destroot/sbin/mount.ntfs-3g: No such file or directory
make[2]: *** [install-exec-local] Error 1
make[1]: *** [install-am] Error 2
make: *** [install-recursive] Error 1

Error: Status 1 encountered during processing.

Some sort of installation error, since I think it compiled fine.

comment:2 in reply to:  description ; Changed 17 years ago by Russell.Stringer.Bell.RIP@…

Replying to ryandesign@macports.org:

Ludwig reported on macports-users, and I can confirm, that the ntfs-3g portfile 1.1120 does not fetch.

$ sudo port fetch ntfs-3g
Password:
--->  Fetching ntfs-3g
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://www.ntfs-3g.org/
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/distfiles/ntfs-3g
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/distfiles/general/
--->  Attempting to fetch ntfs-3g-1.1120.tgz from http://svn.macports.org/repository/macports/downloads/ntfs-3g
Error: Target org.macports.fetch returned: fetch failed
Error: Status 1 encountered during processing.
$

A newer version 1.2216 is available. Maybe the port should be updated to that version.

This bug in the ntfs-3g portfile seems to be still unfixed. According to ntfs-3g.org: "The latest stable version is 1.2310, released on March 10, 2008."

1) After this "port install" fails due to fetch error, is it ok to proceed to "port install" another port? Or must the error be fixed first, otherwise MacPorts stays in a corrupt/inconsistent state?

2) Does fixing the error simply require "port edit" the ntfs-3g portfile to point to the latest source package, checksums, etc.?

3) Is the port process supposed to return exit-status 0 after an error like this (is that the intended/desired behavior)?

comment:3 in reply to:  2 Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: Russell.Stringer.Bell.RIP@… added
Summary: ntfs-3g 1.1120 fetch fails; 1.2216 is availablentfs-3g 1.1120 fetch fails; 1.2310 is available

Replying to Russell.Stringer.Bell.RIP@gmail.com:

This bug in the ntfs-3g portfile seems to be still unfixed. According to ntfs-3g.org: "The latest stable version is 1.2310, released on March 10, 2008."

1) After this "port install" fails due to fetch error, is it ok to proceed to "port install" another port? Or must the error be fixed first, otherwise MacPorts stays in a corrupt/inconsistent state?

Nothing is in a corrupt/inconsistent state. Feel free to install any port. Of course, any port that depends on ntfs-3g will not complete because of the unsatisfied dependency.

2) Does fixing the error simply require "port edit" the ntfs-3g portfile to point to the latest source package, checksums, etc.?

Yes, if the build process has not changed between 1.1120 and 1.2310. If the ntfs-3g build process has changed, then the portfile will have to be adapted to the new ntfs-3g build process.

It seems that the software is supposed to install a symlink ${prefix}/sbin/mount.ntfs-3g which points to ${prefix}/bin/ntfs-3g, and also a manpage ${prefix}/share/man/man8/mount.ntfs-3g. But with 1.2310, none of these are being installed. That seems like a problem.

3) Is the port process supposed to return exit-status 0 after an error like this (is that the intended/desired behavior)?

I would expect a nonzero exit status after such an error. I see that this is not the case. This should be filed as a separate bug, if one is not already filed.

Changed 17 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: Portfile.diff added

incomplete patch to upgrade to 1.2310

comment:4 Changed 17 years ago by jmroot (Joshua Root)

Distfile added in r36095.

comment:5 Changed 17 years ago by kballard (Lily Ballard)

Resolution: fixed
Status: newclosed

Bumped to v1.2412 in r36277

comment:6 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.