Subject: apk package build fail

From: "[email-masked]" <[email-masked]>
Date: Wed, 22 Jan 2020 20:23:49 +0900

Hello there,

i am creating new packages. but i got below error.
please help me.

Error Log

localhost:~/guacamole-server-dev$abuild -vv
......
make[1]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacd'
make[2]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacd'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/sbin'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/etc/init.d'
 /usr/bin/install -c init.d/guacd '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/etc/init.d'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c guacd '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/sbin'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man5'
 /usr/bin/install -c -m 644 man/guacd.conf.5 '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man5'
libtool: warning: '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/libguac/libguac.la' has not been installed in '/usr/lib'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man8'
libtool: warning: '../../src/libguac/libguac.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/guacd /home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/sbin/guacd
 /usr/bin/install -c -m 644 man/guacd.8 '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man8'
make[2]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacd'
make[1]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacd'
Making install in src/guacenc
make[1]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacenc'
make[2]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacenc'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man1'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c guacenc '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin'
 /usr/bin/install -c -m 644 man/guacenc.1 '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man1'
libtool: warning: '../../src/libguac/libguac.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/guacenc /home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin/guacenc
make[2]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacenc'
make[1]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guacenc'
Making install in src/guaclog
make[1]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guaclog'
make[2]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guaclog'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin'
 ../../build-aux/install-sh -c -d '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man1'
  /bin/bash ../../libtool   --mode=install /usr/bin/install -c guaclog '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin'
 /usr/bin/install -c -m 644 man/guaclog.1 '/home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/share/man/man1'
libtool: warning: '../../src/libguac/libguac.la' has not been installed in '/usr/lib'
libtool: install: /usr/bin/install -c .libs/guaclog /home/guaca/guacamole-server-dev/pkg/guacamole-server-dev/usr/bin/guaclog
make[2]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guaclog'
make[1]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0/src/guaclog'
make[1]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0'
make[2]: Entering directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0'
make[2]: Nothing to be done for 'install-exec-am'.
make[2]: Nothing to be done for 'install-data-am'.
make[2]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0'
make[1]: Leaving directory '/home/guaca/guacamole-server-dev/src/guacamole-server-dev-1.1.0'
>>> ERROR: guacamole-server-dev*: package failed
+ die 'all failed'
+ trap - EXIT
+ error 'all failed'
+ local 'prompt=\033[1;31m>>> ERROR:\033[1;0m'
+ local 'fake='
+ local 'name=\033[1;1mguacamole-server-dev\033[1;0m'
+ printf '\033[1;31m>>> ERROR:\033[1;0m \033[1;1mguacamole-server-dev\033[1;0m: %s\n' 'all failed'
>>> ERROR: guacamole-server-dev: all failed
+ logcmd 'ERROR: guacamole-server-dev: all failed'
+ true 'ERROR: guacamole-server-dev: all failed'
+ return 0
+ cleanup bldroot deps
+ local 'i='
+ '[' -z  ]
+ set_xterm_title
+ '[' xterm-256color '=' xterm ]
+ '[' -n  ]
+ '['  ]
+ '[' -z  ]
+ '[' -n  ]
+ exit 1
thank you.

---

From: "Ariadne Conill" <[email-masked]>
Date: Wed, 22 Jan 2020 13:58:40 +0000

Hello,

> i am creating new packages. but i got below error.

We need the full error log in order to tell you what happened, I think.

Ariadne

---

From: "[email-masked]" <[email-masked]>
Date: Tue, 28 Jan 2020 23:01:20 +0900

Thank you for your help.
i found a reason.
ldconfig command is problem.
i am researching solution.(how to add ldconfig)

APKBUILD
============
…...
package() {
        cd "$builddir"
        make DESTDIR="$pkgdir" install
        ldconfig
}

> On 22 Jan 2020, at 22:58, Ariadne Conill <[email-masked]> wrote:
> 
> Hello,
>

---

From: Marco Dickert <[email-masked]>
Date: Tue, 28 Jan 2020 16:32:53 +0100

I build guacamole-server myself, maybe this helps:

https://gitea.de/marco/aports/src/branch/master/marco/guacamole-server

-- 
Marco Dickert
[email-masked]
https://misterunknown.de

---

From: Natanael Copa <[email-masked]>
Date: Tue, 28 Jan 2020 16:22:23 +0100

Hi!

On Tue, 28 Jan 2020 23:01:20 +0900
"[email-masked]" <[email-masked]> wrote:

> *...

You normally dont need run ldconfig in Alpine.

-nc