Building py27-sane-2.0.txz (origin /buildshare/ports/355755/graphics/py-sane) for powerpc-10-0 on XXX slot2: created x distfiles/ x distfiles/python/ x distfiles/python/Imaging-1.1.7.tar.gz x packages/ x packages/libXdmcp-1.1.1_2.txz x packages/libSM-1.2.2_2,1.txz x packages/py27-libxml2-2.9.1.txz x packages/inputproto-2.3.txz x packages/libXxf86vm-1.1.3_2.txz x packages/pkg-1.2.7_2.txz x packages/bison-2.7.1,1.txz x packages/libxslt-1.1.28_3.txz x packages/xf86vidmodeproto-2.3.1.txz x packages/libxml2-2.9.1_1.txz x packages/libXdamage-1.1.4_2.txz x packages/m4-1.4.17_1,1.txz x packages/libXrandr-1.4.2_2.txz x packages/perl5-5.16.3_10.txz x packages/pkgconf-0.9.5.txz x packages/libXext-1.3.2_2,1.txz x packages/jpeg-8_5.txz x packages/xtrans-1.3.4_1.txz x packages/fixesproto-5.0.txz x packages/py27-tkinter-2.7.6_4.txz x packages/libgpg-error-1.13.txz x packages/gmake-3.82_1.txz x packages/gettext-0.18.3.1_1.txz x packages/libXi-1.7.2_2,1.txz x packages/libICE-1.0.8_2,1.txz x packages/libXt-1.1.4_2,1.txz x packages/libXau-1.0.8_2.txz x packages/python27-2.7.6_4.txz x packages/dri2proto-2.8.txz x packages/py27-setuptools27-2.0.1.txz x packages/xextproto-7.3.0.txz x packages/fontconfig-2.11.0_3,1.txz x packages/libGL-7.6.1_4.txz x packages/makedepend-1.0.5,1.txz x packages/libX11-1.6.2_2,1.txz x packages/libdrm-2.4.17_1.txz x packages/xorg-macros-1.19.0.txz x packages/libXft-2.3.1_2.txz x packages/randrproto-1.4.0.txz x packages/libGLU-9.0.0.txz x packages/lcms-1.19_3,1.txz x packages/python2-2_2.txz x packages/v4l_compat-1.0.20120501_1.txz x packages/kbproto-1.0.6.txz x packages/libXfixes-5.0.1_2.txz x packages/libxcb-1.10_2.txz x packages/libv4l-0.8.8_1.txz x packages/glproto-1.4.17.txz x packages/tk86-8.6.1.txz x packages/xf86bigfontproto-1.2.0.txz x packages/expat-2.1.0.txz x packages/py27-imaging-1.1.7_3.txz x packages/freetype2-2.5.3_2.txz x packages/xproto-7.0.25.txz x packages/scrnsaverproto-1.2.2.txz x packages/libpciaccess-0.13.2_2.txz x packages/tiff-4.0.3_2.txz x packages/xcb-proto-1.10_1.txz x packages/freeglut-2.8.1_2.txz x packages/tcl86-8.6.1.txz x packages/bigreqsproto-1.1.2.txz x packages/libtool-2.4.2_3.txz x packages/renderproto-0.11.1.txz x packages/pciids-20140526.txz x packages/jbigkit-1.6.txz x packages/libXScrnSaver-1.2.2_2.txz x packages/libXrender-0.9.8_2.txz x packages/xcmiscproto-1.2.2.txz x packages/libcheck-0.9.12.txz x packages/libgcrypt-1.5.3_2.txz x packages/libXmu-1.1.2_2,1.txz x packages/sane-backends-1.0.24.txz x packages/damageproto-1.2.1.txz x packages/libpthread-stubs-0.3_4.txz ELF ldconfig path: /lib /usr/lib /usr/lib/compat Make depends ===> py27-sane-2.0 depends on file: /usr/local/sbin/pkg - not found ===> Verifying install for /usr/local/sbin/pkg in /buildshare/ports/355755/ports-mgmt/pkg ===> Installing existing package /packages/pkg-1.2.7_2.txz Installing pkg-1.2.7_2... done If you are upgrading from the old package format, first run: # pkg2ng ===> Returning to build of py27-sane-2.0 ===> py27-sane-2.0 depends on shared library: libsane.so - not found ===> Verifying for libsane.so in /buildshare/ports/355755/graphics/sane-backends ===> Installing existing package /packages/sane-backends-1.0.24.txz Installing sane-backends-1.0.24...Installing gettext-0.18.3.1_1... done Installing libv4l-0.8.8_1...Installing jpeg-8_5... done done Installing tiff-4.0.3_2...Installing freeglut-2.8.1_2...Installing libGLU-9.0.0...Installing libGL-7.6.1_4...Installing dri2proto-2.8... done Installing expat-2.1.0... done Installing libX11-1.6.2_2,1...Installing kbproto-1.0.6... done Installing libXau-1.0.8_2...Installing xproto-7.0.25... done done Installing libXdmcp-1.1.1_2... done Installing libxcb-1.10_2...Installing libpthread-stubs-0.3_4... done Installing libxml2-2.9.1_1... done done done Installing libXdamage-1.1.4_2...Installing damageproto-1.2.1... done Installing libXfixes-5.0.1_2...Installing fixesproto-5.0... done done done Installing libXext-1.3.2_2,1...Installing xextproto-7.3.0... done done Installing libXxf86vm-1.1.3_2...Installing xf86vidmodeproto-2.3.1... done done Installing libdrm-2.4.17_1...Installing libpciaccess-0.13.2_2...Installing pciids-20140526... done done done done done Installing libICE-1.0.8_2,1... done Installing libXi-1.7.2_2,1...Installing inputproto-2.3... done done Installing libXrandr-1.4.2_2...Installing libXrender-0.9.8_2...Installing renderproto-0.11.1... done done Installing randrproto-1.4.0... done done done Installing jbigkit-1.6... done Installing libSM-1.2.2_2,1... done Installing libXmu-1.1.2_2,1...Installing libXt-1.1.4_2,1... done done done ===> Creating users and/or groups. Creating group 'saned' with gid '194'. Creating user 'saned' with uid '194'. mkdir: /usr/local/etc/sane.d/dll.d: File exists mkdir: /usr/local/share/sane: File exists mkdir: /usr/local/share/sane/artec_eplus48u: File exists mkdir: /usr/local/share/sane/epjitsu: File exists mkdir: /usr/local/share/sane/gt68xx: File exists mkdir: /usr/local/share/sane/snapscan: File exists done Since FreeBSD has new USB stack, freeglut normally doesn't build on FreeBSD 8 (yet). To workaround this a small patch adds one include file and comments out content of one function (only leaves return NULL). This might cause side effects. Joysticks do not work, and there might be ports that do not compile or applications that crash because of this. Do not hesitate to contact x11@FreeBSD.org if there are any issues and side effects because of this. ================================================================== saned will log to the 'daemon' facility; this is a hard-coded default. Also, saned has no support for SSL/TLS or cryptographic authentication; you may wish to deploy security/stunnel to wrap it if you have concerns about security. If you are using a USB scanner, you should create /usr/local/etc/devd/saned.conf to allow saned access permissions. Currently, devfs.rules(5) has no support for USB specific filters such as vendor, product and serial number. Here is an example saned.conf for an Epson CX3650 multi-function scanner/printer device (assuming you are sharing the printer function with cups): notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "cdev" "ugen[0-9].[0-9]"; match "vendor" "0x04b8"; match "product" "0x080e"; action "chown -L cups:saned /dev/$cdev && chmod -L 660 /dev/$cdev"; }; To determine which port your scanner is connected to, inspect the output of 'usbconfig list' before and after connecting your scanner, and note the numbers which appear after 'ugen' in the first column. Then, use 'usbconfig -d X.Y dump_device_desc' to learn the idVendor and idProduct fields, and plug them into the above example entry. Finally, restart devd with the command: # /etc/rc.d/devd restart Please take /usr/local/etc/sane.d/dll.conf as an example only; you may wish to enable only the 'net' backend on client machines; be sure to point it at your scan server. If you are setting up a scan server, you may also wish to edit /usr/local/etc/sane.d/saned.conf to only permit specific machines. ================================================================== ===> Returning to build of py27-sane-2.0 ===> py27-sane-2.0 depends on package: py27-setuptools27>0 - not found ===> Verifying install for py27-setuptools27>0 in /buildshare/ports/355755/devel/py-setuptools27 ===> Installing existing package /packages/py27-setuptools27-2.0.1.txz Installing py27-setuptools27-2.0.1...Installing python27-2.7.6_4... done done ==== Note that some of the standard modules are provided as separate ports since they require extra dependencies: bsddb databases/py-bsddb gdbm databases/py-gdbm sqlite3 databases/py-sqlite3 tkinter x11-toolkits/py-tkinter Install them as needed. ==== ===> Returning to build of py27-sane-2.0 ===> py27-sane-2.0 depends on file: /usr/local/bin/python2.7 - found ===> py27-sane-2.0 depends on package: py27-imaging>=1.1.7 - not found ===> Verifying install for py27-imaging>=1.1.7 in /buildshare/ports/355755/graphics/py-imaging ===> Installing existing package /packages/py27-imaging-1.1.7_3.txz Installing py27-imaging-1.1.7_3...Installing freetype2-2.5.3_2... done Installing lcms-1.19_3,1... done Installing py27-tkinter-2.7.6_4...Installing tk86-8.6.1...Installing libXScrnSaver-1.2.2_2...Installing scrnsaverproto-1.2.2... done done Installing libXft-2.3.1_2...Installing fontconfig-2.11.0_3,1...Running fc-cache to build fontconfig cache... /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /usr/local/lib/X11/fonts/local: caching, new cache contents: 0 fonts, 0 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: caching, new cache contents: 0 fonts, 1 dirs /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded done done Installing tcl86-8.6.1... done done done done ===> Returning to build of py27-sane-2.0 ===> py27-sane-2.0 depends on package: py27-setuptools27>0 - found ===> py27-sane-2.0 depends on file: /usr/local/bin/python2.7 - found Make install ===> py27-sane-2.0 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by py27-sane-2.0 for building ===> Extracting for py27-sane-2.0 => SHA256 Checksum OK for python/Imaging-1.1.7.tar.gz. ===> Patching for py27-sane-2.0 ===> Applying FreeBSD patches for py27-sane-2.0 ===> py27-sane-2.0 depends on package: py27-setuptools27>0 - found ===> py27-sane-2.0 depends on file: /usr/local/bin/python2.7 - found ===> py27-sane-2.0 depends on shared library: libsane.so - found (/usr/local/lib/libsane.so.1) ===> Configuring for py27-sane-2.0 running config ===> Building for py27-sane-2.0 running build running build_py creating build creating build/lib.freebsd-10.0-STABLE-powerpc-2.7 copying sane.py -> build/lib.freebsd-10.0-STABLE-powerpc-2.7 running build_ext building '_sane' extension creating build/temp.freebsd-10.0-STABLE-powerpc-2.7 cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -fPIC -I../libImaging -I/usr/local/include -I/usr/local/include/python2.7 -c _sane.c -o build/temp.freebsd-10.0-STABLE-powerpc-2.7/_sane.o _sane.c: In function 'PySane_get_devices': _sane.c:1166: warning: passing argument 1 of 'sane_get_devices' from incompatible pointer type cc -shared -O2 -pipe -fno-strict-aliasing build/temp.freebsd-10.0-STABLE-powerpc-2.7/_sane.o -L../libImaging -L/usr/local/lib -lsane -o build/lib.freebsd-10.0-STABLE-powerpc-2.7/_sane.so ===> Staging for py27-sane-2.0 ===> py27-sane-2.0 depends on package: py27-imaging>=1.1.7 - found ===> py27-sane-2.0 depends on package: py27-setuptools27>0 - found ===> py27-sane-2.0 depends on file: /usr/local/bin/python2.7 - found ===> Generating temporary packing list running install running build running build_py running build_ext running install_lib creating /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7 creating /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages copying build/lib.freebsd-10.0-STABLE-powerpc-2.7/sane.py -> /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages copying build/lib.freebsd-10.0-STABLE-powerpc-2.7/_sane.so -> /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages byte-compiling /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages/sane.py to sane.pyc writing byte-compilation script '/tmp/tmpMlVSTs.py' /usr/local/bin/python2.7 -O /tmp/tmpMlVSTs.py removing /tmp/tmpMlVSTs.py running install_egg_info running egg_info creating sane.egg-info writing sane.egg-info/PKG-INFO writing top-level names to sane.egg-info/top_level.txt writing dependency_links to sane.egg-info/dependency_links.txt writing manifest file 'sane.egg-info/SOURCES.txt' warning: manifest_maker: standard file '-c' not found reading manifest file 'sane.egg-info/SOURCES.txt' writing manifest file 'sane.egg-info/SOURCES.txt' Copying sane.egg-info to /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages/sane-2.0-py2.7.egg-info running install_scripts writing list of installed files to '/obj/buildshare/ports/355755/graphics/py-sane/work/.PLIST.pymodtmp' ====> Compressing man pages (compress-man) if [ -d "/obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages/sane-2.0-py2.7.egg-info" ]; then /bin/ls /obj/buildshare/ports/355755/graphics/py-sane/work/stage/usr/local/lib/python2.7/site-packages/sane-2.0-py2.7.egg-info | while read f; do echo lib/python2.7/site-packages/sane-2.0-py2.7.egg-info/${f} >> /obj/buildshare/ports/355755/graphics/py-sane/work/.PLIST.mktmp; done; echo "@unexec rmdir \"%D/lib/python2.7/site-packages/sane-2.0-py2.7.egg-info\" 2>/dev/null || true" >> /obj/buildshare/ports/355755/graphics/py-sane/work/.PLIST.mktmp; fi; ===> Installing for py27-sane-2.0 ===> Checking if graphics/py-sane already installed ===> Registering installation for py27-sane-2.0 Installing py27-sane-2.0... done Make package ===> Building package for py27-sane-2.0 slot2: removed