Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kirkstone ttf-dejavu fails to install properly #576

Closed
ts-kris opened this issue May 27, 2022 · 1 comment
Closed

kirkstone ttf-dejavu fails to install properly #576

ts-kris opened this issue May 27, 2022 · 1 comment

Comments

@ts-kris
Copy link

ts-kris commented May 27, 2022

When building in kirkstone I ended up with this error:

ERROR: ttf-dejavu-2.37-r7 do_package: QA Issue: ttf-dejavu: Files/directories were installed but not shipped in any package:
  /usr
  /usr/lib
  /usr/lib/fonts
  /usr/lib/fonts/DejaVuSerifCondensed-BoldItalic.ttf
  /usr/lib/fonts/DejaVuSerif-Bold.ttf
  /usr/lib/fonts/DejaVuSerif-Italic.ttf
  /usr/lib/fonts/DejaVuSansMono-Oblique.ttf
  /usr/lib/fonts/DejaVuSansCondensed-Oblique.ttf
  /usr/lib/fonts/DejaVuSans-Bold.ttf
  /usr/lib/fonts/DejaVuMathTeXGyre.ttf
  /usr/lib/fonts/DejaVuSansMono-BoldOblique.ttf
  /usr/lib/fonts/DejaVuSerifCondensed-Bold.ttf
  /usr/lib/fonts/DejaVuSans-Oblique.ttf
  /usr/lib/fonts/DejaVuSansMono.ttf
  /usr/lib/fonts/DejaVuSerif-BoldItalic.ttf
  /usr/lib/fonts/DejaVuSans-ExtraLight.ttf
  /usr/lib/fonts/DejaVuSerif.ttf
  /usr/lib/fonts/DejaVuSansCondensed.ttf
  /usr/lib/fonts/DejaVuSansCondensed-Bold.ttf
  /usr/lib/fonts/DejaVuSerifCondensed.ttf
  /usr/lib/fonts/DejaVuSerifCondensed-Italic.ttf
  /usr/lib/fonts/DejaVuSansCondensed-BoldOblique.ttf
  /usr/lib/fonts/DejaVuSans.ttf
  /usr/lib/fonts/DejaVuSans-BoldOblique.ttf
  /usr/lib/fonts/DejaVuSansMono-Bold.ttf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
ttf-dejavu: 25 installed and not shipped files. [installed-vs-shipped]
ERROR: ttf-dejavu-2.37-r7 do_package: Fatal QA errors were found, failing task.
ERROR: Logfile of failure stored in: /home/.../.../build/tmp/work/all-poky-linux/ttf-dejavu/2.37-r7/temp/log.do_package.3905489
ERROR: Task (/home/.../.../sources/poky/../meta-openembedded/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb:do_package) failed with exit code '1'

It looks like the latest dejavu wants to install in to a location that the recipe doesn't account for, /usr/lib/fonts/ as opposed to /usr/share/fonts/truetype

Patch to address this:

diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
index 919dad82e..82355ab20 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
@@ -37,12 +37,12 @@ PACKAGES = "\
             ${PN}-common"
 FONT_PACKAGES = "${PN}-sans ${PN}-sans-mono ${PN}-sans-condensed ${PN}-serif ${PN}-serif-condensed ${PN}-mathtexgyre"
 
-FILES:${PN}-sans            = "${datadir}/fonts/truetype/DejaVuSans.ttf ${datadir}/fonts/truetype/DejaVuSans-*.ttf"
-FILES:${PN}-sans-mono       = "${datadir}/fonts/truetype/DejaVuSansMono*.ttf"
-FILES:${PN}-sans-condensed  = "${datadir}/fonts/truetype/DejaVuSansCondensed*.ttf"
-FILES:${PN}-serif           = "${datadir}/fonts/truetype/DejaVuSerif.ttf ${datadir}/fonts/truetype/DejaVuSerif-*.ttf"
-FILES:${PN}-serif-condensed = "${datadir}/fonts/truetype/DejaVuSerifCondensed*.ttf"
-FILES:${PN}-mathtexgyre     = "${datadir}/fonts/truetype/DejaVuMathTeXGyre.ttf"
+FILES:${PN}-sans            = "${libdir}/fonts/DejaVuSans.ttf ${libdir}/fonts/DejaVuSans-*.ttf"
+FILES:${PN}-sans-mono       = "${libdir}/fonts/DejaVuSansMono*.ttf"
+FILES:${PN}-sans-condensed  = "${libdir}/fonts/DejaVuSansCondensed*.ttf"
+FILES:${PN}-serif           = "${libdir}/fonts/DejaVuSerif.ttf ${libdir}/fonts/DejaVuSerif-*.ttf"
+FILES:${PN}-serif-condensed = "${libdir}/fonts/DejaVuSerifCondensed*.ttf"
+FILES:${PN}-mathtexgyre     = "${libdir}/fonts/DejaVuMathTeXGyre.ttf"
 FILES:${PN}-common          = "${sysconfdir}"
 
 SRC_URI[md5sum] = "d0efec10b9f110a32e9b8f796e21782c"
@ts-kris
Copy link
Author

ts-kris commented May 27, 2022

Ah, nevermind. This is an issue introduced by another layer, bitbake blamed this .bb file as opposed to the .bbappend that caused the location changes.

@ts-kris ts-kris closed this as completed May 27, 2022
mlasch pushed a commit to husqvarnagroup/smart-garden-gateway-yocto-meta-openembedded that referenced this issue Jun 22, 2022
Changelog:
=========
Main Changes
------------
Add pyenv's .python-version into .gitignore, openembedded#576
Added more --very-verbose logging to make clearer what's going on, openembedded#578
Updated versions of containers in CI config, openembedded#583
Fixed coverage config template for namespaced packages, openembedded#610
Replaced internal appdirs dependency with platformdirs, openembedded#584

Documentation Changes
---------------------
Mention python -m setuptools_scm as a form of debugging, openembedded#574
Mention setting the default branch in git in docs, openembedded#577
Fix documented path to pyscaffold/default.cfg, openembedded#580

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
mlasch pushed a commit to husqvarnagroup/smart-garden-gateway-yocto-meta-openembedded that referenced this issue Jun 22, 2022
Changelog:
=========
Features
- Fix openembedded#596: unset the RA bit when a query is blocked by an unbound
  RPZ nxdomain reply. The option rpz-signal-nxdomain-ra allows to
  signal that a domain is externally blocked to clients when it
  is blocked with NXDOMAIN by unsetting RA.
- Add rpz: for-downstream: yesno option, where the RPZ zone is
  authoritatively answered for, so the RPZ zone contents can be
  checked with DNS queries directed at the RPZ zone.
- Merge PR openembedded#616: Update ratelimit logic. It also introduces
  ratelimit-backoff and ip-ratelimit-backoff configuration options.
- Change aggressive-nsec default to yes.
- Merge openembedded#401: RPZ triggers. This add additional RPZ triggers,
  unbound supports a full set of rpz triggers, and this now
  includes nsdname, nsip and clientip triggers. Also actions
  are fully supported, and this now includes the tcp-only action.
- Merge openembedded#519: Support for selective enabling tcp-upstream for
  stub/forward zones.
- Merge PR openembedded#514, from ziollek: Docker environment for run tests.
- Support using system-wide crypto policies.
- Fix that --with-ssl can use "/usr/include/openssl11" to pass the
  location of a different openssl version.
- Merged openembedded#41 from Moritz Schneider: made outbound-msg-retry
  configurable.
- Implement RFC8375: Special-Use Domain 'home.arpa.'.
- Merge PR openembedded#555 from fobser: Allow interface names as scop

Bug Fixes
- Fix compile warning for if_nametoindex on windows 64bit.
- Merge PR openembedded#581 from fobser: Fix -Wmissing-prototypes and -Wshadow
  warnings in rpz.
- Fix validator debug output about DS support, print correct algorithm.
- Add code similar to fix for ldns for tab between strings, for
  consistency, the test case was not broken.
- Allow local-data for classes other than IN to inherit a configured
  local-zone's type if possible, instead of defaulting to type
  transparent as per the implicit rule.
- Fix to pick up other class local zone information before unlock.
- Add missing configure flags for optional features in the
  documentation.
- Fix Unbound capitalization in the documentation.
- Fix openembedded#591: Unbound-anchor manpage links to non-existent license file.
- contrib/aaaa-filter-iterator.patch file renewed diff content to
  apply cleanly to the current coderepo for the current code version.
- Fix to add test for rpz-signal-nxdomain-ra.
- Fix openembedded#596: only unset RA when NXDOMAIN is signalled.
- Fix that RPZ does not set RD flag on replies, it should be copied
  from the query.
- Fix for openembedded#596: fix that rpz return message is returned and not just
  the rcode from the iterator return path. This fixes signal unset RA
  after a CNAME.
- Fix unit tests for rpz now that the AA flag returns successfully from
  the iterator loop.
- Fix for openembedded#596: add unit test for nsdname trigger and signal unset RA.
- Fix for openembedded#596: add unit test for nsip trigger and signal unset RA.
- Fix openembedded#598: Fix unbound-checkconf fatal error: module conf
  'respip dns64 validator iterator' is not known to work.
- Fix for openembedded#596: Fix rpz-signal-nxdomain-ra to work for clientip
  triggered operation.
- Merge openembedded#600 from pemensik: Change file mode before changing file
  owner.
- Fix prematurely terminated TCP queries when a reply has the same ID.
- For openembedded#602: Allow the module-config "subnetcache validator cachedb
  iterator".
- Fix EDNS to upstream where the same option could be attached
  more than once.
- Add a region to serviced_query for allocations.
- For dnstap, do not wakeupnow right there. Instead zero the timer to
  force the wakeup callback asap.
- Fix openembedded#610: Undefine-shift in sldns_str2wire_hip_buf.
- Fix openembedded#588: Unbound 1.13.2 crashes due to p->pc is NULL in
  serviced_udp_callback.
- Merge PR openembedded#612: TCP race condition.
- Test for NSID in SERVFAIL response due to DNSSEC bogus.
- Fix openembedded#599: [FR] RFC 9156 (obsoletes RFC 7816), by noting the new RFC
  document.
- Fix tls-* and ssl-* documented alternate syntax to also be available
  through remote-control and unbound-checkconf.
- Better cleanup on failed DoT/DoH listening socket creation.
- iana portlist update.
- Fix review comment for use-after-free when failing to send UDP out.
- Merge PR openembedded#603 from fobser: Use OpenSSL 1.1 API to access DSA and RSA
  internals.
- Merge PR openembedded#532 from Shchelk: Fix: buffer overflow bug.
- Merge PR openembedded#617: Update stub/forward-host notation to accept port and
  tls-auth-name.
- Update stream_ssl.tdir test to also use the new forward-host
  notation.
- Fix header comment for doxygen for authextstrtoaddr.
- please clang analyzer for loop in test code.
- Fix docker splint test to use more portable uname.
- Update contrib/aaaa-filter-iterator.patch with diff for current
  software version.
- Fix for openembedded#611: Integer overflow in sldns_wire2str_pkt_scan.
- Add test tool readzone to .gitignore.
- Merge openembedded#521: Update mini_event.c.
- Merge openembedded#523: fix: free() call more than once with the same pointer.
- For openembedded#519: note stub-tcp-upstream and forward-tcp-upstream in
  the example configuration file.
- For openembedded#519: yacc and lex. And fix python bindings, and test program
  unbound-dnstap-socket.
- For openembedded#519: fix comments for doxygen.
- Fix to print error from unbound-anchor for writing to the key
  file, also when not verbose.
- For openembedded#514: generate configure.
- Fix for openembedded#431: Squelch permission denied errors for udp connect,
  and udp send, they are visible at higher verbosity settings.
- Fix zonemd verification of key that is not in DNS but in the zone
  and needs a chain of trust.
- zonemd, fix order of bogus printout string manipulation.
- Fix to support harden-algo-downgrade for ZONEMD dnssec checks.
- Merge PR openembedded#528 from fobser: Make sldns_str2wire_svcparam_buf()
  static.
- Fix openembedded#527: not sending quad9 cert to syslog (and may be more).
- Fix sed script in ssldir split handling.
- Fix openembedded#529: Fix: log_assert does nothing if UNBOUND_DEBUG is
  undefined.
- Fix openembedded#531: Fix: passed to proc after free.
- Fix openembedded#536: error: RPZ: name of record (drop.spamhaus.org.rpz.local.)
  to insert into RPZ.
- Fix the stream wait stream_wait_count_lock and http2 buffer locks
  setup and desetup from race condition.
- Fix RPZ locks. Do not unlock zones lock if requested and rpz find
  zone does not find the zone. Readlock the clientip that is found
  for ipbased triggers. Unlock the nsdname zone lock when done.
  Unlock zone and ip in rpz nsip and nsdname callback. Unlock
  authzone and localzone if clientip found in rpz worker call.
- Fix compile warning in libunbound for listen desetup routine.
- Fix asynclook unit test for setup of lockchecks before log.
- Fix openembedded#533: Negative responses get cached even when setting
  cache-max-negative-ttl: 1
- Fix tcp fastopen failure when disabled, try normal connect instead.
- Fix openembedded#538: Fix subnetcache statistics.
- Small fixes for openembedded#41: changelog, conflicts resolved,
  processQueryResponse takes an iterator env argument like other
  functions in the iterator, no colon in string for set_option,
  and some whitespace style, to make it similar to the rest.
- Fix for openembedded#41: change outbound retry to int to fix signed comparison
  warnings.
- Fix root_anchor test to check with new icannbundle date.
- Fix initialisation errors reported by gcc sanitizer.
- Fix lock debug code for gcc sanitizer reports.
- Fix more initialisation errors reported by gcc sanitizer.
- Fix crosscompile on windows to work with openssl 3.0.0 the
  link with ws2_32 needs -l:libssp.a for __strcpy_chk.
  Also copy results from lib64 directory if needed.
- For crosscompile on windows, detect 64bit stackprotector library.
- Fix crosscompile shell syntax.
- Fix crosscompile windows to use libssp when it exists.
- For the windows compile script disable gost.
- Fix that on windows, use BIO_set_callback_ex instead of deprecated
  BIO_set_callback.
- Fix crosscompile script for the shared build flags.
- Fix to add example.conf note for outbound-msg-retry.
- Fix chaos replies to have truncation for short message lengths,
  or long reply strings.
- Fix to protect custom regional create against small values.
- Fix openembedded#552: Unbound assumes index.html exists on RPZ host.
- Fix that forward-zone name is documented as the full name of the
  zone. It is not relative but a fully qualified domain name.
- Fix analyzer review failure in rpz action override code to not
  crash on unlocking the local zone lock.
- Fix to remove unused code from rpz resolve client and action
  function.
- Merge openembedded#565: unbound.service.in: Disable ProtectKernelTunables again.
- Fix for openembedded#558: fix loop in comm_point->tcp_free when a comm_point is
  reclaimed more than once during callbacks.
- Fix for openembedded#558: clear the UB_EV_TIMEOUT bit before adding an event.
- Improve EDNS option handling, now also works for synthesised
  responses such as local-data and server.id CH TXT responses.
- Merge PR openembedded#570 from rex4539: Fix typos.
- Fix for openembedded#570: regen aclocal.m4, fix configure.ac for spelling.
- Fix to make python module opt_list use opt_list_in.
- Fix openembedded#574: unbound-checkconf reports fatal error if interface names
  are used as value for interfaces:
- Fix openembedded#574: Review fixes for it.
- Fix openembedded#576: [FR] UB_* error codes in unbound.h
- Fix openembedded#574: Review fix for spelling.
- Fix to remove git tracking and ci information from release tarballs.
- iana portlist update.
- Merge PR openembedded#511 from yan12125: Reduce unnecessary linking.
- Merge PR openembedded#493 from Jaap: Fix generation of libunbound.pc.
- Merge PR openembedded#562 from Willem: Reset keepalive per new tcp session.
- Merge PR openembedded#522 from sibeream: memory management violations fixed.
- Merge PR openembedded#530 from Shchelk: Fix: dereferencing a null pointer.
- Fix openembedded#454: listen_dnsport.c:825: error: 'IPV6_TCLASS' undeclared.
- Fix openembedded#574: Review fixes for size allocation.
- Fix doc/unbound.doxygen to remove obsolete tag warning.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Oct 18, 2022
Changelog:
==========
Type-safe socket.get(sockopt::type) openembedded#523
GCC C++14 fix openembedded#553
Support ZMQ_ONLY_FIRST_SUBSCRIBE openembedded#558
Add pkg-config file and instructions openembedded#564 openembedded#570
Fix missing include openembedded#568
Fix monitor test failures openembedded#576
Improved documentation openembedded#519 openembedded#524

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
kraj pushed a commit to YoeDistro/meta-openembedded that referenced this issue Oct 18, 2022
Changelog:
==========
Type-safe socket.get(sockopt::type) openembedded#523
GCC C++14 fix openembedded#553
Support ZMQ_ONLY_FIRST_SUBSCRIBE openembedded#558
Add pkg-config file and instructions openembedded#564 openembedded#570
Fix missing include openembedded#568
Fix monitor test failures openembedded#576
Improved documentation openembedded#519 openembedded#524

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant