Ticket #25403 (closed defect: fixed)
mumble, murmur: build fails with "sed: can't read : No such file or directory" when gsed +with_default_names is installed
| Reported by: | Damien@… | Owned by: | snc@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.9.1 |
| Keywords: | Cc: | ryandesign@… | |
| Port: | mumble, murmur |
Description (last modified by ryandesign@…) (diff)
Default variants are : +ipv6 +quartz +no_x11 -x11 +nls +tls +ssl +with_default_names +ares +idn +aqua +bash_completion +adns +aspell
# port -d install mumble +dbus
...
DEBUG: Executing org.macports.configure (mumble)
DEBUG: Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch x86_64' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.6' CXX='/usr/bin/g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' FCFLAGS='-pipe -O2 -m64' OBJC='/usr/bin/gcc-4.2' INSTALL='/usr/bin/install -c' QMAKESPEC='/opt/local/libexec/qt4-mac/mkspecs/macx-g++' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
DEBUG: Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1" && /opt/local/bin/qmake-mac CONFIG+=" release no-universal no-server " DEFINES+=NO_UPDATE_CHECK main.pro'
---> Building mumble
DEBUG: build phase started at Thu Jun 24 10:44:33 CEST 2010
DEBUG: Executing proc-pre-org.macports.build-build-0
sed: impossible de lire : No such file or directory
shell command "sed -i '' -e 's,a.setLibraryPaths(QStringList());,a.setLibraryPaths(QStringList("/opt/local/libexec/qt4-mac/plugins"));,' /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/work/mumble-1.2.1/src/mumble/main.cpp" returned error 2
Error: Target org.macports.build returned: shell command failed
DEBUG: Backtrace: shell command failed
while executing
"$pre $targetname"
Warning: the following items did not execute (for mumble): org.macports.activate org.macports.build org.macports.destroot org.macports.archive org.macports.install
Log for mumble is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_aqua_mumble/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>
Change History
comment:1 Changed 3 years ago by ryandesign@…
- Keywords shell removed
- Owner changed from macports-tickets@… to snc@…
- Description modified (diff)
- Summary changed from mumble: fails to compile with "shell command failed" to mumble: build fails: sed: No such file or directory
comment:2 follow-up: ↓ 4 Changed 3 years ago by ryandesign@…
- Cc ryandesign@… added
- Port changed from mumble to mumble, murmur
- Summary changed from mumble: build fails: sed: No such file or directory to mumble: build fails with "sed: can't read : No such file or directory" when gsed +with_default_names is installed
This is happening because you have installed the gsed port with the +with_default_names variant. Use of this variant is highly discouraged as it causes problems like this; for this reason this variant is slated to be removed from MacPorts; see #20748. You should remove "+with_default_names" from your variants.conf, find out which ports you have installed with that variant (e.g. using "port installed | grep with_default_names"), and for each one, uninstall it and reinstall it without the +with_default_names variant.
Also, we should fix the port. Both mumble and murmur were submitted with these system calls to sed; these should be replaced with reinplace commands and/or patches.
comment:3 Changed 3 years ago by ryandesign@…
The one system sed call in mumble is apparently no longer needed; the bit of main.cpp that it was changing got removed upstream sometime between 1.1.7 and 1.2.1, so the entire pre-build block can simply be deleted: r69123.
comment:4 in reply to: ↑ 2 Changed 3 years ago by Damien@…
Replying to ryandesign@…:
This is happening because you have installed the gsed port with the +with_default_names variant. Use of this variant is highly discouraged as it causes problems like this; for this reason this variant is slated to be removed from MacPorts; see #20748. You should remove "+with_default_names" from your variants.conf, find out which ports you have installed with that variant (e.g. using "port installed | grep with_default_names"), and for each one, uninstall it and reinstall it without the +with_default_names variant.
OK, thanks for the tips.
comment:5 Changed 3 years ago by ryandesign@…
- Status changed from new to closed
- Resolution set to fixed
- Summary changed from mumble: build fails with "sed: can't read : No such file or directory" when gsed +with_default_names is installed to mumble, murmur: build fails with "sed: can't read : No such file or directory" when gsed +with_default_names is installed
Fixed in murmur in r69127.


Please remember to Cc the port maintainer.