Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950633 - [guru] app-misc/ollama-0.5.7-r1 installs shell script that uses non-POSIX features
Summary: [guru] app-misc/ollama-0.5.7-r1 installs shell script that uses non-POSIX fea...
Status: RESOLVED FIXED
Alias: None
Product: GURU
Classification: Unclassified
Component: Package issues (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Paul Zander
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: qa-guru
  Show dependency tree
 
Reported: 2025-03-05 12:59 UTC by Agostino Sarubbo
Modified: 2025-04-01 08:45 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.xz (build.log.xz,86.71 KB, application/x-xz)
2025-03-05 12:59 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2025-03-05 12:59:55 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-misc/ollama-0.5.7-r1 installs shell script that uses non-POSIX features.
Discovered on: amd64 (internal ref: guru_ci)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#QA0058
Comment 1 Agostino Sarubbo gentoo-dev 2025-03-05 12:59:57 UTC
Created attachment 920246 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Larry the Git Cow gentoo-dev 2025-04-01 08:45:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6ffd638c2e5fa38aea21ec6d9b13587807588c24

commit 6ffd638c2e5fa38aea21ec6d9b13587807588c24
Author:     Paul Zander <negril.nx+gentoo@gmail.com>
AuthorDate: 2025-03-31 21:32:01 +0000
Commit:     Paul Zander <negril.nx+gentoo@gmail.com>
CommitDate: 2025-03-31 21:32:01 +0000

    sci-ml/ollama: add 0.6.3, update 9999
    
    Reworked the openrc init files.
    Installs to /usr/$(get_libdir) now.
    Avoids pointless copying for CUDA/ROCM files just to delete them afterwards.
    
    Closes: https://bugs.gentoo.org/950633
    Closes: https://bugs.gentoo.org/946268
    Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>

 sci-ml/ollama/Manifest                             |   2 +
 .../files/ollama-0.6.3-use-GNUInstallDirs.patch    |  26 ++
 sci-ml/ollama/files/ollama.confd                   |  11 +
 sci-ml/ollama/files/ollama.init                    |  27 +-
 sci-ml/ollama/ollama-0.6.3.ebuild                  | 301 +++++++++++++++++++++
 sci-ml/ollama/ollama-9999.ebuild                   |  48 ++--
 6 files changed, 374 insertions(+), 41 deletions(-)