Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921301 - dev-embedded/avrdude-7.2 - /.../ld: src/libavrdude.so.1.0.0: undefined reference to gpiod_line_get_value
Summary: dev-embedded/avrdude-7.2 - /.../ld: src/libavrdude.so.1.0.0: undefined refere...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Embedded Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-03 18:27 UTC by Toralf Förster
Modified: 2024-01-04 08:21 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,20.60 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
dev-embedded:avrdude-7.2:20240103-001600.log (dev-embedded:avrdude-7.2:20240103-001600.log,60.29 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,85.05 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
environment (environment,99.40 KB, text/plain)
2024-01-03 18:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.14 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,84.35 KB, application/x-xz)
2024-01-03 18:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.18 KB, application/x-xz)
2024-01-03 18:27 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 2024-01-03 18:27:36 UTC
too long lines were shrinked:

[67/70] /usr/bin/cmake -E cmake_symlink_library src/libavrdude.so.1.0.0  src/libavrdude.so.1 src/libavrdude.so && :
[68/70] /usr/bin/x86_64-pc-linux-gnu-gcc -DCONFIG_DIR=\"/etc\" -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2_build/src -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2 -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2_build -I/var/tmp/portage/dev-embedded/avrdud
[69/70] /usr/bin/x86_64-pc-linux-gnu-gcc -DCONFIG_DIR=\"/etc\" -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2_build/src -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2 -I/var/tmp/portage/dev-embedded/avrdude-7.2/work/avrdude-7.2_build -I/var/tmp/portage/dev-embedded/avrdud
[70/70] : && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 src/CMakeFiles/avrdude.dir/main.c.o src/CMakeFiles/avrdude.dir/developer_opts.c.o src/CMakeFiles/avrdude.dir/whereami.c.o -o src/avrdude  -Wl,-
FAILED: src/avrdude 
: && /usr/bin/x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 src/CMakeFiles/avrdude.dir/main.c.o src/CMakeFiles/avrdude.dir/developer_opts.c.o src/CMakeFiles/avrdude.dir/whereami.c.o -o src/avrdude  -Wl,-rpath,/v
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/libavrdude.so.1.0.0: undefined reference to `gpiod_line_get_value'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/libavrdude.so.1.0.0: undefined reference to `gpiod_line_set_direction_input'
/usr/lib/gcc/x86_64-pc-linux-gnu/13/../../../../x86_64-pc-linux-gnu/bin/ld: src/libavrdude.so.1.0.0: undefined reference to `gpiod_line_request_output'

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma_systemd-20231228-113459

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
*)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21 

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 769a4c96e1e4c27669320333cc75530160c79e1c
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Jan 2 22:47:03 2024 +0000

    2024-01-02 22:47:02 UTC

emerge -qpvO dev-embedded/avrdude
[ebuild     U ] dev-embedded/avrdude-7.2 [7.0] USE="readline -ftdi"
Comment 1 Toralf Förster gentoo-dev 2024-01-03 18:27:37 UTC
Created attachment 881378 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-03 18:27:39 UTC
Created attachment 881379 [details]
dev-embedded:avrdude-7.2:20240103-001600.log
Comment 3 Toralf Förster gentoo-dev 2024-01-03 18:27:40 UTC
Created attachment 881380 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-01-03 18:27:41 UTC
Created attachment 881381 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-03 18:27:42 UTC
Created attachment 881382 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-03 18:27:43 UTC
Created attachment 881383 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-03 18:27:45 UTC
Created attachment 881384 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-03 18:27:46 UTC
Created attachment 881385 [details]
temp.tar.xz
Comment 9 Larry the Git Cow gentoo-dev 2024-01-04 08:21:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13338a1351922afa18bba2a9f78a18fadceb3327

commit 13338a1351922afa18bba2a9f78a18fadceb3327
Author:     Matthew Smith <matthew@gentoo.org>
AuthorDate: 2024-01-04 08:20:49 +0000
Commit:     Matthew Smith <matthew@gentoo.org>
CommitDate: 2024-01-04 08:20:49 +0000

    dev-embedded/avrdude: fix automatic libgpiod dep
    
    Fixes build failure if dev-libs/libgpiod is installed.
    
    Closes: https://bugs.gentoo.org/921301
    Signed-off-by: Matthew Smith <matthew@gentoo.org>

 dev-embedded/avrdude/avrdude-7.2.ebuild | 1 +
 1 file changed, 1 insertion(+)