Commit Graph
11743 Commits
Author SHA1 Message Date
Khem Raj ffb2a0b552 libgphoto2: Edit out sysroot from CC variable in configure
Configure emits HAVE_CC variable to be used in sourcecode and its built
from CC env var, CC in OE contains buildpaths in --sysroot option,
therefore edit this option out in configure.ac itself and remove all
other workarounds to fix this issue in recipe

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit c0a344ab71)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:39:29 -04:00
Khem Raj 69f71ee9ec cgdb: Fix buildpaths emitted into cgdb binary
Do not add builddir to search paths for cgdb.txt

Fixes
WARNING: cgdb-0.8.0-r0 do_package_qa: QA Issue: File /usr/bin/cgdb in package cgdb contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ee2f57c7c3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:35:43 -04:00
Khem Raj f074fffb73 freerdp: Fix reference to TMPDIR in libfreerdp2.so
Fixes
File /usr/lib/libwinpr2.so.2.10.0 in package libfreerdp contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f523a41888)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:30:18 -04:00
Khem Raj 233e437dab minifi-cpp: Remove references to buildpaths in generated files
bison/flex emits line directives which can be safely removed from
generated files.

agent_version.h is generated by cmake which has build information like
compiler and cflags etc. which contains buildpaths too, therefore
replace real workdir with <WORKDIR>

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0d2df1e4c4)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:29:35 -04:00
Khem Raj b1e82cba4e openct: Fix buildpaths being emitted into generated types.h
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d9fb985b87)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:27:25 -04:00
Khem Raj 50b304eb30 uml-utilities: Fix references to TMPDIR
Pass CFLAGS from environment

Fixes
WARNING: uml-utilities-20040406-r1 do_package_qa: QA Issue: File /usr/lib/uml/.debug/port-helper in package uml-utilities-dbg contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit a1d047bae7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:26:56 -04:00
Khem Raj a7c7b77ad8 libnice: Remove buildpaths from binaries
Fixes
WARNING: libnice-0.1.21-r0 do_package_qa: QA Issue: File /usr/src/debug/libnice/0.1.21-r0/agent/agent-enum-types.h in package libnice-src contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e34fa43eec)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:25:31 -04:00
Khem Raj 71c65d7b54 mpv: Remove references to builddir from mpv binary
Fixes
WARNING: mpv-0.35.1-r0 do_package_qa: QA Issue: File /usr/bin/mpv in package mpv contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 55d92033a2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:25:02 -04:00
Khem Raj 6460f9ba8b mce-inject: Pass CFLAGS to make
This ensures right debug directory remapping options are passed to
compiler

Fixes
 WARNING: mce-inject-git-r0 do_package_qa: QA Issue: File /usr/sbin/.debug/mce-inject in package mce-inject-dbg contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9f1f22f95b)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:22:53 -04:00
Khem Raj 43be60ba1c lirc: Define SH_PATH=/bin/sh
It points to sh provided by HOSTTOOLS in the build systems path

Fixes
WARNING: lirc-0.10.2-r0 do_package_qa: QA Issue: File /usr/include/lirc/config.h in package lirc-dev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d112323521)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:21:41 -04:00
Khem Raj 410bb82d7b libpeas: Fix reference to TMPDIR in tests
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 4921a6df05)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:20:26 -04:00
Khem Raj 35d3bbf587 libmad: Add a patch to pass cflags to build
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 0474e0b870)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:17:05 -04:00
Khem Raj af36e64fa8 uw-imap: Pass CFLAGS from environment
This ensures that -ffile-prefix-map passed to compiler

Fixes
WARNING: uw-imap-2007f-r0 do_package_qa: QA Issue: File /usr/lib/libc-client.a in package uw-imap-staticdev contains reference to TMPDIR [buildpaths]

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit b6850eab88)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:15:54 -04:00
Ming Liu 41e2c464f0 libusbgx: check scripts in /etc/usbgx.d
Sometimes an end user might want to change some values in
/sys/kernel/config/usb_gadget/ at runtime, for instance, a product id
or serial number must be read from /proc/device-tree, and so on.

Support that by letting gadget-start run all scripts in /etc/usbgx.d
after importing the schemas.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:15:03 -04:00
Ming Liu e2d28cb3ef libusbgx: drop hard-coded /usr/bin,/etc
Drop hard-coded /usr/bin,/etc from gadget-start.

Signed-off-by: Ming Liu <liu.ming50@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:14:23 -04:00
Khem Raj a1f205e081 php: Remove buildpaths from scripts and generated headers
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 439239ca9c)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:12:45 -04:00
Wang Mingyu a70f402596 php: upgrade 8.2.5 -> 8.2.6
Changelog:
=========
Fix inconsistent float negation in constant expressions.
Fixed bug GH-8841 (php-cli core dump calling a badly formed function).
Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).
Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.).
Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=).

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d8ae640c02)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:12:40 -04:00
Mingli Yu d045d07fe0 minicoredumper: correct the sysvinit service file attribute
Add the execute attribute for sysvinit service file to fix the
below error:
  $ service minicoredumper status
  minicoredumper: unrecognized service

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d477cbb526)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:11:02 -04:00
Alexander Amelkin 9c1ca77f87 ipmitool: Update links
The project has been moved to CodeBerg.org.
Update the links in the recipe and also bump to the
latest revision (1.8.19.13).

Additionally fix the link to the IANA PEN registry as IANA
has changed their URL scheme some time ago and the old link
started pointing to the HTML page instead of the text file.

Signed-off-by: Alexander Amelkin <alexander@amelkin.msk.ru>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 05acb8d066)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:09:31 -04:00
Wang Mingyu b57c090f54 postgresql: upgrade 15.2 -> 15.3
0001-configure.ac-bypass-autoconf-2.69-version-check.patch
refreshed for 15.3

Changelog:
https://www.postgresql.org/docs/release/15.3/

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 53527a8e7f)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:07:07 -04:00
Khem Raj 1e86587ed8 lmdb: Pass CFLAGS to Makefile
This ensures that __FILE__ macros is expanded correctly without
buildpaths

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 9af3510170)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:05:12 -04:00
Khem Raj 6b59a43868 fftw: Remove hardcoded sysroot into binaries
FFTW_CC is added to image via version.o and its CC + CFLAGS however CC
in OE containes --syroot compiler option which encodes buildpaths into
binary, therefore remove this option from FFTW_CC in config.h

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ef03326d31)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:03:56 -04:00
Khem Raj 5b94aa82ec libirecovery: Add missing build dependency on readline
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 99bfb84be3)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 16:00:59 -04:00
Khem Raj 49b02a060d enca: Remove buildpaths from target scripts
Using configure checks to detect mktemp can result in problems in
cross-builds where buildtime mktemp ( native ) maybe detected in a path
that does not exist on target, therefore rely upon PATH variable to find
this binary when executing this script.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3042c14399)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-28 15:58:45 -04:00
Mingli Yu c2d8e78319 php: Link with libatomic on rv64
Fixes:
  | /usr/src/debug/php/8.2.5-r0/Zend/zend_atomic.h:105: undefined reference to `__atomic_exchange_1'

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-22 09:59:45 -04:00
Changqing Li c032fd0b1a redis: upgrade 6.2.11 -> 6.2.12
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:32:31 -04:00
Martin Jansa 95ae1d58da nanopb: fix installed-vs-shipped with multilib
* fixes:
  ERROR: QA Issue: nanopb: Files/directories were installed but not shipped in any package:
    /usr/lib
    /usr/lib/python3.11
    /usr/lib/python3.11/site-packages
    /usr/lib/python3.11/site-packages/proto
    /usr/lib/python3.11/site-packages/proto/nanopb_pb2.py
    /usr/lib/python3.11/site-packages/proto/nanopb.proto
    /usr/lib/python3.11/site-packages/proto/_utils.py
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  nanopb: 7 installed and not shipped files. [installed-vs-shipped]

when libdir is /usr/lib64 with multilib.

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 8bbc9ee4e1 libtomcrypt: pass LIBPATH to fix installed-vs-shipped with multilib
* fixes:
  ERROR: QA Issue: libtomcrypt: Files/directories were installed but not shipped in any package:
    /usr/lib
    /usr/lib/libtomcrypt.so.1.0.1
    /usr/lib/libtomcrypt.so.1
    /usr/lib/libtomcrypt.so
    /usr/lib/pkgconfig
    /usr/lib/pkgconfig/libtomcrypt.pc
  Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
  libtomcrypt: 6 installed and not shipped files. [installed-vs-shipped]

  when libdir is /usr/lib64 with multilib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 1e036feae1 libnfs: fix installed-vs-shipped issues with multilib
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 49d7bfd988 cpulimit: fix do_install with multilib
* fixes:
  DEBUG: Executing shell function do_install
  install: cannot stat 'TOPDIR/.../lib32-cpulimit/0.2-r0/git/src/lib32-cpulimit': No such file or directory
  WARNING: exit code 1 from a shell command.

* drop strange 'g...@' from SRC_URI

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa a71653a3f4 rdfind: fix build with -Werror=return-type
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 096c1e40a1 ostree: fix build without gobject-introspection-data
* add --disable-introspection to UNKNOWN_CONFIGURE_OPT_IGNORE to fix:
  http://errors.yoctoproject.org/Errors/Details/702779/
  ERROR: QA Issue: ostree: configure was passed unrecognised options: --disable-introspection [unknown-configure-option]

* add glib-2.0-native to DEPENDS to fix:
  http://errors.yoctoproject.org/Errors/Details/702787/
  glib-mkenums \
    --template ../libostree-2023.2/src/libostree/ostree-enumtypes.h.template \
    ../libostree-2023.2/src/libostree/ostree-fetcher.h > src/libostree/ostree-enumtypes.h.tmp && mv src/libostree/ostree-enumtypes.h.tmp src/libostree/ostree-enumtypes.h
  /bin/bash: line 2: glib-mkenums: command not found
  make: *** [Makefile:9990: src/libostree/ostree-enumtypes.h] Error 127

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa f3379c8d98 appstream: fix build without gobject-introspection-data
* there is a meson option to disable introspection, it's just called 'gir'
  fix GIR_MESON_OPTION to resolve:
  http://errors.yoctoproject.org/Errors/Details/702780/
  Run-time dependency gobject-introspection-1.0 found: NO (tried pkgconfig)
  ../AppStream-0.16.1/meson.build:173:4: ERROR: Dependency "gobject-introspection-1.0" not found, tried pkgconfig

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa a6f1be0616 geoclue: fix build without gobject-introspection-data
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 98c98a6577 libxmlb: add missing dependency on glib-2.0 and xz
* without gobject-introspection-data in DISTRO_FEATURES it fails with:

  http://errors.yoctoproject.org/Errors/Details/702774/
  Run-time dependency gio-2.0 found: NO (tried pkgconfig)
  ../git/meson.build:119:0: ERROR: Dependency gio-2.0 not found, tried pkgconfig

  and http://errors.yoctoproject.org/Errors/Details/702777/
  Run-time dependency liblzma found: NO (tried pkgconfig)
  ../git/meson.build:121:0: ERROR: Dependency liblzma not found, tried pkgconfig

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Martin Jansa 02ddb699b9 libreport: add dependency on libarchive
* it's often pulled by elfutils when debuginfod is in DISTRO_FEATURES, but
  when it isn't, it fails with:
  http://errors.yoctoproject.org/Errors/Details/702773/

  checking for libarchive... no
  configure: error: Package requirements (libarchive) were not met:
  No package 'libarchive' found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-16 07:30:12 -04:00
Khem Raj 8d1fe746fc ttf-gentium: Switch to debian archive mirror for SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 3c34a8f8eb)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:52 -04:00
Khem Raj 8b37551471 debootstrap: Use DEBIAN_MIRROR for SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 34796ff654)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:52 -04:00
Khem Raj 1b52c200ca debootstrap: Update SRC_URI to point to valid URL
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 2db438f241)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:52 -04:00
Khem Raj 24c0d915e6 mosh: Point SRC_URI to https://mosh.org/
mosh.mit.edu does not have the tarballs anymore

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d4be801b86)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:13 -04:00
Khem Raj 54693ef016 p910nd: Switch to using github for SRC_URI
This is new location where the project is developed now.
Pass CFLAGS to compiler cmdline
Package init script

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit d6e59649ff)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:13 -04:00
Khem Raj 5ea04957a0 ttf-lklug: Point SRC_URI to a working location
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f37833fc63)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:31:13 -04:00
Petr Gotthard e395e456b0 gensio: fix QA issue: non -staticdev package with .a libraries
This fixes a bunch of the following errors:
ERROR: gensio-2.6.4-r0 do_package_qa: QA Issue: non -staticdev package contains static .a library: gensio path '/usr/libexec/gensio/2.6.4/libgensio_xxx.a'

Signed-off-by: Petr Gotthard <petr.gotthard@advantech.cz>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit f030642efa)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:30:34 -04:00
Khem Raj 7ac297aeb8 ttf-mplus: Point to valid download location for SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 6ca9f1c2e5)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:30:14 -04:00
Khem Raj 99d8d95b2a nicstat: Use SOURCEFORGE_MIRROR in SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 256ea730b0)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:30:14 -04:00
Khem Raj d0801a1984 ctapi-common: Point to working SRC_URI locations
Drop md5sum checksum

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 7687cb73b2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:30:14 -04:00
Khem Raj cb22eb481f libx86: Point to working SRC_URI
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit cef731b674)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:29:35 -04:00
Khem Raj c5f3a07a25 unicode-ucd: Update license URI to reflect renamed license
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit e90757f7a7)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:28:36 -04:00
Khem Raj 0cfc55ec64 unixODBC: Update SRC_URI to use updated location of tarball
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit ebe7f26911)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:27:37 -04:00
Khem Raj bbf09580e1 libcereal: Fix TMPDIR leaking into debug_str section
Fixes errors like
File /usr/lib/libcereal/ptest/tests/.debug/test_unordered_map in package libcereal-dbg contains reference to TMPDIR

Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 8eb74815c2)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
2023-05-07 12:25:18 -04:00