Opened 14 years ago

Closed 14 years ago

#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: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: mumble, murmur

Description (last modified by ryandesign (Ryan Carsten Schmidt))

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 (5)

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

Description: modified (diff)
Keywords: shell removed
Owner: changed from macports-tickets@… to snc@…
Summary: mumble: fails to compile with "shell command failed"mumble: build fails: sed: No such file or directory

Please remember to Cc the port maintainer.

comment:2 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Port: murmur added
Summary: mumble: build fails: sed: No such file or directorymumble: 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

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 14 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 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Summary: mumble: build fails with "sed: can't read : No such file or directory" when gsed +with_default_names is installedmumble, 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.

Note: See TracTickets for help on using tickets.