From unknown Fri Aug 15 03:57:05 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#14711 <14711@debbugs.gnu.org> To: bug#14711 <14711@debbugs.gnu.org> Subject: Status: struct rusage redefinition issues on ppc - gnu time-1.7 Reply-To: bug#14711 <14711@debbugs.gnu.org> Date: Fri, 15 Aug 2025 10:57:05 +0000 retitle 14711 struct rusage redefinition issues on ppc - gnu time-1.7 reassign 14711 coreutils submitter 14711 Aijaz Baig severity 14711 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 11:51:42 2013 Received: (at submit) by debbugs.gnu.org; 25 Jun 2013 15:51:42 +0000 Received: from localhost ([127.0.0.1]:40653 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrVWu-00077C-RY for submit@debbugs.gnu.org; Tue, 25 Jun 2013 11:51:42 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58839) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrPcG-0000fO-Fu for submit@debbugs.gnu.org; Tue, 25 Jun 2013 05:32:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrPc6-0004v5-GT for submit@debbugs.gnu.org; Tue, 25 Jun 2013 05:32:43 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40232) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrPc6-0004uz-Di for submit@debbugs.gnu.org; Tue, 25 Jun 2013 05:32:38 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrPc1-0000iU-IT for bug-coreutils@gnu.org; Tue, 25 Jun 2013 05:32:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UrPbw-0004sh-VX for bug-coreutils@gnu.org; Tue, 25 Jun 2013 05:32:33 -0400 Received: from inmumg02.tcs.com ([219.64.33.222]:57289) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UrPbw-0004sY-Lb for bug-coreutils@gnu.org; Tue, 25 Jun 2013 05:32:28 -0400 X-IronPort-AV: E=Sophos;i="4.87,935,1363113000"; d="scan'208";a="154476016" Received: from cdctdlpprotect3 (unknown [127.0.0.1]) by cdctdlpprotect3.localdomain (Service) with ESMTP id 5C03FABE02 for ; Tue, 25 Jun 2013 14:54:36 +0530 (IST) Received: from inmumm06.tcs.com (unknown [172.17.10.159]) by cdctdlpprotect3.localdomain (Service) with ESMTP id 3DBBFABE11 for ; Tue, 25 Jun 2013 14:54:36 +0530 (IST) To: bug-coreutils@gnu.org MIME-Version: 1.0 Subject: struct rusage redefinition issues on ppc - gnu time-1.7 X-KeepSent: 1206703E:646C0051-65257B95:0033F99E; type=4; name=$KeepSent X-Mailer: Lotus Notes Release 8.5.2FP2 March 23, 2011 From: Aijaz Baig Message-ID: Date: Tue, 25 Jun 2013 15:02:25 +0530 X-MIMETrack: Serialize by Router on InMumM06/TCS(Release 8.5.3FP2|July 02, 2012) at 06/25/2013 15:02:26, Serialize complete at 06/25/2013 15:02:26 Content-Type: multipart/alternative; boundary="=_alternative 003467F365257B95_=" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Jun 2013 11:51:37 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) This is a multipart message in MIME format. --=_alternative 003467F365257B95_= Content-Type: text/plain; charset="US-ASCII" Hi. I am trying to compile Gnu time 1.7 for a PowerPC system using the windriver build system which is based on yocto. The build fails with an error at resuse.h:44:error: redefinition of 'struct rusage'. On searching the internet found Benoit Sibaud was facing a same problem on sparc. He commented out system definition for struct rusage and it worked for him. For me however it doesn't work. On doing that it fails to link the various object files viz. time.o getopt.o error.o resuse.o and version.o. On another thread here, Jim McMaster was also facing a similar issue while building it for Solaris. Paul Eggert suggested him to define HAVE_WAIT3 in the Makefile. I've tried that too but it fails as well. And its again while linking the aforementioned object files. Please help me in getting this fixed. Where do I check for the build logs in detail. As what exactly is causing the linking to fail? It is failing with an errors of the sort 'crt1.o: No such file: No such file or directory'. These are link time errors right? At times I've seen people saying they signify a corrupted libc. However when I manually search for it in my Sysroot, I see it. I am confused. Please elaborate. Keen to hear. Aijaz Baig =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you --=_alternative 003467F365257B95_= Content-Type: text/html; charset="US-ASCII" Hi.
I am trying to compile Gnu time 1.7 for a PowerPC system using the windriver build system which is based on yocto.

The build fails with an error at resuse.h:44:error: redefinition of 'struct rusage'.

On searching the internet found  Benoit Sibaud was facing a same problem on sparc. He commented out system definition for struct rusage and it worked for him. For me however it doesn't work. On doing that it fails to link the various object files viz. time.o getopt.o error.o resuse.o and version.o.

On another thread here, Jim McMaster was also facing a similar issue while building it for Solaris.  Paul Eggert suggested him to define HAVE_WAIT3 in the Makefile. I've tried that too but it fails as well. And its again while linking the aforementioned object files.

Please help me in getting this fixed. Where do I check for the build logs in detail. As what exactly is causing the linking to fail? It is failing with an errors of the sort 'crt1.o: No such file: No such file or directory'. These are link time errors right? At times I've seen people saying they signify a corrupted libc. However when I manually search for it in my Sysroot, I see it.

I am confused. Please elaborate. Keen to hear.

Aijaz Baig

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

--=_alternative 003467F365257B95_=-- From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 25 23:33:25 2013 Received: (at 14711-done) by debbugs.gnu.org; 26 Jun 2013 03:33:25 +0000 Received: from localhost ([127.0.0.1]:41557 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrgU0-0005OV-J0 for submit@debbugs.gnu.org; Tue, 25 Jun 2013 23:33:24 -0400 Received: from joseki.proulx.com ([216.17.153.58]:33345) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UrgTy-0005OK-LS for 14711-done@debbugs.gnu.org; Tue, 25 Jun 2013 23:33:23 -0400 Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 8BAFD21196; Tue, 25 Jun 2013 21:33:19 -0600 (MDT) Received: by hysteria.proulx.com (Postfix, from userid 1000) id 71D1D2DC59; Tue, 25 Jun 2013 21:33:19 -0600 (MDT) Date: Tue, 25 Jun 2013 21:33:19 -0600 From: Bob Proulx To: Aijaz Baig Subject: Re: bug#14711: struct rusage redefinition issues on ppc - gnu time-1.7 Message-ID: <20130626033319.GA29623@hysteria.proulx.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: 14711-done Cc: 14711-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.3 (-) Aijaz Baig wrote: > Hi. Hi. > I am trying to compile Gnu time 1.7 for a PowerPC system using the > windriver build system which is based on yocto. Thanks for the report. However you are reporting a bug in the time project to the coreutils project. Time and coreutils are two separate projects. GNU time doesn't use any bug trackers. Therefore this bug to the coreutils project will never be seen by the GNU time maintainer. The best reporting address for problems with time is the bug-gnu-utils@gnu.org mailing list. It isn't a good place. It is only the best place relative to any other reporting address. The GNU time project has actually been quite dead for many, many years. However the official maintainer keeps saying that a new release will happen every time he is asked. Therefore the project sits in a perpetual limbo betwixt and between. In my opinion the best way to compile GNU time is to grab the patched sources from one of the many software distributions. I am the maintainer for Debian and so my biased opinion would be to use the Debian patched sources. But most of the patches have been shared all around by now and so any of the distros are likely very similar at this stage. I will continue the discussion in your other message to the discussion list and then redirect it over to the bug-gnu-utils list. Anyone who wishes to join in please meet us over there. Bob > Notice: The information contained in this e-mail > message and/or attachments to it may contain > confidential or privileged information. If you are > not the intended recipient, any dissemination, use, > review, distribution, printing or copying of the > information contained in this e-mail message > and/or attachments to it are strictly prohibited. If > you have received this communication in error, > please notify us by reply e-mail or telephone and > immediately and permanently delete the message > and any attachments. Thank you READ CAREFULLY. By reading this email, you agree, on behalf of your employer, to release me from all obligations and waivers arising from any and all NON-NEGOTIATED agreements, licences, terms-of-service, shrinkwrap, clickwrap, browsewrap, confidentiality, non-disclosure, non-compete and acceptable use policies ("BOGUS AGREEMENTS") that I have entered into with your employer, its partners, licensors, agents and assigns, in perpetuity, without prejudice to my ongoing rights and privileges. You further represent that you have the authority to release me from any BOGUS AGREEMENTS on behalf of your employer. From unknown Fri Aug 15 03:57:05 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 24 Jul 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator