Re: Error building Hurd on an existing Hurd

2024-10-22 Thread Samuel Thibault
Zhaoming Luo, le mar. 22 oct. 2024 16:34:39 +0800, a ecrit: > Thank you. It works after the upgrade :D. I didn't add the up-to-date sources > because I thought I was using 2023 release and there was no need to do it. Like all software stacks, you need the updated pieces to be able to build it. S

Re: Error building Hurd on an existing Hurd

2024-10-22 Thread Zhaoming Luo
On 10/22/24 3:43 PM, Samuel Thibault wrote: That is very old. See https://www.debian.org/ports/hurd/hurd-install#morepackages to fix your sources.list and upgrade to the most recent packages. Thank you. It works after the upgrade :D. I didn't add the up-to-date sources because I thought I wa

Re: Error building Hurd on an existing Hurd

2024-10-22 Thread Samuel Thibault
Zhaoming Luo, le mar. 22 oct. 2024 15:41:30 +0800, a ecrit: > On 10/22/24 3:37 PM, Samuel Thibault wrote: > > Which version of gnumach-dev do you have? > > > > dpkg -l gnumach-dev > > Desired=Unknown/Install/Remove/Purge/Hold > | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/T

Re: Error building Hurd on an existing Hurd

2024-10-22 Thread Zhaoming Luo
On 10/22/24 3:37 PM, Samuel Thibault wrote: Hello, Hi, Which version of gnumach-dev do you have? dpkg -l gnumach-dev Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: upperc

Re: Error building Hurd on an existing Hurd

2024-10-22 Thread Samuel Thibault
Hello, Zhaoming Luo, le mar. 22 oct. 2024 09:32:28 +0800, a ecrit: > Errors: > ``` > start-translator-long.c:42:3: error: unknown type name > 'mach_port_name_inlined_t' Which version of gnumach-dev do you have? dpkg -l gnumach-dev Samuel

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Zhaoming Luo
Guys thank you for your patience. I realize the problem is my MIG was not up to date. A few days ago I compiled an old version MIG from source and used it. So I removed the old one and installed the latest MIG from apt. The following instructions suggested by jbranso works fine: $ apt get build

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Sergey Bugaev
On Mon, Oct 21, 2024 at 9:53 PM Samuel Thibault wrote: > Ah ok. > > Yes :) Good :) > He said we was using > > https://mail.gnu.org/archive/html/bug-hurd/2023-01/msg00132.html I admit I didn't follow the link in the original message... Those are my notes about bootstrapping a toolchain & cross-c

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Samuel Thibault
Sergey Bugaev, le lun. 21 oct. 2024 21:49:59 +0300, a ecrit: > On Mon, Oct 21, 2024 at 9:38 PM Samuel Thibault > wrote: > > Sergey Bugaev, le lun. 21 oct. 2024 14:47:10 +0300, a ecrit: > > > You must > > > have a fresh enough MIG build (that already generates references to > > > mach_port_name_in

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Sergey Bugaev
On Mon, Oct 21, 2024 at 9:38 PM Samuel Thibault wrote: > Sergey Bugaev, le lun. 21 oct. 2024 14:47:10 +0300, a ecrit: > > You must > > have a fresh enough MIG build (that already generates references to > > mach_port_name_inlined_t), but older gnumach headers (that don't yet > > define mach_port_n

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Samuel Thibault
Sergey Bugaev, le lun. 21 oct. 2024 14:47:10 +0300, a ecrit: > On Mon, Oct 21, 2024 at 9:21 AM Zhaoming Luo wrote: > > I am trying to build Hurd (76419b67...) from source on an existing Hurd. I > > found this post. However, when I tried ./configure && make, I got the > > following error: > > > >

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread jbranso
October 21, 2024 at 7:47 AM, "Sergey Bugaev" mailto:buga...@gmail.com?to=%22Sergey%20Bugaev%22%20%3Cbugaevc%40gmail.com%3E > wrote: > > On Mon, Oct 21, 2024 at 9:21 AM Zhaoming Luo wrote: > > > > > Hi, > > > Hi, > > > > > I am trying to build Hurd (76419b67...) from source on an existing

Re: Error building Hurd on an existing Hurd

2024-10-21 Thread Sergey Bugaev
On Mon, Oct 21, 2024 at 9:21 AM Zhaoming Luo wrote: > Hi, Hi, > I am trying to build Hurd (76419b67...) from source on an existing Hurd. I > found this post. However, when I tried ./configure && make, I got the > following error: > > default_pagerUser.c: In function 'default_pager_object_creat

Error building Hurd on an existing Hurd

2024-10-20 Thread Zhaoming Luo
haven't found more up-to-date instructions about building Hurd. Thanks for any help in advance. ``` ... default_pagerUser.c: In function 'default_pager_object_create': default_pagerUser.c:75:17: error: unknown type name 'mach_port_name_inlined_t'    75 |  

Re: stuck building hurd

2023-09-05 Thread Guy-Fleury Iteriteka
On September 5, 2023 12:00:00 PM GMT+02:00, Samuel Thibault wrote: >gfle...@disroot.org, le mar. 05 sept. 2023 11:00:15 +0200, a ecrit: >> make[1]: *** Aucune règle pour fabriquer la cible « thread_state.h », >> nécessaire pour « mgt.o ». Arrêt > >That's probably due to glibc's 9736920963258a90c

Re: stuck building hurd

2023-09-05 Thread Samuel Thibault
gfle...@disroot.org, le mar. 05 sept. 2023 11:00:15 +0200, a ecrit: > make[1]: *** Aucune règle pour fabriquer la cible « thread_state.h », > nécessaire pour « mgt.o ». Arrêt That's probably due to glibc's 9736920963258a90c69e60fb8896ce3e70d18d3e. I have probably fixed it in 4be913652ca115160bae1

Re: On wiki and patches (was Re: Building Hurd)

2023-01-25 Thread Samuel Thibault
Hello, Sergey Bugaev, le mer. 25 janv. 2023 10:48:35 +0300, a ecrit: > > https://darnassus.sceen.net/~hurd-web/toolchain/cross-gnu/ > > I must have already asked this before, but: how do I modify the wiki? > Do I just send patches to bug-hurd? Is You can, yes. > http://git.savannah.gnu.org/cgit

Re: On wiki and patches (was Re: Building Hurd)

2023-01-25 Thread Guy-Fleury Iteriteka
Hello On January 25, 2023 9:48:35 AM GMT+02:00, Sergey Bugaev wrote: >On Wed, Jan 25, 2023 at 4:10 AM Samuel Thibault >wrote: >> Hello, > >Hi! > >> It'd be useful that all these small cross-compilation howtos here and >> there be merged into the corresponding wiki page where it belongs, >> >>

On wiki and patches (was Re: Building Hurd)

2023-01-24 Thread Sergey Bugaev
On Wed, Jan 25, 2023 at 4:10 AM Samuel Thibault wrote: > Hello, Hi! > It'd be useful that all these small cross-compilation howtos here and > there be merged into the corresponding wiki page where it belongs, > > ./toolchain/cross-gnu.mdwn > > https://darnassus.sceen.net/~hurd-web/toolchain/cros

Re: Building Hurd

2023-01-24 Thread Samuel Thibault
Hello, It'd be useful that all these small cross-compilation howtos here and there be merged into the corresponding wiki page where it belongs, ./toolchain/cross-gnu.mdwn https://darnassus.sceen.net/~hurd-web/toolchain/cross-gnu/ Samuel Sergey Bugaev, le mar. 24 janv. 2023 22:29:15 +0300, a ec

Re: Building Hurd

2023-01-24 Thread Sergey Bugaev
On Tue, Jan 24, 2023 at 8:23 PM Ryan Raymond wrote: > > Hello, > I was reading the install instructions and I saw that they were incomplete. > The system can't build right now I guess, but I wanted to fix that. I was > wondering if the last person who built could point me in the general > direc

Building Hurd

2023-01-24 Thread Ryan Raymond
Hello, I was reading the install instructions and I saw that they were incomplete. The system can't build right now I guess, but I wanted to fix that. I was wondering if the last person who built could point me in the general direction of how they think hurd is supposed to build?

Re: (Newbie question) Failed building hurd on Debian GNU Hurd

2015-09-25 Thread Braione Pietro
> Il giorno 24/set/2015, alle ore 19:03, James Clarke ha > scritto: > > That’s an issue with the current Hurd repo on Savannah. You need this patch > http://darnassus.sceen.net/gitweb/teythoon/packaging/hurd.git/blob/HEAD:/debian/patches/proc-task-notify-0005-proc-fix-build.patch, > from what

Re: (Newbie question) Failed building hurd on Debian GNU Hurd

2015-09-24 Thread James Clarke
That’s an issue with the current Hurd repo on Savannah. You need this patch http://darnassus.sceen.net/gitweb/teythoon/packaging/hurd.git/blob/HEAD:/debian/patches/proc-task-notify-0005-proc-fix-build.patch, from what I gather (at least it fixes it for me). James > On 24 Sep 2015, at 13:50, Bra

Re: (Newbie question) Failed building hurd on Debian GNU Hurd

2015-09-24 Thread Braione Pietro
Hello Samuel. Il giorno 15/set/2015, alle ore 17:28, Samuel Thibault mailto:samuel.thiba...@gnu.org>> ha scritto: Hello, Braione Pietro, le Tue 15 Sep 2015 12:31:16 +, a écrit : ../libports/libports.so: undefined reference to `mach_port_set_protected_payload’ ../libports/libports.so: undefi

(Newbie question) Failed building hurd on Debian GNU Hurd

2015-09-15 Thread Braione Pietro
Hello to everyone. As from the title, I am a complete newbie. It is the first time I am trying to build hurd from sources (but I have successfully built gnumach and mig many times). My platform is Debian GNU Hurd (should be the 2013 version). I followed the INSTALL file in the hurd source tree a

Re: (Newbie question) Failed building hurd on Debian GNU Hurd

2015-09-15 Thread Samuel Thibault
Hello, Braione Pietro, le Tue 15 Sep 2015 12:31:16 +, a écrit : > ../libports/libports.so: undefined reference to > `mach_port_set_protected_payload’ > ../libports/libports.so: undefined reference to > `mach_port_clear_protected_payload’ These are new features which were added to GNU Mach a

Re: trouble building hurd debian package, alioth confusion

2013-07-04 Thread Samuel Thibault
Hello, Just to close this thread: Justus Winter, le Sun 09 Jun 2013 15:26:22 +0200, a écrit : > /usr/include/hurd/io.h:422:2: error: unknown type name ‘timespec_t’ This is now fixed by the latest glibc & hurd uploads. Samuel

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Richard Braun
On Mon, Jun 10, 2013 at 07:30:58PM +0200, Justus Winter wrote: > Quoting Richard Braun (2013-06-10 16:28:40) > > On Mon, Jun 10, 2013 at 04:10:57PM +0200, Justus Winter wrote: > > > Awesome, didn't know this one. Still I was hoping to get a git repo > > > since that way I could plug it into my pack

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Justus Winter
Quoting Richard Braun (2013-06-10 16:28:40) > On Mon, Jun 10, 2013 at 04:10:57PM +0200, Justus Winter wrote: > > Awesome, didn't know this one. Still I was hoping to get a git repo > > since that way I could plug it into my package building solution. > > There are debian repositories for GNU Mach

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Justus Winter
Quoting Emilio Pozuelo Monfort (2013-06-10 16:28:06) > On 10/06/13 16:10, Justus Winter wrote: > > Awesome, didn't know this one. Still I was hoping to get a git repo > > since that way I could plug it into my package building solution. > > The debian packaging with the upstream sources + patches

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Richard Braun
On Mon, Jun 10, 2013 at 04:10:57PM +0200, Justus Winter wrote: > Awesome, didn't know this one. Still I was hoping to get a git repo > since that way I could plug it into my package building solution. There are debian repositories for GNU Mach and the Hurd : git://anonscm.debian.org/pkg-hurd/gnum

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Emilio Pozuelo Monfort
On 10/06/13 16:10, Justus Winter wrote: > Awesome, didn't know this one. Still I was hoping to get a git repo > since that way I could plug it into my package building solution. The debian packaging with the upstream sources + patches are in a git repo: emilio@titan:~$ apt-cache showsrc hurd | gr

Re: trouble building hurd debian package, alioth confusion

2013-06-10 Thread Justus Winter
Quoting Svante Signell (2013-06-09 20:10:59) > On Sun, 2013-06-09 at 18:56 +0200, Svante Signell wrote: > > On Sun, 2013-06-09 at 17:48 +0200, Justus Winter wrote > .. > > apt-get source --download-only eglibc=2.13-38 > > dget \ > > ftp://ftp.debian-ports.org/debian/pool-hurd-i386/main/e/eglibc/egl

Re: trouble building hurd debian package, alioth confusion

2013-06-09 Thread Svante Signell
On Sun, 2013-06-09 at 18:56 +0200, Svante Signell wrote: > On Sun, 2013-06-09 at 17:48 +0200, Justus Winter wrote .. > apt-get source --download-only eglibc=2.13-38 > dget \ > ftp://ftp.debian-ports.org/debian/pool-hurd-i386/main/e/eglibc/eglibc_2.13-39+hurd.3.dsc I forgot dget \ ftp://ftp.debian-

Re: trouble building hurd debian package, alioth confusion

2013-06-09 Thread Svante Signell
On Sun, 2013-06-09 at 17:48 +0200, Justus Winter wrote: > Quoting Richard Braun (2013-06-09 17:14:36) > > On Sun, Jun 09, 2013 at 03:26:22PM +0200, Justus Winter wrote: > > > I cannot rebuild the hurd package (both the one from sid & from > > > alioth). Before digging deeper into this, I just wante

Re: trouble building hurd debian package, alioth confusion

2013-06-09 Thread Justus Winter
Quoting Richard Braun (2013-06-09 17:14:36) > On Sun, Jun 09, 2013 at 03:26:22PM +0200, Justus Winter wrote: > > I cannot rebuild the hurd package (both the one from sid & from > > alioth). Before digging deeper into this, I just wanted to ask if I'm > > missing something obvious here: > > > > [..

Re: trouble building hurd debian package, alioth confusion

2013-06-09 Thread Richard Braun
On Sun, Jun 09, 2013 at 03:26:22PM +0200, Justus Winter wrote: > I cannot rebuild the hurd package (both the one from sid & from > alioth). Before digging deeper into this, I just wanted to ask if I'm > missing something obvious here: > > [...] > make -C libshouldbeinlibc all > make[3]: Entering d

trouble building hurd debian package, alioth confusion

2013-06-09 Thread Justus Winter
Hi, I cannot rebuild the hurd package (both the one from sid & from alioth). Before digging deeper into this, I just wanted to ask if I'm missing something obvious here: [...] make -C libshouldbeinlibc all make[3]: Entering directory `/media/scratch/teythoon/packages/hurd-pkg/build/libshouldbein

Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option

2009-09-22 Thread olafBuddenhagen
Hi, On Wed, Sep 16, 2009 at 10:26:59PM +0200, computer.enthusiastic wrote: > Another interesting clue is that the gcc error *ONLY* occurs when the > -O2 compiler option is omitted from the ./configure file and, this > way, from the main Makefile. In other words, this error seems not to > interfer

Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option

2009-09-16 Thread Samuel Thibault
computer.enthusiastic, le Wed 16 Sep 2009 22:26:59 +0200, a écrit : > Thanks for your suggestions, I'll try to delve into it to understand if I can > fix it. Any further advice will be very appreciated, of course ;-) Have you > tried to replicate this error on your hurd installation ? I don't have

Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option

2009-09-16 Thread computer.enthusiastic
Hi Samuel, 2009/9/15 Samuel Thibault > It is local to the libpthread/ directory. In principle it should work > thanks to the _FORCE_INLINES define that makes > libpthread/sysdeps/i386/bits/spin-lock-inline.h always provide the > inlines but apparently it doesn't. Could be worth checking why. > >

Re: Debian GNU/Hurd: error building hurd binaries without compiler optimization option

2009-09-15 Thread Samuel Thibault
computer.enthusiastic, le Tue 15 Sep 2009 23:43:46 +0200, a écrit : > The strange thing is that only few days ago I compiled without errors at least > the content of certain directories (for example /console or /console-client) > with the debug option enabled and the optimization disabled. > > Is

Debian GNU/Hurd: error building hurd binaries without compiler optimization option

2009-09-15 Thread computer.enthusiastic
Hello, I'm trying to natively rebuild (on a Debian GNU/Hurd system) some binaries from the hurd source package (20090404-1), but I can't figure out how to solve a compilation error. My system has been recently updated using "apt-get update" and "apt-get upgrade" commands. The installed gcc compi

Error cross-building Hurd (glibc2.18)

2008-05-11 Thread Ashish Gokhale
Hi All, I am trying to build Hurd system. I get following error when i am trying to build Glibc 2.18. --- + /home/project/hurd/root/src/glibc/configure --without-cvs --build=i686-pc-linux-gnu --host=i586-pc-gnu --prefix= --with-headers=/home/ashish/hurd/root/sys_root/include --disable-profile chec