apparently, disabled POSIX scheduler in snapshot images makes ports fail

Christopher J. Ruwe cjr at cruwe.de
Wed Feb 26 12:04:15 UTC 2014


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

I am trying to build postgresql-client for ARMv6 Raspberry Pi with
machines installed from the images provided on the official servers
and a custom image from the crochet.

That fails because in the configure stage, the test for thread safety
fails and dumps core.

      checking thread safety of required library functions... Abort \
      trap (core dumped) 
      no
      configure: error: thread test program failed
      This platform is not thread-safe.  Check the file 'config.log' \
      or compile 
      and run src/test/thread/thread_test for the exact reason.
      Use --disable-thread-safety to disable thread safety.
      ===>  Script "configure" failed unexpectedly.
      Please report the problem to pgsql at FreeBSD.org [maintainer] and
      attach the "/usr/ports/databases/postgresql90-client/work/postgresql-9.0.15/config.log" 
      including the output of the failure of your make command. Also,
      it might be  a good idea to provide an overview of all packages
      installed on your system (e.g. a /usr/local/sbin/pkg-static info
      -g -Ea). 
      *** Error code 1

Investigating, I found a similar problem where somebody failed to
compile postgresql ports due to  disabled KPOSIX_PRIORITY_SCHEDULING
in the kernel.

As in that situation, in the KPOSIX scheduler is disabled:

   #  strings /boot/kernel/kernel | grep POSIX
   nfscl_filllockowner: not F_POSIX or F_FLOCK
   POSIX P1003.1B realtime extensions
   The version of POSIX 1003.2 with which the system attempts to \
   comply 
   Version of POSIX attempting to comply to
   POSIX real time signal
   POSIX shared memory

The expected "options _KPOSIX_PRIORITY_SCHEDULING" is obviously
missing, which explains the build failure.

Yet, in stable/10, KPOSIX seems to be enabled:

     [cjr at dijkstra:/usr/src]$ grep POSIX sys/arm/conf/RPI-B
     options _KPOSIX_PRIORITY_SCHEDULING #Posix P1003_1B real-time \
     extensions 

Why is _KPOSIX_PRIORITY_SCHEDULING then disabled in the snapshots? Is
my thinking wrong?


Thanks and cheers,
- -- 
Christopher 

TZ:         GMT + 1h
GnuPG/GPG:  0xE8DE2C14
 
FreeBSD 10.0-STABLE #0 r262291+cf0fa48(stable/10): Sat Feb 22 02:01:26
CET 2014 cjr at dijkstra.hb22.cruwe.de:/usr/obj/usr/src/sys/GENERIC 
 
Punctuation matters:
"Lets eat Grandma or Lets eat, Grandma" - Punctuation saves lives.
"A panda eats shoots and leaves" or "A panda eats, shoots, and leaves" -
Punctuation teaches proper biology.

"With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead." (RFC 1925)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (FreeBSD)

iQIcBAEBCgAGBQJTDdg2AAoJEJTIKW/o3iwUshEQAMY+i3dqe9jfLizPlTsUj0mg
c06pvi39qwvX97hHjt4g/DjNEmVHGpcgcMt7IUmF3joDYSSRDNlaX8APB4wThA3d
Ywjmejt0FLHv6wqdtTP29RofLcF4alDNkolYnFFGA4edtRGM24rRxCZF1U887klc
38Qy+OajTk6K/L9kImZnqdHf6u5Gvvz/K9KxeqK6H70trHaUg3bM9WupnDqgTGc6
JNHb4KuWthGfuGuAxRouNvGwJwnom0uNenKU1D0Z8KRMmbGaRqCNvPR86Vu+7aFA
3elKeYFDhij9nj3RO2rHGTeebeZbNRI2CJAIR2uEZ+xpEJRJuydeH25QlxCnq46Y
leaEeffbrmokJxlKgfH0TjDMYE5P8DnIt4csO1V8qd9uOcU9daocgOUa5KEMzL0g
H4Rnx3EbnSrjlabH9jVFp17VSbDPnE6J2XdqfxCNVZKpIpcSlB/HHmd9QNbD49/q
r+K6C0j+tXUw8D/ECP9C9vSGNmJGO6zAIb5RZ4e4rmYOV4Zar5Mabn+is/QZnxqv
CbDhtQK73Y5oTKNlym8xbhbt0MkgoQ+XXtMTD14xYcwf8XzBm91EvW50bt5aVq6E
PD10Ysm5PmdVii1WwHLRqLt1WBAPUIJsccqhDqcwYBAOhJgno5mhldTb/xlvw7r1
+fKIEAT4H0sgmvLirHcB
=YGpf
-----END PGP SIGNATURE-----


More information about the freebsd-arm mailing list