pkgsrc-Users archive

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

Re: Error building GNUstep



On 02/17, Luke Lollard wrote:
> Hello, I'm following this documentation to install GNUstep on NetBSD
> 10.0:
> https://mediawiki.gnustep.org/index.php/Platform:BSD#NetBSD
> 
> I've run into some issues along the way. The first was an error while
> compiling the examples. I found something online that is essentially the
> same error I ran into:
> http://shadow.netbsd.org/pub/pkgsrc/packages/reports/HEAD/NetBSD-9.0-x86_64/20240615.1049/gnustep-examples-1.3.0nb28/build.log
> 
> For a short-term fix, I removed the lines in the makefile and PLIST for
> the service example and md5Digest.app.
> 
> But now I'm stuck on ProjectCenter. For some reason it won't finish
> `make package` and I'm not sure what to do at this point. This is where
> I get stuck:
> 
> Making install for bundle ProjectCenter...
> Skipping standard installation of ProjectCenter as requested by makefile
> Making install for app ProjectCenter...
>  Creating /usr/pkgsrc/devel/ProjectCenter/work/.destdir//usr/pkg/lib/GNUstep/Applications...
>  Installing bundle directory...
>  Creating /usr/pkgsrc/devel/ProjectCenter/work/.destdir//usr/pkg/bin/....
> => Automatic manual page handling
> => Generating post-install file lists
> => Checking file-check results for ProjectCenter-0.6.2nb24
> => Creating binary package /usr/pkgsrc/devel/ProjectCenter/work/.packages/ProjectCenter-0.6.2nb24.tgz
> pkg_create: unknown group name for gid 125

Hi, Luke!

I don't actually know, but maybe the "unknown group name" message above
means that pkg_create fails to create the binary package?

> mv: rename /usr/pkgsrc/devel/ProjectCenter/work/.packages/ProjectCenter-0.6.2nb24.tmp.tgz to /usr/pkgsrc/devel/ProjectCenter/work/.packages/ProjectCenter-0.6.2nb24.tgz: No such file or directory

Does the following tmp file exist, which is what it's trying to move?

  /usr/pkgsrc/devel/ProjectCenter/work/.packages/ProjectCenter-0.6.2nb24.tmp.tgz

> I'm very new to NetBSD and would love to learn how to fix this. Is this
> because this is an old version of ProjectCenter (the latest is 0.7.0)?

Probably not because I see that it exists at

  https://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/x86_64/10.0_2024Q4/All/

But then again, I'm just guessing that you're on x86_64; are you?

BTW, you can install binary packages instead of compiling from source.
If you want to compile from source, that's of course totally fine and
supported.  But if you don't care, I thought I'd mention it in case you
didn't know that, and also because on the wiki page you're following,
the OpenBSD instructions install a binary package even though it's
possible to build from source on that platform too.  So, I'm not sure
why the instructions would have you build from source on one platform
but not another when they both support building from source.  NetBSD has
a pkg_add program for installing binary packages.  This is noted in the
"quickstart" section of

  https://pkgsrc.org/

But I think more common on NetBSD is to use pkg_add once to install
pkgin, and then use pkgin from then on as it seems to imply in the
"quickstart" section.

Regards,

Lewis


Home | Main Index | Thread Index | Old Index