"Upgraded" to 2.0.3, now MacPorts broken :(
Alexander Skwar
alexanders.mailinglists+nospam at gmail.com
Mon Sep 12 13:13:13 PDT 2011
Hello again.
On Mon, Sep 12, 2011 at 10:32, Ryan Schmidt <ryandesign at macports.org> wrote:
>
> On Sep 11, 2011, at 15:37, Alexander Skwar wrote:
>
>> Earlier today, I wanted to upgrade from Macports 1.9.2 to
>> 2.0.3 on my OSX 10.6.8 system. Well, it didn't work out…
>>
>> http://pastebin.com/he85hMaP
>
> The curious error here is:
>
> Error: Target org.macports.activate returned: Image error: Source file /opt/local/var/macports/software/libiconv/mpextract3ugNwK7m/opt/local/bin/iconv does not appear to exist (cannot lstat it). Unable to activate port libiconv.
>
> I'm not sure what that's all about. IS there anything unusual about your system? Are you running a case-sensitive filesystem? Have you replaced /opt or /opt/local or any path inside it with a link to another filesystem?
Yes, I don't have a case sensitive filesystem.
MacBook-Pro:local alex$ echo small a | sudo dd of=a
0+1 records in
0+1 records out
8 bytes transferred in 0.000060 secs (133153 bytes/sec)
MacBook-Pro:local alex$ echo CAPITAL A | sudo dd of=A
0+1 records in
0+1 records out
10 bytes transferred in 0.000035 secs (285327 bytes/sec)
MacBook-Pro:local alex$ cat a
CAPITAL A
If it were case sensitive, it would've printed "small a". This
is in /opt/local.
MacBook-Pro:~ alex$ cd /opt/local
MacBook-Pro:local alex$ df .
Filesystem 512-blocks Used Available Capacity Mounted on
/dev/disk0s2 1900021504 964556144 934953360 51% /
>
> What if you clean libiconv, uninstall it, and try again? Same error?
>
> sudo port clean libiconv
> sudo port -f uninstall libiconv
Don't know if it matters, but I had several old versions still
registered:
MacBook-Pro:local alex$ sudo port -f uninstall libiconv
---> The following versions of libiconv are currently installed:
---> libiconv @1.13.1_0
---> libiconv @1.13.1_0+universal
---> libiconv @1.14_0+universal
I removed all of them.
> sudo port install libiconv
No good :(
MacBook-Pro:local alex$ sudo port install libiconv
---> Computing dependencies for libiconv
---> Fetching archive for libiconv
---> Attempting to fetch libiconv-1.14_0.darwin_10.x86_64.txz from
http://packages.macports.org/libiconv
---> Fetching libiconv
---> Verifying checksum(s) for libiconv
---> Extracting libiconv
---> Applying patches to libiconv
---> Configuring libiconv
---> Building libiconv
---> Staging libiconv into destroot
---> Installing libiconv @1.14_0
Error: Target org.macports.install returned: shell command failed (see
log for details)
Log for libiconv is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
The main.log is at http://pastebin.com/Xc13msFz - it's 324k!
Ends with:
:info:install a ./opt/local/share/man/man3/iconv.3.gz
:info:install a ./opt/local/share/man/man3/iconv_close.3.gz
:info:install a ./opt/local/share/man/man3/iconv_open.3.gzdyld:
Library not loaded: /opt/local/lib/libiconv.2.dylib
:info:install Referenced from: /opt/local/bin/xz
:info:install Reason: Incompatible library version: xz requires
version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0
:info:install : Write error: Broken pipesh: line 1: 54480 Done(1)
/usr/bin/tar -cvf - .
:info:install 54481 Trace/BPT trap | /opt/local/bin/xz
-c6 > /opt/local/var/macports/software/libiconv/libiconv-1.14_0.darwin_10.x86_64.txz
:info:install shell command " cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/work/destroot"
&& /usr/bin/tar -cvf - . | /opt/local/bin/xz -c6 >
/opt/local/var/macports/software/libiconv/libiconv-1.14_0.darwin_10.x86_64.txz
" returned error 133
:error:install Target org.macports.install returned: shell command
failed (see log for details)
:debug:install Backtrace: shell command failed (see log for details)
while executing
"command_exec archive"
(procedure "create_archive" line 295)
invoked from within
"create_archive $location $portarchivetype"
(procedure "portinstall::install_main" line 15)
invoked from within
"$procedure $targetname"
:info:install Warning: the following items did not execute (for
libiconv): org.macports.activate org.macports.install
:notice:install Log for libiconv is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/main.log
I have now uninstalled xz at 5.0.{2,3}_0, BUT…
MacBook-Pro:local alex$ sudo port install libiconv---> Computing
dependencies for libiconv
Error: Target org.macports.archivefetch returned: Unsupported port
archive type 'txz': Failed to locate 'xz' in path:
'/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin' or at
its MacPorts configuration time location, did you move it?
Log for libiconv is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_textproc_libiconv/libiconv/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
> I wonder if MacPorts is trying to use MacPorts' own bzip2 to decompress the archive; if so, that of course won't work, as you noted
bzip2 was a red herring… Sorry about that. Never trust what a
"customer" says :-)
Regards,
Alexander
--
↯ Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/ ↯
↯ Chat (Jabber/Google Talk) ↣ a.skwar at gmail.com , AIM: alexws77 ↯
More information about the macports-users
mailing list