pkgsrc-Bugs archive

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

Re: pkg/59430: Revive pkgsrc on modern AIX



The following reply was made to PR pkg/59430; it has been noted by GNATS.

From: Thomas Klausner <wiz%gatalith.at@localhost>
To: bcallah%openbsd.org@localhost
Cc: NetBSD bugtracking <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/59430: Revive pkgsrc on modern AIX
Date: Sat, 17 May 2025 11:35:34 +0200

 --Mc8/gCV43M6GriRh
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 Thanks for the PR!
 
 I read your blog post, and found:
 
 > pkg_add: libnbcompat-20250303: warning: was built for a different platform: pkg_add: AIX/powerpc64 7.2 (pkg) vs. AIX/powerpc64 2 (this host)
 
 Can you please provide the outputs of:
 - pkg_info -Q OS_VERSION  some-binary-package.tgz
   # should be 7.2
 - uname -r
   # same
 - gcc -o uname uname.c; ./uname
   # this is the interesting part
 
 after saving the attachment as uname.c?
 
 Thanks,
  Thomas
 
 --Mc8/gCV43M6GriRh
 Content-Type: text/x-c; charset=us-ascii
 Content-Disposition: attachment; filename=uname.c
 
 #include <errno.h>
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
 #include <sys/utsname.h>
 
 struct utsname host_uname;
 int main(int argc, char *argv[]) {
   if (uname(&host_uname) < 0) {
     printf("uname failed: %s\n", strerror(errno));
     return 1;
   }
   printf("version: %s\n", host_uname.version);
   printf("release: %s\n", host_uname.release);
   return 0;
 }
 
 --Mc8/gCV43M6GriRh--
 


Home | Main Index | Thread Index | Old Index