NetBSD Problem Report #55339

From www@netbsd.org  Wed Jun  3 10:04:23 2020
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 0E6521A9217
	for <gnats-bugs@gnats.NetBSD.org>; Wed,  3 Jun 2020 10:04:23 +0000 (UTC)
Message-Id: <20200603100422.49AC11A9218@mollari.NetBSD.org>
Date: Wed,  3 Jun 2020 10:04:22 +0000 (UTC)
From: alexjf@mail.com
Reply-To: alexjf@mail.com
To: gnats-bugs@NetBSD.org
Subject: sysutils/cdirip is broken on big endian but PowerPC is supported in port
X-Send-Pr-Version: www-1.0

>Number:         55339
>Category:       pkg
>Synopsis:       sysutils/cdirip is broken on big endian but PowerPC is supported in port
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    tpaul
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 03 10:05:00 +0000 2020
>Last-Modified:  Wed Jun 03 15:31:54 +0000 2020
>Originator:     Alex
>Release:        N/A
>Organization:
N/A
>Environment:
N/A
>Description:
I apologize for not testing this myself, but on 2 big endian operating systems cdirip since version 0.6.3 has been broken. Version 0.6.3 removed endian specific code as noted in the change log. Although binaries build they do not work. They run but can not extract cdi files, instead giving an error about unsupported image version. 

I am asking you to check your port as I am working on an OpenBSD port of cdirip and see you are using the latest version, building PowerPC binaries, and using no patches in the build AFAIK.

0.6.2 does indeed work on big endian by the way. On OpenBSD and OS X PowerPC.

Thank you for your time. Sorry I canít test this easily at the moment to confirm myself, it would be very helpful to let me know if it is indeed broken.
>How-To-Repeat:
Try extracting a cdi file with cdirip on PowerPC. See if you get unsupported image version error and or canít extract the files as expected.
>Fix:
Use older version 0.6.2 if problem happens.

>Release-Note:

>Audit-Trail:

Responsible-Changed-From-To: port-macppc-maintainer->tpaul
Responsible-Changed-By: maya@NetBSD.org
Responsible-Changed-When: Wed, 03 Jun 2020 15:31:54 +0000
Responsible-Changed-Why:
Ping maintainer


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(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.