[SOLVED] 'target not found' when PKGBUILD calls pacman?

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[SOLVED] 'target not found' when PKGBUILD calls pacman?

Postby sneasle » Tue Mar 12, 2013 2:10 am

Hi guys,

This is on a Pogo E02

I am working off a fresh AL-ARM install and am attempting to get the following up and running:
shairport-git-sysdcompat
netcfg

I believe I also need perl-net-sdp and a few other packages that are dependencies from the ones above, but I'm running into an issue where it seems the pacman links for a lot of the stuff listed as dependencies are broken.

Pretty sure this is the full list of what I need...
shairport-git-sysdcompat
netcfg
avahi
libao
openssl
perl-crypt-openssl-rsa
perl-http-message
perl-libwww
perl-net-sdp


Is there another easy way to get these down? I'm attempting to go through AUR and do the PKGBUILDs but it's really not liking me as it seems that it is calling pacman to install the dependencies and is running into the same 'broken link' issues.

I appologize for the noobness, but I'm a little lost at the moment.
Last edited by sneasle on Thu Mar 14, 2013 4:55 am, edited 1 time in total.
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby pepedog » Tue Mar 12, 2013 2:17 am

Update things first
pacman -Syu
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby sneasle » Tue Mar 12, 2013 2:40 am

Thanks pepe, doing that now.
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby sneasle » Tue Mar 12, 2013 5:54 pm

Ok, after all the updates I've pulled down the shairport package from AUR and am attempting to install is.

When I untar it and step into the folder that creates I have four files:
PKGBUILD
shairport.confd
shairport.init
shairport@.service

I then process to run 'makepkg -s --asroot' according to the instructions on the AUR wiki, I get an "error: target not found: perl-net-sdp"

Should I just download its tarball and install it first?
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby sneasle » Tue Mar 12, 2013 6:03 pm

Ok, went ahead and pulled the tarball for perl and installed it according to the AUR wiki page.

When doing the same thing with shairport I get an error:
==> ERROR: 'pacman' failed to install missing dependencies.

Is there anyway to debug which dependencies it is missing?
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby sneasle » Tue Mar 12, 2013 6:10 pm

$this->bbcode_second_pass_code('', '[root@PogoOne perl-net-sdp]# makepkg -s --asroot
==> Making package: perl-net-sdp 0.07-1 (Tue Mar 12 13:05:20 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
-> Downloading Net-SDP-0.07.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 --:--:-- 0:00:01 --:--:-- 0
100 20679 100 20679 0 0 1179 0 0:00:17 0:00:17 --:--:-- 4644
==> Validating source files with md5sums...
Net-SDP-0.07.tar.gz ... Passed
==> Extracting Sources...
-> Extracting Net-SDP-0.07.tar.gz with bsdtar
==> Starting build()...
# running Build.PL --installdirs vendor
Checking prerequisites...
recommends:
* LWP::Simple is not installed

ERRORS/WARNINGS FOUND IN PREREQUISITES. You may wish to install the versions
of the modules indicated above before proceeding with this installation

Run 'Build installdeps' to install missing prerequisites.

Created MYMETA.yml and MYMETA.json
Creating new 'Build' script for 'Net-SDP' version '0.07'
/usr/bin/perl Build --makefile_env_macros 1
Building Net-SDP
/usr/bin/perl Build --makefile_env_macros 1 install
Building Net-SDP
Installing /tmp/perl-net-sdp/pkg/usr/share/man/man1/sdp2rat.1p
Installing /tmp/perl-net-sdp/pkg/usr/share/perl5/vendor_perl/Net/SDP.pm
Installing /tmp/perl-net-sdp/pkg/usr/share/perl5/vendor_perl/Net/SDP/Media.pm
Installing /tmp/perl-net-sdp/pkg/usr/share/perl5/vendor_perl/Net/SDP/Time.pm
Installing /tmp/perl-net-sdp/pkg/usr/share/man/man3/Net::SDP.3pm
Installing /tmp/perl-net-sdp/pkg/usr/share/man/man3/Net::SDP::Media.3pm
Installing /tmp/perl-net-sdp/pkg/usr/share/man/man3/Net::SDP::Time.3pm
Installing /tmp/perl-net-sdp/pkg/usr/bin/vendor_perl/sdp2rat
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
-> Removing empty directories...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: perl-net-sdp 0.07-1 (Tue Mar 12 13:05:51 CDT 2013)
[root@PogoOne perl-net-sdp]# ls
Net-SDP-0.07.tar.gz perl-net-sdp-0.07-1-any.pkg.tar.xz pkg PKGBUILD src
[root@PogoOne perl-net-sdp]# pacman -U /tmp/perl-net-sdp/perl-net-sdp-0.07-1-any.pkg.tar.xz
loading packages...
warning: perl-net-sdp-0.07-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): perl-net-sdp-0.07-1

Total Installed Size: 0.08 MiB
Net Upgrade Size: 0.00 MiB

Proceed with installation? [Y/n] Y
(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%
(1/1) upgrading perl-net-sdp [######################] 100%
[root@PogoOne perl-net-sdp]# cd ../
[root@PogoOne tmp]# ls
perl-net-sdp shairport-git-sysdcompat
perl-net-sdp.tar.gz shairport-git-sysdcompat.tar.gz
[root@PogoOne tmp]# cd shairport-git-sysdcompat
[root@PogoOne shairport-git-sysdcompat]# ls
PKGBUILD shairport.confd shairport.init shairport@.service
[root@PogoOne shairport-git-sysdcompat]# makepkg -s --asroot
==> WARNING: Cannot find the git binary required to determine latest git revision.
==> Making package: shairport-git-sysdcompat 20121012-1 (Tue Mar 12 13:07:03 CDT 2013)
==> Checking runtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (21): alsa-lib-1.0.26-1 libdaemon-0.14-2
perl-crypt-openssl-bignum-0.04-7
perl-crypt-openssl-random-0.04-7 perl-encode-locale-1.03-1
perl-file-listing-6.04-1 perl-html-parser-3.69-2
perl-html-tagset-3.20-3 perl-http-cookies-6.01-1
perl-http-daemon-6.01-1 perl-http-date-6.02-1
perl-http-negotiate-6.01-1 perl-lwp-mediatypes-6.02-1
perl-net-http-6.03-1 perl-uri-1.60-1 perl-www-robotrules-6.02-1
avahi-0.6.31-6 libao-1.1.0-3 perl-crypt-openssl-rsa-0.28-3
perl-http-message-6.03-1 perl-libwww-6.04-1

Total Download Size: 1.23 MiB
Total Installed Size: 6.79 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
libdaemon-0.14-2-arm 14.0 KiB 212K/s 00:00 [######################] 100%
avahi-0.6.31-6-arm 357.9 KiB 977K/s 00:00 [######################] 100%
alsa-lib-1.0.26-1-arm 322.3 KiB 2.23M/s 00:00 [######################] 100%
libao-1.1.0-3-arm 41.9 KiB 6.37M/s 00:00 [######################] 100%
perl-encode-locale-... 9.3 KiB 5.13M/s 00:00 [######################] 100%
perl-http-date-6.02... 8.1 KiB 5.06M/s 00:00 [######################] 100%
perl-file-listing-6... 7.1 KiB 5.05M/s 00:00 [######################] 100%
perl-html-tagset-3.... 9.7 KiB 5.12M/s 00:00 [######################] 100%
perl-html-parser-3.... 78.1 KiB 5.42M/s 00:00 [######################] 100%
perl-lwp-mediatypes... 17.4 KiB 6.06M/s 00:00 [######################] 100%
perl-uri-1.60-1-any 76.7 KiB 5.42M/s 00:00 [######################] 100%
perl-http-message-6... 68.5 KiB 5.66M/s 00:00 [######################] 100%
perl-http-cookies-6... 19.4 KiB 6.97M/s 00:00 [######################] 100%
perl-http-daemon-6.... 13.7 KiB 4.27M/s 00:00 [######################] 100%
perl-http-negotiate... 10.8 KiB 4.88M/s 00:00 [######################] 100%
perl-net-http-6.03-... 19.6 KiB 6.71M/s 00:00 [######################] 100%
perl-www-robotrules... 11.4 KiB 4.84M/s 00:00 [######################] 100%
perl-libwww-6.04-1-any 126.9 KiB 4.93M/s 00:00 [######################] 100%
perl-crypt-openssl-... 8.1 KiB 4.93M/s 00:00 [######################] 100%
perl-crypt-openssl-... 16.2 KiB 6.55M/s 00:00 [######################] 100%
perl-crypt-openssl-... 17.5 KiB 6.95M/s 00:00 [######################] 100%
(21/21) checking package integrity [######################] 100%
(21/21) loading package files [######################] 100%
(21/21) checking for file conflicts [######################] 100%
(21/21) checking available disk space [######################] 100%
( 1/21) installing libdaemon [######################] 100%
( 2/21) installing avahi [######################] 100%
==> The following daemons may be added to DAEMONS in /etc/rc.conf:
==> avahi-daemon: the mdns responder, you probably want this.
==> dbus needs to be running when you start it.
==> avahi-dnsconfd: daemon used for peer-to-peer automatic dns
==> configuration on dhcp-less networks.

==> To use some of the client applications you will have to install python.
==> In addition, pygtk is required for the graphical ones and
==> twisted for avahi-bookmarks.
Optional dependencies for avahi
dbus: communicating with client applications
gtk3: avahi-discover-standalone, bshell, bssh, bvnc
gtk2: gtk2 bindings
qt: qt bindings
pygtk: avahi-bookmarks, avahi-discover
twisted: avahi-bookmarks
mono: mono bindings
python2-dbus: avahi-discover
nss-mdns: NSS support for mDNS
( 3/21) installing alsa-lib [######################] 100%
Optional dependencies for alsa-lib
python2: for python smixer plugin
( 4/21) installing libao [######################] 100%
( 5/21) installing perl-encode-locale [######################] 100%
( 6/21) installing perl-http-date [######################] 100%
( 7/21) installing perl-file-listing [######################] 100%
( 8/21) installing perl-html-tagset [######################] 100%
( 9/21) installing perl-html-parser [######################] 100%
(10/21) installing perl-lwp-mediatypes [######################] 100%
(11/21) installing perl-uri [######################] 100%
(12/21) installing perl-http-message [######################] 100%
(13/21) installing perl-http-cookies [######################] 100%
(14/21) installing perl-http-daemon [######################] 100%
(15/21) installing perl-http-negotiate [######################] 100%
(16/21) installing perl-net-http [######################] 100%
(17/21) installing perl-www-robotrules [######################] 100%
(18/21) installing perl-libwww [######################] 100%
Optional dependencies for perl-libwww
perl-lwp-protocol-https: for https:// url schemes
(19/21) installing perl-crypt-openssl-random [######################] 100%
(20/21) installing perl-crypt-openssl-bignum [######################] 100%
(21/21) installing perl-crypt-openssl-rsa [######################] 100%
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (2): perl-error-0.17019-1 git-1.8.1.5-1

Total Download Size: 2.80 MiB
Total Installed Size: 16.40 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
error: failed retrieving file 'perl-error-0.17019-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed retrieving file 'git-1.8.1.5-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
[root@PogoOne shairport-git-sysdcompat]#
')
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby pepedog » Tue Mar 12, 2013 8:12 pm

Another update may have happened, try again
pacman -Syu
Build with
makepkg -Acs --asroot
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Help needed, 'target not found' when PKGBUILD calls pacm

Postby sneasle » Tue Mar 12, 2013 11:49 pm

No luck


$this->bbcode_second_pass_code('', '[root@PogoOne /]# pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
alarm is up to date
aur is up to date
:: Starting full system upgrade...
there is nothing to do
[root@PogoOne /]# cd /tmp
[root@PogoOne tmp]# ls
perl-net-sdp perl-net-sdp.tar.gz shairport-git-sysdcompat shairport-git-sysdcompat.tar.gz
[root@PogoOne tmp]# cd perl-net-sdp
[root@PogoOne perl-net-sdp]# ;s
-bash: syntax error near unexpected token `;'
[root@PogoOne perl-net-sdp]# ls
Net-SDP-0.07.tar.gz perl-net-sdp-0.07-1-any.pkg.tar.xz pkg PKGBUILD src
[root@PogoOne perl-net-sdp]# makepkg -Acs --asroot
==> ERROR: A package has already been built. (use -f to overwrite)
[root@PogoOne perl-net-sdp]# cd ../shairport-git-sysdcompat
[root@PogoOne shairport-git-sysdcompat]# makepkg -Acs --asroot
==> WARNING: Cannot find the git binary required to determine latest git revision.
==> Making package: shairport-git-sysdcompat 20121012-1 (Tue Mar 12 18:48:34 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (2): perl-error-0.17019-1 git-1.8.1.5-1

Total Download Size: 2.80 MiB
Total Installed Size: 16.40 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
error: failed retrieving file 'perl-error-0.17019-1-any.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed retrieving file 'git-1.8.1.5-1-arm.pkg.tar.xz' from mirror.archlinuxarm.org : The requested URL returned error: 404 Not Found
warning: failed to retrieve some files from extra
error: failed to commit transaction (download library error)
Errors occurred, no packages were upgraded.
==> ERROR: 'pacman' failed to install missing dependencies.
[root@PogoOne shairport-git-sysdcompat]#
')

Edit: This is strange, I ran it again and it seems to have worked. I am now wondering if my pogo is having some sort of connection issue, but I've run a few pings and all the results appear to be reasonable.

$this->bbcode_second_pass_code('', '[root@PogoOne shairport-git-sysdcompat]# makepkg -Acs --asroot
==> WARNING: Cannot find the git binary required to determine latest git revision.
==> Making package: shairport-git-sysdcompat 20121012-1 (Tue Mar 12 18:51:34 CDT 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Installing missing dependencies...
resolving dependencies...
looking for inter-conflicts...

Targets (2): perl-error-0.17019-1 git-1.8.1.5-1

Total Download Size: 2.80 MiB
Total Installed Size: 16.40 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
perl-error-0.17019-1-any 17.5 KiB 131K/s 00:00 [#####################################] 100%
git-1.8.1.5-1-arm 2.8 MiB 918K/s 00:03 [#####################################] 100%
(2/2) checking package integrity [#####################################] 100%
(2/2) loading package files [#####################################] 100%
(2/2) checking for file conflicts [#####################################] 100%
(2/2) checking available disk space [#####################################] 100%
(1/2) installing perl-error [#####################################] 100%
(2/2) installing git [#####################################] 100%
Optional dependencies for git
tk: gitk and git gui
perl-libwww: git svn
perl-term-readkey: git svn
perl-mime-tools: git send-email
perl-net-smtp-ssl: git send-email TLS support
perl-authen-sasl: git send-email TLS support
python2: various helper scripts
subversion: git svn
cvsps: git cvsimport
==> Retrieving Sources...
-> Found shairport@.service
-> Found shairport.confd
-> Found shairport.init
==> Validating source files with md5sums...
shairport@.service ... Passed
shairport.confd ... Passed
shairport.init ... Passed
==> Extracting Sources...
==> Starting build()...
==> Connecting to GIT server....
Cloning into 'shairport'...
remote: Counting objects: 728, done.
remote: Compressing objects: 100% (307/307), done.
remote: Total 728 (delta 453), reused 686 (delta 418)
Receiving objects: 100% (728/728), 143.06 KiB, done.
Resolving deltas: 100% (453/453), done.
==> GIT checkout done or server timeout
==> Starting make...
Cloning into '/tmp/shairport-git-sysdcompat/src/shairport-build'...
done.
cc -O2 -Wall -c alac.c -o alac.o
cc -O2 -Wall -DHAIRTUNES_STANDALONE hairtunes.c alac.o -o hairtunes -lm -lpthread -lssl -lcrypto -lao
cc -O2 -Wall -c socketlib.c -o socketlib.o
cc -O2 -Wall -c shairport.c -o shairport.o
cc -O2 -Wall -c hairtunes.c -o hairtunes.o
cc -O2 -Wall socketlib.o shairport.o alac.o hairtunes.o -o shairport -lm -lpthread -lssl -lcrypto -lao
==> Starting package()...
install -D -m 0755 hairtunes /tmp/shairport-git-sysdcompat/pkg//usr/bin/hairtunes
install -D -m 0755 shairport.pl /tmp/shairport-git-sysdcompat/pkg//usr/bin/shairport.pl
install -D -m 0755 shairport /tmp/shairport-git-sysdcompat/pkg//usr/bin/shairport
==> Tidying install...
-> Purging unwanted files...
-> Compressing man and info pages...
-> Stripping unneeded symbols from binaries and libraries...
==> Creating package...
-> Generating .PKGINFO file...
-> Compressing package...
==> Finished making: shairport-git-sysdcompat 20121012-1 (Tue Mar 12 18:52:32 CDT 2013)
==> Cleaning up...
[root@PogoOne shairport-git-sysdcompat]#
')
sneasle
 
Posts: 13
Joined: Thu Mar 07, 2013 5:37 am


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 13 guests