Opened 12 years ago

Closed 12 years ago

#35438 closed defect (invalid)

flac 1.2.1 Error: Processing of port flac failed

Reported by: iownafordprobe@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: flac

Description

I cannot install the flac library. I am trying to install libsndfile but it keeps getting stuck at flac, though it was able to install other other dependencies. Here is the log information

:debug:configure 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_tarballs_ports_audio_flac/flac/work/.CC_PRINT_OPTIONS' F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64' OBJC='/usr/bin/gcc-4.2' FCFLAGS='-pipe -O2 -m64' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch x86_64' FFLAGS='-pipe -O2 -m64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/gcc-4.2'
:debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_flac/flac/work/flac-1.2.1" && ./configure --prefix=/opt/local --disable-xmms-plugin --disable-asm-optimizations'
:debug:configure Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_flac/flac/work/flac-1.2.1" && ./configure --prefix=/opt/local --disable-xmms-plugin --disable-asm-optimizations 
:info:configure checking for a BSD-compatible install... /usr/bin/install -c
:info:configure checking whether build environment is sane... yes
:info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d
:info:configure checking for gawk... no
:info:configure checking for mawk... no
:info:configure checking for nawk... no
:info:configure checking for awk... awk
:info:configure checking whether make sets $(MAKE)... yes
:info:configure checking whether to enable maintainer-specific portions of Makefiles... no
:info:configure checking build system type... x86_64-apple-darwin10.8.0
:info:configure checking host system type... x86_64-apple-darwin10.8.0
:info:configure checking how to print strings... printf
:info:configure checking for style of include used by make... GNU
:info:configure checking for gcc... /usr/bin/gcc-4.2
:info:configure checking whether the C compiler works... yes
:info:configure checking for C compiler default output file name... a.out
:info:configure checking for suffix of executables... 
:info:configure checking whether we are cross compiling... configure: error: in `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_flac/flac/work/flac-1.2.1':
:info:configure configure: error: cannot run C compiled programs.
:info:configure If you meant to cross compile, use `--host'.
:info:configure See `config.log' for more details
:info:configure Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_flac/flac/work/flac-1.2.1" && ./configure --prefix=/opt/local --disable-xmms-plugin --disable-asm-optimizations 
:info:configure Exit code: 1
:error:configure org.macports.configure for port flac returned: configure failure: command execution failed
:debug:configure Error code: NONE
:debug:configure Backtrace: configure failure: command execution failed
    while executing
"$procedure $targetname"
:info:configure Warning: targets not executed for flac: org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install
:notice:configure Please see the log file for port flac for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_audio_flac/flac/main.log


thanks!

Attachments (1)

config.log (11.2 KB) - added by iownafordprobe@… 12 years ago.

Download all attachments as: .zip

Change History (3)

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

Keywords: flac snow leopard removed

Please attach the config.log file. It should be in the directory identified by the command port work flac

Changed 12 years ago by iownafordprobe@…

Attachment: config.log added

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

Resolution: invalid
Status: newclosed

Ok, the relevant line in the log is:

conftest.c:11:19: error: /usr/local/include/stdio.h: Permission denied

This means that there is something in /usr/local, and that this port is trying to access it, but does not have permission to do so. We don't want this or other ports to access things in /usr/local, but we do not know how to prevent them from doing so. Therefore the only thing we can recommend is for you to rename or remove /usr/local for the duration that you want to use MacPorts.

Note: See TracTickets for help on using tickets.