2
2
package failed
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.
Maybe copying your APKBUILD and related patch files here.
On 1/22/20 12:16 PM, jinguk.kwon@ungleich.ch wrote:
> 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 <http://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 <http://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 <http://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 <http://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.
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 23 Jan 2020, at 00:21, Tuan Hoang <tmhoang@linux.ibm.com> wrote:
>
> Maybe copying your APKBUILD and related patch files here.
>
>
> On 1/22/20 12:16 PM, jinguk.kwon@ungleich.ch <jinguk.kwon@ungleich.ch> wrote:
>> 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 <http://libguac.la/><http://libguac.la <http://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 <http://libguac.la/> <http://libguac.la <http://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 <http://libguac.la/> <http://libguac.la <http://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 <http://libguac.la/> <http://libguac.la <http://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.