[MacPorts] #30339: tokyocabinet @1.4.47 configuration errors - build failure
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Using Xcode 4.2, I see this: {{{ ---> Configuring tokyocabinet #================================================================ # Configuring Tokyo Cabinet version 1.4.47. #================================================================ checking for gcc... /Developer/usr/bin/llvm-gcc-4.2 checking whether the C compiler works... no configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_tokyocabinet/tokyocabinet/work/tokyocabinet-1.4.47': configure: error: C compiler cannot create executables See `config.log' for more details. shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_tokyocabinet/tokyocabinet/work/tokyocabinet-1.4.47" && ./configure --prefix=/opt/local --mandir=/opt/local/share/man --datadir=/opt/local/share/doc " returned error 77 Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details) Warning: the following items did not execute (for tokyocabinet): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install Log for tokyocabinet is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_tokyocabinet/tokyocabinet/main.log Error: Status 1 encountered during processing. To report a bug, see <http://guide.macports.org/#project.tickets> }}} -- Ticket URL: <https://trac.macports.org/ticket/30339> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => stromnov@… -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Comment(by ryandesign@…): Can you also please attach the config.log? -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Comment(by macports@…): Replying to [comment:2 ryandesign@…]:
Can you also please attach the config.log?
Done. -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Comment(by jmr@…): {{{ cc1: error: /Users/joni/include: Permission denied }}} Where would that be coming from? It's not in the command line the configure script runs or the environment that MP sets. -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure -------------------------------------------+-------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Keywords: | Port: tokyocabinet -------------------------------------------+-------------------------------- Comment(by macports@…): Replying to [comment:4 jmr@…]:
{{{ cc1: error: /Users/joni/include: Permission denied }}} Where would that be coming from? It's not in the command line the configure script runs or the environment that MP sets.
I really don't know! I saw it too and was confused. Here's my environment: {{{ 10:38:29 c57f ~% env PATH=/Users/joni/Scratch/clojure/leiningen/bin:/Users/joni/Scratch/scala/scala-2.9.0.1/bin:/Users/joni/Scratch/Android /android-sdk- mac_86/tools:/Users/joni/Bin:/opt/local/lib/mysql5/bin:/opt/local/lib/postgresql90/bin:/usr/local/bin:/usr/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11/bin TMPDIR=/var/folders/g3/vlgv4cms5rl_zjl5cyz388540000gn/T/ SHELL=/opt/local/bin/zsh HOME=/Users/joni USER=joni LOGNAME=joni SCALA_HOME=/Users/joni/Scratch/scala/scala-2.8.1.final DISPLAY=/tmp/launch-6Tlyuc/org.x:0 SSH_AUTH_SOCK=/tmp/launch-kQN9co/Listeners Apple_PubSub_Socket_Render=/tmp/launch-8zsVwt/Render COMMAND_MODE=unix2003 __CF_USER_TEXT_ENCODING=0x1F5:0:0 TERM_PROGRAM=Apple_Terminal TERM_PROGRAM_VERSION=297 TERM_SESSION_ID=57330419-F0CE-4425-89AE-48C059FB9450 LANG=en_CA.UTF-8 TERM=xterm-color SHLVL=1 PWD=/Users/joni OLDPWD=/Users/joni LESS=-rqFX VISUAL=vim EDITOR=vim SVNROOT=/Users/joni/Scratch/OMalley/svn/trunk JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home JDK_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home GFLOGDIR=/Users/joni/Scratch/gf2.1/glassfish/domains/domain1/logs ANDROID_HOME=/Users/joni/Scratch/Android/android-sdk-mac_86 LS_COLORS=no=00:fi=00:di=01;34:ln=01;37:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:tw=01;34:ow=01;34:ex=01;31:*.tar=01;30:*.tgz=01;30:*.arj=01;30:*.taz=01;30:*.lzh=01;30:*.zip=01;30:*.z=01;30:*.Z=01;30:*.gz=01;30:*.bz2=01;30:*.deb=01;30:*.rpm=01;30:*.jar=01;30:*.dmg=01;30:*.jpg=01;35:*.png=01;35:*.gif=01;35:*.bmp=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.png=01;35:*.mpg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.pl=00;33:*.PL=00;33:*.pm=00;33:*.tt=00;33:*.yml=00;33:*.sql=00;33:*.html=00;33:*.css=00;33:*.js=00;33:*.rb=00;31: vcs_info_msg_0_= vcs_info_msg_1_=%~ _=/usr/bin/env }}} I tried it with a stripped down PATH (took out everything before /usr/local/bin above), got the same error. -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#30339: tokyocabinet @1.4.47 configuration errors - build failure --------------------------------------------+------------------------------- Reporter: macports@… | Owner: stromnov@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.0.0 Resolution: fixed | Keywords: Port: tokyocabinet | --------------------------------------------+------------------------------- Changes (by stromnov@…): * status: new => closed * resolution: => fixed Comment: Fixed in r81104. PS. There's two bugs: 1. Hardcoded paths in the configure script ($HOME/include, $HOME/libs) 2. llvm-gcc42 (in some rare cases) doesn't accept forbidden dirs in -I and -L switches -- Ticket URL: <https://trac.macports.org/ticket/30339#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts