From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 21 18:50:01 2007 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 545EE16A468 for ; Fri, 21 Dec 2007 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1FEB713C461 for ; Fri, 21 Dec 2007 18:50:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLIo1UQ007475 for ; Fri, 21 Dec 2007 18:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id lBLIo11m007474; Fri, 21 Dec 2007 18:50:01 GMT (envelope-from gnats) Resent-Date: Fri, 21 Dec 2007 18:50:01 GMT Resent-Message-Id: <200712211850.lBLIo11m007474@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Alex Stangl Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0F3316A421 for ; Fri, 21 Dec 2007 18:45:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 940BF13C4D5 for ; Fri, 21 Dec 2007 18:45:06 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id lBLIifat002521 for ; Fri, 21 Dec 2007 18:44:41 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id lBLIifnn002520; Fri, 21 Dec 2007 18:44:41 GMT (envelope-from nobody) Message-Id: <200712211844.lBLIifnn002520@www.freebsd.org> Date: Fri, 21 Dec 2007 18:44:41 GMT From: Alex Stangl To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/118936: sysutils/hal fails to compile on FreeBSD v6.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Dec 2007 18:50:01 -0000 >Number: 118936 >Category: ports >Synopsis: sysutils/hal fails to compile on FreeBSD v6.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 21 18:50:00 UTC 2007 >Closed-Date: >Last-Modified: >Originator: Alex Stangl >Release: 6.0 (__FreeBSD_version 600034) >Organization: >Environment: FreeBSD scout.stangl.us 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Thu Nov 3 09:36:13 UTC 2005 root@x64.samsco.home:/usr/obj/usr/src/sys/GENERIC i386 >Description: Attempting to build sysutils/hal under FreeBSD 6.0 produces the following error. #if guard block at line 62 doesn't seem to have the correct version number. cc -O2 -fno-strict-aliasing -pipe -Wall -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -o .libs/hald-probe-volume hald_probe_volume-freebsd_dvd_rw_utils.o hald_probe_volume-probe-volume.o -L/usr/local/lib /usr/local/lib/libglib-2.0.so -licui18n /usr/local/lib/libpcre.so -lvolume_id ../../../hald/freebsd/libprobe/.libs/libhald_freebsd_probe.so /usr/ports/sysutils/hal/work/hal-0.5.8.20071216/libhal/.libs/libhal.so /usr/local/lib/libdbus-1.so -pthread /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lcam -Wl,--rpath -Wl,/usr/local/lib hald_probe_volume-probe-volume.o(.text+0x592): In function `main': : undefined reference to `isonum_731' gmake[5]: *** [hald-probe-volume] Error 1 >How-To-Repeat: in FreeBSD version 600034, $ cd /usr/ports/sysutils/hal $ make >Fix: Change hal-0.5.8.20071216/hald/freebsd/probing/probe-volume.c, line 62 guard for ISO number definition should be: #if __FreeBSD_version < 600101 instead of #if __FreeBSD_version < 600000 (By my reckoning, the new ISO number definitions got added to iso.h between 600100 and 600101.) >Release-Note: >Audit-Trail: >Unformatted: