[MacPorts] #24117: libproxy 0.4.0 fails to compile on 10.6 64-bit
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ---------------------------------+------------------------------------------ Reporter: cavinsays@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: ---------------------------------+------------------------------------------ Hi, When doing an update on my ports, I came across a build failure for libproxy 0.4.0. I'm using 10.6 and build in x86_64. Here is some of the output: {{{ [ 96%] [100%] Built target proxy Building CXX object libproxy/CMakeFiles/config_gnome.dir/modules/config_gnome.cpp.o cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0/libproxy && /usr/bin/g++-4.2 -Dconfig_gnome_EXPORTS -D_POSIX_C_SOURCE=1 -DLIBEXECDIR=\"/opt/local/libexec/\" -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.6.sdk -mmacosx-version-min=10.6 -g -Wall -Werror -fvisibility=hidden -pipe -O2 -arch x86_64 -O3 -DNDEBUG -fPIC -I/opt/local/include -I/opt/local/include/webkit-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/gtk-2.0 -I/opt/local/include/libsoup-2.4 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/opt/local/include/libxml2 -I/opt/local/include/gconf/2 -I/opt/local/include/orbit-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0/libproxy/.. -o CMakeFiles/config_gnome.dir/modules/config_gnome.cpp.o -c /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0/libproxy/modules/config_gnome.cpp /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0/libproxy/modules/config_gnome.cpp: In constructor 'gnome_config_extension::gnome_config_extension()': /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0/libproxy/modules/config_gnome.cpp:117: error: 'FNONBLOCK' was not declared in this scope make[2]: *** [libproxy/CMakeFiles/config_gnome.dir/modules/config_gnome.cpp.o] Error 1 make[1]: *** [libproxy/CMakeFiles/config_gnome.dir/all] Error 2 make: *** [all] Error 2 shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_libproxy/work/libproxy-0.4.0" && /usr/bin/make -j2 all " returned error 2 Error: Target org.macports.build returned: shell command failed DEBUG: Backtrace: shell command failed while executing "command_exec build" (procedure "portbuild::build_main" line 9) invoked from within "$procedure $targetname" }}} Thanks, Cavin -- Ticket URL: <http://trac.macports.org/ticket/24117> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ---------------------------------+------------------------------------------ Reporter: cavinsays@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: libproxy ---------------------------------+------------------------------------------ Changes (by ryandesign@…): * owner: macports-tickets@… => devans@… * port: => libproxy -- Ticket URL: <http://trac.macports.org/ticket/24117#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ---------------------------------+------------------------------------------ Reporter: cavinsays@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: libproxy ---------------------------------+------------------------------------------ Changes (by jmr@…): * cc: nox@… (added) -- Ticket URL: <http://trac.macports.org/ticket/24117#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ---------------------------------+------------------------------------------ Reporter: cavinsays@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: libproxy ---------------------------------+------------------------------------------ Comment(by lichadexun@…): I modified config_gnome.cpp line 117 from FNONBLOCK to O_NONBLOCK and libproxy upgraded fine. -- Ticket URL: <http://trac.macports.org/ticket/24117#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ---------------------------------+------------------------------------------ Reporter: cavinsays@… | Owner: devans@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Keywords: | Port: libproxy ---------------------------------+------------------------------------------ Comment(by mike@…): See also: http://code.google.com/p/libproxy/issues/detail?id=101 -- Ticket URL: <http://trac.macports.org/ticket/24117#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24117: libproxy 0.4.0 fails to compile on 10.6 64-bit ----------------------------------+----------------------------------------- Reporter: cavinsays@… | Owner: devans@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.8.2 Resolution: fixed | Keywords: Port: libproxy | ----------------------------------+----------------------------------------- Changes (by raimue@…): * cc: raimue@… (added) * status: new => closed * resolution: => fixed Comment: FNONBLOCK is an alias for O_NONBLOCK, but usually only used in the kernel and not available if compiling with -DPOSIX_C_SOURCE. I will notify upstream as well. Fixed in r65068. -- Ticket URL: <http://trac.macports.org/ticket/24117#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts