Package Details: ldmtool 0.2.3-1

Git Clone URL: (read-only)
Package Base: ldmtool
Description: tool for managing Microsoft Windows dynamic disks
Upstream URL:
Licenses: GPL
Conflicts: libldm
Provides: libldm
Submitter: severach
Maintainer: severach
Last Packager: severach
Votes: 5
Popularity: 0.432030
First Submitted: 2015-09-14 10:46
Last Updated: 2017-05-30 18:52

Latest Comments

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

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

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

< ./ --prefix='/usr'
> env -u BUILDDIR ./ --prefix='/usr'

zapBaggins commented on 2016-11-16 16:18

Edit PKGBUILD, go to "prepare() { ..."
and change the line "#./ --prefix='/usr'" to "./ --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

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

How can I avoid this error?

UdinRex commented on 2016-03-27 08:33

./ line 26: gtkdocize: command not found
/usr/bin/makepkg: line 729: logpipe: unbound variable

EDIT: Nevermind my locale was bungled!