Build error with package

Hi,

I try to build netactview on arm

I occur failure, I add the line arch=(‘i686’ ‘x86_64’ ‘aarch64’) in the pkgbuild
I tried with any arch=(‘any’), same issue

Generating netactview information...

Building netactview...
==> ERROR: netactview is not available for the 'aarch64' architecture.

Preparing...
Cloning netactview build files...
Generating netactview information...
Checking netactview dependencies...
Resolving dependencies...
Checking inter-conflicts...

Building netactview...
==> ERROR: Cannot find the fakeroot binary.

Is it possible to solve it ?
netactview is very practice on x86 :slight_smile:

What you mean by add? There is a line called arch=('x86_64'). Did you modified that? Also do you try to build it on your ARM device or how you try to build it?

1 Like

thanks for your answer

You’re right, I modified the line called arch=(‘x86_64’)
I tried to build it on arm64, here is the arm forum…

Im guessing you dont have fakeroot installed, which would mean you likely neglected one of the requirements for using the AUR, the base-devel group.

2 Likes

Hey @nl.smart

creating the package netactview (aur) with aarch64(any) should work.

see logs

makepkg -s
LANG=C makepkg -s                                  SIGINT   master 
==> Making package: netactview 0.6.4-5 (Mo 24 Apr 2023 09:11:26 CEST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (1) libglade-2.6.4-7

Total Installed Size:  0,34 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) installing libglade                                                            [------------------------------------------------] 100%
Optional dependencies for libglade
    python2: libglade-convert script
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for conflicting packages...

Packages (19) perl-clone-0.46-1  perl-encode-locale-1.05-10  perl-file-listing-6.15-2  perl-html-parser-3.81-1  perl-html-tagset-3.20-13
              perl-http-cookies-6.10-3  perl-http-daemon-6.16-1  perl-http-date-6.05-6  perl-http-message-6.44-1
              perl-http-negotiate-6.01-11  perl-io-html-1.004-3  perl-libwww-6.67-1  perl-lwp-mediatypes-6.04-3  perl-net-http-6.22-2
              perl-try-tiny-0.31-2  perl-uri-5.17-1  perl-www-robotrules-6.02-11  perl-xml-parser-2.46-4  intltool-0.51.0-6

Total Download Size:   0,72 MiB
Total Installed Size:  1,76 MiB

:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
 perl-html-parser-3.81-1-aarch64                          78,7 KiB   315 KiB/s 00:00 [------------------------------------------------] 100%
 perl-libwww-6.67-1-any                                  136,9 KiB   456 KiB/s 00:00 [------------------------------------------------] 100%
 perl-http-message-6.44-1-any                             71,5 KiB   210 KiB/s 00:00 [------------------------------------------------] 100%
 perl-uri-5.17-1-any                                      79,2 KiB   208 KiB/s 00:00 [------------------------------------------------] 100%
 perl-xml-parser-2.46-4-aarch64                          141,8 KiB   308 KiB/s 00:00 [------------------------------------------------] 100%
 perl-net-http-6.22-2-any                                 22,7 KiB   175 KiB/s 00:00 [------------------------------------------------] 100%
 perl-http-cookies-6.10-3-any                             21,7 KiB   241 KiB/s 00:00 [------------------------------------------------] 100%
 intltool-0.51.0-6-any                                    41,1 KiB   257 KiB/s 00:00 [------------------------------------------------] 100%
 perl-lwp-mediatypes-6.04-3-any                           18,8 KiB   134 KiB/s 00:00 [------------------------------------------------] 100%
 perl-try-tiny-0.31-2-any                                 18,7 KiB   144 KiB/s 00:00 [------------------------------------------------] 100%
 perl-http-daemon-6.16-1-any                              18,4 KiB   231 KiB/s 00:00 [------------------------------------------------] 100%
 perl-io-html-1.004-3-any                                 14,3 KiB   179 KiB/s 00:00 [------------------------------------------------] 100%
 perl-www-robotrules-6.02-11-any                          12,2 KiB   203 KiB/s 00:00 [------------------------------------------------] 100%
 perl-http-negotiate-6.01-11-any                          12,1 KiB   173 KiB/s 00:00 [------------------------------------------------] 100%
 perl-encode-locale-1.05-10-any                           10,8 KiB   358 KiB/s 00:00 [------------------------------------------------] 100%
 perl-html-tagset-3.20-13-any                             10,8 KiB   108 KiB/s 00:00 [------------------------------------------------] 100%
 perl-clone-0.46-1-aarch64                                10,3 KiB   147 KiB/s 00:00 [------------------------------------------------] 100%
 perl-file-listing-6.15-2-any                             10,1 KiB   169 KiB/s 00:00 [------------------------------------------------] 100%
 perl-http-date-6.05-6-any                                 9,5 KiB   135 KiB/s 00:00 [------------------------------------------------] 100%
 Total (19/19)                                           739,6 KiB   787 KiB/s 00:01 [------------------------------------------------] 100%
(19/19) checking keys in keyring                                                     [------------------------------------------------] 100%
(19/19) checking package integrity                                                   [------------------------------------------------] 100%
(19/19) loading package files                                                        [------------------------------------------------] 100%
(19/19) checking for file conflicts                                                  [------------------------------------------------] 100%
(19/19) checking available disk space                                                [------------------------------------------------] 100%
:: Processing package changes...
( 1/19) installing perl-encode-locale                                                [------------------------------------------------] 100%
( 2/19) installing perl-http-date                                                    [------------------------------------------------] 100%
( 3/19) installing perl-file-listing                                                 [------------------------------------------------] 100%
( 4/19) installing perl-html-tagset                                                  [------------------------------------------------] 100%
( 5/19) installing perl-clone                                                        [------------------------------------------------] 100%
( 6/19) installing perl-io-html                                                      [------------------------------------------------] 100%
( 7/19) installing perl-lwp-mediatypes                                               [------------------------------------------------] 100%
( 8/19) installing perl-uri                                                          [------------------------------------------------] 100%
( 9/19) installing perl-http-message                                                 [------------------------------------------------] 100%
(10/19) installing perl-html-parser                                                  [------------------------------------------------] 100%
(11/19) installing perl-http-cookies                                                 [------------------------------------------------] 100%
(12/19) installing perl-http-daemon                                                  [------------------------------------------------] 100%
(13/19) installing perl-http-negotiate                                               [------------------------------------------------] 100%
(14/19) installing perl-net-http                                                     [------------------------------------------------] 100%
(15/19) installing perl-try-tiny                                                     [------------------------------------------------] 100%
(16/19) installing perl-www-robotrules                                               [------------------------------------------------] 100%
(17/19) installing perl-libwww                                                       [------------------------------------------------] 100%
Optional dependencies for perl-libwww
    perl-lwp-protocol-https: for https:// url schemes
(18/19) installing perl-xml-parser                                                   [------------------------------------------------] 100%
(19/19) installing intltool                                                          [------------------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Warn about old perl modules
==> Retrieving sources...
  -> Downloading netactview-0.6.4.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   422  100   422    0     0    519      0 --:--:-- --:--:-- --:--:--   519
100   403  100   403    0     0    142      0  0:00:02  0:00:02 --:--:--   400
100  291k  100  291k    0     0  98579      0  0:00:03  0:00:03 --:--:-- 1665k
  -> Found drop-libgnome.patch
  -> Found drop-gconf.patch
  -> Found netactview_polkit
  -> Found org.archlinux.pkexec.netactview.policy
==> Validating source files with sha256sums...
    netactview-0.6.4.tar.bz2 ... Passed
    drop-libgnome.patch ... Passed
    drop-gconf.patch ... Passed
    netactview_polkit ... Passed
    org.archlinux.pkexec.netactview.policy ... Passed
==> Extracting sources...
  -> Extracting netactview-0.6.4.tar.bz2 with bsdtar
==> Starting prepare()...
patching file configure.ac
...
...
==> 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 issues...
==> Creating package "netactview"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: netactview 0.6.4-5 (Mo 24 Apr 2023 09:12:04 CEST)

Build device N2+

good luck :wink:

1 Like

Thanks all, it works.

To solve it :

  1. I installed base-devel
  2. I applied arch=(‘any’) in the pkgbuild

it works, one more time thanks a lot all :slight_smile:

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.