[MacPorts] #28820: Issue with p5-pathtools: "inttypes.h: No such file or directory"

MacPorts noreply at macports.org
Thu Mar 17 16:50:40 PDT 2011


#28820: Issue with p5-pathtools: "inttypes.h: No such file or directory"
---------------------------------+------------------------------------------
 Reporter:  deadballo@…          |       Owner:  macports-tickets@…                   
     Type:  defect               |      Status:  new                                  
 Priority:  Normal               |   Milestone:                                       
Component:  ports                |     Version:  1.9.2                                
 Keywords:                       |        Port:                                       
---------------------------------+------------------------------------------

Old description:

> 1) My ports are completely up to date
>
> 2) I tried to install winetricks which depends on p5-pathtools. It's
> trying to build for both 32 and 64bit architectures which *may* be the
> root of the problem, but that's speculation on my part. My arch is
> x86_64. Here's my output:
>

> $ sudo port -v  install winetricks
> Password:
> --->  Computing dependencies for
> winetricks.................................................................................................
> --->  Dependencies to be installed: zenity gtk2 atk gtk-doc gnome-doc-
> utils intltool p5-pathtools p5-scalar-list-utils p5-xml-parser iso-codes
> py27-libxml2 rarian getopt gdk-pixbuf2 jasper pango Xft2 cairo libpixman
> shared-mime-info xorg-libXdamage xorg-damageproto libnotify dbus-glib
> --->  Building p5-pathtools
> /usr/bin/gcc-4.2 -c   -pipe -O2 -arch x86_64 -arch i386 -fno-common
> -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
> -fstack-protector -I/opt/local/include -O3   -DVERSION=\"3.33\"
> -DXS_VERSION=\"3.33\"  "-I/opt/local/lib/perl5/5.12.3/darwin-multi-
> 2level/CORE"   Cwd.c
> In file included from /opt/local/lib/perl5/5.12.3/darwin-multi-
> 2level/CORE/perl.h:2429,
>                  from Cwd.xs:2:
> /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/handy.h:159:25:
> error: inttypes.h: No such file or directory
> In file included from /opt/local/lib/perl5/5.12.3/darwin-multi-
> 2level/CORE/perl.h:2429,
>                  from Cwd.xs:2:
> /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/handy.h:159:25:
> error: inttypes.h: No such file or directory
> lipo: can't open input file: /var/tmp//cclWSYbH.out (No such file or
> directory)
> make: *** [Cwd.o] Error 1
> shell command " cd
> "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.33"
> && /usr/bin/make -j4 all " returned error 2
> Error: Target org.macports.build returned: shell command failed (see log
> for details)
> Warning: the following items did not execute (for p5-pathtools):
> org.macports.activate org.macports.build org.macports.destroot
> org.macports.install
> Error: Failed to install p5-pathtools
> Log for p5-pathtools is at:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/main.log
> Error: The following dependencies were not installed: zenity gtk2 atk
> gtk-doc gnome-doc-utils intltool p5-pathtools p5-scalar-list-utils p5
> -xml-parser iso-codes py27-libxml2 rarian getopt gdk-pixbuf2 jasper pango
> Xft2 cairo libpixman shared-mime-info xorg-libXdamage xorg-damageproto
> libnotify dbus-glib
> Error: Status 1 encountered during processing.
> To report a bug, see <http://guide.macports.org/#project.tickets>

New description:

 1) My ports are completely up to date

 2) I tried to install winetricks which depends on p5-pathtools. It's
 trying to build for both 32 and 64bit architectures which *may* be the
 root of the problem, but that's speculation on my part. My arch is x86_64.
 Here's my output:

 {{{
 $ sudo port -v  install winetricks
 Password:
 --->  Computing dependencies for
 winetricks.................................................................................................
 --->  Dependencies to be installed: zenity gtk2 atk gtk-doc gnome-doc-
 utils intltool p5-pathtools p5-scalar-list-utils p5-xml-parser iso-codes
 py27-libxml2 rarian getopt gdk-pixbuf2 jasper pango Xft2 cairo libpixman
 shared-mime-info xorg-libXdamage xorg-damageproto libnotify dbus-glib
 --->  Building p5-pathtools
 /usr/bin/gcc-4.2 -c   -pipe -O2 -arch x86_64 -arch i386 -fno-common
 -DPERL_DARWIN -I/opt/local/include -no-cpp-precomp -fno-strict-aliasing
 -fstack-protector -I/opt/local/include -O3   -DVERSION=\"3.33\"
 -DXS_VERSION=\"3.33\"  "-I/opt/local/lib/perl5/5.12.3/darwin-multi-
 2level/CORE"   Cwd.c
 In file included from /opt/local/lib/perl5/5.12.3/darwin-multi-
 2level/CORE/perl.h:2429,
                  from Cwd.xs:2:
 /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/handy.h:159:25:
 error: inttypes.h: No such file or directory
 In file included from /opt/local/lib/perl5/5.12.3/darwin-multi-
 2level/CORE/perl.h:2429,
                  from Cwd.xs:2:
 /opt/local/lib/perl5/5.12.3/darwin-multi-2level/CORE/handy.h:159:25:
 error: inttypes.h: No such file or directory
 lipo: can't open input file: /var/tmp//cclWSYbH.out (No such file or
 directory)
 make: *** [Cwd.o] Error 1
 shell command " cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/work/PathTools-3.33"
 && /usr/bin/make -j4 all " returned error 2
 Error: Target org.macports.build returned: shell command failed (see log
 for details)
 Warning: the following items did not execute (for p5-pathtools):
 org.macports.activate org.macports.build org.macports.destroot
 org.macports.install
 Error: Failed to install p5-pathtools
 Log for p5-pathtools is at:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_perl_p5-pathtools/main.log
 Error: The following dependencies were not installed: zenity gtk2 atk gtk-
 doc gnome-doc-utils intltool p5-pathtools p5-scalar-list-utils p5-xml-
 parser iso-codes py27-libxml2 rarian getopt gdk-pixbuf2 jasper pango Xft2
 cairo libpixman shared-mime-info xorg-libXdamage xorg-damageproto
 libnotify dbus-glib
 Error: Status 1 encountered during processing.
 To report a bug, see <http://guide.macports.org/#project.tickets>
 }}}

--

Comment(by dluke@…):

 p5-pathtools builds fine x86_64

 Is your perl built universal? If so, that's probably where the inadvertent
 -arch i386 is coming from (and so the perl port probably needs to be
 modified).

 Wine only builds i386, however, so perhaps that's related to what is going
 on?

-- 
Ticket URL: <https://trac.macports.org/ticket/28820#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list