[MacPorts] #34530: Error while installing gtk3 with +no_x11 +quartz variants

MacPorts noreply at macports.org
Sun May 20 09:54:58 PDT 2012


#34530: Error while installing gtk3 with +no_x11 +quartz variants
--------------------------------+-------------------------------------------
 Reporter:  pb.mosca@…          |       Owner:  macports-tickets@…                   
     Type:  defect              |      Status:  new                                  
 Priority:  Normal              |   Milestone:                                       
Component:  ports               |     Version:  2.1.1                                
 Keywords:                      |        Port:  gtk3                                 
--------------------------------+-------------------------------------------
 I got an error when trying to install GTK3 version 3.4.3 with +no_x11
 +quartz variants.

 The configure step looks for Xinput which is not installed. However I
 guess it should not as I want GTK3 without X11.

 Installing manually xinput fixes the issue.

 Here is the compilation log:
 {{{
 version:1
 :msg:clean --->  Computing dependencies for gtk3:info:clean .:debug:clean
 gtk3 has no conflicts
 :debug:clean Searching for dependency: xz
 :debug:clean Found Dependency: receipt exists for xz
 :debug:clean Searching for dependency: pkgconfig
 :debug:clean Found Dependency: receipt exists for pkgconfig
 :debug:clean Searching for dependency: atk
 :debug:clean Found Dependency: receipt exists for atk
 :debug:clean Searching for dependency: pango
 :debug:clean Found Dependency: receipt exists for pango
 :debug:clean Searching for dependency: gdk-pixbuf2
 :debug:clean Found Dependency: receipt exists for gdk-pixbuf2
 :debug:clean Searching for dependency: glib2
 :debug:clean Found Dependency: receipt exists for glib2
 :debug:clean Searching for dependency: shared-mime-info
 :debug:clean Found Dependency: receipt exists for shared-mime-info
 :msg:clean
 :debug:main Executing org.macports.main (gtk3)
 :debug:main changing euid/egid - current euid: 0 - current egid: 0
 :debug:main egid changed to: 501
 :debug:main euid changed to: 502
 :debug:archivefetch archivefetch phase started at Sun May 20 12:30:18 EDT
 2012
 :msg:archivefetch --->  Fetching archive for gtk3
 :debug:archivefetch Executing org.macports.archivefetch (gtk3)
 :debug:archivefetch euid/egid changed to: 0/0
 :debug:archivefetch chowned /opt/local/var/macports/incoming to macports
 :debug:archivefetch euid/egid changed to: 502/501
 :info:archivefetch --->  gtk3-3.4.3_0+no_x11+quartz.darwin_11.x86_64.tbz2
 doesn't seem to exist in /opt/local/var/macports/incoming/verified
 :msg:archivefetch --->  Attempting to fetch
 gtk3-3.4.3_0+no_x11+quartz.darwin_11.x86_64.tbz2 from
 http://packages.macports.org/gtk3
 :debug:archivefetch Fetching archive failed:: The requested URL returned
 error: 404
 :debug:archivefetch Privilege de-escalation not attempted as not running
 as root.
 :debug:fetch fetch phase started at Sun May 20 12:30:19 EDT 2012
 :notice:fetch --->  Fetching distfiles for gtk3
 :debug:fetch Executing proc-pre-org.macports.fetch-fetch-0
 :debug:fetch Executing org.macports.fetch (gtk3)
 :info:fetch --->  gtk+-3.4.3.tar.xz doesn't seem to exist in
 /opt/local/var/macports/distfiles/gtk3
 :notice:fetch --->  Attempting to fetch gtk+-3.4.3.tar.xz from
 ftp://ftp.cse.buffalo.edu/pub/Gnome/sources/gtk+/3.4/
 :debug:fetch Privilege de-escalation not attempted as not running as root.
 :debug:checksum checksum phase started at Sun May 20 12:31:12 EDT 2012
 :notice:checksum --->  Verifying checksum(s) for gtk3
 :debug:checksum Executing org.macports.checksum (gtk3)
 :info:checksum --->  Checksumming gtk+-3.4.3.tar.xz
 :debug:checksum Correct (sha1) checksum for gtk+-3.4.3.tar.xz
 :debug:checksum Correct (rmd160) checksum for gtk+-3.4.3.tar.xz
 :debug:checksum Correct (sha256) checksum for gtk+-3.4.3.tar.xz
 :debug:checksum Privilege de-escalation not attempted as not running as
 root.
 :debug:extract extract phase started at Sun May 20 12:31:13 EDT 2012
 :notice:extract --->  Extracting gtk3
 :debug:extract setting option extract.cmd to /opt/local/bin/xz
 :debug:extract Executing proc-pre-org.macports.extract-extract-0
 :debug:extract Executing org.macports.extract (gtk3)
 :info:extract --->  Extracting gtk+-3.4.3.tar.xz
 :debug:extract setting option extract.args to
 '/opt/local/var/macports/distfiles/gtk3/gtk+-3.4.3.tar.xz'
 :debug:extract Environment: CPATH='/opt/local/include'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/.CC_PRINT_OPTIONS'
 LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES'
 MACOSX_DEPLOYMENT_TARGET='10.7'
 :debug:extract Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work"
 && /opt/local/bin/xz -dc
 '/opt/local/var/macports/distfiles/gtk3/gtk+-3.4.3.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -'
 :debug:extract Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work"
 && /opt/local/bin/xz -dc
 '/opt/local/var/macports/distfiles/gtk3/gtk+-3.4.3.tar.xz' |
 /usr/bin/gnutar --no-same-owner -xf -
 :debug:extract euid/egid changed to: 0/0
 :debug:extract chowned
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work
 to macports
 :debug:extract euid/egid changed to: 502/501
 :debug:extract Privilege de-escalation not attempted as not running as
 root.
 :debug:patch patch phase started at Sun May 20 12:31:16 EDT 2012
 :debug:patch Executing org.macports.patch (gtk3)
 :debug:patch Privilege de-escalation not attempted as not running as root.
 :debug:configure configure phase started at Sun May 20 12:31:17 EDT 2012
 :notice:configure --->  Configuring gtk3
 :debug:configure Using compiler 'Mac OS X clang'
 :debug:configure Executing proc-pre-org.macports.configure-configure-0
 :debug:configure Executing proc-pre-org.macports.configure-configure-1
 :debug:configure Executing org.macports.configure (gtk3)
 :debug:configure Environment: CPATH='/opt/local/include' CFLAGS='-pipe -O2
 -fstrict-aliasing -arch x86_64' CPPFLAGS='-I/opt/local/include -DX_LOCALE'
 CXXFLAGS='-pipe -O2 -arch x86_64' LIBRARY_PATH='/opt/local/lib'
 MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/clang++'
 CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/.CC_PRINT_OPTIONS'
 F90FLAGS='-pipe -O2 -m64' LDFLAGS='-L/opt/local/lib -arch x86_64'
 OBJC='/usr/bin/clang' 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/clang'
 :debug:configure Assembled command: 'cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.4.3"
 && ./configure --prefix=/opt/local --enable-static --disable-glibtest
 --disable-introspection gio_can_sniff=yes --with-gdktarget=quartz'
 :debug:configure Executing command line:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/work/gtk+-3.4.3"
 && ./configure --prefix=/opt/local --enable-static --disable-glibtest
 --disable-introspection gio_can_sniff=yes --with-gdktarget=quartz
 :info:configure configure: WARNING: unrecognized options: --with-gdktarget
 :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...
 /opt/local/bin/gmkdir -p
 :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 how to create a ustar tar archive... gnutar
 :info:configure checking whether to enable maintainer-specific portions of
 Makefiles... yes
 :info:configure checking whether make supports nested variables... yes
 :info:configure checking for gcc... /usr/bin/clang
 :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... no
 :info:configure checking for suffix of object files... o
 :info:configure checking whether we are using the GNU C compiler... yes
 :info:configure checking whether /usr/bin/clang accepts -g... yes
 :info:configure checking for /usr/bin/clang option to accept ISO C89...
 none needed
 :info:configure checking for style of include used by make... GNU
 :info:configure checking dependency style of /usr/bin/clang... gcc3
 :info:configure checking whether /usr/bin/clang and cc understand -c and
 -o together... yes
 :info:configure checking for /usr/bin/clang option to accept ISO C99...
 none needed
 :info:configure checking for /usr/bin/clang option to accept ISO Standard
 C... (cached) none needed
 :info:configure checking whether make sets $(MAKE)... (cached) yes
 :info:configure checking build system type... x86_64-apple-darwin11.3.0
 :info:configure checking host system type... x86_64-apple-darwin11.3.0
 :info:configure checking for native Win32... no
 :info:configure checking whether we are using the GNU C++ compiler... yes
 :info:configure checking whether /usr/bin/clang++ accepts -g... yes
 :info:configure checking dependency style of /usr/bin/clang++... gcc3
 :info:configure checking how to print strings... printf
 :info:configure checking for a sed that does not truncate output...
 /opt/local/bin/gsed
 :info:configure checking for grep that handles long lines and -e...
 /usr/bin/grep
 :info:configure checking for egrep... /usr/bin/grep -E
 :info:configure checking for fgrep... /usr/bin/grep -F
 :info:configure checking for ld used by /usr/bin/clang... /usr/bin/ld
 :info:configure checking if the linker (/usr/bin/ld) is GNU ld... no
 :info:configure checking for BSD- or MS-compatible name lister (nm)...
 /usr/bin/nm
 :info:configure checking the name lister (/usr/bin/nm) interface... BSD nm
 :info:configure checking whether ln -s works... yes
 :info:configure checking the maximum length of command line arguments...
 196608
 :info:configure checking whether the shell understands some XSI
 constructs... yes
 :info:configure checking whether the shell understands "+="... yes
 :info:configure checking how to convert x86_64-apple-darwin11.3.0 file
 names to x86_64-apple-darwin11.3.0 format... func_convert_file_noop
 :info:configure checking how to convert x86_64-apple-darwin11.3.0 file
 names to toolchain format... func_convert_file_noop
 :info:configure checking for /usr/bin/ld option to reload object files...
 -r
 :info:configure checking for objdump... no
 :info:configure checking how to recognize dependent libraries... pass_all
 :info:configure checking for dlltool... no
 :info:configure checking how to associate runtime and link libraries...
 printf %s\n
 :info:configure checking for ar... ar
 :info:configure checking for archiver @FILE support... no
 :info:configure checking for strip... strip
 :info:configure checking for ranlib... ranlib
 :info:configure checking command to parse /usr/bin/nm output from
 /usr/bin/clang object... ok
 :info:configure checking for sysroot... no
 :info:configure checking for mt... no
 :info:configure checking if : is a manifest tool... no
 :info:configure checking for dsymutil... dsymutil
 :info:configure checking for nmedit... nmedit
 :info:configure checking for lipo... lipo
 :info:configure checking for otool... otool
 :info:configure checking for otool64... no
 :info:configure checking for -single_module linker flag... yes
 :info:configure checking for -exported_symbols_list linker flag... yes
 :info:configure checking for -force_load linker flag... yes
 :info:configure checking how to run the C preprocessor... /usr/bin/clang
 -E
 :info:configure checking for ANSI C header files... yes
 :info:configure checking for sys/types.h... yes
 :info:configure checking for sys/stat.h... yes
 :info:configure checking for stdlib.h... yes
 :info:configure checking for string.h... yes
 :info:configure checking for memory.h... yes
 :info:configure checking for strings.h... yes
 :info:configure checking for inttypes.h... yes
 :info:configure checking for stdint.h... yes
 :info:configure checking for unistd.h... yes
 :info:configure checking for dlfcn.h... yes
 :info:configure checking for objdir... .libs
 :info:configure checking if /usr/bin/clang supports -fno-rtti -fno-
 exceptions... yes
 :info:configure checking for /usr/bin/clang option to produce PIC... -fno-
 common -DPIC
 :info:configure checking if /usr/bin/clang PIC flag -fno-common -DPIC
 works... yes
 :info:configure checking if /usr/bin/clang static flag -static works... no
 :info:configure checking if /usr/bin/clang supports -c -o file.o... yes
 :info:configure checking if /usr/bin/clang supports -c -o file.o...
 (cached) yes
 :info:configure checking whether the /usr/bin/clang linker (/usr/bin/ld)
 supports shared libraries... yes
 :info:configure checking dynamic linker characteristics... darwin11.3.0
 dyld
 :info:configure checking how to hardcode library paths into programs...
 immediate
 :info:configure checking whether stripping libraries is possible... yes
 :info:configure checking if libtool supports shared libraries... yes
 :info:configure checking whether to build shared libraries... yes
 :info:configure checking whether to build static libraries... yes
 :info:configure checking how to run the C++ preprocessor...
 /usr/bin/clang++ -E
 :info:configure checking for ld used by /usr/bin/clang++... /usr/bin/ld
 :info:configure checking if the linker (/usr/bin/ld) is GNU ld... no
 :info:configure checking whether the /usr/bin/clang++ linker (/usr/bin/ld)
 supports shared libraries... yes
 :info:configure checking for /usr/bin/clang++ option to produce PIC...
 -fno-common -DPIC
 :info:configure checking if /usr/bin/clang++ PIC flag -fno-common -DPIC
 works... yes
 :info:configure checking if /usr/bin/clang++ static flag -static works...
 no
 :info:configure checking if /usr/bin/clang++ supports -c -o file.o... yes
 :info:configure checking if /usr/bin/clang++ supports -c -o file.o...
 (cached) yes
 :info:configure checking whether the /usr/bin/clang++ linker (/usr/bin/ld)
 supports shared libraries... yes
 :info:configure checking dynamic linker characteristics... darwin11.3.0
 dyld
 :info:configure checking how to hardcode library paths into programs...
 immediate
 :info:configure configure: creating ./config.lt
 :info:configure config.lt: creating libtool
 :info:configure checking for special C compiler options needed for large
 files... no
 :info:configure checking for _FILE_OFFSET_BITS value needed for large
 files... no
 :info:configure checking dependency style of /usr/bin/clang... gcc3
 :info:configure checking for nm... /usr/bin/nm
 :info:configure checking for some Win32 platform... no
 :info:configure checking whether build environment is sane... yes
 :info:configure checking for pkg-config... /opt/local/bin/pkg-config
 :info:configure checking pkg-config is at least version 0.9.0... yes
 :info:configure checking for BASE_DEPENDENCIES... yes
 :info:configure checking for CAIRO_BACKEND... yes
 :info:configure checking for GMODULE... yes
 :info:configure checking Whether to write dependencies into .pc files...
 yes
 :info:configure checking for perl5... /opt/local/bin/perl5
 :info:configure checking for indent... indent
 :info:configure checking for lstat... yes
 :info:configure checking for mkstemp... yes
 :info:configure checking for flockfile... yes
 :info:configure checking for getc_unlocked... yes
 :info:configure checking for localtime_r... yes
 :info:configure checking for _NL_TIME_FIRST_WEEKDAY... no
 :info:configure checking for _NL_MEASUREMENT_MEASUREMENT... no
 :info:configure checking for _NL_PAPER_HEIGHT... no
 :info:configure checking for _NL_PAPER_WIDTH... no
 :info:configure checking locale.h usability... yes
 :info:configure checking locale.h presence... yes
 :info:configure checking for locale.h... yes
 :info:configure checking for LC_MESSAGES... yes
 :info:configure checking libintl.h usability... yes
 :info:configure checking libintl.h presence... yes
 :info:configure checking for libintl.h... yes
 :info:configure checking for ngettext in libc... no
 :info:configure checking for bindtextdomain in -lintl... yes
 :info:configure checking for ngettext in -lintl... yes
 :info:configure checking for dgettext in -lintl... yes
 :info:configure checking for bind_textdomain_codeset... yes
 :info:configure checking for msgfmt... /opt/local/bin/msgfmt
 :info:configure checking for dcgettext... yes
 :info:configure checking if msgfmt accepts -c... yes
 :info:configure checking for gmsgfmt... /opt/local/bin/msgfmt
 :info:configure checking for xgettext... /opt/local/bin/xgettext
 :info:configure checking for catalogs to be installed...  af am ang ar as
 ast az az_IR be be at latin bg bn bn_IN br bs ca ca at valencia crh cs cy da de
 dz el en en_CA en_GB en at shaw eo es et eu fa fi fr ga gl gu he hi hr hu hy
 ia id io is it ja ka kg kk kn ko ku lg li lt lv mai mi mk ml mn mr ms my
 nb nds ne nl nn nso oc or pa pl ps pt pt_BR ro ru rw si sk sl sq sr sr at ije
 sr at latin sv ta te th tk tr tt ug uk ur uz uz at cyrillic vi wa xh yi zh_CN
 zh_HK zh_TW
 :info:configure checking for extra flags to get ANSI library prototypes...
 none needed
 :info:configure checking for the BeOS... no
 :info:configure checking for HP-UX... no
 :info:configure checking for pkg-config... (cached) /opt/local/bin/pkg-
 config
 :info:configure checking pkg-config is at least version 0.16... yes
 :info:configure checking for GLIB - version >= 2.32.0... yes (version
 2.32.3)
 :info:configure checking for bind_textdomain_codeset... (cached) yes
 :info:configure checking pwd.h usability... yes
 :info:configure checking pwd.h presence... yes
 :info:configure checking for pwd.h... yes
 :info:configure checking sys/time.h usability... yes
 :info:configure checking sys/time.h presence... yes
 :info:configure checking for sys/time.h... yes
 :info:configure checking for unistd.h... (cached) yes
 :info:configure checking ftw.h usability... yes
 :info:configure checking ftw.h presence... yes
 :info:configure checking for ftw.h... yes
 :info:configure checking for GNU ftw extensions... no
 :info:configure checking for stdlib.h... (cached) yes
 :info:configure checking for unistd.h... (cached) yes
 :info:configure checking for sys/param.h... yes
 :info:configure checking for getpagesize... yes
 :info:configure checking for working mmap... yes
 :info:configure checking for mallinfo... no
 :info:configure checking for getresuid... no
 :info:configure checking for uid_t in sys/types.h... yes
 :info:configure checking for round in -lm... yes
 :info:configure checking for round... yes
 :info:configure checking for rint... yes
 :info:configure checking for isnan... yes
 :info:configure checking for isinf... yes
 :info:configure checking for nearbyint... yes
 :info:configure checking crt_externs.h usability... yes
 :info:configure checking crt_externs.h presence... yes
 :info:configure checking for crt_externs.h... yes
 :info:configure checking for _NSGetEnviron... yes
 :info:configure checking whether to build dynamic modules... yes
 :info:configure checking whether dynamic modules work... yes
 :info:configure checking immodules to build...
 :info:configure checking sys/systeminfo.h usability... no
 :info:configure checking sys/systeminfo.h presence... no
 :info:configure checking for sys/systeminfo.h... no
 :info:configure checking sys/sysinfo.h usability... no
 :info:configure checking sys/sysinfo.h presence... no
 :info:configure checking for sys/sysinfo.h... no
 :info:configure checking for gdk-pixbuf-csource... /opt/local/bin/gdk-
 pixbuf-csource
 :info:configure checking for XOpenDisplay... yes
 :info:configure checking for XextFindDisplay... yes
 :info:configure checking if <X11/extensions/XIproto.h> is needed for
 xReply... no
 :info:configure checking for XkbQueryExtension... yes
 :info:configure checking for XShapeCombineMask... yes
 :info:configure checking for XSyncQueryExtension... yes
 :info:configure checking for X11/extensions/sync.h... yes
 :info:configure checking for Xinerama packages... no
 :info:configure checking for XineramaQueryExtension in -lXinerama... no
 :info:configure checking for XGetEventData... yes
 :info:configure configure: error: *** XInput2 extension not found. Check
 '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_gnome_gtk3/gtk3/work/gtk+-3.4.3"
 && ./configure --prefix=/opt/local --enable-static --disable-glibtest
 --disable-introspection gio_can_sniff=yes --with-gdktarget=quartz
 :info:configure Exit code: 1
 :error:configure org.macports.configure for port gtk3 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 gtk3:
 org.macports.install org.macports.configure org.macports.build
 org.macports.destroot
 :notice:configure Please see the log file for port gtk3 for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk3/gtk3/main.log
 }}}

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


More information about the macports-tickets mailing list