Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#31773 closed defect (invalid)

Failed to install libusb

Reported by: bob@… Owned by: rwilcox (Ryan Wilcox)
Priority: Normal Milestone:
Component: ports Version: 2.0.3
Keywords: Cc: tobypeterson, brett@…
Port:

Description (last modified by blb@…)

Am I missing something?

The error message in terminal:

lukamaki:~ boblukomski$ sudo /opt/local/bin/port install dfu-programmer
--->  Computing dependencies for dfu-programmer
--->  Dependencies to be installed: libusb-compat libusb pkgconfig glib2 autoconf help2man gettext expat libiconv gperf ncurses ncursesw p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 perl5 automake libtool zlib
--->  Installing libusb @1.0.8_0
Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q
Try `/usr/bin/tar --help' for more information.
Error: Failed to install libusb
Log for libusb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/main.log
Error: The following dependencies were not installed: libusb-compat libusb pkgconfig glib2 autoconf help2man gettext expat libiconv gperf ncurses ncursesw p5.12-locale-gettext perl5.12 gdbm m4 perl5 perl5 perl5 automake libtool zlib
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

I'm running OS 10.6.8 XCode 3.2.6

Change History (8)

comment:1 Changed 12 years ago by blb@…

Cc: toby@… brett@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to rwilcox@…
Port: libusb added
Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q

That's odd, the default /usr/bin/tar should support that; what is the result of running

$ ls -l /usr/bin/tar

comment:2 in reply to:  1 Changed 12 years ago by bob@…

Replying to blb@…:

Error: Target org.macports.install returned: /usr/bin/tar: invalid option -- q

That's odd, the default /usr/bin/tar should support that; what is the result of running

$ ls -l /usr/bin/tar
lukamaki:~ boblukomski$  ls -l /usr/bin/tar
-rwxr-xr-x  2 root  wheel  174636 Sep 24  2003 /usr/bin/tar

comment:3 Changed 12 years ago by tobypeterson

MacPorts does not work on Panther.

comment:4 Changed 12 years ago by tobypeterson

Seriously, that's the same size as the PPC slice of the tar binary that shipped with Panther in 2003.

comment:5 in reply to:  4 Changed 12 years ago by bob@…

Replying to toby@…:

Seriously, that's the same size as the PPC slice of the tar binary that shipped with Panther in 2003.

Okay, but I'm running Snow Leopard. I appreciate your time here. Suggestion as to fixing this? I'm a total newb - I'm trying to update some firmware and am following 3rd party instructions...

Again, my OS is 10.6.8 and I'm running XCode 3.2.6 (I know XCode 4 is available, but I'm not a paying Developer Member).

comment:6 Changed 12 years ago by tobypeterson

Port: libusb removed
Resolution: invalid
Status: newclosed

Well, I'd bet that you've got plenty of insanity on your system if your tar binary is from Panther. Did you upgrade directly from Panther to Snow Leopard or something? Anyway, really the only advice I can give is to reinstall the OS. May be a good time to move on to Lion and Xcode 4.2 (which I'm pretty sure is free).

Anyway, not a MacPorts issue, closing.

comment:7 Changed 12 years ago by bob@…

I went Panther - Leopard - Snow Leopard. But thanks for the heads up and the fast responses!

Best,

Bob

comment:8 Changed 12 years ago by ryandesign (Ryan Carsten Schmidt)

Xcode 4 is free on Lion but requires a paid membership to the developer program if you want it for Snow Leopard.

Note: See TracTickets for help on using tickets.