mod_fcgid unter etch aus den sourcen von unstable deb bauen

Apache, Lighttpd, nginx, Cherokee
cirox
Posts: 212
Joined: 2006-05-08 23:20
Location: Berlin

mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by cirox » 2007-10-21 10:47

Ich bin, da es unter etch keine aktuellen Pakete gibt und auch keine backports zur Verfügung stehen auf die glorreiche Idee gekommen die Sourcen von unstable zu ziehen und ein deb Paket zu bauen. Dies gibt aber ein paar Warningns aus, wie gleich im Code zu sehen ist. Ich hab mir spasseshalber auch mal unter etch die stable sourcen gezogen, also die in etch intergrierte Version und daraus ein deb gebaut. Da kommen sinngemäß die gleichen Warnings.

Was die Abhängikeiten des deb betrifft, in Bezug auf etch, wenn ich die Sourcen von unstable nehme steht unter /debian/control

Code: Select all

Build-Depends: debhelper (>= 4.0.0), apache2-threaded-dev (>= 2.2.3-2), libtool, cdbs, libapr1-dev, pkg-config

was mich dazu verleitet, das das Paket auch unter etch einsetzbar ist. Z. Bsp:

Code: Select all

apt-cache policy libapr1-dev
libapr1-dev:
  Installed: 1.2.7-8.2
  Candidate: 1.2.7-8.2
  Version table:
 *** 1.2.7-8.2 0
        500 http://ftp.de.debian.org etch/main Packages
        100 /var/lib/dpkg/status


Hier nun die Warnings beim Paketbau der unstable Sourcen unter etch vom Paket "libapache2-mod-fcgid-2.2"

Code: Select all

/usr/local/src/libapache2-mod-fcgid-2.2# dpkg-buildpackage
dpkg-buildpackage: source package is libapache2-mod-fcgid
dpkg-buildpackage: source version is 1:2.2-1
dpkg-buildpackage: source changed by Tatsuki Sugiura <sugi@nemui.org>
dpkg-buildpackage: host architecture i386
dpkg-buildpackage: source version without epoch 2.2-1
 debian/rules clean
test -x debian/rules
test "`id -u`" = 0
dh_clean
/usr/bin/make  -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS=""  top_dir=/usr/share/apache2 APXS=apxs2 APACHECTL=a  pachectl2 INCLUDES="-I/usr/local/src/libapache2-mod-fcgid-2.2 -I/usr/include/apache2 `pkg-config --cflags apr-1`" -k clean
make[1]: Entering directory `/usr/local/src/libapache2-mod-fcgid-2.2'
make[2]: Entering directory `/usr/local/src/libapache2-mod-fcgid-2.2'
rm -f *.o *.lo *.slo *.obj *.a *.la
rm -rf .libs
make[2]: Leaving directory `/usr/local/src/libapache2-mod-fcgid-2.2'
rm -f *.o *.lo *.slo *.la arch/unix/*.o arch/unix/*.lo arch/unix/*.slo arch/unix/*.la .libs/* arch/unix/.libs/*
make[1]: Leaving directory `/usr/local/src/libapache2-mod-fcgid-2.2'
rm -f debian/stamp-makefile-build
 dpkg-source -b libapache2-mod-fcgid-2.2
dpkg-source: building libapache2-mod-fcgid using existing libapache2-mod-fcgid_2.2.orig.tar.gz
dpkg-source: building libapache2-mod-fcgid in libapache2-mod-fcgid_2.2-1.diff.gz
dpkg-source: warning: ignoring deletion of file mod_fcgid.la
dpkg-source: building libapache2-mod-fcgid in libapache2-mod-fcgid_2.2-1.dsc
 debian/rules build
test -x debian/rules
mkdir -p "."
/usr/bin/make  -C . CFLAGS="-g -Wall -O2" CXXFLAGS="-g -Wall -O2" CPPFLAGS="" LDFLAGS=""  top_dir=/usr/share/apache2 APXS=apxs2 APACHECTL=a  pachectl2 INCLUDES="-I/usr/local/src/libapache2-mod-fcgid-2.2 -I/usr/include/apache2 `pkg-config --cflags apr-1`"
make[1]: Entering directory `/usr/local/src/libapache2-mod-fcgid-2.2'
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_bridge.c && touch fcgid_bridge.slo
fcgid_bridge.c: In function 'bridge_request':
fcgid_bridge.c:557: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_conf.c && touch fcgid_conf.slo
fcgid_conf.c: In function 'set_wrapper_config':
fcgid_conf.c:837: warning: value computed is not used
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_pm_main.c && touch fcgid_pm_main.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_protocol.c && touch fcgid_protocol.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_spawn_ctl.c && touch fcgid_spawn_ctl.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c mod_fcgid.c && touch mod_fcgid.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c arch/unix/fcgid_proctbl_unix.c && touch fcgid_proctbl_unix.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c arch/unix/fcgid_pm_unix.c && touch fcgid_pm_unix.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c arch/unix/fcgid_proc_unix.c && touch fcgid_proc_unix.slo
arch/unix/fcgid_proc_unix.c: In function 'proc_write_ipc':
arch/unix/fcgid_proc_unix.c:727: warning: dereferencing type-punned pointer will break strict-aliasing rules
arch/unix/fcgid_proc_unix.c: In function 'proc_print_exit_info':
arch/unix/fcgid_proc_unix.c:767: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_bucket.c && touch fcgid_bucket.slo
/usr/share/apr-1.0/build/libtool --silent --mode=compile i486-linux-gnu-gcc -I.  -g -Wall -O2     -I/usr/local/src/libapache2-mod-fcgid-2.2   -I/usr/include/apache2 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/usr/include/apr-1.0   -I/usr/include/apache2 -I. -I/u  sr/include/apr-1.0 -I/usr/include/postgresql -prefer-pic -c fcgid_filter.c && touch fcgid_filter.slo
/usr/share/apr-1.0/build/libtool --silent --mode=link i486-linux-gnu-gcc -I.  -g -Wall -O2        -o mod_fcgid.la -rpath /usr/lib/apache2/m  odules -module -avoid-version fcgid_bridge.lo fcgid_conf.lo fcgid_pm_main.lo fcgid_protocol.lo fcgid_spawn_ctl.lo mod_fcgid.lo fcgid_proctb  l_unix.lo fcgid_pm_unix.lo fcgid_proc_unix.lo fcgid_bucket.lo fcgid_filter.lo
make[1]: Leaving directory `/usr/local/src/libapache2-mod-fcgid-2.2'
touch debian/stamp-makefile-build
DEB_MAKE_CHECK_TARGET unset, not running checks
 debian/rules binary
test -x debian/rules
test "`id -u`" = 0
dh_clean -k
dh_installdirs -A
mkdir -p "."
DEB_MAKE_CHECK_TARGET unset, not running checks
DEB_MAKE_INSTALL_TARGET unset, skipping default makefile.mk common-install target
dh_installdirs -plibapache2-mod-fcgid
dh_installdocs -plibapache2-mod-fcgid
dh_installexamples -plibapache2-mod-fcgid
dh_installman -plibapache2-mod-fcgid
dh_installinfo -plibapache2-mod-fcgid
dh_installmenu -plibapache2-mod-fcgid
dh_installcron -plibapache2-mod-fcgid
dh_installinit -plibapache2-mod-fcgid
dh_installdebconf -plibapache2-mod-fcgid
dh_installemacsen -plibapache2-mod-fcgid
dh_installcatalogs -plibapache2-mod-fcgid
dh_installpam -plibapache2-mod-fcgid
dh_installlogrotate -plibapache2-mod-fcgid
dh_installlogcheck -plibapache2-mod-fcgid
dh_installmime -plibapache2-mod-fcgid
dh_installchangelogs -plibapache2-mod-fcgid  ./ChangeLog
dh_installudev -plibapache2-mod-fcgid
dh_install -plibapache2-mod-fcgid
dh_link -plibapache2-mod-fcgid
mkdir -p /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/usr/lib/apache2/modules
install -m 644 .libs/mod_fcgid.so
                /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/usr/lib/apache2/modules
mkdir -p /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/etc/apache2/mods-available
install -m 644 debian/fcgid.load debian/fcgid.conf
                /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/etc/apache2/mods-available
mkdir -p /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/var/lib/apache2/fcgid/sock
chown www-data:www-data
                /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/var/lib/apache2/fcgid/sock
chmod 755
                /usr/local/src/libapache2-mod-fcgid-2.2/debian/libapache2-mod-fcgid/var/lib/apache2/fcgid/sock
dh_strip -plibapache2-mod-fcgid
dh_compress -plibapache2-mod-fcgid
dh_fixperms -plibapache2-mod-fcgid -X var/lib/apache2/fcgid/sock
dh_makeshlibs -plibapache2-mod-fcgid
dh_installdeb -plibapache2-mod-fcgid
dh_perl -plibapache2-mod-fcgid
dh_shlibdeps -plibapache2-mod-fcgid
dh_gencontrol -plibapache2-mod-fcgid
dh_md5sums -plibapache2-mod-fcgid
dh_builddeb -plibapache2-mod-fcgid
dpkg-deb: building package `libapache2-mod-fcgid' in `../libapache2-mod-fcgid_2.2-1_i386.deb'.
 signfile libapache2-mod-fcgid_2.2-1.dsc
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: skipped "Tatsuki Sugiura <sugi@nemui.org>": secret key not available
gpg: [stdin]: clearsign failed: secret key not available

 dpkg-genchanges
dpkg-genchanges: including full source code in upload
dpkg-buildpackage: full upload (original source is included)
(WARNING: Failed to sign .dsc and .changes file)


Vielleicht könnte ja bitte jemand drüberschauen, ob das so ok ist?

User avatar
Joe User
Project Manager
Project Manager
Posts: 11599
Joined: 2003-02-27 01:00
Location: Hamburg

Re: mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by Joe User » 2007-10-21 11:05

Keine Ahnung wie kritisch fehlende GPG-Signaturen bei Debian sind, aber der Rest ist OK.

cirox
Posts: 212
Joined: 2006-05-08 23:20
Location: Berlin

Re: mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by cirox » 2007-10-21 11:12

thx erstmal, weil dafür fehlt mir noch der richtige Blick.

floogy
Posts: 150
Joined: 2007-10-23 22:00

Re: mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by floogy » 2007-10-24 12:08

Ist es inzwischen ratsam das mod_fcgid selbst zu kompilieren?

Code: Select all

libapache2-mod-fcgid:
  Installed: 1:1.10-2
  Candidate: 1:1.10-2
  Version table:
 *** 1:1.10-2 0
        500 http://ftp.de.debian.org stable/main Packages

cirox
Posts: 212
Joined: 2006-05-08 23:20
Location: Berlin

Re: mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by cirox » 2007-10-24 12:15

Wenn Du keine Probleme hast dann lass es doch. Ich verwende gerne die neueste stabile Version bei mod_fcgid. Du kannst Dir alternativ auch mal das Changelog durchlesen. Die Version, die Du hast ist schon sehr alt.

floogy
Posts: 150
Joined: 2007-10-23 22:00

Re: mod_fcgid unter etch aus den sourcen von unstable deb bauen

Post by floogy » 2007-10-24 12:55

Na, immerhin ist es nicht wie mod_fastcgi aus non-free, und wird somit wohl auch mit security patches versorgt (hoffentlich):

Code: Select all

pool/non-free/liba/libapache-mod-fastcgi/libapache2-mod-fastcgi_2.4.2-8_i386.deb


Siehe auch Nachteile, letzter Punkt in:
http://blog.zugschlus.de/archives/286-fastcgi.html