Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 821976 - net-misc/csync-0.50.0-r2 - /.../csync_sftp.c: fatal error: libssh/sftp.h: No such file or directory
Summary: net-misc/csync-0.50.0-r2 - /.../csync_sftp.c: fatal error: libssh/sftp.h: No ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Bernard Cafarelli
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-05 18:10 UTC by Toralf Förster
Modified: 2021-11-06 22:37 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.11 KB, text/plain)
2021-11-05 18:10 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,356.35 KB, text/plain)
2021-11-05 18:10 UTC, Toralf Förster
Details
environment (environment,90.06 KB, text/plain)
2021-11-05 18:10 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,44.57 KB, application/x-bzip)
2021-11-05 18:10 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,5.50 KB, application/x-bzip)
2021-11-05 18:10 UTC, Toralf Förster
Details
net-misc:csync-0.50.0-r2:20211105-013453.log (net-misc:csync-0.50.0-r2:20211105-013453.log,62.51 KB, text/plain)
2021-11-05 18:10 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,27.05 KB, application/x-bzip)
2021-11-05 18:10 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 2021-11-05 18:10:17 UTC
   28 | #include <libssh/sftp.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
[24/36] /usr/bin/x86_64-pc-linux-gnu-gcc -D_GNU_SOURCE -I/var/tmp/portage/net-misc/csync-0.50.0-r2/work/csync-0.50.0_build/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r2/work/csync-0.50.0/src/std -I/var/tmp/portage/net-misc/csync-0.50.0-r2/work/csync-0.50.0_build  -pipe -march=native -fno-diagnostics-color -O2 -std=gnu99 -pedantic -pedantic-errors -Wall -Wextra -Wshadow -Wmissing-prototypes -Wdeclaration-after-statement -Wunused -Wfloat-equal -Wpointer-arith -Wwrite-strings -Wformat-security -Wmissing-format-attribute -fPIC -fstack-protector -D_LARGEFILE64_SOURCE -MD -MT src/std/CMakeFiles/cstdlib.dir/c_time.c.o -MF src/std/CMakeFiles/cstdlib.dir/c_time.c.o.d -o src/std/CMakeFiles/cstdlib.dir/c_time.c.o -c /var/tmp/portage/net-misc/csync-0.50.0-r2/work/csync-0.50.0/src/std/c_time.c

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-j4-20211030-090004

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/13
13.0.0
Python 3.9.7
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby27 (with Rubygems)
  [3]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.56.1
  [2]   rust-1.56.1 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:
  [1]   php7.4
  [2]   php8.0 *

  HEAD of ::gentoo
commit db524684b69f55cfe969ff02fe5b6fd976bbfe49
Merge: 59a411da6a3 deab2f85011
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 5 00:36:22 2021 +0000

    Merge updates from master

emerge -qpvO net-misc/csync
[ebuild  N    ] net-misc/csync-0.50.0-r2  USE="iconv sftp -doc -samba -test"
Comment 1 Toralf Förster gentoo-dev 2021-11-05 18:10:18 UTC
Created attachment 748770 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-11-05 18:10:20 UTC
Created attachment 748773 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-11-05 18:10:21 UTC
Created attachment 748776 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-11-05 18:10:22 UTC
Created attachment 748779 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-11-05 18:10:23 UTC
Created attachment 748782 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-11-05 18:10:24 UTC
Created attachment 748785 [details]
net-misc:csync-0.50.0-r2:20211105-013453.log
Comment 7 Toralf Förster gentoo-dev 2021-11-05 18:10:25 UTC
Created attachment 748788 [details]
temp.tar.bz2
Comment 8 Bernard Cafarelli gentoo-dev 2021-11-05 23:18:43 UTC
Interesting, I guess csync[sftp] needs to depend on libssh[sftp] I will test that theory (both USE flags are enabled by default, so this is probably why it was never caught)
Comment 9 Larry the Git Cow gentoo-dev 2021-11-06 22:37:38 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=133fceeda2c2a14c8d2df59e6e1459489c8abc58

commit 133fceeda2c2a14c8d2df59e6e1459489c8abc58
Author:     Bernard Cafarelli <voyageur@gentoo.org>
AuthorDate: 2021-11-06 22:37:08 +0000
Commit:     Bernard Cafarelli <voyageur@gentoo.org>
CommitDate: 2021-11-06 22:37:08 +0000

    net-misc/csync: sftp requires libssh with USE=sftp
    
    Closes: https://bugs.gentoo.org/821976
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>

 net-misc/csync/csync-0.50.0-r2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)