You are not logged in.

#1 2016-06-11 21:22:32

eazyarch
Member
Registered: 2013-06-28
Posts: 6

problems with mondo build

Hi,i want to install mondo rescue from AUR,but it depends on afio,and it wont build

afio 2.5.1-4  (2016-02-26 09:10)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> afio dependencies:


==> Continue building afio ? [Y/n]
==> ------------------------------
==> y

==> Building and installing package
==> Making package: afio 2.5.1-4 (P juuni 12 00:19:49 EEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading afio-2.5.1.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 95  187k   95  179k    0     0   198k      0 --:--:-- --:--:-- --:--:--100  187k  100  187k    0     0   161k      0  0:00:01  0:00:01 --:--:--  161k
  -> Found LICENSE
==> Validating source files with sha256sums...
    afio-2.5.1.tgz ... Passed
    LICENSE ... Passed
==> Extracting sources...
  -> Extracting afio-2.5.1.tgz with bsdtar
==> Starting build()...
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o afio.o afio.c
afio.c: In function ‘incheckdata’:
afio.c:1561:13: warning: variable ‘oops’ set but not used [-Wunused-but-set-variable]
   reg char *oops;
             ^~~~
afio.c: In function ‘outflush’:
afio.c:3970:7: warning: variable ‘wrstat’ set but not used [-Wunused-but-set-variable]
   int wrstat;
       ^~~~~~
In file included from afio.c:234:0:
afio.c: In function ‘dirmake’:
afio.h:253:14: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:990:5: note: in expansion of macro ‘VOID’
     VOID chown (name,
     ^~~~
afio.c: In function ‘incheckdata’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:1604:2: note: in expansion of macro ‘VOID’
  VOID dup (pfd[0]);
  ^~~~
afio.c: In function ‘opencontrolscript’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:3090:2: note: in expansion of macro ‘VOID’
  VOID dup (pfd[0]);
  ^~~~
afio.c: In function ‘openotty’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:3345:5: note: in expansion of macro ‘VOID’
     VOID dup (pfd[0]);
     ^~~~
afio.c: In function ‘pipechld’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:4312:7: note: in expansion of macro ‘VOID’
       VOID dup (pfd[0]);
       ^~~~
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:4323:7: note: in expansion of macro ‘VOID’
       VOID dup (pfd[1]);
       ^~~~
afio.c: In function ‘writedisk’:
afio.h:253:14: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:5125:4: note: in expansion of macro ‘VOID’
    VOID nice (-10);
    ^~~~
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o compfile.o compfile.c
compfile.c: In function ‘compressfile’:
compfile.c:229:7: warning: variable ‘namelen’ set but not used [-Wunused-but-set-variable]
   int namelen,usemem;
       ^~~~~~~
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o exten.o exten.c
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o match.o match.c
gcc  afio.o compfile.o exten.o match.o  -o afio
==> Entering fakeroot environment...
/usr/bin/makepkg: line 170: fakeroot: käsku ei ole
==> ERROR: Makepkg was unable to build afio.
==> Restart building afio ? [y/N]
==> -----------------------------

can anybody fix it! thank you

Last edited by eazyarch (2016-06-11 23:25:54)

Offline

#2 2016-06-11 22:13:16

mis
Member
Registered: 2016-03-16
Posts: 234

Re: problems with mondo build

eazyarch wrote:

/usr/bin/makepkg: line 170: fakeroot: käsku ei ole

What does "käsku ei ole" mean? Something like 'command not found' ?
If so check if you have fakeroot installed.

Please use code tags for posting command outputs.

Last edited by mis (2016-06-11 22:16:43)

Offline

#3 2016-06-11 22:20:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: problems with mondo build

Builds just fine here.  Let me guess, is that output from yaourt in your post?
Here:

ewaller@turing/home/ewaller % cd devel/build/
ewaller@turing/home/ewaller/devel/build % git clone http://aur.archlinux.org/afio
Cloning into 'afio'...
remote: Counting objects: 9, done.
remote: Compressing objects: 100% (9/9), done.
remote: Total 9 (delta 0), reused 9 (delta 0)
Unpacking objects: 100% (9/9), done.
Checking connectivity... done.
ewaller@turing/home/ewaller/devel/build % cd afio
ewaller@turing/home/ewaller/devel/build/afio % makepkg
==> Making package: afio 2.5.1-4 (Sat Jun 11 15:12:52 PDT 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading afio-2.5.1.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  187k  100  187k    0     0  48649      0  0:00:03  0:00:03 --:--:-- 48646
  -> Found LICENSE
==> Validating source files with sha256sums...
    afio-2.5.1.tgz ... Passed
    LICENSE ... Passed
==> Extracting sources...
  -> Extracting afio-2.5.1.tgz with bsdtar
==> Starting build()...
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o afio.o afio.c
afio.c: In function ‘incheckdata’:
afio.c:1561:13: warning: variable ‘oops’ set but not used [-Wunused-but-set-variable]
   reg char *oops;
             ^~~~
afio.c: In function ‘outflush’:
afio.c:3970:7: warning: variable ‘wrstat’ set but not used [-Wunused-but-set-variable]
   int wrstat;
       ^~~~~~
In file included from afio.c:234:0:
afio.c: In function ‘dirmake’:
afio.h:253:14: warning: ignoring return value of ‘chown’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:990:5: note: in expansion of macro ‘VOID’
     VOID chown (name,
     ^~~~
afio.c: In function ‘incheckdata’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:1604:2: note: in expansion of macro ‘VOID’
  VOID dup (pfd[0]);
  ^~~~
afio.c: In function ‘opencontrolscript’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:3090:2: note: in expansion of macro ‘VOID’
  VOID dup (pfd[0]);
  ^~~~
afio.c: In function ‘openotty’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:3345:5: note: in expansion of macro ‘VOID’
     VOID dup (pfd[0]);
     ^~~~
afio.c: In function ‘pipechld’:
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:4312:7: note: in expansion of macro ‘VOID’
       VOID dup (pfd[0]);
       ^~~~
afio.h:253:14: warning: ignoring return value of ‘dup’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:4323:7: note: in expansion of macro ‘VOID’
       VOID dup (pfd[1]);
       ^~~~
afio.c: In function ‘writedisk’:
afio.h:253:14: warning: ignoring return value of ‘nice’, declared with attribute warn_unused_result [-Wunused-result]
 #define VOID (void)  /* Quiet lint about ignored return values */
               
afio.c:5125:4: note: in expansion of macro ‘VOID’
    VOID nice (-10);
    ^~~~
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o compfile.o compfile.c
compfile.c: In function ‘compressfile’:
compfile.c:229:7: warning: variable ‘namelen’ set but not used [-Wunused-but-set-variable]
   int namelen,usemem;
       ^~~~~~~
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o exten.o exten.c
gcc -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE   -DMEMCPY -DMKDIR   -DVOIDFIX  -DHAVEFCNTL    -DHAVEMEMCMP -DDEFFMTCMD='"fdformat /dev/fd0H1440"'  -DHAVE_LCHOWN -DPRG_COMPRESS='"gzip"' -DHAVEFNMATCH  -D_FORTIFY_SOURCE=2  -c -o match.o match.c
gcc  afio.o compfile.o exten.o match.o  -o afio
==> Entering fakeroot environment...
==> Starting package()...
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issue...
==> Creating package "afio"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: afio 2.5.1-4 (Sat Jun 11 15:12:59 PDT 2016)
ewaller@turing/home/ewaller/devel/build/afio % 

Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#4 2016-06-11 22:26:59

mis
Member
Registered: 2016-03-16
Posts: 234

Re: problems with mondo build

It even builds with yaourt. I guess fakeroot is not installed.

/usr/bin/makepkg

enter_fakeroot() {
	msg "$(gettext "Entering %s environment...")" "fakeroot"
	fakeroot -- $0 -F "${ARGLIST[@]}" || exit $?                                                   this is line 170 
}

edit: Google translate says 'käsku ei ole' means 'commandments are not'

Last edited by mis (2016-06-11 22:31:00)

Offline

#5 2016-06-11 22:34:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: problems with mondo build

I tend to agree -- it looks like fakeroot is a build dependency.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#6 2016-06-11 22:36:19

mis
Member
Registered: 2016-03-16
Posts: 234

Re: problems with mondo build

Fakeroot is part of the base-devel group, maybe the OP did not install it.

edit: or somehow removed fakeroot ...

Last edited by mis (2016-06-11 22:39:13)

Offline

#7 2016-06-11 23:14:33

eazyarch
Member
Registered: 2013-06-28
Posts: 6

Re: problems with mondo build

mis wrote:
eazyarch wrote:

/usr/bin/makepkg: line 170: fakeroot: käsku ei ole

What does "käsku ei ole" mean? Something like 'command not found' ?
If so check if you have fakeroot installed.

Please use code tags for posting command outputs.


yes its mean - command not found

Offline

#8 2016-06-11 23:20:33

eazyarch
Member
Registered: 2013-06-28
Posts: 6

Re: problems with mondo build

eazyarch wrote:
mis wrote:
eazyarch wrote:

/usr/bin/makepkg: line 170: fakeroot: käsku ei ole

What does "käsku ei ole" mean? Something like 'command not found' ?
If so check if you have fakeroot installed.

Please use code tags for posting command outputs.


yes its mean - command not found


Thank you all,yes fakeroot was somehow got missing,i installed and everything wen fine,but now i have a problem with buffer,what i am missing?

==> buffer dependencies:


==> Continue building buffer ? [Y/n]
==> --------------------------------
==> y

==> Building and installing package
==> Making package: buffer 1.19-7 (P juuni 12 02:17:52 EEST 2016)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading buffer-1.19.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:-- 95 17920   95 17083    0     0  34448      0 --:--:-- --:--:-- --:--:--100 17920  100 17920    0     0  36019      0 --:--:-- --:--:-- --:--:-- 35983
  -> Found 01-debian-patches.all
  -> Found 02-fedora-patch.all
  -> Found buffer-1.19.tar.gz.sig
  -> Found 01-debian-patches.all.sig
  -> Found 02-fedora-patch.all.sig
==> Validating source files with sha512sums...
    buffer-1.19.tar.gz ... Passed
    01-debian-patches.all ... Passed
    02-fedora-patch.all ... Passed
    buffer-1.19.tar.gz.sig ... Skipped
    01-debian-patches.all.sig ... Skipped
    02-fedora-patch.all.sig ... Skipped
==> Verifying source file signatures with gpg...
    buffer-1.19.tar.gz ... FAILED (unknown public key 8C004C2F93481F6B)
    01-debian-patches.all ... FAILED (unknown public key 8C004C2F93481F6B)
    02-fedora-patch.all ... FAILED (unknown public key 8C004C2F93481F6B)
==> ERROR: One or more PGP signatures could not be verified!
==> ERROR: Makepkg was unable to build buffer.
==> Restart building buffer ? [y/N]
==> -------------------------------

Last edited by eazyarch (2016-06-11 23:24:16)

Offline

#9 2016-06-11 23:25:01

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,740

Re: problems with mondo build


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#10 2016-06-12 00:14:34

eazyarch
Member
Registered: 2013-06-28
Posts: 6

Re: problems with mondo build

strange,got all installed and now i got

==> Continue installing mindi-busybox ? [Y/n]
==> [v]iew package contents [c]heck package with namcap
==> ---------------------------------------------------
==> y

loading packages...
warning: mindi-busybox-1.18.5-4 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) mindi-busybox-1.18.5-4

Total Installed Size:  0,45 MiB
Net Upgrade Size:      0,00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [##############] 100%
(1/1) checking package integrity                   [##############] 100%
(1/1) loading package files                        [##############] 100%
(1/1) checking for file conflicts                  [##############] 100%
(1/1) checking available disk space                [##############] 100%
:: Processing package changes...
(1/1) reinstalling mindi-busybox                   [##############] 100%
[arch@arch]: ~>$ sudo mindi
/usr/bin/mindi: line 3005: pbdistrocheck: käsku ei ole
find: ‘/run/user/1000/gvfs’: Permission denied
Can't locate MondoRescue/Version.pm in @INC (you may need to install the MondoRescue::Version module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/sbin/mr-parted2fdisk line 20.
BEGIN failed--compilation aborted at /usr/sbin/mr-parted2fdisk line 20.
Mindi Linux mini-distro generator v3.0.2-r3578
Latest Mindi is available from http://www.mondorescue.org
BusyBox sources are available from http://www.busybox.net
------------------------------------------------------------------------------
ERROR: Unable to find mindi-busybox, please install it

Offline

#11 2016-06-12 12:40:25

mis
Member
Registered: 2016-03-16
Posts: 234

Re: problems with mondo build

/usr/bin/mindi: line 3005: pbdistrocheck: käsku ei ole

This tells you that /usr/bin/mindi tries to execute 'pbdistrocheck' but cant' find it.

find: ‘/run/user/1000/gvfs’: Permission denied

Not sure about that, but obviously a permission problem

Can't locate MondoRescue/Version.pm in @INC (you may need to install the MondoRescue::Version module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at /usr/sbin/mr-parted2fdisk line 20

This tells you that the perl module MondoRescue::Version could not be found.

I don't know which packages are needed or other things you may have to do to get 'pbdistrocheck' and the perl module onto your system, so that mindi finds them.

Offline

Board footer

Powered by FluxBB