Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd

2012-06-12 Thread Steven Chamberlain
On 12/06/12 14:23, Axel Beckert wrote:
 But on kfreebsd this process renaming don't seem to work. This doesn't
 seem to be a screen issue but a general kfreebsd issue as the following
 works as expected on Linux, but not on kfreebsd:
 
 $ perl -e '$0 = foobar!; '

Hi Axel,

I recall that setproctitle was implemented as a no-op in libbsd.  So
that is probably a known bug / unimplemented yet.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd74558.9050...@pyro.eu.org



Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd

2012-06-12 Thread Axel Beckert
Hi,

some more details:

Axel Beckert wrote:
 [...] on kfreebsd this process renaming don't seem to work. This doesn't
 seem to be a screen issue but a general kfreebsd issue as the following
 works as expected on Linux, but not on kfreebsd:
 
 $ perl -e '$0 = foobar!; '

JFTR: hurd-i386 seems not to be affected, works as expected there,
too.

 Happened with kernel 8.2-1-686-smp which seems no more to be available.
 Will test later if it still happens with current kernels and if so, file
 a seperated bug report against some kfreebsd-image-* packages.

According to lifeng on IRC the same happens with our 9.0 kernel, too.

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120612133805.gz3...@sym.noone.org



Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd

2012-06-12 Thread Axel Beckert
Hi Steven,

Steven Chamberlain wrote:
 On 12/06/12 14:23, Axel Beckert wrote:
  But on kfreebsd this process renaming don't seem to work. This doesn't
  seem to be a screen issue but a general kfreebsd issue as the following
  works as expected on Linux, but not on kfreebsd:
  
  $ perl -e '$0 = foobar!; '
 
 I recall that setproctitle was implemented as a no-op in libbsd.  So
 that is probably a known bug / unimplemented yet.

Thanks for the confirmation!

Regards, Axel
-- 
 ,''`.  |  Axel Beckert a...@debian.org, http://people.debian.org/~abe/
: :' :  |  Debian Developer, ftp.ch.debian.org Admin
`. `'   |  1024D: F067 EA27 26B9 C3FC 1486  202E C09E 1D89 9593 0EDE
  `-|  4096R: 2517 B724 C5F6 CA99 5329  6E61 2FF9 CD59 6126 16B5


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120612134003.ga3...@sym.noone.org



Bug#677254: Acknowledgement (busybox: FTBFS[kfreebsd]: error: storage size of 'info' isn't known)

2012-06-12 Thread Debian Bug Tracking System
Thank you for filing a new Bug report with Debian.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  debian-bsd@lists.debian.org
(after having been given a Bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 Debian Install System Team debian-b...@lists.debian.org

If you wish to submit further information on this problem, please
send it to 677...@bugs.debian.org.

Please do not send mail to ow...@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.

-- 
677254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677254
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.677254.b.13395179384505@bugs.debian.org



Bug#677254: busybox: FTBFS[kfreebsd]: error: storage size of 'info' isn't known

2012-06-12 Thread Christoph Egger
Package: src:busybox
Version: 1:1.20.0-3
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-* buildds:

  LD  procps/built-in.o
  CC  procps/kill.o
  CC  procps/pidof.o
  CC  procps/ps.o
procps/ps.c: In function 'ps_main':
procps/ps.c:638:17: error: storage size of 'info' isn't known
procps/ps.c:698:3: warning: implicit declaration of function 'sysinfo' 
[-Wimplicit-function-declaration]
procps/ps.c:638:17: warning: unused variable 'info' [-Wunused-variable]
make[2]: *** [procps/ps.o] Error 1
make[1]: *** [procps] Error 2
make[1]: Leaving directory 
`/build/buildd-busybox_1.20.0-3-kfreebsd-amd64-kk5cZ7/busybox-1.20.0/debian/build/udeb'
make: *** [debian/build/udeb/.built] Error 2

Full build log at
https://buildd.debian.org/status/logs.php?pkg=busyboxver=1%3A1.20.0-3arch=kfreebsd-amd64

Regards

Christoph

If you have further questions please mail debian-bsd@lists.debian.org

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87r4tk1p1k@hepworth.siccegge.de



Bug#677259: netams: FTBFS[kfreebsd]: undefined reference to `crypt'

2012-06-12 Thread Christoph Egger
Package: src:netams
Version: 3.4.5-2.1
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-* buildds:

g++ billing.o s_billing.o main.o common.o versions.o connections.o security.o 
services.o s_server.o users.o net_units.o s_processor.o messages_fifo.o 
s_datasource.o policy.o s_storage.o st_hash.o st_sql.o p_prefix.o s_alerter.o 
s_scheduler.o ds_netflow.o s_html.o s_monitor.o s_quotactl.o s_quota.o 
st_sql_mysql.o st_sql_oracle.o st_sql_postgres.o iptree.o s_login.o flow.o 
flowengine.o ds_ipq.o ds_libpcap.o ds_ipfw.o memory.o events.o html.o bw.o 
ds_ulog.o ds_netgraph.o attrlist.o time.o st_radius.o s_acl_server.o mutex.o 
lang.o cli.o layer7.o ds_raw.o list.o versions_build.o -L../lib -lnetams 
-pthread -lpcap -lmysqlclient -L/usr/lib -lglib-2.0 -L/usr/lib -lnetgraph 
-L../lib -lcli -o netams
security.o: In function `CryptWord(char*)':
/build/buildd-netams_3.4.5-2.1+b1-kfreebsd-i386-7bwblx/netams-3.4.5/src/security.c:55:
 undefined reference to `crypt'
net_units.o: In function `NetUnitsList::listPasswordsHtml(_IO_FILE*)':
/build/buildd-netams_3.4.5-2.1+b1-kfreebsd-i386-7bwblx/netams-3.4.5/src/net_units.c:415:
 undefined reference to `crypt'
../lib/libcli.a(libcli.o): In function `pass_matches':
/build/buildd-netams_3.4.5-2.1+b1-kfreebsd-i386-7bwblx/netams-3.4.5/lib/libcli/libcli.c:924:
 undefined reference to `crypt'
collect2: error: ld returned 1 exit status
make[2]: *** [netams] Error 1

Full build log at
https://buildd.debian.org/status/logs.php?pkg=netamsver=3.4.5-2.1%2Bb1arch=kfreebsd-i386

Regards

Christoph

If you have further questions please mail debian-bsd@lists.debian.org

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87mx481otd@hepworth.siccegge.de



Bug#677260: Acknowledgement (xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t')

2012-06-12 Thread Debian Bug Tracking System
Thank you for filing a new Bug report with Debian.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  debian-bsd@lists.debian.org
(after having been given a Bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 Debian X Strike Force debia...@lists.debian.org

If you wish to submit further information on this problem, please
send it to 677...@bugs.debian.org.

Please do not send mail to ow...@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.

-- 
677260: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677260
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.677260.b.13395183706862@bugs.debian.org



Bug#677261: vsftpd: FTBFS[kfreebsd-amd64 mips{,el}]: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC

2012-06-12 Thread Christoph Egger
Package: src:vsftpd
Version: 3.0.0-1
Severity: serious
Tags: sid wheezy
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org
Justification: fails to build from source (but built successfully in the past)

Hi!

Your package failed to build on the kfreebsd-* buildds:

gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o privsock.o 
tunables.o ftpdataio.o secbuf.o ls.o postprivparent.o logging.o str.o netstr.o 
sysstr.o strlist.o banner.o filestr.o parseconf.o secutil.o ascii.o 
oneprocess.o twoprocess.o privops.o standalone.o hash.o tcpwrap.o ipaddrparse.o 
access.o features.o readwrite.o opts.o ssl.o sslslave.o ptracesandbox.o 
ftppolicy.o sysutil.o sysdeputil.o seccompsandbox.o  -fPIE -pie -Wl,-z,relro 
-Wl,-z,now -lwrap -lpam -lssl -lcrypto
/usr/bin/ld: main.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be 
used when making a shared object; recompile with -fPIC
main.o: could not read symbols: Bad value
collect2: error: ld returned 1 exit status
make[2]: *** [vsftpd] Error 1

Similar for mips*

Full build log at
https://buildd.debian.org/status/logs.php?pkg=vsftpdver=3.0.0-1arch=kfreebsd-amd64

Regards

Christoph

If you have further questions please mail debian-bsd@lists.debian.org

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ehpk1olv@hepworth.siccegge.de



Bug#677261: Acknowledgement (vsftpd: FTBFS[kfreebsd-amd64 mips{,el}]: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a shared object; recompile with -fPIC)

2012-06-12 Thread Debian Bug Tracking System
Thank you for filing a new Bug report with Debian.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

As you requested using X-Debbugs-CC, your message was also forwarded to
  debian-bsd@lists.debian.org
(after having been given a Bug report number, if it did not have one).

Your message has been sent to the package maintainer(s):
 Daniel Baumann daniel.baum...@progress-technologies.net

If you wish to submit further information on this problem, please
send it to 677...@bugs.debian.org.

Please do not send mail to ow...@bugs.debian.org unless you wish
to report a problem with the Bug-tracking system.

-- 
677261: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677261
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/handler.677261.b.13395185017531@bugs.debian.org



Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd

2012-06-12 Thread Guillem Jover
On Tue, 2012-06-12 at 14:34:16 +0100, Steven Chamberlain wrote:
 On 12/06/12 14:23, Axel Beckert wrote:
  But on kfreebsd this process renaming don't seem to work. This doesn't
  seem to be a screen issue but a general kfreebsd issue as the following
  works as expected on Linux, but not on kfreebsd:
  
  $ perl -e '$0 = foobar!; '

 I recall that setproctitle was implemented as a no-op in libbsd.  So
 that is probably a known bug / unimplemented yet.

I don't think neither perl nor screen are using libbsd-dev, though?

regards,
guillem


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120612164206.ga27...@gaara.hadrons.org



Re: Bug#677227: screen: Workaround for #644788 fails to detect a running screen on kfreebsd / process renaming does not work on kfreebsd

2012-06-12 Thread Steven Chamberlain
On 12/06/12 17:42, Guillem Jover wrote:
 I don't think neither perl nor screen are using libbsd-dev, though?

Hmmm I see.  Perl doesn't detect the setproctitle stub (because it isn't
including bsd/unistd.h I guess;  I think it would need to start doing so
if an implementation became available) :

 setproctitle() NOT found.

and it can't find prctl (Linux) either:

 prctl() NOT found.

This leaves Perl_magic_set() in mg.c non-functional.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd787e7.7090...@pyro.eu.org



Bug#677254 closed by Michael Tokarev m...@tls.msk.ru (Bug#677254: fixed in busybox 1:1.20.0-4)

2012-06-12 Thread Debian Bug Tracking System
This is an automatic notification regarding your Bug report
which was filed against the src:busybox package:

#677254: busybox: FTBFS[kfreebsd]: error: storage size of 'info' isn't known

It has been closed by Michael Tokarev m...@tls.msk.ru.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Michael Tokarev 
m...@tls.msk.ru by
replying to this email.


-- 
677254: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=677254
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
---BeginMessage---
Source: busybox
Source-Version: 1:1.20.0-4

We believe that the bug you reported is fixed in the latest version of
busybox, which is due to be installed in the Debian FTP archive:

busybox-static_1.20.0-4_i386.deb
  to main/b/busybox/busybox-static_1.20.0-4_i386.deb
busybox-syslogd_1.20.0-4_all.deb
  to main/b/busybox/busybox-syslogd_1.20.0-4_all.deb
busybox-udeb_1.20.0-4_i386.udeb
  to main/b/busybox/busybox-udeb_1.20.0-4_i386.udeb
busybox_1.20.0-4.debian.tar.gz
  to main/b/busybox/busybox_1.20.0-4.debian.tar.gz
busybox_1.20.0-4.dsc
  to main/b/busybox/busybox_1.20.0-4.dsc
busybox_1.20.0-4_i386.deb
  to main/b/busybox/busybox_1.20.0-4_i386.deb
udhcpc_1.20.0-4_i386.deb
  to main/b/busybox/udhcpc_1.20.0-4_i386.deb
udhcpd_1.20.0-4_i386.deb
  to main/b/busybox/udhcpd_1.20.0-4_i386.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 677...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Michael Tokarev m...@tls.msk.ru (supplier of updated busybox package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Format: 1.8
Date: Tue, 12 Jun 2012 21:17:52 +0400
Source: busybox
Binary: busybox busybox-static busybox-udeb busybox-syslogd udhcpc udhcpd
Architecture: source all i386
Version: 1:1.20.0-4
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team debian-b...@lists.debian.org
Changed-By: Michael Tokarev m...@tls.msk.ru
Description: 
 busybox- Tiny utilities for small and embedded systems
 busybox-static - Standalone rescue shell with tons of builtin utilities
 busybox-syslogd - Provides syslogd and klogd using busybox
 busybox-udeb - Tiny utilities for the debian-installer (udeb)
 udhcpc - Provides the busybox DHCP client implementation
 udhcpd - Provides the busybox DHCP server implementation
Closes: 677254
Changes: 
 busybox (1:1.20.0-4) unstable; urgency=low
 .
   * ps-get-uptime.patch: make procps/ps.c compilable on non-linux again
 (Closes: #677254)
Checksums-Sha1: 
 ec0d6e9b7544d2c226b8df726f45f047c8aaf646 1610 busybox_1.20.0-4.dsc
 29518e595d39a589f691ab12e49e0f305b66ce1c 52271 busybox_1.20.0-4.debian.tar.gz
 fe69dd48b77e3e0f6349dfb793b1dbd8ccb39a45 19392 busybox-syslogd_1.20.0-4_all.deb
 8d54f5fc857415e650eaf99e4f16205a7c29207e 876978 
busybox-static_1.20.0-4_i386.deb
 0774b1ce73ac0e7b5dfa06bdba1c9b7e53dda7d5 439758 busybox_1.20.0-4_i386.deb
 eb8ad85504b74a34950247cacec2009ef8b294c6 17070 udhcpc_1.20.0-4_i386.deb
 3b337ec4b5e29975d080880d4a0f6d823a43c985 20386 udhcpd_1.20.0-4_i386.deb
 fe2613e15761d6d7b785b73f524d810b75633a82 202490 busybox-udeb_1.20.0-4_i386.udeb
Checksums-Sha256: 
 355736e92d9f730f9404c12056b117725e256947770be1b53bae727925b2804d 1610 
busybox_1.20.0-4.dsc
 55dfcf16da80f62396c8a73c7e08fc39e7b0d381f2abdc83cf47e9a5edd705cb 52271 
busybox_1.20.0-4.debian.tar.gz
 4b81d0bff639d09f023fd3bb921f52248745a0090d45a2f3a280862443f162dc 19392 
busybox-syslogd_1.20.0-4_all.deb
 d58fae2c885fe926e2fb859197f75b33ae27f61406cd891e91eb2c4210cbd7eb 876978 
busybox-static_1.20.0-4_i386.deb
 49cf5c00b755b0d41d4ca3b4149bbebb571f9c8d2585e461959e6b6c5a0a83eb 439758 
busybox_1.20.0-4_i386.deb
 c11b1932c1542f29333886e25480321f57148cea85619121c9832eeab8cc6c2b 17070 
udhcpc_1.20.0-4_i386.deb
 4902f27eb8b91c879b4e097321d8845824b8c8a338f61fc5c26513e002848806 20386 
udhcpd_1.20.0-4_i386.deb
 f12fb5e847d90efcbcb39840b53d6d0e595e51de54a0ff90fcaab6e72f5e617f 202490 
busybox-udeb_1.20.0-4_i386.udeb
Files: 
 b7f497ba91af590b73f13be45e5252d2 1610 utils optional busybox_1.20.0-4.dsc
 80af5ed939a0a40e6179ce2768ef6ddb 52271 utils optional 
busybox_1.20.0-4.debian.tar.gz
 520307e93d6129fe2ae10f4c55bc64b5 19392 utils optional 
busybox-syslogd_1.20.0-4_all.deb
 babf59d7f83fa500c45735626781db0e 876978 shells extra 
busybox-static_1.20.0-4_i386.deb
 03d5b9b12a369ac58d8e6bd54832574e 439758 utils optional 
busybox_1.20.0-4_i386.deb
 58edc3e449453f7bc30bef65456d9160 17070 net optional udhcpc_1.20.0-4_i386.deb
 2ee6b52faa73d3567b1285194bfcda6f 20386 net optional 

Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'

2012-06-12 Thread Julien Cristau
On Tue, Jun 12, 2012 at 18:26:17 +0200, Christoph Egger wrote:

 Package: src:xserver-xorg-video-openchrome
 Version: 1:0.2.906-1
 Severity: serious
 Tags: sid wheezy
 User: debian-bsd@lists.debian.org
 Usertags: kfreebsd
 X-Debbugs-Cc: debian-bsd@lists.debian.org
 Justification: fails to build from source (but built successfully in the past)
 
 Hi!
 
 Your package failed to build on the kfreebsd-* buildds:
 
 In file included from /usr/include/libdrm/via_drm.h:27:0,
  from ../../src/via_xvmc.h:29,
  from ../../libxvmc/viaXvMCPriv.h:34,
  from ../../libxvmc/viaLowLevel.c:34:
 /usr/include/libdrm/drm.h:50:1: error: unknown type name 'uint8_t'
 /usr/include/libdrm/drm.h:52:1: error: unknown type name 'uint16_t'
 /usr/include/libdrm/drm.h:54:1: error: unknown type name 'uint32_t'
 /usr/include/libdrm/drm.h:56:1: error: unknown type name 'uint64_t'
 make[3]: *** [libchromeXvMC_la-viaLowLevel.lo] Error 1
 
Does freebsd sys/types.h no longer define those types?  That sounds
like a regression there, not in this package.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120612184456.gg12...@radis.cristau.org



Re: Bug#677165: openblas: FTBFS[kfreebsd]: gemm.c:401:16: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in this function)

2012-06-12 Thread Christoph Egger
Sébastien Villemot sebastien.ville...@ens.fr writes:
 Christoph Egger christ...@debian.org writes:

 Package: src:openblas
 Version: 0.1.1-3
 Severity: serious
 Tags: sid wheezy
 User: debian-bsd@lists.debian.org
 Usertags: kfreebsd
 X-Debbugs-Cc: debian-bsd@lists.debian.org
 Justification: fails to build from source (but built successfully in the 
 past)

 Your package failed to build on the kfreebsd-* buildds:

 gcc -c -O2 -DEXPRECISION -m128bit-long-double -Wall -m64
 -DF_INTERFACE_GFORT -fPIC -DDYNAMIC_ARCH -DNO_LAPACK -DNO_LAPACKE
 -DSMP_SERVER -DMAX_CPU_NUMBER=2 -DASMNAME=sgemm -DASMFNAME=sgemm_
 -DNAME=sgemm_ -DCNAME=sgemm -DCHAR_NAME=\sgemm_\
 -DCHAR_CNAME=\sgemm\ -DNO_AFFINITY -I.. -I. -UDOUBLE -UCOMPLEX
 gemm.c -o sgemm.o
 gemm.c: In function 'sgemm_':
 gemm.c:401:16: error: 'GEMM_MULTITHREAD_THRESHOLD' undeclared (first use in 
 this function)
 gemm.c:401:16: note: each undeclared identifier is reported only once for 
 each function it appears in
 make[2]: *** [sgemm.o] Error 1

 Full build log at
 https://buildd.debian.org/status/logs.php?pkg=openblasver=0.1.1-3arch=kfreebsd-amd64

 The build fails because the CPU is not correctly detected on some
 kfreebsd buildds (finzi, fano). From the old logs, it looks that the CPU
 is correctly detected on some others kfreebsd buildds (field, fasch).

 The failure to detect the CPU is a bug in itself, but we need to know
 the exact CPU architecture of these buildds in order to report an
 upstream bug. Is this information available?

finzi/fano are virtual KVM instance

% cat /proc/cpuinfo
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 15
model   : 1
model name  : QEMU Virtual CPU version 0.12.5
stepping: 3
processor   : 1
vendor_id   : GenuineIntel
cpu family  : 15
model   : 1
model name  : QEMU Virtual CPU version 0.12.5
stepping: 3
flags   : fpu de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat 
pse36 mmx fxsr xmm sse2
cpu MHz : 2666.71
bogomips: 2666.71

fasch/field are real boxes

% cat /proc/cpuinfo 
processor   : 0
vendor_id   : GenuineIntel
cpu family  : 6
model   : 16
model name  : Intel(R) Xeon(TM) CPU 3.80GHz
stepping: 10
processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model   : 16
model name  : Intel(R) Xeon(TM) CPU 3.80GHz
stepping: 10
processor   : 2
vendor_id   : GenuineIntel
cpu family  : 6
model   : 16
model name  : Intel(R) Xeon(TM) CPU 3.80GHz
stepping: 10
processor   : 3
vendor_id   : GenuineIntel
cpu family  : 6
model   : 16
model name  : Intel(R) Xeon(TM) CPU 3.80GHz
stepping: 10
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 b19 b21 mmxext mmx fxsr xmm sse2 b27 b28 b29 3dnow
cpu MHz : 3800.15
bogomips: 3800.15

Regards

Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/873960utpt@hepworth.siccegge.de



Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'

2012-06-12 Thread Julien Cristau
On Tue, Jun 12, 2012 at 21:57:38 +0100, Steven Chamberlain wrote:

 On 12/06/12 19:44, Julien Cristau wrote:
  In file included from /usr/include/libdrm/via_drm.h:27:0,
   from ../../src/via_xvmc.h:29,
   from ../../libxvmc/viaXvMCPriv.h:34,
   from ../../libxvmc/viaLowLevel.c:34:
  /usr/include/libdrm/drm.h:50:1: error: unknown type name 'uint8_t'
  /usr/include/libdrm/drm.h:52:1: error: unknown type name 'uint16_t'
  /usr/include/libdrm/drm.h:54:1: error: unknown type name 'uint32_t'
  /usr/include/libdrm/drm.h:56:1: error: unknown type name 'uint64_t'
  make[3]: *** [libchromeXvMC_la-viaLowLevel.lo] Error 1
 
  Does freebsd sys/types.h no longer define those types?  That sounds
  like a regression there, not in this package.
 
 Hi Julien,
 
 They're in stdint.h, and that is not being included any more.
 
stdint.h is a userspace header though, I assume it's not available in
kernel space?

 This used to happen when a bundled via_drm.h included via_drmclient.h.
 Now the system's libdrm/via_drm.h has replaced it, but that includes
 drm.h before via_drmclient.h, using the C99 integer types without
 including stdint.h first.
 
 Therefore the openchrome 0.2.904+svn1050 package (still) builds on
 kfreebsd-* whereas 0.2.906 does not.  This seems to be a bug for the
 libdrm-dev package.
 
Then I'm going to ask for a patch, because drm.h is supposed to work on
all of linux and freebsd kernel and userland, which means it either got
b0rked by kfreebsd or by a freebsd update, AFAICT.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120612211953.gi12...@radis.cristau.org



Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'

2012-06-12 Thread Steven Chamberlain
On 12/06/12 22:19, Julien Cristau wrote:
 stdint.h is a userspace header though, I assume it's not available in
 kernel space?

I don't know.  But that is where the via_drm.h bundled in openchrome
0.2.904+svn1050 was getting those definitions from.


This commit shows when via_drm.h (as it is now shipped in libdrm-dev)
became broken at some point:

http://anonscm.debian.org/gitweb/?p=pkg-xorg/lib/libdrm.git;a=commitdiff;h=82bf52fbcdf1e71840c2024bb2bc05a8daeaafad

And this change (I wouldn't call it a patch, I doubt it is correct)
seems to fix it so that openchrome_drv can build again:

 --- /usr/include/libdrm/drm.h.orig
 +++ /usr/include/libdrm/drm.h
 @@ -46,6 +46,7 @@

  #include sys/ioccom.h
  #include sys/types.h
 +#include stdint.h
  typedef int8_t   __s8;
  typedef uint8_t  __u8;
  typedef int16_t  __s16;

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd7bc18.5030...@pyro.eu.org



Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'

2012-06-12 Thread Steven Chamberlain
My other guess would be this, which also works;  would appreciate advice
from others on debian-bsd@ though:

--- /usr/include/libdrm/drm.h.orig
+++ /usr/include/libdrm/drm.h
@@ -46,14 +46,14 @@

 #include sys/ioccom.h
 #include sys/types.h
-typedef int8_t   __s8;
-typedef uint8_t  __u8;
-typedef int16_t  __s16;
-typedef uint16_t __u16;
-typedef int32_t  __s32;
-typedef uint32_t __u32;
-typedef int64_t  __s64;
-typedef uint64_t __u64;
+typedef __int8_t   __s8;
+typedef __uint8_t  __u8;
+typedef __int16_t  __s16;
+typedef __uint16_t __u16;
+typedef __int32_t  __s32;
+typedef __uint32_t __u32;
+typedef __int64_t  __s64;
+typedef __uint64_t __u64;
 typedef unsigned long drm_handle_t;

 #endif

Thanks!
Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fd7bedf.6080...@pyro.eu.org



Re: Bug#677260: xserver-xorg-video-openchrome: FTBFS[kfreebsd]: error: unknown type name 'uint8_t'

2012-06-12 Thread Steven Chamberlain
tags 677260 + patch
thanks

Hi,

I believe the attached patch to be an appropriate fix.  I think userland
should consider stdint.h a prerequisite of using via_drm.h;  and I'm
also assuming that all supported platforms will have it.  The intel
driver makes that assumption already.

Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
Description: include stdint.h, a prerequisite of via_drm.h on BSD
 Must include stdint.h here because it is a prerequisite of drm.h
 (which gets included from via_drm.h).
 .
 Fixes a FTBFS seen on GNU/kFreeBSD.
Author: Steven Chamberlain ste...@pyro.eu.org
Bug-Debian: http://bugs.debian.org/677260

--- xserver-xorg-video-openchrome-0.2.906.orig/src/via_xvmc.h	2012-05-15 21:57:45.0 +0100
+++ xserver-xorg-video-openchrome-0.2.906/src/via_xvmc.h	2012-06-13 00:22:43.729188653 +0100
@@ -26,6 +26,8 @@
 #ifndef _VIA_XVMC_H
 #define _VIA_XVMC_H 1
 
+#include stdint.h
+
 #include via_drm.h
 
 /*


Bug#677297: kfreebsd-8: cve-2012-0217

2012-06-12 Thread Michael Gilbert
package: kfreebsd-8
version: 8.1+dfsg-8+squeeze2
severity: grave
tag: security

A security advisory for freebsd has been issued, cve-2012-0217.  All
of the debian kfreebsd packages are affected.  Please see:
http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=mpdbl1va9cpw14r5rmto3fxq-ap+shwtdkkak0kg-m...@mail.gmail.com



Bug#677298: kfreebsd-9: cve-2012-0217

2012-06-12 Thread Michael Gilbert
package: kfreebsd-9
version: 9.0-3
severity: grave
tag: security

A security advisory for freebsd has been issued, cve-2012-0217.  All
of the debian kfreebsd packages are affected.  Please see:
http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=MMuyVmsEQyAXoxz+FZj1SbzbEhpo9XbJroXoTY3u1d=u...@mail.gmail.com



Bug#677299: kfreebsd-10: cve-2012-0217

2012-06-12 Thread Michael Gilbert
package: kfreebsd-10
version: 10.0~svn234760-1
severity: grave
tag: security

A security advisory for freebsd has been issued, cve-2012-0217.  All
of the debian kfreebsd packages are affected.  Please see:
http://security.freebsd.org/advisories/FreeBSD-SA-12:04.sysret.asc



-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CANTw=mnc_qx33qr9fnm5qqmrfmfs7fym+kiyrs1stn5p_+t...@mail.gmail.com