Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 664224 - app-backup/bareos-16.2.7-r1 fails to compile with +ndmp USE-flag
Summary: app-backup/bareos-16.2.7-r1 fails to compile with +ndmp USE-flag
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-22 04:21 UTC by Andrew A. Sabitov
Modified: 2020-03-03 07:28 UTC (History)
0 users

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


Attachments
emerge --info (emerge_info.txt,16.97 KB, text/plain)
2018-08-22 04:21 UTC, Andrew A. Sabitov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew A. Sabitov 2018-08-22 04:21:30 UTC
Created attachment 544430 [details]
emerge --info

Hi! 
As it's said in Summary, bareos-16.2.7-r1 fails to compile with active ndmp USE-flag

The last messages in build.log are: 
==================================================

==== Make of sqllibs is good ====
 
make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7-r1/work/bareos-Release-16.2.7/src/cats'
make -C src/ndmp
make[1]: Entering directory '/var/tmp/portage/app-backup/bareos-16.2.7-r1/work/bareos-Release-16.2.7/src/ndmp'
rpcgen -C -M ndmp0.x
rpcgen -C -M ndmp2.x
rpcgen -C -M ndmp3.x
rpcgen -C -M ndmp4.x
rpcgen -C -M ndmp9.x
Compiling ndmp_translate.c
/var/tmp/portage/app-backup/bareos-16.2.7-r1/work/bareos-Release-16.2.7/libtool --silent --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc   -c   -I. -I. -I.. -I../include  -O2 -march=native -fomit-frame-pointer -pipe -mno-tls-direct-seg-refs -DNDMOS_OPTION_NO_TEST_AGENTS ndmp_translate.c
In file included from ndmos.h:181:0,
                 from ndmp_translate.c:38:
ndmos_linux.h:71:21: fatal error: rpc/rpc.h: No such file or directory
 #include <rpc/rpc.h>
                     ^
compilation terminated.
make[1]: *** [Makefile:205: ndmp_translate.lo] Error 1
make[1]: Leaving directory '/var/tmp/portage/app-backup/bareos-16.2.7-r1/work/bareos-Release-16.2.7/src/ndmp'
make: *** [GNUmakefile:165: src/ndmp] Error 2

==================================================

My USE-flags for bareos are: 

# cat /etc/portage/package.use/bareos 
app-backup/bareos acl -cephfs -clientonly director -fastlz -glusterfs -gnutls ipv6 jansson -libressl -lmdb logwatch mysql ndmp -postgres python -qt4 -rados -rados-striper readline -scsi-crypto -sql-pooling -sqlite ssl -static storage-daemon tcpd vim-syntax -X
Comment 1 Marc Schiffbauer gentoo-dev 2020-03-03 07:28:12 UTC
This version of bareos has been removed from the tree. Nevertheless thanks for reporting.