Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 674062 - app-backup/bacula-9.4.1 : s3_driver.c:561:10: error: S3BucketContext {aka struct S3BucketContext } has no member named authRegion
Summary: app-backup/bacula-9.4.1 : s3_driver.c:561:10: error: S3BucketContext {aka str...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Thomas Beierlein
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-30 09:37 UTC by Toralf Förster
Modified: 2019-01-11 18:12 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.30 KB, text/plain)
2018-12-30 09:37 UTC, Toralf Förster
Details
app-backup:bacula-9.4.1:20181230-060042.log (app-backup:bacula-9.4.1:20181230-060042.log,94.21 KB, text/plain)
2018-12-30 09:37 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,194.97 KB, text/plain)
2018-12-30 09:37 UTC, Toralf Förster
Details
environment (environment,94.65 KB, text/plain)
2018-12-30 09:37 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,20.24 KB, application/x-bzip)
2018-12-30 09:37 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,22.15 KB, application/x-bzip)
2018-12-30 09:37 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,32.59 KB, application/x-bzip)
2018-12-30 09:37 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 2018-12-30 09:37:09 UTC
/var/tmp/portage/app-backup/bacula-9.4.1/work/bacula-9.4.1/libtool --silent --tag=CXX --mode=compile /usr/bin/x86_64-pc-linux-gnu-g++   -c  -x c++ -fno-strict-aliasing -fno-exceptions -fno-rtti    -I. -I..  -O2 -pipe -march=native  s3_driver.c
s3_driver.c: In member function 'virtual bool s3_driver::init(JCR*, cloud_dev*, DEVRES*)':
s3_driver.c:561:10: error: 'S3BucketContext' {aka 'struct S3BucketContext'} has no member named 'authRegion'
    s3ctx.authRegion = cloud->region;
          ^~~~~~~~~~
make[1]: *** [Makefile:212: s3_driver.lo] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-no-multilib_20181221-101038

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-8.2.0 *

Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby23 (with Rubygems)
  [2]   ruby24 (with Rubygems)
  [3]   ruby25 (with Rubygems)
  [4]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.31.1 *
  [2]   rust-bin-1.31.1



emerge -qpvO app-backup/bacula
[ebuild  N    ] app-backup/bacula-9.4.1  USE="acl batch-insert ipv6 readline sqlite ssl tcpd -X -bacula-clientonly -bacula-nodir -bacula-nosd -examples -libressl -logwatch -mysql -postgres -qt5 -static -vim-syntax"
Comment 1 Toralf Förster gentoo-dev 2018-12-30 09:37:12 UTC
Created attachment 558938 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-12-30 09:37:15 UTC
Created attachment 558940 [details]
app-backup:bacula-9.4.1:20181230-060042.log
Comment 3 Toralf Förster gentoo-dev 2018-12-30 09:37:18 UTC
Created attachment 558942 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-12-30 09:37:21 UTC
Created attachment 558944 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-12-30 09:37:24 UTC
Created attachment 558946 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-12-30 09:37:27 UTC
Created attachment 558948 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-12-30 09:37:29 UTC
Created attachment 558950 [details]
temp.tbz2
Comment 8 Thomas Beierlein gentoo-dev 2019-01-11 06:01:25 UTC
As it turned out, the package uses a S3 library with some extensions against the one in our tree. The source of that lib is unclear and needs further investigation.

As a start we should drop S3 support for now.
Comment 9 Larry the Git Cow gentoo-dev 2019-01-11 18:12:18 UTC
The bug has been closed via the following commit(s):

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

commit e64c308b84d77ae4c4c80d03954affa617555747
Author:     Thomas Beierlein <tomjbe@gentoo.org>
AuthorDate: 2019-01-11 18:10:55 +0000
Commit:     Thomas Beierlein <tomjbe@gentoo.org>
CommitDate: 2019-01-11 18:11:56 +0000

    app-backup/bacula: Disable S3 support
    
    Bacula supports S3 storage from 9.4.x on. Problem is that the S3
    library in tree is too old and no newer version is available atm.
    
    Closes: https://bugs.gentoo.org/674062
    Package-Manager: Portage-2.3.54, Repoman-2.3.12
    Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>

 app-backup/bacula/bacula-9.4.1-r1.ebuild           | 438 +++++++++++++++++++++
 .../bacula/files/9.4.1/bacula-9.4.1_sql.patch      |  11 +
 2 files changed, 449 insertions(+)