[Bug 214578] sysutils/bareos-client: build failure (patching AND linker failure)

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Nov 16 18:33:31 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=214578

            Bug ID: 214578
           Summary: sysutils/bareos-client: build failure (patching AND
                    linker failure)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: Individual Port(s)
          Assignee: acm at FreeBSD.org
          Reporter: ohartmann at walstatt.org
             Flags: maintainer-feedback?(acm at FreeBSD.org)
          Assignee: acm at FreeBSD.org

The recent update of the backup port suite 

sysutils/bareos-client 
sysutils/bareos-server 
www/bareos-webui

from version 15.2.2 to 16.2.4 fails due to the error shown below:

=> SHA256 Checksum OK for bareos-bareos-Release-16.2.4_GH0.tar.gz.
===>  Patching for bareos-client-16.2.4
===>  Applying FreeBSD patches for bareos-client-16.2.4
1 out of 1 hunks failed--saving rejects to src/stored/Makefile.in.rej
=> Patch patch-src-stored-Makefile.in failed to apply cleanly.
=> Patch(es) patch-autoconf_Make.common.in patch-configure
patch-src-console-Makefile.in patch-src-dird-Makefile.in
patch-src-filed-Makefile.in patch-src-plugins-filed_Makefile.in
patch-src-plugins-stored-Makefile.in patch-src-qt-console-bat.pro.in applied
cleanly.
*** Error code 1

It seems, from my perspective, that

files/patch-src-stored-Makefile.in

is obsolete, since it is from July 2015 (beware of the hyphen "-" instead of
the underscore "_" between stored-Makefile of the wrong version - the correct
one seems to have the underscore).

Simply deleting this file in question: files/patch-src-stored-Makefile.in

and going further on with the compilation process ends up in a linker error:

[...]
ua_update.c:(.text+0x148f): undefined reference to `db_get_storage_record(JCR*,
B_DB*, STORAGE_DBR*)'
/usr/local/lib/libbareoscfg.so: undefined reference to `dump_resource(int,
RES*, void (*)(void*, char const*, ...), void*, bool)'
c++: error: linker command failed with exit code 1 (use -v to see invocation)
*** [bareos-dir] Error code 1

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list