[Bug 207846] make of /usr/ports/graphics/graphite fails with "fatal error: 'graphite2/Types.h' file not found"

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Mar 9 16:33:12 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207846

            Bug ID: 207846
           Summary: make of /usr/ports/graphics/graphite fails with "fatal
                    error: 'graphite2/Types.h' file not found"
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs at FreeBSD.org
          Reporter: mikea at mikea.ath.cx

FreeBSD mikea.ath.cx 10.1-RELEASE FreeBSD 10.1-RELEASE #0: Sat Sep  5 16:18:18
CDT 2015     root at mikea.ath.cx:/usr/obj/usr/src/sys/AMD64-IPFW1+PF  amd64

This is essentially a virgin system, with a fresh ports tree ("portsnap fetch
extract"). 

make of /usr/ports/www/firefox initially disclosed the problem: 

      1 Script started on Wed Mar  9 10:12:09 2016
      2 You have mail.
      3 mikea# make^M
      4 ===>   firefox-45.0_1,1 depends on package: nspr>=4.12 - found
      5 ===>   firefox-45.0_1,1 depends on package: nss>=3.21.1 - found
      6 ===>   firefox-45.0_1,1 depends on package: libevent2>=2.0.21_2 - found
      7 ===>   firefox-45.0_1,1 depends on package: soundtouch>=1.9.0 - found
      8 ===>   firefox-45.0_1,1 depends on package: harfbuzz>=1.1.0 - found
      9 ===>   firefox-45.0_1,1 depends on package: graphite2>=1.3.6 - not
found
     10 ===>  License GPLv2 LGPL21 MPL accepted by the user
     11 ===>   graphite2-1.3.6 depends on file: /usr/local/sbin/pkg - found
     12 => graphite-1.3.6.tgz doesn't seem to exist in /usr/ports/distfiles/.
     13 => Attempting to fetch
http://downloads.sourceforge.net/project/silgraphite/graphite2/graphite-1.3.6.tgz
     14 ^Mgraphite-1.3.6.tgz                              0% of 3790 kB    0 
Bps^Mgraphite-1.3.6.tgz                              0% of 3790 kB  13
     14 9 kBps^Mgraphite-1.3.6.tgz                              8% of 3790 kB 
304 kBps^Mgraphite-1.3.6.tgz                             18% of 3790 
     14 kB  374 kBps 00m13s^Mgraphite-1.3.6.tgz                             29%
of 3790 kB  419 kBps 00m09s^Mgraphite-1.3.6.tgz                     
     14         44% of 3790 kB  585 kBps 00m06s^Mgraphite-1.3.6.tgz            
                62% of 3790 kB  657 kBps 00m03s^Mgraphite-1.3.6.tgz 
     14                             79% of 3790 kB  661 kBps
00m01s^Mgraphite-1.3.6.tgz                             84% of 3790 kB  201 kBps
00m01s
     14 ^Mgraphite-1.3.6.tgz                             92% of 3790 kB  259
kBps 00m09s^Mgraphite-1.3.6.tgz                            100% of 3790
     14  kB  422 kBps 00m09s
     15 ===> Fetching all distfiles required by graphite2-1.3.6 for building
     16 ===>  Extracting for graphite2-1.3.6
     17 => SHA256 Checksum OK for graphite-1.3.6.tgz.
     18 ===>  Patching for graphite2-1.3.6
     19 ===>   graphite2-1.3.6 depends on file: /usr/local/bin/cmake - found
     20 ===>  Configuring for graphite2-1.3.6
     21 ===>  Performing in-source build
     22 /bin/mkdir -p /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     23 -- The C compiler identification is Clang 3.4.1
     24 -- The CXX compiler identification is Clang 3.4.1
     25 -- Check for working C compiler: /usr/bin/cc
     26 -- Check for working C compiler: /usr/bin/cc -- works
     27 -- Detecting C compiler ABI info
     28 -- Detecting C compiler ABI info - done
     29 -- Check for working CXX compiler: /usr/bin/c++
     30 -- Check for working CXX compiler: /usr/bin/c++ -- works
     31 -- Detecting CXX compiler ABI info
     32 -- Detecting CXX compiler ABI info - done
     33 -- Build: Release
     34 -- Segment Cache support: enabled
     35 -- File Face support: enabled
     36 -- Tracing support: enabled
     37 -- Using vm machine type: direct
     38 -- Looking for sys/types.h
     39 -- Looking for sys/types.h - found
     40 -- Looking for stdint.h
     41 -- Looking for stdint.h - found
     42 -- Looking for stddef.h
     43 -- Looking for stddef.h - found
     44 -- Check size of size_t
     45 -- Check size of size_t - done
     46 -- Configuring done
     47 -- Generating done
     48 CMake Warning:
     49   Manually-specified variables were not used by the project:
     50 
     51     CMAKE_CXX_FLAGS_DEBUG
     52     CMAKE_C_FLAGS_DEBUG
     53     CMAKE_MODULE_LINKER_FLAGS
     54     THREADS_HAVE_PTHREAD_ARG
     55 
     56 
     57 -- Build files have been written to:
/usr/ports/graphics/graphite2/work/graphite2-1.3.6
     58 ===>  Building for graphite2-1.3.6
     59 Scanning dependencies of target endiantest
     60 Scanning dependencies of target graphite2-base
     61 [  1%] Building CXX object
tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o
     62 Scanning dependencies of target graphite2-segcache
     63 [  2%] Building CXX object
tests/CMakeFiles/graphite2-base.dir/__/src/FeatureMap.cpp.o
     64 In file included from
/usr/ports/graphics/graphite2/work/graphite2-1.3.6/src/FeatureMap.cpp:29:
     65
/usr/ports/graphics/graphite2/work/graphite2-1.3.6/src/inc/Main.h:30:10: fatal
error: 'graphite2/Types.h' file not found
     66 #include "graphite2/Types.h"
     67          ^
     68 Scanning dependencies of target graphite2
     69 [  3%] Building CXX object
tests/CMakeFiles/graphite2-segcache.dir/__/src/call_machine.cpp.o
     70
/usr/ports/graphics/graphite2/work/graphite2-1.3.6/src/call_machine.cpp:37:10:
fatal error: 'graphite2/Segment.h' file not found
     71 #include <graphite2/Segment.h>
     72          ^
     73 1 error generated.
     74 --- tests/CMakeFiles/graphite2-base.dir/__/src/FeatureMap.cpp.o ---
     75 *** [tests/CMakeFiles/graphite2-base.dir/__/src/FeatureMap.cpp.o] Error
code 1
     76 
     77 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     78 1 error
     79 
     80 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     81 --- tests/CMakeFiles/graphite2-base.dir/all ---
     82 *** [tests/CMakeFiles/graphite2-base.dir/all] Error code 2
     83 
     84 make[4]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     85 A failure has been detected in another branch of the parallel make
     86 
     87 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     88 --- src/CMakeFiles/graphite2.dir/all ---
     89 *** [src/CMakeFiles/graphite2.dir/all] Error code 2
     90 
     91 make[4]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     92 1 error generated.
     93 --- tests/CMakeFiles/graphite2-segcache.dir/__/src/call_machine.cpp.o
---
     94 *** [tests/CMakeFiles/graphite2-segcache.dir/__/src/call_machine.cpp.o]
Error code 1
     95 
     96 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     97 1 error
     98 
     99 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    100 --- tests/CMakeFiles/graphite2-segcache.dir/all ---
    101 *** [tests/CMakeFiles/graphite2-segcache.dir/all] Error code 2
    102 
    103 make[4]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    104
/usr/ports/graphics/graphite2/work/graphite2-1.3.6/tests/endian/endiantest.cpp:36:10:
fatal error: 'inc/Endian.h' file not found
    105 #include "inc/Endian.h"
    106          ^
    107 1 error generated.
    108 --- tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o ---
    109 *** [tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o] Error
code 1
    110 
    111 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    112 1 error
    113 
    114 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    115 --- tests/endian/CMakeFiles/endiantest.dir/all ---
    116 *** [tests/endian/CMakeFiles/endiantest.dir/all] Error code 2
    117 
    105 #include "inc/Endian.h"
    106          ^
    107 1 error generated.
    108 --- tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o ---
    109 *** [tests/endian/CMakeFiles/endiantest.dir/endiantest.cpp.o] Error
code 1
    110 
    111 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    112 1 error
    113 
    114 make[5]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    115 --- tests/endian/CMakeFiles/endiantest.dir/all ---
    116 *** [tests/endian/CMakeFiles/endiantest.dir/all] Error code 2
    117 
    118 make[4]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    119 4 errors
    120 
    121 make[4]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    122 *** [all] Error code 2
    123 
    124 make[3]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    125 1 error
    126 
    127 make[3]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
    128 ===> Compilation failed unexpectedly.
    129 Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the
failure to
    130 the maintainer.
    131 *** Error code 1
    132 
    133 Stop.
    134 make[2]: stopped in /usr/ports/graphics/graphite2
    135 *** Error code 1
    136 
    137 Stop.
    138 make[1]: stopped in /usr/ports/www/firefox
    139 *** Error code 1
    140 
    141 Stop.
    142 make: stopped in /usr/ports/www/firefox
    143 mikea# exit
    144 
    145 Script done on Wed Mar  9 10:12:26 2016

A make of /usr/ports/graphics/graphite2 by itself, after a "make distclean",
also fails. Note: MAKE_JOBS_UNSAFE is set to yes for this. 
      1 Script started on Wed Mar  9 10:29:07 2016
      2 You have mail.
      3 mikea# env^M
      4 SCRIPT=typescript
      5 LANG=en_US.UTF-8
      6
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
      7 DISPLAY=localhost:15.0
      8 TERM=xterm
      9 LC_COLLATE=C
     10 MAIL=/var/mail/root
     11 LOGNAME=root
     12 USER=root
     13 USERNAME=root
     14 HOME=/root
     15 SHELL=/bin/csh
     16 SUDO_COMMAND=/usr/bin/su
     17 SUDO_USER=mikea
     18 SUDO_UID=1001
     19 SUDO_GID=1001
     20 HOSTTYPE=FreeBSD
     21 VENDOR=amd
     22 OSTYPE=FreeBSD
     23 MACHTYPE=x86_64
     24 SHLVL=2
     25 PWD=/up/graphics/graphite2
     26 GROUP=wheel
     27 HOST=mikea.ath.cx
     28 REMOTEHOST=204.62.20.194
     29 EDITOR=vi
     30 PAGER=more
     31 BLOCKSIZE=K
     32 MAKE_JOBS_UNSAFE=yes
     33 mikea# make^M
     34 ===>  Building for graphite2-1.3.6
     35 [  1%] ESC[32mBuilding CXX object
src/CMakeFiles/graphite2.dir/direct_machine.cpp.oESC[0m
     36 In file included from
/usr/ports/graphics/graphite2/work/graphite2-1.3.6/src/direct_machine.cpp:42:
     37
ESC[1m/usr/ports/graphics/graphite2/work/graphite2-1.3.6/src/inc/Machine.h:35:10:
ESC[0mESC[0;1;31mfatal error: ESC[0mESC[1m'graphite2/Types     37 .h' file not
foundESC[0m
     38 #include <graphite2/Types.h>
     39 ESC[0;1;32m         ^
     40 ESC[0m1 error generated.
     41 *** Error code 1
     42 
     43 Stop.
     44 make[3]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     45 *** Error code 1
     46 
     47 Stop.
     48 make[2]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     49 *** Error code 1
     50 
     51 Stop.
     52 make[1]: stopped in /usr/ports/graphics/graphite2/work/graphite2-1.3.6
     53 *** Error code 1
     54 
     55 Stop.
     56 make: stopped in /usr/ports/graphics/graphite2
     57 mikea# exit
     58 
     59 Script done on Wed Mar  9 10:29:18 2016

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list