Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950278 - net-misc/sysrepo-2.2.150 - [gcc-15] log.c: error: struct ly_err_item has no member named path
Summary: net-misc/sysrepo-2.2.150 - [gcc-15] log.c: error: struct ly_err_item has no m...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-25 16:46 UTC by Toralf Förster
Modified: 2025-02-25 17:18 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.58 KB, text/plain)
2025-02-25 16:46 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.36 KB, text/plain)
2025-02-25 16:46 UTC, Toralf Förster
Details
environment (environment,89.58 KB, text/plain)
2025-02-25 16:46 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.35 KB, application/x-xz)
2025-02-25 16:46 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,22.37 KB, application/x-xz)
2025-02-25 16:46 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,25.70 KB, application/x-xz)
2025-02-25 16:46 UTC, Toralf Förster
Details
net-misc:sysrepo-2.2.150:20250225-162600.log (net-misc:sysrepo-2.2.150:20250225-162600.log,14.73 KB, text/plain)
2025-02-25 16:46 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,46.62 KB, application/x-xz)
2025-02-25 16:47 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,20.70 KB, application/x-xz)
2025-02-25 16:47 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-02-25 16:46:51 UTC
/var/tmp/portage/net-misc/sysrepo-2.2.150/work/sysrepo-2.2.150/src/log.c:275:15: warning: assignment discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  275 |             e = ly_err_first(LYD_CTX(data));
      |               ^
/var/tmp/portage/net-misc/sysrepo-2.2.150/work/sysrepo-2.2.150/src/log.c:279:23: warning: assignment discards const qualifier from pointer target type [-Wdiscarded-qualifiers]
  279 |                     e = ly_err_first(LYD_CTX(node));
      |                       ^
/var/tmp/portage/net-misc/sysrepo-2.2.150/work/sysrepo-2.2.150/src/log.c:301:18: error: struct ly_err_item has no member named path
  301 |             if (e->path) {
      |                  ^~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_hardened-20250222-171007

  UNMASKED:

  [gcc-15] Requested by sam
  <sys-devel/gcc-15.0.9999:15

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-15 *
clang version 19.1.7
llvm-config: 19.1.7
Python 3.12.9
go version go1.23.6 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby33 (with Rubygems)
  [3]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0
  [2]   rust-1.85.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21 


  HEAD of ::gentoo
commit bf9f3b8d420d68112a2f32b1aa477256fee21028
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Feb 25 15:33:29 2025 +0000

    2025-02-25 15:33:28 UTC

emerge -qpvO =net-misc/sysrepo-2.2.150
[ebuild  N    ] net-misc/sysrepo-2.2.150  USE="-doc -test"
Comment 1 Toralf Förster gentoo-dev 2025-02-25 16:46:52 UTC
Created attachment 919896 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-02-25 16:46:54 UTC
Created attachment 919897 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2025-02-25 16:46:55 UTC
Created attachment 919898 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2025-02-25 16:46:56 UTC
Created attachment 919899 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2025-02-25 16:46:57 UTC
Created attachment 919900 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-02-25 16:46:58 UTC
Created attachment 919901 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-02-25 16:46:59 UTC
Created attachment 919902 [details]
net-misc:sysrepo-2.2.150:20250225-162600.log
Comment 8 Toralf Förster gentoo-dev 2025-02-25 16:47:01 UTC
Created attachment 919903 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-02-25 16:47:02 UTC
Created attachment 919904 [details]
temp.tar.xz
Comment 10 Petr Vaněk gentoo-dev 2025-02-25 17:18:17 UTC
The bug has been fixed in the following commit:

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4408161feeffd7a7fcd8178bd75ecf61b253a405

commit 4408161feeffd7a7fcd8178bd75ecf61b253a405
Author:     Petr Vaněk <arkamar@gentoo.org>
AuthorDate: 2025-02-25 16:14:42 +0000
Commit:     Petr Vaněk <arkamar@gentoo.org>
CommitDate: 2025-02-25 16:22:02 +0000

    net-misc/sysrepo: restrict <net-libs/libyang-2.2
    
    The libyang API has changed in libyang-2.2.
    
    Signed-off-by: Petr Vaněk <arkamar@gentoo.org>

 .../sysrepo/{sysrepo-2.2.150.ebuild => sysrepo-2.2.150-r1.ebuild}  | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)