pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg_install-20090911 not building on AIX 5.3





Louis Guillaume wrote:
Hi - I just attempted to build the latest pkg_install on AIX and received these problems in the build phase.

The first attempt was simply a:

  $ bmake pacakge

/usr/pkgobj/pkgtools/pkg_install/work/.xlc/bin/xlc: 1501-210 (S) command option Wstrict-prototypes contains an incorrect subargument
*** Error code 40

... for the second attempt, I used:

  $ WARNS=0 NOGCCERROR=1 USE_DESTDIR=yes bmake package

and received this error...

bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 6: warning: String comparison operator should be either == or != bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 6: Malformed conditional (${WARNS} > 0) bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 12: warning: String comparison operator should be either == or != bmake: "/usr/pkg/share/mk/bsd.sys.mk" line 12: Malformed conditional (${WARNS} > 1)
bmake: Fatal errors encountered -- cannot continue

bmake: stopped in /usr/pkgobj/pkgtools/pkg_install/work/libfetch
*** Error code 1

Stop.

Any help would be great. It would also be a big help to get the fix into pkgsrc-2009Q3 if possible.

Louis



Not sure what I did differently today, but it seemed to build ok. The only difference I could think of was setting USE_DESTDIR=yes before WARNS=0.

But it could have just been an unlcean work directory.

I think we're in good shape.

Should I be setting WARNS=0 and NOGCCERROR globally in mk.conf or something?

Louis

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature



Home | Main Index | Thread Index | Old Index