Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#780 - camsource doesn't download

Attached to Project: Arch Linux
Opened by LavaPunk (LavaPunk) - Sunday, 18 April 2004, 23:07 GMT
Last edited by dorphell (dorphell) - Monday, 19 April 2004, 05:20 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Roberto Carvajal (rcarvajal)
Architecture not specified
Severity Very Low
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

==> Retrieving Sources...
==> Downloading camsource-0.7.0.tar.bz2
--16:12:55-- ftp://ftp.sf.net/pub/sourceforge/camsource/camsource-0.7.0.tar.bz2
=> `camsource-0.7.0.tar.bz2'
Resolving ftp.sf.net... 193.1.219.87, 193.190.198.97, 204.157.3.229, ...
Connecting to ftp.sf.net[193.1.219.87]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/sourceforge/camsource ...
No such directory `pub/sourceforge/camsource'.

==> ERROR: Failed to download camsource-0.7.0.tar.bz2
==> Aborting...
This task depends upon

Closed by  Jan de Groot (JGC)
Monday, 31 January 2005, 11:40 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 0.7.0-2
Comment by scott lemke (kihaji) - Monday, 21 June 2004, 18:58 GMT
Updated PKGBUILD.


# Maintainer: roberto <roberto@archlinux.org>
pkgname=camsource
pkgver=0.7.0
pkgrel=1
pkgdesc="Grabs images from a v4l device and makes them available to various plugins for processing or handling."
depends=('libxml2' 'glibc' 'zlib')
conflicts=()
backup=()
install=
source=(http://umn.dl.sourceforge.net/sourceforge/camsource/$pkgname-$pkgver.tar.bz2)
url="http://camsource.sourceforge.net/"

build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --sysconfdir=/etc
make || return 1
make prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc install
}

Comment by Roberto Carvajal (rcarvajal) - Monday, 21 June 2004, 20:56 GMT
thanks.. but this pkg won't compile anymore.. stop building right here:

gcc -DHAVE_CONFIG_H -I. -I. -I.. -march=i686 -O2 -pipe -I/usr/include/libxml2 -Wall -D_REENTRANT -DPREFIX="\"/usr\"" -DPKGLIBDIR="\"/usr/lib/camsource\"" -DSYSCONFDIR="\"/etc\"" -c `test -f mod_handle.c || echo './'`mod_handle.c
mod_handle.c: In function `mod_close':
mod_handle.c:310: error: label at end of compound statement
make[2]: *** [mod_handle.o] Error 1

becouse of this code:

if (dlh)
{
for (i = 0; i < MAX_MODULES; i++)
{
if (modules[i].dlhand == dlh)
goto inuse; /* break */
}
dlclose(dlh);
inuse:
}

i don't know how to replace the goto here and still have the same effect. once i figure out, i should update the pkg.
Comment by Berger (Berger) - Saturday, 29 January 2005, 14:36 GMT
Hello, this code has the same effect:

if (dlh)
{
for (i = 0; i < MAX_MODULES; i++)
{
if (modules[i].dlhand == dlh)
break;
}
if (i == MAX_MODULES)
dlclose(dlh);
}

Loading...