NetBSD Problem Report #46297
From www@NetBSD.org Thu Apr 5 13:41:31 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id 07D5963BBEC
for <gnats-bugs@gnats.NetBSD.org>; Thu, 5 Apr 2012 13:41:31 +0000 (UTC)
Message-Id: <20120405134130.66F8963B946@www.NetBSD.org>
Date: Thu, 5 Apr 2012 13:41:30 +0000 (UTC)
From: ano@bestmx.ru
Reply-To: ano@bestmx.ru
To: gnats-bugs@NetBSD.org
Subject: lang/erlang: install error under DragonFly BSD with erlang-hipe option
X-Send-Pr-Version: www-1.0
>Number: 46297
>Category: pkg
>Synopsis: lang/erlang: install error under DragonFly BSD with erlang-hipe option
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: pkg-manager
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Apr 05 13:45:00 +0000 2012
>Closed-Date: Wed Jan 27 19:07:53 +0000 2021
>Last-Modified: Wed Jan 27 19:07:53 +0000 2021
>Originator: Andrey N. Oktyabrski
>Release: DragonFly BSD 3.0
>Organization:
>Environment:
$ uname -a
DragonFly df.bestmx.net 3.0-RELEASE DragonFly v3.0.2.22.gec1ca-RELEASE #1: Fri Apr 6 04:45:45 MSK 2012 ano@df.bestmx.net:/usr/obj/usr/src/sys/X86_64_GENERIC x86_64
$ gcc -v
Using built-in specs.
Target: x86_64-pc-dragonflybsd
Configured with: DragonFly/x86_64 system compiler
Thread model: posix
gcc version 4.4.7 2011.10.25 (DragonFly)
>Description:
Compilation completed without errors, but during package creating I have ton of these errors:
=> Automatic manual page handling
pkg_create: can't stat `/tmp/pkgwrk/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/hipe-3.8.1/ebin/hipe.beam'
pkg_create: can't stat `/tmp/pkgwrk/lang/erlang/work/.destdir/usr/pkg/lib/erlang/lib/hipe-3.8.1/ebin/hipe_adj_list.beam'
...
(I think, here is all from the PLIST.hipe file)
...
>How-To-Repeat:
$ cd /usr/pkgsrc/lang/erlang
$ grep erlang /usr/pkg/etc/mk.conf
PKG_OPTIONS.erlang = erlang-hipe
ACCEPTABLE_LICENSES += erlang-public-license
$ bmake package
>Fix:
Do not know how to fix it, use erlang without hipe at now.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: pkg-manager->dfly-pkg-people
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Thu, 05 Apr 2012 14:49:47 +0000
Responsible-Changed-Why:
Dragonfly pkgsrc PR
State-Changed-From-To: open->closed
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 09 Apr 2012 06:31:39 +0000
State-Changed-Why:
Appears to be a duplicate of 44667.
From: "Andrey N. Oktyabrski" <ano@bestmx.ru>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/46297 (lang/erlang: install error under DragonFly BSD with
erlang-hipe option)
Date: Tue, 10 Apr 2012 22:43:04 +0400
On 09.04.12 10:31, dholland@NetBSD.org wrote:
> Synopsis: lang/erlang: install error under DragonFly BSD with
> erlang-hipe option
>
> State-Changed-From-To: open->closed
> State-Changed-By: dholland@NetBSD.org
> State-Changed-When: Mon, 09 Apr 2012 06:31:39 +0000
> State-Changed-Why:
> Appears to be a duplicate of 44667.
No, there is a not a duplicate. I have found a real cause:
(from erlang's ./configure output)
configure: WARNING: HiPE is not supported on amd64 without reliable
floating-point exceptions
Here is a two ways:
- Update erlang to the R15 - it solve the problem because
(http://www.erlang.org/doc/apps/hipe/notes.html)
1 HiPE Release Notes
...
Possible to run HiPE without floating point exceptions (FPE). Useful on
platforms that lack reliable FPE. Slower float operations compared to
HiPE with FPE.
Own Id: OTP-9724
- Unconditionally disable the erlang-hipe option when we're on the amd64.
Responsible-Changed-From-To: dfly-pkg-people->asau
Responsible-Changed-By: asau@NetBSD.org
Responsible-Changed-When: Tue, 10 Apr 2012 19:02:13 +0000
Responsible-Changed-Why:
I have the update.
State-Changed-From-To: closed->open
State-Changed-By: asau@NetBSD.org
State-Changed-When: Tue, 10 Apr 2012 19:02:13 +0000
State-Changed-Why:
Presumably will be fixed by update.
From: "Aleksej Saushev" <asau@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46297 CVS commit: pkgsrc/lang
Date: Thu, 12 Apr 2012 12:14:13 +0000
Module Name: pkgsrc
Committed By: asau
Date: Thu Apr 12 12:14:13 UTC 2012
Modified Files:
pkgsrc/lang/erlang: Makefile Makefile.versions PLIST PLIST.hipe
distinfo
pkgsrc/lang/erlang-doc: PLIST distinfo
pkgsrc/lang/erlang-man: PLIST distinfo
pkgsrc/lang/erlang/patches: patch-ai patch-am
Added Files:
pkgsrc/lang/erlang/patches: patch-lib_wx_configure
patch-lib_wx_configure.in
Removed Files:
pkgsrc/lang/erlang/patches:
patch-erts_emulator_drivers_common_inet_drv.c
Log Message:
Update to Erlang/OTP R15B01
Presumably fixes PR pkg/46297
Changes in Erlang/OTP R15B01
Highlights:
* Added erlang:statistics(scheduler_wall_time) to ensure
correct determination of scheduler utilization. Measuring
scheduler utilization is strongly preferred over CPU
utilization, since CPU utilization gives very poor
indications of actual scheduler/vm usage.
* Changed ssh implementation to use the public_key application
for all public key handling. This is also a first step for
enabling a callback API for supplying public keys and
handling keys protected with password phrases. Additionally
the test suites where improved so that they do not copy the
users keys to test server directories as this is a security
liability. Also ipv6 and file access issues found in the
process has been fixed.
* When an escript ends now all printout to standard output and
standard error gets out on the terminal. This bug has been
corrected by changing the behaviour of erlang:halt/0,1,
which should fix the same problem for other escript-like
applications, i.e. that data stored in the output port
driver buffers got lost when printing on a TTY and exiting
through erlang:halt/0,1. The BIF:s erlang:halt/0,1 has
gotten improved semantics and there is a new BIF
erlang:halt/2 to accomplish something like the old
semantics. See the documentation.
* The DTrace source patch from Scott Lystig Fritchie is
integrated in the source tree. Using an emulator with dtrace
probe is still not supported for production use, but may be
a valuable debugging tool.
* Added Torbjörn Törnkvists LDAP client as a new application
called eldap.
* Added options for the ssh client to support user keys files
that are password protected.
Changes in Erlang/OTP R15B
Highlights:
* Line number and filename information are now included in
exception backtraces. This information will be
pretty-printed in the shell and used in crash reports etc.
In practice it will be much easier to find where something
failed.
* The driver interface has been changed to enable 64-bit aware
drivers. Most importantly the return types for ErlDrvEntry
callbacks 'call' and 'control' has been changed which
require drivers to be changed.
* New in this release is the support for 64 bit Windows.
The self extracting installer can be found here.
* CommonTest hooks are now in a final supported version.
* There is a new GUI tool in the observer application which
integrates pman, etop, appmon and tv into one tool. The tool
does also contain functions for activating tracing in an easy way.
* The Erlang distribution can now be run over the new SSL implementation.
Changes in Erlang/OTP R15A
Notable changes:
OTP-9468 'Line numbers in exceptions'
OTP-9451 'Parallel make'
OTP-4779 A new GUI for Observer. Integrating pman, etop and tv into
observer with tracing facilities.
OTP-7775 A number of memory allocation optimizations have been
implemented. Most optimizations reduce contention caused by
synchronization between threads during allocation and
deallocation of memory. Most notably:
Synchronization of memory management in scheduler
specific allocator instances has been rewritten to
use lock-free synchronization.
Synchronization of memory management in scheduler
specific pre-allocators has been rewritten to use
lock-free synchronization.
The 'mseg_alloc' memory segment allocator now use
scheduler specific instances instead of one
instance. Apart from reducing contention this also
ensures that memory allocators always create memory
segments on the local NUMA node on a NUMA system.
OTP-9632 An ERTS internal, generic, many to one, lock-free
queue for communication between threads has been
introduced. The many to one scenario is very common in
ERTS, so it can be used in a lot of places in the
future. Currently it is used by scheduling of certain
jobs, and the async thread pool, but more uses are
planned for the future.
Drivers using the driver_async functionality are not
automatically locked to the system anymore, and can be
unloaded as any dynamically linked in driver.
Scheduling of ready async jobs is now also interleaved
in between other jobs. Previously all ready async jobs
were performed at once.
OTP-9631 The ERTS internal system block functionality has been
replaced by new functionality for blocking the system.
The old system block functionality had contention
issues and complexity issues. The new functionality
piggy-backs on thread progress tracking functionality
needed by newly introduced lock-free synchronization
in the runtime system. When the functionality for
blocking the system isn't used, there is more or less
no overhead at all. This since the functionality for
tracking thread progress is there and needed anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/lang/erlang/Makefile
cvs rdiff -u -r1.12 -r1.13 pkgsrc/lang/erlang/Makefile.versions
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/erlang/PLIST
cvs rdiff -u -r1.1 -r1.2 pkgsrc/lang/erlang/PLIST.hipe
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/erlang/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/lang/erlang-doc/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/erlang-doc/distinfo
cvs rdiff -u -r1.9 -r1.10 pkgsrc/lang/erlang-man/PLIST
cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/erlang-man/distinfo
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/erlang/patches/patch-ai
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/erlang/patches/patch-am
cvs rdiff -u -r1.1 -r0 \
pkgsrc/lang/erlang/patches/patch-erts_emulator_drivers_common_inet_drv.c
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/erlang/patches/patch-lib_wx_configure \
pkgsrc/lang/erlang/patches/patch-lib_wx_configure.in
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
State-Changed-From-To: open->feedback
State-Changed-By: asau@NetBSD.org
State-Changed-When: Thu, 12 Apr 2012 21:31:41 +0000
State-Changed-Why:
Package was updated, does the problem persist?
From: "Andrey N. Oktyabrski" <ano@bestmx.ru>
To: gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/46297 (lang/erlang: install error under DragonFly BSD with
erlang-hipe option)
Date: Fri, 13 Apr 2012 09:03:45 +0400
On 13.04.12 01:31, asau@NetBSD.org wrote:
> Package was updated, does the problem persist?
Sorry, can't test yesterday...
Under the 64-bit DragonFly package has been built without any errors,
erland installed and works fine.
Under the 64-bit OpenIndiana with ABI=32 in mk.conf I have this error:
...
gcc -O -I/usr/include -I/usr/pkg/include/ncurses
-I/var/tmp/pkgwrk/lang/erlang/work/otp_src_R15B01/erts/i386-pc-solaris2.11
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -fno-tree-copyrename
-I/usr/include -I/usr/pkg/include/ncurses -DERTS_SMP -DHAVE_CONFIG_H
-Wall -Wstrict-prototypes -Wmissing-prototypes
-Wdeclaration-after-statement -DUSE_THREADS -D_THREAD_SAFE -D_REENTRANT
-DPOSIX_THREADS -D_POSIX_PTHREAD_SEMANTICS
-Ii386-pc-solaris2.11/opt/smp -Ibeam -Isys/unix -Isys/common
-Ii386-pc-solaris2.11 -Izlib -Ipcre -Ihipe -I../include
-I../include/i386-pc-solaris2.11 -I../include/internal
-I../include/internal/i386-pc-solaris2.11 -c
i386-pc-solaris2.11/opt/smp/hipe_x86_bifs.S -o
obj/i386-pc-solaris2.11/opt/smp/hipe_x86_bifs.o
i386-pc-solaris2.11/opt/smp/hipe_x86_bifs.S:2176:2: error: #endif
without #if
make[3]: *** [obj/i386-pc-solaris2.11/opt/smp/hipe_x86_bifs.o] Error 1
make[3]: Leaving directory
`/var/tmp/pkgwrk/lang/erlang/work/otp_src_R15B01/erts/emulator'
make[2]: *** [opt] Error 2
make[2]: Leaving directory
`/var/tmp/pkgwrk/lang/erlang/work/otp_src_R15B01/erts/emulator'
make[1]: *** [smp] Error 2
make[1]: Leaving directory
`/var/tmp/pkgwrk/lang/erlang/work/otp_src_R15B01/erts'
gmake: *** [emulator] Error 2
*** Error code 2
Stop.
bmake: stopped in /usr/pkgsrc/lang/erlang
*** Error code 1
Stop.
bmake: stopped in /usr/pkgsrc/lang/erlang
State-Changed-From-To: feedback->open
State-Changed-By: dholland@NetBSD.org
State-Changed-When: Mon, 16 Apr 2012 06:19:33 +0000
State-Changed-Why:
That problem's fixed, a new one's turned up.
Responsible-Changed-From-To: asau->pkg-manager
Responsible-Changed-By: wiz@NetBSD.org
Responsible-Changed-When: Mon, 13 Jul 2020 20:08:02 +0000
Responsible-Changed-Why:
Reset to role account
State-Changed-From-To: open->closed
State-Changed-By: triaxx@NetBSD.org
State-Changed-When: Wed, 27 Jan 2021 19:07:53 +0000
State-Changed-Why:
erlang is now Erlang/OTP 23 [erts-11.1.6] and the email address of the PR submitter is no longer reachable.
We can consider this bug fixed since a lot of versions have been released between now and the time of PR submission (2012).
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.46 2020/01/03 16:35:01 leot Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2020
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.