~alpine/apk-tools

2 2

package failed

jinguk.kwon@ungleich.ch
Details
Message ID
<3488B483-DE37-44AA-BE69-187CE8894782@ungleich.ch>
DKIM signature
missing
Download raw message
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.
Tuan Hoang
Details
Message ID
<78b72fd2-cf85-c9a4-f430-85ff6373e5c8@linux.ibm.com>
In-Reply-To
<3488B483-DE37-44AA-BE69-187CE8894782@ungleich.ch> (view parent)
DKIM signature
missing
Download raw message
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.
jinguk.kwon@ungleich.ch
Details
Message ID
<C0A22ECC-5C84-4066-BA9D-1C2BCCD4DE4F@ungleich.ch>
In-Reply-To
<78b72fd2-cf85-c9a4-f430-85ff6373e5c8@linux.ibm.com> (view parent)
DKIM signature
missing
Download raw message
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 <mailto: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.