Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#39875 closed defect (duplicate)

after port selfupdate every install or upgrade fails

Reported by: ClausKlein Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc:
Port:

Description (last modified by larryv (Lawrence Velázquez))

version:1
:msg:main --->  Computing dependencies for gettext:info:main .:debug:main gettext has no conflicts
:debug:main Searching for dependency: expat
:debug:main Found Dependency: receipt exists for expat
:debug:main Searching for dependency: libiconv
:debug:main Found Dependency: receipt exists for libiconv
:debug:main Searching for dependency: ncurses
:debug:main Found Dependency: receipt exists for ncurses
:msg:main 
:debug:main Executing org.macports.main (gettext)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 501
:debug:main euid changed to: 502
:debug:main Skipping completed org.macports.archivefetch (gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (gettext)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:extract extract phase started at Sat Jul 27 17:19:59 CEST 2013
:notice:extract --->  Extracting gettext
:debug:extract Executing org.macports.extract (gettext)
:info:extract --->  Extracting gettext-0.18.3.tar.gz
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/gettext/gettext-0.18.3.tar.gz'
:debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_Volumes_Macintosh_HD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.6'
:debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_Volumes_Macintosh_HD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gettext/gettext-0.18.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -'
:debug:extract Executing command line:  cd "/opt/local/var/macports/build/_Volumes_Macintosh_HD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gettext/gettext-0.18.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract /usr/bin/gnutar: gettext-0.18.3/ChangeLog: Cannot open: File exists
:info:extract /usr/bin/gnutar: gettext-0.18.3/build-aux/install-reloc: Cannot open: File exists
:info:extract /usr/bin/gnutar: gettext-0.18.3/build-aux/relocatable.sh.in: Cannot open: File exists
:info:extract /usr/bin/gnutar: gettext-0.18.3/build-aux/ac-help.sed: Cannot open: File exists
...
:info:extract Command failed:  cd "/opt/local/var/macports/build/_Volumes_Macintosh_HD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/gettext/gettext-0.18.3.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - 
:info:extract Exit code: 2
:error:extract org.macports.extract for port gettext returned: command execution failed
:debug:extract Error code: NONE
:debug:extract Backtrace: command execution failed
    while executing
"$procedure $targetname"
:info:extract Warning: targets not executed for gettext: org.macports.install org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot
:notice:extract Please see the log file for port gettext for details:
    /opt/local/var/macports/logs/_Volumes_Macintosh_HD_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log


Claus-Kleins-MacBook-Pro:notes clausklein$ port version 
Version: 2.2.0
Claus-Kleins-MacBook-Pro:notes clausklein$ port list outdated
autoconf                       @2.69           devel/autoconf
bash                           @4.2.45         shells/bash
bash-completion                @2.1            sysutils/bash-completion
boost                          @1.54.0         devel/boost
dbus                           @1.6.12         devel/dbus
gettext                        @0.18.3         devel/gettext
git-core                       @1.8.3.3        devel/git-core
harfbuzz                       @0.9.19         graphics/harfbuzz
kerberos5                      @1.11.3         net/kerberos5
libpng                         @1.5.17         graphics/libpng
libxslt                        @1.1.28         textproc/libxslt
py27-docutils                  @0.11           python/py-docutils
py27-setuptools                @0.9.8          python/py-setuptools
qt4-mac                        @4.8.5          aqua/qt4-mac
Claus-Kleins-MacBook-Pro:notes clausklein$ 

it also happens while installing new packages

Attachments (2)

port-install-gettext-main.log (605.4 KB) - added by ClausKlein 11 years ago.
logfile after sudo port clean gettext && sudo port install gettext
port-install-cdargs-main.log (6.5 KB) - added by ClausKlein 11 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Priority: HighNormal

Please do not set the Priority field.

Run sudo port clean gettext && sudo port install gettext and attach main.log if it fails again.

Changed 11 years ago by ClausKlein

logfile after sudo port clean gettext && sudo port install gettext

Changed 11 years ago by ClausKlein

comment:2 in reply to:  1 Changed 11 years ago by ClausKlein

Replying to larryv@…:

Please do not set the Priority field.

Run sudo port clean gettext && sudo port install gettext and attach main.log if it fails again.

done,

it still fails, see attachments

comment:3 Changed 11 years ago by neverpanic (Clemens Lang)

Is your MacPorts prefix a symlink, or any of the directories below it, e.g. $prefix/var/macports/build? If yes, see #39850 for a description and a possible workaround until a fix is released.

comment:4 in reply to:  3 Changed 11 years ago by ClausKlein

Replying to cal@…:

Is your MacPorts prefix a symlink, or any of the directories below it, e.g. $prefix/var/macports/build? If yes, see #39850 for a description and a possible workaround until a fix is released.

Yes, I share my /home and /opt/local dir between 2 os X installations:

Claus-Kleins-MacBook-Pro:etc clausklein$ cat fstab # static mounts: # Device Mountpoint FStype Options Dump Pass# # server:/path mountpoint fstype options 0 0 localhost:/Volumes/Macintosh_HD/opt/local /opt/local nfs nobrowse,rw 0 0 localhost:/Volumes/Macintosh_HD/Users/clausklein /Users/clausklein nfs nosuid,nobrowse rw 0 0 # /Volumes/Macintosh_HD/Users/clausklein /Users/clausklein bind defaults,bind 0 0

Claus-Kleins-MacBook-Pro:etc clausklein$ ls -lrta /opt/local lrwxrwxrwx 1 root admin 31 May 14 07:40 /opt/local -> /Volumes/Macintosh_HD/opt/local Claus-Kleins-MacBook-Pro:etc clausklein$

comment:5 Changed 11 years ago by neverpanic (Clemens Lang)

Resolution: duplicate
Status: newclosed

Duplicate of #39850 then, go there for a workaround.

comment:6 Changed 11 years ago by ClausKlein

I have disablee sandboxing entirely as a temporary workaround by adding sandbox_enable no to /opt/local/etc/macports/macports.conf.

Works fine now.

Thanks

Note: See TracTickets for help on using tickets.