You are not logged in.

#1 2008-09-08 15:28:49

MicrosoftSam
Member
Registered: 2008-07-27
Posts: 10

makepkg won't install OSS4 x86_64, missing "bc" dependency

I'm trying to install OSS4, but when I ran makepkg it gave me this error:

==> Making package: oss-linux-free 4.0_1016-3 x86_64 (Mon Sep  8 17:20:56 UTC 2008)
==> WARNING: Running makepkg as root...
==> Checking Runtime Dependencies...
==> Missing Dependencies:
  -> bc
==> Checking Buildtime Dependencies...
==> ERROR: Could not resolve all dependencies.

I then downloaded "bc-1.06-5-x86_64.pkg.tar.gz" and installed it and bc worked fine, but it still gives me the same error with the missing bc dependency when trying to install OSS4. What's wrong?

Last edited by MicrosoftSam (2008-09-08 15:36:30)

Offline

#2 2008-09-08 16:49:11

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: makepkg won't install OSS4 x86_64, missing "bc" dependency

I just tested it, first without bc installed (same output as above, of course), then with and it built the package.

Did you do a simple "pacman -S bc" to install bc? "I then downloaded "bc-1.06-5-x86_64.pkg.tar.gz" and installed it" sounds like you did it manually, in which case maybe pacman isn't aware of it being installed which leads to the dependency check failing. If you didn't install via a pacman sync operation, how did you install it?

The oss-linux-free PKGBUILD in the AUR and the bc pkg in extra are both fine (on x86_64 at least).

Last edited by Xyne (2008-09-08 16:50:16)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

#3 2008-09-08 17:21:05

MicrosoftSam
Member
Registered: 2008-07-27
Posts: 10

Re: makepkg won't install OSS4 x86_64, missing "bc" dependency

As far as I remember, "pacman -S bc" would just tell me that my connection to the main mirror (belnet) is failing and that my secondary mirrors (including arch.org) can't find the package, so I downloaded the tarball instead and makepkg created a usr folder on my desktop. I then moved the content into my usr directory accordingly with the structure within the usr folder on my desk, and it worked when I ran "bc" in the terminal. So yes, I guess pacman is probably unaware of it.

However, does the makepkg of OSS4 check its dependencies through pacman?


Thanks for the helpful reply.

Last edited by MicrosoftSam (2008-09-08 17:21:55)

Offline

#4 2008-09-08 18:03:03

Misfit138
Misfit Emeritus
From: USA
Registered: 2006-11-27
Posts: 4,189

Re: makepkg won't install OSS4 x86_64, missing "bc" dependency

makepkg -s

Read the makepkg man page. wink

Offline

#5 2008-09-08 22:06:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,487
Website

Re: makepkg won't install OSS4 x86_64, missing "bc" dependency

MicrosoftSam wrote:

As far as I remember, "pacman -S bc" would just tell me that my connection to the main mirror (belnet) is failing and that my secondary mirrors (including arch.org) can't find the package, so I downloaded the tarball instead and makepkg created a usr folder on my desktop. I then moved the content into my usr directory accordingly with the structure within the usr folder on my desk, and it worked when I ran "bc" in the terminal. So yes, I guess pacman is probably unaware of it.

That is bad...   Use pacman -U to install a package from a local file. 

MicrosoftSam wrote:

However, does the makepkg of OSS4 check its dependencies through pacman?

Yes it does.

Offline

#6 2008-09-09 11:28:42

Xyne
Administrator/PM
Registered: 2008-08-03
Posts: 6,965
Website

Re: makepkg won't install OSS4 x86_64, missing "bc" dependency

Dumping files directly onto your system like that will work, but they will not be registered with pacman. Aside from breaking dependency checks, you won't be able to remove the package through pacman and you'll probably run into problems when you want to upgrade such packages.

If you often have problems connecting to repos, create a custom local repo so that you don't have to keep track of what you've installed via "pacman -U". Here's the wiki page: http://wiki.archlinux.org/index.php/Cus … repository

I really think that having a local custom repo is the best solution. It lets you handle local packages exactly the same way you handle repo packages (install, remove, search, get info, etc).

Last edited by Xyne (2008-09-09 11:29:09)


My Arch Linux StuffForum EtiquetteCommunity Ethos - Arch is not for everyone

Offline

Board footer

Powered by FluxBB