Package Details: ldmtool 0.2.3-1

Git Clone URL: https://aur.archlinux.org/ldmtool.git (read-only)
Package Base: ldmtool
Description: tool for managing Microsoft Windows dynamic disks
Upstream URL: https://github.com/mdbooth/libldm
Licenses: GPL
Conflicts: libldm
Provides: libldm
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 5
Popularity: 0.132507
First Submitted: 2015-09-14 10:46
Last Updated: 2017-05-30 18:52

Latest Comments

severach commented on 2017-11-16 21:09

I built on my month out of date desktop, desktop clean chroot, up to date laptop, and on laptop with Internet disconnected. No build errors and ldm launches to prompt.

Seife commented on 2017-11-16 19:29

My build crashes with

warning: failed to load external entity "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"
cannot parse http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl

how can I fix this?

killajoe commented on 2017-05-30 14:44

makepkg: Failed to build at all:

ldmtool.c:90:25: error: duplicate ‘const’ declaration specifier [-Werror=duplicate-decl-specifier]
static const _command_t const commands[] = {
^~~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:573: ldmtool-ldmtool.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [Makefile:499: all-recursive] Error 1
make: *** [Makefile:406: all] Error 2
/usr/bin/makepkg: line 729: logpipe: unbound variable

severach commented on 2017-03-28 05:42

I added an optional line to remove -Werror. Uncomment to use. Try both ways. Developers forget that warning free code now can gain some warnings in new or different compilers.
I don't get any warnings. I tried clang and that stops with errors.

jooch commented on 2017-03-28 03:52

After following syntobu's suggestion, when this command is executed from the PKGBUILD:

make -s -j "$(nproc)"

I get this error:

cc1: alle waarschuwingen worden als fouten behandeld
make[2]: *** [Makefile:566: libldm_1_0_la-ldm.lo] Fout 1
make[1]: *** [Makefile:499: all-recursive] Fout 1
make: *** [Makefile:406: all] Fout 2

So now the warnings about minor and major are treated as errors and the build halts. Any way to ignore this?

syntobu commented on 2017-03-28 00:22

This no longer compiles on gcc => 2.25 because sysmacros.h is no longer included by types.h

This patch fixes it:

--- src/ldm.c 2017-03-28 09:18:32.885536944 +0900
+++ src/ldm.c 2017-03-28 09:18:51.775537236 +0900
@@ -33,6 +33,7 @@
#include <sys/stat.h>
#include <unistd.h>
#include <uuid/uuid.h>
+#include <sys/sysmacros.h>

#include "mbr.h"
#include "gpt.h"

alessio commented on 2016-11-20 21:00

./autogen.sh: riga 46: ../configure: File o directory non esistente
/usr/bin/makepkg: riga 729: logpipe: unbound variable

this happens installing with yaourt.
autogen.sh use variable BUILDDIR set by yaourt.

46c46
< ./autogen.sh --prefix='/usr'
---
> env -u BUILDDIR ./autogen.sh --prefix='/usr'

zapBaggins commented on 2016-11-16 16:18

@Doc.T:
Edit PKGBUILD, go to "prepare() { ..."
and change the line "#./autogen.sh --prefix='/usr'" to "./autogen.sh --prefix='/usr'" (yes, just remove the '#'). Save and makepkg.

Works for me.

severach commented on 2016-08-29 18:16

clean chroot showed that a few deps were needed.

Doc.T commented on 2016-08-29 14:03

./autogen.sh: line 46: ../configure: No such file or directory
/usr/bin/makepkg: line 729: logpipe: unbound variable

How can I avoid this error?

All comments