Opened 12 years ago

Closed 12 years ago

#35025 closed defect (fixed)

Murmur @1.2.2: Does not compile

Reported by: keybounce Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 2.1.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: murmur

Description

I am unable to get murmur to compile.

  517  sudo port install murmur
  520  sudo port install murmur configure.compiler=llvm-gcc-4.2
  522  sudo port install apple-gcc42
  526  sudo port install murmur configure.compiler=apple-gcc-4.2 configure.cxx=g++-apple-4.2

(yes, I did cleans inbetween).

Search on term "murmur" did not show anything relevant.

NB: Despite my using apple-gcc-4.2 as the compiler, the log file still shows

:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/g++-4.2

Attachments (3)

main.log (42.4 KB) - added by keybounce 12 years ago.
Compiler log
main.2.log (6.6 KB) - added by keybounce 12 years ago.
Download failures
main.3.log (42.4 KB) - added by keybounce 12 years ago.
New compiler log

Download all attachments as: .zip

Change History (13)

Changed 12 years ago by keybounce

Attachment: main.log added

Compiler log

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

Owner: changed from macports-tickets@… to snc@…

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

Cc: ryandesign@… added

I'm guessing that murmur compiles using whatever compiler qt4-mac was compiled with, and that qt4-mac was compiled with gcc-4.2 / g++-4.2. I'm not sure how that could have happened on your Lion system...

Make sure your ports are up to date:

sudo port selfupdate
port outdated
sudo port upgrade outdated

If qt4-mac was not among the outdated port that got rebuilt, rebuild it anyway:

sudo port -sn upgrade --force qt4-mac

Then clean murmur and try again.

comment:3 Changed 12 years ago by keybounce

I'm pretty sure that I fetch a binary for qt4-mac. I'll do that updating right now.

comment:4 Changed 12 years ago by keybounce

keybounceMBP:bin michael$ sudo port selfupdate Password: ---> Updating MacPorts base sources using rsync MacPorts base version 2.1.1 installed, MacPorts base version 2.1.1 downloaded. ---> Updating the ports tree ---> MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run

port upgrade outdated

keybounceMBP:bin michael$ port outdated No installed ports are outdated. keybounceMBP:bin michael$

So far, so good

comment:5 Changed 12 years ago by keybounce

This does not look good

keybounceMBP:bin michael$ sudo port -sn upgrade --force qt4-mac
--->  Computing dependencies for qt4-mac
--->  Cleaning qt4-mac
--->  Deactivating qt4-mac @4.8.2_0+quartz
--->  Cleaning qt4-mac
--->  Uninstalling qt4-mac @4.8.2_0+quartz
--->  Cleaning qt4-mac
--->  Computing dependencies for qt4-mac
--->  Fetching distfiles for qt4-mac
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://releases.qt-project.org/qt4/source/
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://distfiles.macports.org/qt4-mac
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://get.qt.nokia.com/qt/source/
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/qt4-mac
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from ftp://ftp.trolltech.com/qt/source/
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://ftp.heanet.ie/mirrors/ftp.trolltech.com/pub/qt/source/
--->  Attempting to fetch qt-everywhere-opensource-src-4.8.2.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/mpdistfiles/qt4-mac

still trying ...

comment:6 Changed 12 years ago by keybounce

Nope, fetch failed.

Lots of 404's, a 550, and general low speed when it was found.

Changed 12 years ago by keybounce

Attachment: main.2.log added

Download failures

comment:7 Changed 12 years ago by keybounce

Ok, Qt-mac is now installed.

--->  Verifying checksum(s) for qt4-mac
--->  Extracting qt4-mac
--->  Applying patches to qt4-mac
--->  Configuring qt4-mac
--->  Building qt4-mac
--->  Staging qt4-mac into destroot
--->  Installing qt4-mac @4.8.2_0+quartz
--->  Activating qt4-mac @4.8.2_0+quartz
--->  Cleaning qt4-mac
--->  Updating database of binaries: 100.0%
--->  Scanning binaries for linking errors: 100.0%
--->  No broken files found.

Now to try MurMur ...

Changed 12 years ago by keybounce

Attachment: main.3.log added

New compiler log

comment:8 Changed 12 years ago by keybounce

keybounceMBP:bin michael$ sudo port clean murmur
--->  Cleaning murmur
keybounceMBP:bin michael$ sudo port install murmur
--->  Computing dependencies for murmur
--->  Fetching archive for murmur
--->  Attempting to fetch murmur-1.2.2_3.darwin_11.x86_64.tbz2 from http://packages.macports.org/murmur
--->  Fetching distfiles for murmur
--->  Verifying checksum(s) for murmur
--->  Extracting murmur
--->  Configuring murmur
--->  Building murmur
Error: org.macports.build for port murmur returned: command execution failed
Please see the log file for port murmur for details:
    /opt/local/var/macports/logs/_Volumes_UserData_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_murmur/murmur/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port murmur failed
keybounceMBP:bin michael$ 

comment:9 Changed 12 years ago by keybounce

What???

:info:build /Applications/Xcode.app/Contents/Developer/usr/bin/g++-4.2 -pipe -Wfatal-errors -Wshadow -Woverloaded-virtual -Wold-style-cast -Wconversion -Wsign-compare -fvisibility=hidden -mmacosx-version-min=10.4 -Xarch_i386 -mmmx -Xarch_i386 -msse -Xarch_i386 -msse2 -O2 -arch x86_64 -Xarch_x86_64 -mmacosx-version-min=10.7 -Wall -W -isysroot /Applications/Xcode.app/Contents/Developer/SDKs/MacOSX10.5.sdk -DRESTRICT=__restrict__ -DMUMBLE_VERSION_STRING=1.2.2 -DMURMUR -DUSE_DBUS -DUSE_BONJOUR -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_XML_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/Volumes/UserData/opt/local/share/qt4/mkspecs/macx-g++ -I. -Irelease -I/opt/mumble-1.2/boost-1_42_0/include -I/opt/mumble-1.2/include -I../../src -I. -I../bonjour -I/Volumes/UserData/opt/local/include/QtDBus -I/Volumes/UserData/opt/local/include/QtSql -I/Volumes/UserData/opt/local/include/QtXml -I/Volumes/UserData/opt/local/include/QtNetwork -I/Volumes/UserData/opt/local/include/QtCore -I/Volumes/UserData/opt/local/include -x c++-header -c murmur_pch.h -o release/murmurd.gch/c++
:info:build make[2]: /Applications/Xcode.app/Contents/Developer/usr/bin/g++-4.2: No such file or directory

g++-4.2 not found???

keybounceMBP:bin michael$ ls /Applications/Xcode.app/Contents/Developer/usr/bin/
total 23656
  16 BuildStrings*                       104 ibtoold*
  24 CpMac*                               16 ident*
 104 DeRez*                               96 install_name_tool*
  16 GetFileInfo*                         32 instruments*
  48 ImageUnitAnalyzer*                   24 iprofiler*
  24 MergePef*                            24 javaconfig*
  16 MvMac*                               48 javatool*
  40 PPCExplain*                         864 ld*
  16 ResMerger*                          336 ld_classic*
 112 Rez*                                112 libtool*
  32 RezDet*                             152 lldb*
  16 RezWack*                              8 llvm-cpp-4.2@
  16 SetFile*                              8 llvm-g++@
  16 SplitForks*                           8 llvm-g++-4.2@
  16 UnRezWack*                            8 llvm-gcc@
  16 agvtool*                              8 llvm-gcc-4.2@
   0 amlint*                             352 make*
  32 ar*                                  16 mapc*
  24 as*                                 112 merge*
  24 c89*                                 56 mksdk*
  24 c99*                                 48 momc*
 168 ci*                                 232 nasm*
  80 cmpdylib*                            80 ndisasm*
 152 co*                                  96 nm*
 104 codesign_allocate*                  128 nmedit*
  72 codesign_wrapper*                    16 opendiff*
   0 cpp*                                400 otool*
 104 ctf_insert*                          88 pagestuff*
1368 cvs*                                 24 projectInfo*
  16 cvsbug*                               8 ranlib@
  80 desdp*                              168 rcs*
 120 docsetutil*                           8 rcs2log@
 776 dsymutil*                           152 rcsclean*
  16 dvtexec*                            120 rcsdiff*
 720 dwarfdump*                          112 rcsmerge*
 104 dyldinfo*                            48 rebase*
   8 g++@                                168 redo_prebinding*
  48 gatherheaderdoc*                    104 resolveLinks*
   8 gcc@                                128 rlog*
   8 gcov@                                16 sdef*
   8 gcov-4.2@                           256 sdp*
   0 gdb*                                 40 segedit*
2592 git*                                 80 size*
  64 git-cvsserver*                      152 strip*
   8 git-receive-pack@                  2232 svn*
1096 git-shell*                          904 svnadmin*
   8 git-upload-archive@                 816 svndumpfilter*
1120 git-upload-pack*                    856 svnlook*
 168 gitk*                              1000 svnserve*
 352 gnumake*                           1240 svnsync*
 112 gprof*                              840 svnversion*
  32 hdxml2manxml*                        32 unwinddump*
  80 headerdoc2html*                      16 xcodebuild*
   8 i686-apple-darwin11-llvm-g++-4.2@    24 xcrun*
   8 i686-apple-darwin11-llvm-gcc-4.2@   104 xed*
  32 ibtool*                              56 xml2man*
 208 ibtool3*
keybounceMBP:bin michael$ 

comment:10 Changed 12 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: newclosed

Removed mumble/murmur r95178.

Note: See TracTickets for help on using tickets.