Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#35958 closed defect (duplicate)

p5.12-xml-parser: configure fails

Reported by: jyablecki@… Owned by: mjg@…
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc:
Port: p5.12-xml-parser

Description (last modified by ci42)

MacBook-Pro:downloads jyablecki$ sudo port install wine
--->  Computing dependencies for wine
--->  Dependencies to be installed: gst-plugins-base gnome-vfs gconf gtk2 shared-mime-info intltool p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison flex gzip texinfo libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Configuring p5.12-xml-parser
Error: org.macports.configure for port p5.12-xml-parser returned: configure failure: command execution failed
Error: Failed to install p5.12-xml-parser
Please see the log file for port p5.12-xml-parser for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_perl_p5-xml-parser/p5.12-xml-parser/main.log
Error: The following dependencies were not installed: gst-plugins-base gnome-vfs gconf gtk2 shared-mime-info intltool p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXext autoconf help2man p5.12-locale-gettext m4 automake libtool xorg-util-macros xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit eggdbus gnome-mime-data gstreamer bison flex gzip texinfo libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port wine failed

X-code 4.2 installed on MacBook Pro with 10.6.8

Attachments (1)

main.log (4.2 KB) - added by jyablecki@… 12 years ago.
Log file

Download all attachments as: .zip

Change History (10)

comment:1 Changed 12 years ago by ci42

Description: modified (diff)
Owner: changed from macports-tickets@… to mjg@…
Port: p5.12-xml-parser added
Summary: wine: patches fail to applyp5.12-xml-parser: configure fails

Please try a clean install:

$ sudo port clean wine
$ sudo port selfupdate
$ sudo port install wine

and attach the log file if it fails.

In the future please remember to use WikiFormatting, 'cc the maintainer and fill in the port field.

Changed 12 years ago by jyablecki@…

Attachment: main.log added

Log file

comment:2 Changed 12 years ago by jyablecki@…

Thank you for the response. It is still failing, please see the attached log file.

comment:3 in reply to:  2 Changed 12 years ago by ci42

Replying to jyablecki@…:

Thank you for the response. It is still failing, please see the attached log file.

:info:configure Couldn't find your C compiler

It seems there is something wrong with your c compiler/Xcode installation.

What does

/usr/bin/clang -v

print?

comment:4 Changed 12 years ago by jyablecki@…

MacBook-Pro:~ jyablecki$ /usr/bin/clang -v
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin10.8.0
Thread model: posix

comment:5 in reply to:  4 Changed 12 years ago by ci42

Replying to jyablecki@…:

MacBook-Pro:~ jyablecki$ /usr/bin/clang -v
Apple clang version 3.0 (tags/Apple/clang-211.10.1) (based on LLVM 3.0svn)
Target: x86_64-apple-darwin10.8.0
Thread model: posix

OK, clang exists. What does

 perl -E "use Config qw(myconfig); print myconfig();"

print?

comment:6 Changed 12 years ago by jyablecki@…

MacBook-Pro:~ jyablecki$  perl -E "use Config qw(myconfig); print myconfig();"
Summary of my perl5 (revision 5 version 12 subversion 4) configuration:
   
  Platform:
    osname=darwin, osvers=10.8.0, archname=darwin-thread-multi-2level
    uname='darwin beta.macosforge.org 10.8.0 darwin kernel version 10.8.0: tue jun 7 16:33:36 pdt 2011; root:xnu-1504.15.3~1release_i386 i386 '
    config_args='-D inc_version_list=5.12.3/darwin-thread-multi-2level 5.12.3 5.12.2/darwin-thread-multi-2level 5.12.2 5.12.1/darwin-thread-multi-2level 5.12.1 5.12.0/darwin-thread-multi-2level 5.12.0 -des -Dprefix=/opt/local -Dscriptdir=/opt/local/bin -Dcppflags=-I/opt/local/include -Dccflags=-pipe -O2   -Dldflags=-L/opt/local/lib   -Dvendorprefix=/opt/local -Dusemultiplicity=y -Dusethreads -Duseshrplib -D cc=/usr/bin/gcc-4.2 -D ld=/usr/bin/gcc-4.2 -D man1ext=1pm -D man3ext=3pm -D man1dir=/opt/local/share/man/man1p -D man3dir=/opt/local/share/man/man3p -D sitebin=/opt/local/libexec/perl5.12/sitebin -D siteman1dir=/opt/local/share/perl5.12/siteman/man1 -D siteman3dir=/opt/local/share/perl5.12/siteman/man3 -D vendorbin=/opt/local/libexec/perl5.12 -D vendorman1dir=/opt/local/share/perl5.12/man/man1 -D vendorman3dir=/opt/local/share/perl5.12/man/man3 -D pager=/usr/bin/less -sR -D perlpath=/opt/local/bin/perl5.12 -D startperl=#!/opt/local/bin/perl5.12'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='/usr/bin/gcc-4.2', ccflags ='-pipe -O2   -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include',
    optimize='-O3',
    cppflags='-I/opt/local/include -no-cpp-precomp -pipe -O2  -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include'
    ccversion='', gccversion='4.2.1 (Apple Inc. build 5666) (dot 3)', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.6 /usr/bin/gcc-4.2', ldflags ='-L/opt/local/lib   -fstack-protector'
    libpth=/opt/local/lib /usr/lib
    libs=-lgdbm -ldbm -ldl -lm -lutil -lc
    perllibs=-ldl -lm -lutil -lc
    libc=, so=dylib, useshrplib=true, libperl=libperl.dylib
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags='-L/opt/local/lib   -bundle -undefined dynamic_lookup -fstack-protector'

comment:7 Changed 12 years ago by mf2k (Frank Schima)

The log is not from a clean build attempt. Actually the reporter needs to clean p5.12-xml-parser and try rebuilding that port.

But I agree. It appears that the user's Xcode is not installed properly.

@jyablecki: Launch Xcode and check if the command line tools are installed.

comment:8 Changed 12 years ago by ci42

Replying to jyablecki@…:

  Compiler:
    cc='/usr/bin/gcc-4.2', ccflags ='-pipe -O2   -fno-common -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing -fstack-protector -I/opt/local/include',

Your Perl installation has been compiled with gcc-4.2. p5.12-xml-parser will try to use the same compiler. But gcc-4.2 has been removed in XCode 4.x and MacPorts thinks clang is your standard compiler. Does

/usr/bin/gcc-4.2

exists on your system?

If not, please reinstall perl using clang

sudo port -f uninstall perl5.12
sudo port clean --dist  perl5.12
sudo port -s install perl5.12

and try again.

Even if /usr/bin/gcc-4.2 exists on your system you should consider recompiling perl with /usr/bin/clang. Mixing compilers is likely to cause problems with other perl modules as well.

comment:9 Changed 12 years ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.