Giter VIP home page Giter VIP logo

Comments (6)

talex5 avatar talex5 commented on July 17, 2024

That's odd. The code allows it:

https://github.com/0install/0install/blob/master/ocaml/zeroinstall/distro_impls.ml#L901

And the tests seem to use slashes:

begin match distro#get_impls_for_feed ~problem:failwith (make_test_feed "sys-apps/portage") |> to_impl_list with

Perhaps the distribution attribute is missing, so it doesn't know this is for Gentoo? Do you have an example?

from 0install.

bastianeicher avatar bastianeicher commented on July 17, 2024

Sample feed provided by @pmiess: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml

The element in question is <package-implementation distributions="Gentoo" package="media-libs/giflib"/>.

from 0install.

talex5 avatar talex5 commented on July 17, 2024

Works for me:

docker create -v /usr/portage --name myportagesnapshot gentoo/portage:latest /bin/true
docker run --rm -it --volumes-from myportagesnapshot gentoo/stage3-amd64:latest /bin/bash
emerge net-misc/curl
emerge app-crypt/gnupg
emerge media-libs/giflib
wget https://downloads.sourceforge.net/project/zero-install/0install/2.12.3/0install-linux-x86_64-2.12.3.tar.bz2
tar xf /0install-linux-x86_64-2.12.3.tar.bz2
./0install-linux-x86_64-2.12.3/install.sh local
0install select --command= https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml

Gives:

0install: /usr/lib64/libcurl.so.4: no version information available (required by 0install)
Feed: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml                                           
The feed is correctly signed with the following keys:
- 6A66E9E5CA43E23F678478B96ABB34B516AD1160
Warning: Nothing known about this key!
Do you want to trust this key to sign feeds from 'pmiess.gitlab.io'?
[Y/N] y
- URI: https://pmiess.gitlab.io/0install-feeds/gnuwin32/giflib.xml
  Version: 5.1.4
  Path: (package:gentoo:media-libs/giflib:5.1.4:x86_64)

from 0install.

talex5 avatar talex5 commented on July 17, 2024

(the message you mention may appear on other distributions as the name isn't valid there, but it's just a log message and only shown with verbose logging on)

from 0install.

pmiess avatar pmiess commented on July 17, 2024

The message appears on windows, I don't see why it would complain that Gentoo package names are not valid when they are on Gentoo. However if your happy with that I guess as long as its not hurting anything I can ignore it.

from 0install.

talex5 avatar talex5 commented on July 17, 2024

It's not complaining, it's just saying that it's ignoring it because it's not a valid name (on the host platform):

info: Ignoring invalid distribution package name 'media-libs/giflib'

Maybe it should add (for host platform) or something.

from 0install.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.