Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 912262 - net-libs/paho-mqtt-c-1.3.12 - /.../ld: cannot find -lpaho-mqtt3as: No such file or directory
Summary: net-libs/paho-mqtt-c-1.3.12 - /.../ld: cannot find -lpaho-mqtt3as: No such fi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Giuseppe Foti
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2023-08-14 07:11 UTC by Toralf Förster
Modified: 2023-08-23 10:59 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.26 KB, text/plain)
2023-08-14 07:11 UTC, Toralf Förster
Details
dev-libs:paho-mqtt-c-1.3.12:20230813-211257.log (dev-libs:paho-mqtt-c-1.3.12:20230813-211257.log,20.59 KB, text/plain)
2023-08-14 07:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,169.65 KB, text/plain)
2023-08-14 07:11 UTC, Toralf Förster
Details
environment (environment,130.75 KB, text/plain)
2023-08-14 07:11 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,892 bytes, application/x-xz)
2023-08-14 07:11 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,18.41 KB, application/x-xz)
2023-08-14 07:11 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.95 KB, application/x-xz)
2023-08-14 07:11 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 2023-08-14 07:11:28 UTC
too long lines were shrinked:

[25/55] /usr/bin/x86_64-pc-linux-gnu-gcc -DHIGH_PERFORMANCE=1 -DPAHO_MQTT_IMPORTS=1 -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src/samples/. -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho
[26/55] /usr/bin/x86_64-pc-linux-gnu-gcc -DHIGH_PERFORMANCE=1 -DPAHO_MQTT_EXPORTS=1 -D_GNU_SOURCE -Dpaho_mqtt3a_EXPORTS -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12_build  -O2 -pipe -march=native -fn
[27/55] /usr/bin/x86_64-pc-linux-gnu-gcc -DHIGH_PERFORMANCE=1 -DPAHO_MQTT_IMPORTS=1 -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src/samples/. -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho
[28/55] : && /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    -rdynamic src/samples/CMakeFiles/paho_c_pub.dir/paho_c_pub.c.o src/samples/CMakeFiles/paho_c_pub.dir/pubsub_opts.c.o -o src/samples/paho_c_p
FAILED: src/samples/paho_c_pub 
: && /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    -rdynamic src/samples/CMakeFiles/paho_c_pub.dir/paho_c_pub.c.o src/samples/CMakeFiles/paho_c_pub.dir/pubsub_opts.c.o -o src/samples/paho_c_pub  -lpa
/usr/libexec/gcc/x86_64-pc-linux-gnu/ld: cannot find -lpaho-mqtt3as: No such file or directory
collect2: error: ld returned 1 exit status
[29/55] /usr/bin/x86_64-pc-linux-gnu-gcc -DHIGH_PERFORMANCE=1 -DPAHO_MQTT_IMPORTS=1 -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src/samples/. -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho.mqtt.c-1.3.12/src -I/var/tmp/portage/dev-libs/paho-mqtt-c-1.3.12/work/paho

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_hardened-20230811-191504

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Rust versions:
  [1]   rust-1.71.1 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8 
  [2]   openjdk-bin-8 
  [3]   openjdk-bin-17  system-vm

php cli (if any):
go version go1.21.0 linux/amd64

  HEAD of ::gentoo
commit a549a4b25311ab33ef1c7af06101eeb74a264d24
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 13 20:16:40 2023 +0000

    2023-08-13 20:16:39 UTC

emerge -qpvO dev-libs/paho-mqtt-c
[ebuild  N    ] dev-libs/paho-mqtt-c-1.3.12  USE="examples high-performance -doc -ssl -test"
Comment 1 Toralf Förster gentoo-dev 2023-08-14 07:11:28 UTC
Created attachment 867816 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-08-14 07:11:29 UTC
Created attachment 867817 [details]
dev-libs:paho-mqtt-c-1.3.12:20230813-211257.log
Comment 3 Toralf Förster gentoo-dev 2023-08-14 07:11:31 UTC
Created attachment 867818 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-08-14 07:11:32 UTC
Created attachment 867819 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-08-14 07:11:33 UTC
Created attachment 867820 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-08-14 07:11:33 UTC
Created attachment 867821 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-08-14 07:11:34 UTC
Created attachment 867822 [details]
temp.tar.xz
Comment 8 Larry the Git Cow gentoo-dev 2023-08-23 10:59:14 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=094b16201a56f7928cc8651912517de52087abfb

commit 094b16201a56f7928cc8651912517de52087abfb
Author:     Giuseppe Foti <foti.giuseppe@gmail.com>
AuthorDate: 2023-08-23 10:05:10 +0000
Commit:     Florian Schmaus <flow@gentoo.org>
CommitDate: 2023-08-23 10:58:51 +0000

    net-libs/paho-mqtt-c: add REQUIRED_USE="examples? ( ssl )"
    
    Closes: https://bugs.gentoo.org/912262
    Closes: https://github.com/gentoo/gentoo/pull/32420
    Signed-off-by: Giuseppe Foti <foti.giuseppe@gmail.com>
    Signed-off-by: Florian Schmaus <flow@gentoo.org>

 net-libs/paho-mqtt-c/paho-mqtt-c-1.3.12.ebuild | 3 +++
 1 file changed, 3 insertions(+)