#40046 closed defect (invalid)
ipe @7.1.4 Extracting error -- org.macports.extract command execution failed
Reported by: | elena.khramtsova@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | Cc: | ||
Port: | ipe |
Description
Hello!
I'm using Mac OS X Lion 10.7.5, Xcode 4.6.3. I'm executing
sh-3.2# sudo port install ipe @7.1.4
and obtaining
---> Computing dependencies for ipe---> Fetching archive for ipe---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ipe ---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/ipe ---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/ipe ---> Fetching distfiles for ipe ---> Verifying checksums for ipe ---> Extracting ipe Error: org.macports.extract for port ipe returned: command execution failed Please see the log file for port ipe for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ipe failed
In the log file:
:debug:extract setting option extract.args to '/opt/local/var/macports/distfiles/ipe/ipe-7.1.4-src.tar.gz' :debug:extract Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/.CC_PRINT_OPTIONS' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' :debug:extract Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/ipe/ipe-7.1.4-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -' :debug:extract Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/ipe/ipe-7.1.4-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :info:extract sandbox-exec: sh: No such file or directory :info:extract Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/ipe/ipe-7.1.4-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf - :info:extract Exit code: 71 :error:extract org.macports.extract for port ipe 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 ipe: org.macports.activate org.macports.extract org.macports.patch org.macports.configure org.macports.build org.macports.destroot org.macports.install :notice:extract Please see the log file for port ipe for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log
(the full file is attached).
When I execute manually
cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work" && /usr/bin/gzip -dc '/opt/local/var/macports/distfiles/ipe/ipe-7.1.4-src.tar.gz' | /usr/bin/gnutar --no-same-owner -xf -
It does the extraction correctly.
Attachments (2)
Change History (10)
Changed 11 years ago by elena.khramtsova@…
comment:1 follow-up: 2 Changed 11 years ago by neverpanic (Clemens Lang)
What does which sh
print on your system?
comment:2 Changed 11 years ago by elena.khramtsova@…
comment:3 follow-up: 4 Changed 11 years ago by neverpanic (Clemens Lang)
Can you check whether setting sandbox_enable no
in macports.conf
works around the problem?
comment:4 Changed 11 years ago by elena.khramtsova@…
Replying to cal@…:
Can you check whether setting
sandbox_enable no
inmacports.conf
works around the problem?
I added what you proposed to macports.conf
.
Now when executing
sudo port install ipe @7.1.4
It returns:
---> Computing dependencies for ipe ---> Fetching archive for ipe ---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/ipe ---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://lil.fr.packages.macports.org/ipe ---> Attempting to fetch ipe-7.1.4_0.darwin_11.x86_64.tbz2 from http://packages.macports.org/ipe ---> Fetching distfiles for ipe ---> Verifying checksums for ipe ---> Extracting ipe ---> Configuring ipe ---> Building ipe Error: org.macports.build for port ipe returned: command execution failed Please see the log file for port ipe for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ipe failed
In the log-file (full file attached):
:notice:build ---> Building ipe :debug:build Executing proc-pre-org.macports.build-build-0 :debug:build Executing org.macports.build (ipe) :debug:build port disallows a parallel build :debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/.CC_PRINT_OPTIONS' CXXFLAGS='-arch x86_64' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' LDFLAGS='-arch x86_64' :debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src" && /usr/bin/make -w all IPEPREFIX=/opt/local ZLIB_CFLAGS="`pkg-config --cflags zlib`" ZLIB_LIBS="`pkg-config --libs zlib`" FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" FREETYPE_LIBS="`pkg-config --libs freetype2`" CAIRO_CFLAGS="`pkg-config --cflags cairo`" CAIRO_LIBS="`pkg-config --libs cairo`" LUA_CFLAGS="`pkg-config --cflags lua`" LUA_LIBS="`pkg-config --libs lua`" QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" QT_LIBS="`pkg-config --libs QtGui QtCore`" MOC=/opt/local/bin/moc CXX=/usr/bin/clang++' :debug:build Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src" && /usr/bin/make -w all IPEPREFIX=/opt/local ZLIB_CFLAGS="`pkg-config --cflags zlib`" ZLIB_LIBS="`pkg-config --libs zlib`" FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" FREETYPE_LIBS="`pkg-config --libs freetype2`" CAIRO_CFLAGS="`pkg-config --cflags cairo`" CAIRO_LIBS="`pkg-config --libs cairo`" LUA_CFLAGS="`pkg-config --cflags lua`" LUA_LIBS="`pkg-config --libs lua`" QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" QT_LIBS="`pkg-config --libs QtGui QtCore`" MOC=/opt/local/bin/moc CXX=/usr/bin/clang++ :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build sh: pkg-config: command not found :info:build make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src' :info:build /usr/bin/make --directory=ipelib all :info:build make[1]: uname: Command not found :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src/ipelib' :info:build mkdir -p ../../build/obj/ipelib; echo "" > ../../build/obj/ipelib/depend.mak; for f in ipebase.cpp ipeplatform.cpp ipegeo.cpp ipexml.cpp ipeattributes.cpp ipebitmap.cpp ipedct.cpp ipeshape.cpp ipegroup.cpp ipeimage.cpp ipetext.cpp ipepath.cpp ipereference.cpp ipeobject.cpp ipefactory.cpp ipestdstyles.cpp ipeiml.cpp ipepage.cpp ipepainter.cpp ipepdfparser.cpp ipepdfwriter.cpp ipepswriter.cpp ipestyle.cpp ipesnap.cpp ipeutils.cpp ipelatex.cpp ipedoc.cpp ; do /usr/bin/clang++ -MM -MT ../../build/obj/ipelib/${f%%.cpp}.o -DIPEUI_QT -I../include -DIPEFONTMAP=\"/opt/local/share/ipe/7.1.4/fontmap.xml\" $f >> ../../build/obj/ipelib/depend.mak; done :info:build /bin/sh: mkdir: command not found :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build /bin/sh: ../../build/obj/ipelib/depend.mak: No such file or directory :info:build make[1]: echo: No such file or directory :info:build make[1]: *** [../../build/obj/ipelib/ipebase.o] Error 1 :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src/ipelib' :info:build make: *** [ipelib] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src' :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/work/ipe-7.1.4/src" && /usr/bin/make -w all IPEPREFIX=/opt/local ZLIB_CFLAGS="`pkg-config --cflags zlib`" ZLIB_LIBS="`pkg-config --libs zlib`" FREETYPE_CFLAGS="`pkg-config --cflags freetype2`" FREETYPE_LIBS="`pkg-config --libs freetype2`" CAIRO_CFLAGS="`pkg-config --cflags cairo`" CAIRO_LIBS="`pkg-config --libs cairo`" LUA_CFLAGS="`pkg-config --cflags lua`" LUA_LIBS="`pkg-config --libs lua`" QT_CFLAGS="`pkg-config --cflags QtGui QtCore`" QT_LIBS="`pkg-config --libs QtGui QtCore`" MOC=/opt/local/bin/moc CXX=/usr/bin/clang++ :info:build Exit code: 2 :error:build org.macports.build for port ipe returned: command execution failed :debug:build Error code: CHILDSTATUS 786 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within "$procedure $targetname" :info:build Warning: targets not executed for ipe: org.macports.activate org.macports.build org.macports.destroot org.macports.install :notice:build Please see the log file for port ipe for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_ipe/ipe/main.log
Changed 11 years ago by elena.khramtsova@…
Attachment: | main.2.log added |
---|
comment:5 follow-up: 6 Changed 11 years ago by neverpanic (Clemens Lang)
Something seems to be seriously wrong with your setup. While the sandboxing part did apparently fix the extract failure, similar problems now seem to pop up during build that make me think the problem is not related to sandboxing (which also means you should probably revert the change to macports.conf
). Specifically, your previous problem was
:info:extract sandbox-exec: sh: No such file or directory
Your current problem is
:info:build sh: pkg-config: command not found
even though:
:debug:main pkgconfig 0.28_0 exists in the ports tree :debug:main pkgconfig 0.28_0 is the latest installed :debug:main pkgconfig 0.28_0 is active
Also:
:info:build /bin/sh: mkdir: command not found [...] :info:build make[1]: echo: No such file or directory
So your system clearly fails to find a number of programs that should be there and working. Do the files /opt/local/bin/pkg-config
and /bin/mkdir
exist? Is this the first time to see issues such as this? When did you last try to use MacPorts? Did you change anything in between? Is there a value set for binpath
in your macports.conf
?
comment:6 Changed 11 years ago by elena.khramtsova@…
First of all, thanks for your help. Now it works!
Just in case, the answers:
Replying to cal@…:
Something seems to be seriously wrong with your setup. While the sandboxing part did apparently fix the extract failure, similar problems now seem to pop up during build that make me think the problem is not related to sandboxing (which also means you should probably revert the change to
macports.conf
).
Done.
Specifically, your previous problem was
:info:extract sandbox-exec: sh: No such file or directory
Your current problem is
:info:build sh: pkg-config: command not foundeven though:
:debug:main pkgconfig 0.28_0 exists in the ports tree :debug:main pkgconfig 0.28_0 is the latest installed :debug:main pkgconfig 0.28_0 is active
Also:
:info:build /bin/sh: mkdir: command not found [...] :info:build make[1]: echo: No such file or directory
So your system clearly fails to find a number of programs that should be there and working.
Do the files
/opt/local/bin/pkg-config
and/bin/mkdir
exist?
Yes, they do.
Is this the first time to see issues such as this? When did you last try to use MacPorts? Did you change anything in between?
I used macports a lot in the past, up to couple of months ago. Recently I had problems with my computer, which resulted in re-instalation of the OS. Also lots of software was broken.
Macport selfupdate failed, I downloaded the fresh version of Xcode, renewed Macports, and I had a problem installing ports: macports did not see "make".
Then I set binpath
to /Applications/Xcode.app/Contents/Developer/usr/bin/ and it worked for some of the ports. But not for ipe.
Meanwhile I installed the command line tools for Xcode. It seems it solved the problem.
Is there a value set for
binpath
in yourmacports.conf
?
So now I commented back my change to binpath
. And MacPorts seem to work correctly.
I installed ipe.
Thank you so much!
comment:7 Changed 11 years ago by neverpanic (Clemens Lang)
Keywords: | ipe removed |
---|---|
Port: | @7.1.4 removed |
Resolution: | → invalid |
Status: | new → closed |
the log-file