| Summary: | conky: unknown variable '$tcp_portmon' | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | rvcsaba | ||||||||||
| Component: | conky | Assignee: | Miroslav Lichvar <mlichvar> | ||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 24 | CC: | chepioq, mlichvar, tim | ||||||||||
| Target Milestone: | --- | ||||||||||||
| Target Release: | --- | ||||||||||||
| Hardware: | x86_64 | ||||||||||||
| OS: | Linux | ||||||||||||
| Whiteboard: | |||||||||||||
| Fixed In Version: | conky-1.10.1-5.20160413git06f87b.fc24 | Doc Type: | Bug Fix | ||||||||||
| Doc Text: | Story Points: | --- | |||||||||||
| Clone Of: | Environment: | ||||||||||||
| Last Closed: | 2016-05-12 01:31:03 UTC | Type: | Bug | ||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||
| Documentation: | --- | CRM: | |||||||||||
| Verified Versions: | Category: | --- | |||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||
| Attachments: |
|
||||||||||||
I have same issue with conky 1.10 and tcp_portmon. But I think it's not a bug with fedora, but an issue in development in conky 1.10. I send a request to the dev here : https://github.com/brndnmtthws/conky/issues/245 Wait and see. The devs for conky said that tcp_portmon work, for test I the fedora's conky 1.10 rpm source, and in the spec I can see that :
...................................................................................
%build
%cmake \
-DMAINTAINER_MODE=ON \
-DBUILD_BUILTIN_CONFIG=OFF \
-DBUILD_PORT_MONITORS=OFF \
%{?with_audacious: -DBUILD_AUDACIOUS=ON} \
%{?with_curl: -DBUILD_CURL=ON} \
..................................................................................
I rebuild conky with -DBUILD_PORT_MONITORS=ON \, that work, I have a new rpm, but when I want upgrade I have this error :
Erreur : nothing provides libtcp-portmon.so()(64bit) needed by conky-1.10.1-5.20160110gitb38ab1.fc25.x86_64
How to solve this issue ?
Created attachment 1152824 [details] conky.spec (In reply to dominique from comment #2) > Erreur : nothing provides libtcp-portmon.so()(64bit) needed by > conky-1.10.1-5.20160110gitb38ab1.fc25.x86_64 > > How to solve this issue ? I rebuilt conky, work it. Please see my dirty spec file! Created attachment 1152825 [details]
conky.spec.patch
Only changes, spec diff file.
Thank rvcsaba, I apply the patch and that don't work, I have this error :
+ install -m0755 -p src/libtcp-portmon.so /home/dominique/rpmbuild/BUILDROOT/conky-1.10.1-6.20160110gitb38ab1.fc25.x86_64/usr/lib64/conky/libtcp-portmon.so
install: cannot stat 'src/libtcp-portmon.so': No such file or directory
erreur : Mauvais statut de sortie pour /var/tmp/rpm-tmp.NX37kL (%install)
I think you forget, in the patch,
-DBUILD_PORT_MONITORS=OFF \
to
-DBUILD_PORT_MONITORS=ON \
With this change, rpm is building, and when I install, no problem, and variable '$tcp_portmon' work fine.
I'm sorry, yes of course! First I changed -DBUILD_PORT_MONITORS=ON, than cp conky.spec conky.spec.orig, my diff file doesn't include -DBUILD_PORT_MONITORS=ON. (Sorry my very poor english.) (In reply to dominique from comment #5) > > I think you forget, in the patch, > > > -DBUILD_PORT_MONITORS=OFF \ > to > -DBUILD_PORT_MONITORS=ON \ > > With this change, rpm is building, and when I install, no problem, and > variable '$tcp_portmon' work fine. Created attachment 1153033 [details]
conky.spec.patch
The port monitor should be now enabled in conky-1.10.1-5.20160413git06f87b.fc24. The problem with libtcp-portmon.so was hopefully fixed by disabling BUILD_SHARED_LIBS, which was enabled by the %cmake macro. conky-1.10.1-5.20160413git06f87b.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-96da93e2e1 This update (conky-1.10.1-5.20160413git06f87b.fc24) solve for me the issue. I send a karma to bohdi. Thank Miroslav. conky-1.10.1-5.20160413git06f87b.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-96da93e2e1 conky-1.10.1-5.20160413git06f87b.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |
Created attachment 1139756 [details] .conkyrc file Description of problem: Conky report for me this: conky: unknown variable '$tcp_portmon' Version-Release number of selected component (if applicable): conky-1.10.1-4.20160110gitb38ab1.fc24.x86_64 How reproducible: Please see my .conkyrc file!