Operating System - HP-UX
1823125 Members
3377 Online
109646 Solutions
New Discussion юеВ

Re: NetBSD pkgsrc under HPUX

 
Adrien Auzanneau
New Member

NetBSD pkgsrc under HPUX

Hello,

IтАЩm searching a way to run netbsd pkgsrc under HP-UX. I found quite old post on NetBSD Mailing List. Does someone run it ? Have a working binary bootstrap ?
My test config is HP-UX rp3440 B.11.23.
IтАЩm using pkgsrc-current from last week.
When run bootstrap IтАЩve got this error:

cc -I. -I. -g -DHAVE_CONFIG_H -c bits.c
(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C product; ignored.

IтАЩve tryed to install everything related to C/ANSIтАжalways got this errorтАж
So IтАЩve installed precompiled binary pkg of gcc-1.4.2 (from hpux.connect.org.uk).
And simply change the default cc (/usr/bin/cc@ -> /usr/local/bin/gcc)
Now, when running bootstrap, IтАЩve got this error:

H=\"/usr/pkg/share/mk\" -c /sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c
/sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c:272: error: conflicting types for 'sigpause'
/usr/include/sys/signal.h:300: error: previous declaration of 'sigpause' was here
*** Error exit code 1
Stop.
===> exited with status 1
aborted.

Just in case IтАЩve also installed precompiled bin pkg of make-3.81 (from hpux.connect.org.uk) then change the link (/usr/bin/make@ -> /usr/local/bin/gmake)

/pkg/share/mk\" -I../../libnbcompat -c -o sigcompat.o /sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c
/sbt1/adrien/wrk/pkgsrc/bootstrap/work/bmake/sigcompat.c:272: error: conflicting types for 'sigpause'
/usr/include/sys/signal.h:300: error: previous declaration of 'sigpause' was here
make: *** [sigcompat.o] Error 1
===> exited with status 1
aborted.

IтАЩm browsing to find a tip, but if someone got an ideaтАж.

Thanks in advance,
Regards,
--
Adrien Auzanneau
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: NetBSD pkgsrc under HPUX

Shalom,

This is bad source codes or headers. The code will require adjustment to run on HP-UX.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Florian Heigl (new acc)
Honored Contributor

Re: NetBSD pkgsrc under HPUX

That's a common error for pkgsrc on hp-ux, like everyone hits it. I forgot the solution though, but that's not that big an issue, as the main issue is after the successful zoularis (the virtual machine for the toolchain bootstrap)/pkgsrc bootstrap, fixing a lot of make files and generating a prefs file for hp-ux. I wasted various hours over the last years trying to fix things that have been all crushed within the last few days by tobias nguyen. I suggest you wait another week till he's stabilized pkgsrc; there's already a few people waiting to make bulk builds.

(I REALLY look forward to paying back to the hppa for dumping 10.20/11.00 support)

Besides, You got mail now.
yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: NetBSD pkgsrc under HPUX

I just found an old note of mine regarding the sigpause issue, while I wasn't right about the root issue, it still cheered me up now.

http://justblog.blogdns.org/netzwerk/stories/2897/

Besides, I've started building packages for 11.11 and Tobias' patches seem to make pkgsrc bootstrap work on 11.11 now.

Mirror of the bootstrap kit & diffs
http://wartungsfenster.dyndns.org/outbox/hpux_stuff/

Prebuilt packages for 11.11/PARISC2.0
http://wartungsfenster.dyndns.org/outbox/hpux_stuff/

List of the issues I currently know (mostly GNU software being confused at the sight of an AnsiC compiler, also a few linker issues, that currently are taking out quite a few packages.
http://justblog.blogdns.org/netzwerk/stories/2958/

So long.


yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: NetBSD pkgsrc under HPUX

Alright, 50% of those links were wrong.

Bootstrap & diffs mirror:
http://wartungsfenster.dyndns.org/outbox/index.php?path=hpux_stuff/
Packages:
http://wartungsfenster.dyndns.org/mirrors/pkgsrc/All/

sorry for the inconvenience.
yesterday I stood at the edge. Today I'm one step ahead.
Florian Heigl (new acc)
Honored Contributor

Re: NetBSD pkgsrc under HPUX

# ls /usr/pkgsrc/packages/All/ | wc -l
520
(and that's with some show-stopper bugs left, like linking against libz or openssl. I think it's going along nicely!)

Personally, I love the irssi package :)
yesterday I stood at the edge. Today I'm one step ahead.