* Problems compiling xfsdump on Debian unstable
@ 2015-11-01 15:10 Jose M Calhariz
2015-11-01 22:34 ` Dave Chinner
2015-11-02 3:25 ` Nathan Scott
0 siblings, 2 replies; 3+ messages in thread
From: Jose M Calhariz @ 2015-11-01 15:10 UTC (permalink / raw)
To: xfs
[-- Attachment #1.1: Type: text/plain, Size: 6887 bytes --]
I am trying to compile the latest xfsdump from the git repository.
While I can compile it on Debian stable (jessie) and testing(stretch), I
have problems compiling it on Debian unstable.
I think the problem is because of new software on Debian unstable.
One fragment of the errors that I get when linking the .o files:
cldmgr.o: In function `cldmgr_create':
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:82: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:101: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/cldmgr.c:86: undefined
reference to `_'
content_common.o: In function `Media_prompt_change':
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:65: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:69: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:74: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:80: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:83: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:85: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:86: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:106:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:112:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:117:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:121:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:108:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:109:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:112:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:117:
undefined reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/content_common.c:121:
undefined reference to `assert'
dlog.o: In function `dlog_string_query_print':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:362: undefined
reference to `assert'
dlog.o: In function `promptinput':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:508: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:486: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:503: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:513: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:499: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:490: undefined
reference to `_'
dlog.o: In function `dlog_init':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:60: undefined reference
to `assert'
dlog.o: In function `dlog_multi_query':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:189: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:221: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:257: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:213: undefined
reference to `_'
dlog.o: In function `dlog_string_query':
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:298: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/dlog.c:310: undefined
reference to `_'
drive.o: In function `drive_alloc':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:359: undefined
reference to `assert'
drive.o: In function `drive_init1':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:91: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:145: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:218: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:223: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:172: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:186: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:110: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:155: undefined
reference to `_'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:132: undefined
reference to `_'
drive.o: In function `drive_allochdrs':
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:414: undefined
reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive.c:400: undefined
reference to `assert'
drive_scsitape.o: In function `do_get_align_cnt':
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2132:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2133:
undefined reference to `assert'
/home/cal/source.xfsdump/git-xfsdump/dump/drive_scsitape.c:2134:
undefined reference to `assert'
Software on testing that may makes a difference:
gcc --version
gcc (Debian 4.9.3-3) 4.9.3
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dpkg --status xfslibs-dev
Package: xfslibs-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 80
Maintainer: XFS Development Team <xfs@oss.sgi.com>
Architecture: amd64
Source: xfsprogs
Version: 3.2.1
Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0)
Breaks: xfsprogs (<< 3.0.0)
Description: XFS filesystem-specific static libraries and headers
On Debian unstable:
gcc --version
gcc (Debian 5.2.1-23) 5.2.1 20151028
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
0 2 Dom Nov 01 15:02:32 CWD=~/source.xfsdump/git-xfsdump
cal@chr-amd64-sid.mccoy[3895]>dpkg --status xfslibs-dev
Package: xfslibs-dev
Status: install ok installed
Priority: extra
Section: libdevel
Installed-Size: 219
Maintainer: XFS Development Team <xfs@oss.sgi.com>
Architecture: amd64
Source: xfsprogs
Version: 4.2.0
Depends: libc6-dev | libc-dev, uuid-dev, xfsprogs (>= 3.0.0)
Breaks: xfsprogs (<< 3.0.0)
Description: XFS filesystem-specific static libraries and headers
Why is important to me to compile xfsdump on unstable. Because it was
removed from Debian testing and
because of that the amanda software was removed too. As the maintainer
of amanda for Debian I am doing
my best to fix this problem.
I am not on the list.
Kind regards
Jose M Calhariz
[-- Attachment #1.2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
[-- Attachment #2: Type: text/plain, Size: 121 bytes --]
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems compiling xfsdump on Debian unstable
2015-11-01 15:10 Problems compiling xfsdump on Debian unstable Jose M Calhariz
@ 2015-11-01 22:34 ` Dave Chinner
2015-11-02 3:25 ` Nathan Scott
1 sibling, 0 replies; 3+ messages in thread
From: Dave Chinner @ 2015-11-01 22:34 UTC (permalink / raw)
To: Jose M Calhariz; +Cc: xfs
On Sun, Nov 01, 2015 at 03:10:41PM +0000, Jose M Calhariz wrote:
> I am trying to compile the latest xfsdump from the git repository.
>
> While I can compile it on Debian stable (jessie) and testing(stretch), I
> have problems compiling it on Debian unstable.
> I think the problem is because of new software on Debian unstable.
Known issue - xfsdump had an unhealthy dependency on the unclean
header files that shipped with xfsprogs. We sanitised the xfsprogs
headers in 4.2.0, and didn't notice that xfsdump started
complaining because my build machine was still using 3.2.4 headers
to build xfsdump.
I have patches under review to fix the xfsdump problems, I'll be
doing a release of it as soon as the review is finished...
Cheers,
Dave.
--
Dave Chinner
david@fromorbit.com
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Problems compiling xfsdump on Debian unstable
2015-11-01 15:10 Problems compiling xfsdump on Debian unstable Jose M Calhariz
2015-11-01 22:34 ` Dave Chinner
@ 2015-11-02 3:25 ` Nathan Scott
1 sibling, 0 replies; 3+ messages in thread
From: Nathan Scott @ 2015-11-02 3:25 UTC (permalink / raw)
To: Jose M Calhariz; +Cc: xfs
Hi Jose,
----- Original Message -----
> I am trying to compile the latest xfsdump from the git repository.
The underlying problem was related to changes in xfsprogs header files
which had unanticipated dependencies in xfsdump - Dave has been working
through all these issues (iow, removing the unanticipated dependencies,
by updating xfsdump code) and the next release of xfsdump will resolve
this build failure. It's not a trivial change though, so our best bet
(IMO) is to wait on those upstream changes from Dave and then get a new
package build into unstable & testing.
cheers.
--
Nathan
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-11-02 3:26 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-01 15:10 Problems compiling xfsdump on Debian unstable Jose M Calhariz
2015-11-01 22:34 ` Dave Chinner
2015-11-02 3:25 ` Nathan Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox