Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'NoneType' object has no attribute 'packageInfo' #229

Open
ghost opened this issue Jun 6, 2022 · 1 comment
Open

'NoneType' object has no attribute 'packageInfo' #229

ghost opened this issue Jun 6, 2022 · 1 comment

Comments

@ghost
Copy link

ghost commented Jun 6, 2022

This error is quite useless to users. I have no clue what is wrong.
This is the recipe I have been working on, called dino-0.3.0.recipe

SUMMARY="Modern XMPP (\"Jabber\") Chat Client using GTK+/Vala"
DESCRIPTION="Dino is a modern open-source chat client for the desktop. It focuses on providing a clean and reliable Jabber/XMPP experience while having your privacy in mind."
HOMEPAGE="https://dino.im/"
COPYRIGHT="2016 – 2022 Dino Team"
LICENSE="GNU GPL v3"
REVISION="1"
SOURCE_URI="https://github.com/dino/dino/releases/download/v$portVersion/dino-$portVersion.tar.gz"
CHECKSUM_SHA256="3970cacf53ad328bb848dd19711826797fb8aed510e9fbf7ffac2ad7cb11dc1e"
PATCHES="
	"
#ADDITIONAL_FILES="
#	dino.rdef.in
#	"

ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"

PROVIDES="
	dino$secondaryArchSuffix = $portVersion
	app:dino
	"
	
REQUIRES="
	haiku$secondaryArchSuffix
	lib:libgtk_3$secondaryArchSuffix >= 3.22
	"

BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	devel:libgtk_3$secondaryArchSuffix >= 3.22
	"
BUILD_PREREQUIRES="
	cmd:cmake
	cmd:cc
	cmd:ninja
	cmd:valac >= 0.34
	"



BUILD()
{
	runConfigure
	ninja $jobArgs
}

INSTALL()
{
	make install
}

This is how i called haikuporter: haikuporter --get-dependencies dino

and this is the output:

~/proj/haikuports/net-im/dino haikuporter --get-dependencies dino                                   
Checking if any dependency-infos need to be updated ...
Looking for stale dependency-infos ...
----------------------------------------------------------------------
net-im::dino-0.3.0
        /boot/home/proj/haikuports/net-im/dino/dino-0.3.0.recipe
----------------------------------------------------------------------
Skipping download of source for dino-0.3.0.tar.gz
Validating checksum of dino-0.3.0.tar.gz
Unpacking source of dino-0.3.0.tar.gz
Initialized empty Git repository in /boot/home/proj/haikuports/net-im/dino/work-0.3.0/sources/dino-0.3.0/.git/
Fetching package for cmd:valac >= 0.34 ...
    HTTPS: Resolving https://eu.hpkg.haiku-os.org/haikuports/master/x86_64/current/repo.sha256
    HTTPS: Hostname resolved to: 206.189.242.242:443
    HTTPS: Connection to eu.hpkg.haiku-os.org on port 443.
    HTTPS: Connection opened, sending request.
--> HTTPS: GET /haikuports/master/x86_64/current/repo.sha256 HTTP/1.1

--> HTTPS: Host: eu.hpkg.haiku-os.org
--> HTTPS: Accept: */*
--> HTTPS: Accept-Encoding: gzip
--> HTTPS: Connection: close
--> HTTPS: User-Agent: Services Kit (Haiku)
    HTTPS: Request sent.
    HTTPS: Status line received: Code 200 (OK)
<-- HTTPS: Accept-Ranges: bytes
<-- HTTPS: Content-Length: 64
<-- HTTPS: Content-Type: text/plain
<-- HTTPS: Date: Mon, 06 Jun 2022 08:21:23 GMT
<-- HTTPS: Etag: "62957fb9-40"
<-- HTTPS: Last-Modified: Tue, 31 May 2022 02:38:49 GMT
<-- HTTPS: Server: nginx/1.20.2
<-- HTTPS: Connection: close
    HTTPS: 8 headers and 0 bytes of data remaining
vala-0.56.0-1 from repository system is already installed.
Nothing to do.
'NoneType' object has no attribute 'packageInfo'
~/proj/haikuports/net-im/dino 
@jmairboeck
Copy link
Member

The empty PATCHES variable looks suspicious, have you tried removing it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant