Opened 10 years ago

Closed 10 years ago

#44987 closed defect (worksforme)

vala: /bin/sh: valac: command not found

Reported by: wolfhard.langer@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.1
Keywords: Cc:
Port: vala

Description

Hello,

the command "sudo port -v install digikam" does not finish successfully. After "sudo port clean digikam" also the command "sudo port -t -v install digikam" fails:

$ sudo port -t -v install digikam
--->  Computing dependencies for digikam.............................................................................................................................................................
--->  Dependencies to be installed: ImageMagick djvulibre librsvg vala fftw-3 ghostscript jbig2dec libpaper xorg-libXt jbigkit lcms2 openexr ilmbase gsed openjpeg urw-fonts webp automoc qt4-mac libmng lcms eigen3 kde4-baseapps kde4-runtime bison exiv2 kactivities kdelibs4 aspell aspell-dict-en attica phonon avahi libdaemon libglade2 gtk2 py27-gdbm py27-pygtk py27-cairo py27-gobject py27-numpy py27-nose nosetests_select py27-setuptools cyrus-sasl2 kerberos5 libcomerr dbusmenu-qt qjson docbook-xsl-ns enchant hunspell flex giflib gmake grantlee libart_lgpl pcre qca shared-desktop-ontologies soprano libiodbc raptor2 redland rasqal mhash mpfr strigi clucene ffmpeg XviD fribidi gnutls p11-kit desktop-file-utils popt lame libass enca libbluray libmodplug libopus libsdl libvpx yasm openjpeg15 schroedinger speex texi2html x264 virtuoso virtuoso-7 openldap tcp_wrappers kdepimlibs4 akonadi mariadb-server mariadb mysql_select qt4-mac-mariadb-plugin gpgme gnupg2 gpg-agent libassuan libgpg-error pth libgcrypt libksba pinentry libusb-compat libusb libical nepomuk-core ebook-tools convertlit libtommath libzip mobipocket poppler-qt4-mac poppler poppler-data prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz nepomuk-widgets lensfun gccmakedep libgphoto2 gd2 xpm libexif libgpod libplist swig-python swig py27-mutagen taglib libkdcraw libraw libkexiv2 libkipi libksane sane-backends net-snmp liblqr marble gpsd scons libkdeedu opencv qt4-mac-sqlite3-plugin
--->  Building vala
make: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0'
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0'
Making all in gee
make[2]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0/gee'
  VALAC  arraylist.vala collection.vala hashmap.vala hashset.vala iterable.vala mapiterator.vala iterator.vala list.vala map.vala set.vala
/bin/sh: valac: command not found
make[2]: *** [gee.vala.stamp] Error 127
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0/gee'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0'
make: *** [all] Error 2
make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0'
Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/work/vala-0.24.0" && /usr/bin/make -j4 -w all 
Exit code: 2
Warning: An activity was attempted outside sandbox: /.git
Warning: An activity was attempted outside sandbox: /.git/objects
Warning: An activity was attempted outside sandbox: /objects
Warning: An activity was attempted outside sandbox: /opt/.git
Warning: An activity was attempted outside sandbox: /opt/.git/objects
Warning: An activity was attempted outside sandbox: /opt/objects
Error: org.macports.build for port vala returned: command execution failed
Warning: targets not executed for vala: org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Failed to install vala
Please see the log file for port vala for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/main.log
Error: The following dependencies were not installed: ImageMagick djvulibre librsvg vala fftw-3 ghostscript jbig2dec libpaper xorg-libXt jbigkit lcms2 openexr ilmbase gsed openjpeg urw-fonts webp automoc qt4-mac libmng lcms eigen3 kde4-baseapps kde4-runtime bison exiv2 kactivities kdelibs4 aspell aspell-dict-en attica phonon avahi libdaemon libglade2 gtk2 py27-gdbm py27-pygtk py27-cairo py27-gobject py27-numpy py27-nose nosetests_select py27-setuptools cyrus-sasl2 kerberos5 libcomerr dbusmenu-qt qjson docbook-xsl-ns enchant hunspell flex giflib gmake grantlee libart_lgpl pcre qca shared-desktop-ontologies soprano libiodbc raptor2 redland rasqal mhash mpfr strigi clucene ffmpeg XviD fribidi gnutls p11-kit desktop-file-utils popt lame libass enca libbluray libmodplug libopus libsdl libvpx yasm openjpeg15 schroedinger speex texi2html x264 virtuoso virtuoso-7 openldap tcp_wrappers kdepimlibs4 akonadi mariadb-server mariadb mysql_select qt4-mac-mariadb-plugin gpgme gnupg2 gpg-agent libassuan libgpg-error pth libgcrypt libksba pinentry libusb-compat libusb libical nepomuk-core ebook-tools convertlit libtommath libzip mobipocket poppler-qt4-mac poppler poppler-data prison libdmtx qrencode libssh openslp oxygen-icons qimageblitz nepomuk-widgets lensfun gccmakedep libgphoto2 gd2 xpm libexif libgpod libplist swig-python swig py27-mutagen taglib libkdcraw libraw libkexiv2 libkipi libksane sane-backends net-snmp liblqr marble gpsd scons libkdeedu opencv qt4-mac-sqlite3-plugin
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port digikam failed

Xcode is installed with the version 5.1.1 (5B1008) on my iMac, running with OS X 10.9.4. The command tools are installed.

I would like to ask you whether you could check this ticket (main.log attached) and whether you could give support in solving the problem.

Thank you.

Attachments (1)

main.log (8.3 KB) - added by wolfhard.langer@… 10 years ago.
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/main.log

Download all attachments as: .zip

Change History (4)

Changed 10 years ago by wolfhard.langer@…

Attachment: main.log added

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_vala/vala/main.log

comment:1 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: digikam processing failed removed
Port: vala added; digikam removed
Summary: digikam @ 4.0.0 Processing of port digikam failedvala: /bin/sh: valac: command not found

Since the port that failed to build was vala, that's the port you should clean before trying again.

comment:2 Changed 10 years ago by wolfhard.langer@…

After cleaning the port vala the installation of digikam continued. Thank you very much.

comment:3 Changed 10 years ago by mf2k (Frank Schima)

Resolution: worksforme
Status: newclosed

Glad you got it working.

Note: See TracTickets for help on using tickets.