Giter Club home page Giter Club logo

slackrepo's People

Contributors

aclemons avatar bassmadrigal avatar idlemoor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

slackrepo's Issues

Config File Madness

I'm on Slackware64-Current iso of Dec 2018. That has proved solid enough. I've cloned ponce's repo of current slackbuilds, and I'm getting issues with your tool. My disk is a 250G ssd laid out
sda1 - common boot
sda2 - commun swap
sda3 - Mint / (spare system) (30G)
sda4 - Extended Partition
sda5 - Slackware64 /home (30G)
sda6 - Slackware54 / (25G)
sda7 (135G) Scratch & data. It houses my VMs, ponce's repo, my current install dvd as a directory tree, etc.
My /etc/slackrepo/skackrrepo_ponce.conf is here: https://pastebin.com/EUBCXkVN

Bug is this: wherever, I invoke slackrepo, it makes 2 files and a directory. It has been making files from the conf file comments around line 69/70, but I have deleted those in the last revision of the conf. Refer to your own, around line 69/70, you will find the word 'openjdk,' which is one file, and about 3 lines of comments beginning with 'jack2# and ending with 'SUBSTITUTE=' . Both are created as null files of zero length. The directory is '\ /' (=backslash, space, forward slash). Slackware shells automatically insert a \ in front of spaces, but the backslash is coloured blue, indicating it is a part of the directory name. In this directory is the full source setting, mnt/virtual/slackrepo/ponce/slackbuilds-current/(whatever I'm installing). With the current file, the response is this

bash-4.4$ cd /mnt/virtual/slackrepo/ponce/slackbuilds-current
bash-4.4$ ls
ChangeLog.txt academic audio desktop games graphics haskell misc network perl ruby
README accessibility business development gis ham libraries multimedia office python system
bash-4.4$ sudo slackrepo build dice
/etc/slackrepo/slackrepo_ponce.conf: line 79: !libwebp: command not found
mkdir: cannot create directory ‘’: No such file or directory
slackrepo: Failed to create log directory:
bash-4.4$

I need hardly say '!libwebp' is not a command. I don't underestimate the difficulty of bash scripting.
I am also running with these environment variables
bash-4.4$ cat /etc/profile.d/slackrepo.sh
#!/bin/sh
export REPO=ponce
export SLACKVER=slackware-current
export ARCH=x86_64
export LOGDIR=/var/log/slackrepo
export HINTDIR=/etc/slackrepo/%REPO%/hintfiles
export DEFAULT_HINTDIR=/etc/slackrepo/%REPO%/default_hintfiles/slackware-current

I'm pretty sure if I reinstalled, set the variables again as in the pastebin file, I could get going. I can't seem to evade storing the source of packages built (which I don't want to), or working as root.

Wrong source download url while building jdk

I use version 0.2.0rc1. After the command
# slackrepo build jdk
I got the following message:

Testing SlackBuild files ... done.
:-/ development/jdk SKIPPED Source not available /-:
Please download the source
  from: https://download.oracle.com/otn-pub/java/jdk/8u45-b14/jdk.tar.gz
  to:   /var/lib/slackrepo/SBo/source/development/jdk/x86_64

This url is wrong, in particular, the source file should have the name
jdk-8u45-linux-x64.tar.gz.

After downloading the correct file slackrepo build the package without problems.

slackrepo sporadically fails on 14.2

after upgrading to 14.2 slackrepo fails.
the output is:

Starting system/mksh (add version R52) 2016-07-03 23:49:56
Verifying source files ...
Running mksh.SlackBuild ...                                         ETA 23:51:??
env MAKEFLAGS='-j5' /usr/libexec/slackrepo/unbuffer nice -n 5 sh ./mksh.SlackBuild
sh: line 0: cd: /tmp/slackrepo.gqReaQ/slackbuild_mksh: No such file or directory
sh: ./mksh.SlackBuild: No such file or directory
system/mksh: mksh.SlackBuild failed (status 127)                        23:49:56
Unmounting chroot ...
:-( system/mksh FAILED )-:

After changing the mount of /tmp back from tmpf to a "normal" file system it worked for some time, then failed again. I'll investigate a bit further.

Cannot untar "autojump" source tarball due to unexpected file name

While trying to build system/autojump from SBo 14.1 I encountered an error. I am the maintainer and I recently updated autojump to version 22.2.4. The tarball for this software was renamed from "autojump_v21.2.2.tar.gz" to "release-v22.2.4.tar.gz". autojump 22.2.4 builds just fine on my system when I run "sh autojump.SlackBuild" as root. For some reason slackrepo is unable to recognize the new file name and fails to extract the tarball.

Build log with error
Starting system/autojump (add version 22.2.4) 2015-11-08 20:11:17
Verifying source files ... 
Running autojump.SlackBuild ...                                     ETA 20:11:??
env MAKEFLAGS='-j9' nice -n 5 sh ./autojump.SlackBuild
tar: /tmp/slackrepo.opB53J/slackbuild_autojump/release-v22.2.4.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
system/autojump: autojump.SlackBuild failed (status 2)                  20:11:17
:-( system/autojump FAILED )-:
Relevant changes to system/autojump

(Should mirror SBo exactly)

I was unable to find what exactly in slackrepo is causing this issue. I do know that slackrepo is expecting a different name for the source tarball than it is receiving when downloaded.

Other information

(build command, contents of slackrepo temp working directory)

root@slackrepo:~# slackrepo --keep-tmp build  autojump
Checking whether git is clean ... yes.
git repo: /var/lib/slackrepo/SBo/slackbuilds
branch:   14.1
date:     Fri Nov  6 20:35:25 MST 2015
revision: 8347f3250d2af1c393ae8c7a6d82c499a5adc4f1
title:    Public www update: Sat Nov  7 03:34:36 UTC 2015

================================================================================
system/autojump                                                         20:23:46
================================================================================

Calculating dependencies ... none.

Starting system/autojump (add version 22.2.4) ------------------------- 20:23:46
Verifying source files ... done.
Running autojump.SlackBuild ...                                     ETA 20:24:??
env MAKEFLAGS='-j9' nice -n 5 sh ./autojump.SlackBuild
system/autojump: autojump.SlackBuild failed (status 2)                  20:23:46
tar: /tmp/slackrepo.bZahFO/slackbuild_autojump/release-v22.2.4.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
See /var/log/slackrepo/SBo/system/autojump/build.log
:-( system/autojump FAILED )-:

================================================================================
SUMMARY                                                                 20:23:47
================================================================================

Logfile:     /var/log/slackrepo/SBo/slackrepo_2015-11-08_20:23:46.log
Runtime:     0h 0m 1s
Failed:      1
  system/autojump

root@slackrepo:~# cd /tmp/slackrepo.bZahFO/slackbuild_autojump
root@slackrepo:/tmp/slackrepo.bZahFO/slackbuild_autojump# ls
README  autojump-release-v22.2.4.tar.gz@  autojump.SlackBuild  autojump.info  slack-desc
root@slackrepo:/tmp/slackrepo.bZahFO/slackbuild_autojump# ls -l
total 20
-rw-r--r-- 1 root root  866 Nov  8 18:47 README
lrwxrwxrwx 1 root root   77 Nov  8 20:23 autojump-release-v22.2.4.tar.gz -> /var/lib/slackrepo/SBo/source/system/autojump/autojump-release-v22.2.4.tar.gz
-rw-r--r-- 1 root root 2913 Nov  8 18:47 autojump.SlackBuild
-rw-r--r-- 1 root root  304 Nov  8 18:47 autojump.info
-rw-r--r-- 1 root root  838 Nov  5 13:25 slack-desc

circular dependencys

for example: ffmpeg has the optional depencency opencv (enabled by custom hintfile), opencv has the optional dependency ffmpeg (enabled in the default hintfile).
when trying to build ffmpeg then, slackrepo loops while building the dependency tree. when removing opencv from the ffmpeg hintfile, all works as usual.

bash completion file

Good evening,
I just wanted to let everyone know that I wrote a bash-completion script for slackrepo, it's available on my github in case someone wanted to give it a try.

It's working well for me but being the first time I wrote this kind of scripts it's possible that it doesn't work as expected for everyone.

I hope it turns to be useful.
cheers

Possible bug with rebuilding when using rebased git branch

Hi,

I have local branch named, well, "local" ;-)
I do my own modifications here and then run slackrepo update to rebuild the dependent packages.
When there's a public SBo update, I then rebase my local branch on 14.2 (or recreate the local branch by cherry picking what I need if I see there is going to be too much fuss over rebasing).

Today something strange happened.
I rebased my local branch on 14.2 and:

  • packages depending on qt5 want to be rebuilt, although I previously rebuilt all of them when I modified qt5 SlackBuild (and before rebuilding, I committed my changes to the local branch) and qt5 was not modified on SBo for this public update,
  • packages depending on libvirt want to be rebuilt. Sure enough, I updated libvirt in my local branch before it was updated on SBo, but when I run git cherry -v 14.2 before rebasing, it was confirmed that my modifications are the same as SBo's.

Or at least that's what I think is going on ;-)
Thank you for your assistance :-)
Let me know if you need further details.

I'm on revision 65b100d.

Here's what I'm talking about:

$ slackrepo --preview update
Pending:     21
[..]
  academic/pulseview (rebuild for updated deps)
  desktop/qt5ct (rebuild for updated deps)
  development/Sphinx (rebuild for updated deps)
  development/qbs (updated + rebuild for updated deps)
  development/qt-creator (rebuild for updated deps)
  graphics/converseen (rebuild for updated deps)
  libraries/SDL2 (update for version 2.0.6)
  libraries/html5lib (rebuild for updated deps)
  libraries/libvirt-glib (rebuild for updated deps)
  libraries/libvirt-python (updated + rebuild for updated deps)
  libraries/qt5-webkit (rebuild for updated deps)
  multimedia/ffmpeg (rebuild for updated deps)
  multimedia/guvcview (rebuild for updated deps)
  multimedia/smplayer (rebuild for updated deps)
  network/spice (rebuild for updated deps)
  network/wireshark (rebuild for updated deps)
  office/calibre (rebuild for updated deps)
  python/psutil (update for version 5.3.1)
  python/python-dateutil (rebuild for updated deps)
  python/six (update for version 1.11.0)
  system/virt-manager (rebuild for updated deps)

--
Best regards,
Andrzej Telszewski

Option to use a different lowerdir in overlay mount

Use a different lowerdir on overlay mount instead of '/'...

Sample:
Install all slackware packages on alternate root:
installpkg --root $LOWERDIR/ --terse /mnt/cdrom/slackware64/{a,ap,d,e,f,k,kde,l,n,t,tcl,x,xap}/*.t?z

With that the build tree is always clean...

(Sorry my English...)

tolua++ on current refuses to build

Hello,
I was trying to build conky, and slackrepo attempted to build tolua++ as a dependency but didn't complete and I can't understand what the problem is.
here is the build.log for tolua++ in case someone wanted to have a look. I've tried building it outside of slackrepo using the same build scripts in the same build environment and it works. Also the download links for the source are working well.

thanks in advance.

Separate hinfiles from slackrepo

Hi,

This is just a suggestion.
Maybe you could split slackrepo and have separate slackrepo-hinfile package?
You could then just update hintfiles and release them, without issuing another releases of slackrepo.

Well, I don't use your hintfiles, so that's the main reason for this suggestion ;-)

--
Best regards,
Andrzej Telszewski

Getting an error while building: "env: unbuffer: No such file or directory"

This is from the log file:

Starting desktop/screenfetch (add version 3.6.5) 2015-01-08 10:41:14
Verifying source files ...
Running screenfetch.SlackBuild ...
env MAKEFLAGS='-j3'  unbuffer sh ./screenfetch.SlackBuild
env: unbuffer: No such file or directory
ERROR: desktop/screenfetch: screenfetch.SlackBuild failed (status 127)

I dont know why it is passing unbuffer while building, I dont think I have specified it anywhere.
I will look at my configs though to see if I missed anything :)
Using git version of the package.

This is the complete output: http://paste2.org/xEEFWBD0
And my config file is as follows:

# cat ~/.slackreporc
# Config file for slackrepo
REPO=SBo
SBREPO=/mnt/datalinux/git/slackbuilds
PKGREPO=/home/aaditya/packages
SRCREPO=/home/aaditya/src
HINTDIR=/home/aaditya/slackrepo/hintfiles
LOGDIR=/home/aaditya/slackrepo/logs
QUEUEDIR="/home/aaditya/slackrepo/queuefiles"
TMP=/tmp
NUMJOBS='-j3'
TAG='_SBo'
PKGTYPE='tgz'
verbose='y'
VERY_VERBOSE='n'
KEEP_TMP='y'
MAKE_VERBOSE='y'
TEST='y'

Edit-
Downgrading to version 0.1.2 provided on the website seems to work.

Starting desktop/screenfetch (add version 3.6.5) ------------------------------
Testing SlackBuild files ...
Verifying source files ...
Testing download URLs ...
Running screenfetch.SlackBuild ...
Testing screenfetch-3.6.5-noarch-1_SBo.tgz...
:-) desktop/screenfetch: Added version 3.6.5 (screenfetch: The Bash Screenshot Information Tool) (-:

openrc

openrc is a dependency for openrc-services, after installed removes inittab.
How can i tell slackrepo in hintfile to make a backup to inittab (cp /etc/inittab /etc/inittab.bak)?
and then restore back with this:
CLEANUP="mv /etc/inittab.bak /etc/inittab"

Bad permissions on sudoers.d

Hi,

The provided SlackBuild creates package which causes /etc/sudoers.d and /etc/sudoers.d/* to have wrong permissions.

'Others' should not have any of the read/write/execute bit set.
Only the 'owner' should have read/write/execute and the 'group' read/execute bits set (execute for directories only of course).

I would suggest to use 'install' with appropriate permissions in the SlackBuild, instead of plain old & good cp ;-)

--
Best regards,
Andrzej Telszewski

noarch issues

As I mentioned over at LQ, I am still having the noarch being ignored by slackrepo. But I think that I've narrowed it down to when it gets ignored is if the SlackBuild has noarch defined like:

ARCH=${ARCH:-noarch}

This is even happening when I make a hint file and it only has "ARCH=noarch" in it.

So technically the problem is resolved on my end, I just redefined my build scripts to ARCH=noarch. But there are a handful or two SlackBuilds on SBo that have noarch defined that way.

Slackrepo uninstalls package while building

Hi David,

To continue along the bug #1 I had filed, slackrepo uninstalls the package I am building:

Before-

# asbt -q screenfetch
screenfetch-3.6.5-noarch-1_SBo

Build-

# slackrepo build screenfetch

Configuration:
  build
  --repo=SBo
  --very-verbose
  --dry-run
  --keep-tmp
  SBREPO="/mnt/datalinux/git/slackbuilds"
  SRCREPO="/home/aaditya/slackrepo/src"
  PKGREPO="/home/aaditya/slackrepo/packages"
  PKGBACKUP=""
  HINTDIR="/home/aaditya/slackrepo/hintfiles"
  QUEUEDIR="/home/aaditya/slackrepo/queuefiles"
  LOGDIR="/home/aaditya/slackrepo/logs"
  TMP="/tmp"
  DATABASE="/var/lib/slackrepo/SBo/database_SBo.sqlite3"
  ARCH="x86_64"
  TAG="_SBo"
  PKGTYPE="tgz"
  NUMJOBS="-j3"
  USE_GENREPOS="0"

Creating backup repository: 
mkdir: cannot create directory ‘’: No such file or directory
Error: unable to open database "/var/lib/slackrepo/SBo/database_SBo.sqlite3": unable to open database file
Checking git ...

Git repo:   /mnt/datalinux/git/slackbuilds
  branch:   master
  date:     Wed Jan  7 18:11:53 IST 2015
  revision: 7ffd47695693aad24a227ea0cfee70aa54fa1094 (DIRTY)
  title:    Merge branch 'master' of git://slackbuilds.org/slackbuilds

WARNING: OpenAL-1.16.0-x86_64-1_SBo: package is already installed
WARNING: TLP-0.6-x86_64-1_SBo: package is already installed
WARNING: acpi-1.7-x86_64-1_SBo: package is already installed
WARNING: acpica-20141107-x86_64-1_SBo: package is already installed
WARNING: aegisub-3.2.2-x86_64-1_SBo: package is already installed
WARNING: apache-ant-1.9.4-noarch-1_SBo: package is already installed
WARNING: apache-maven-3.1.1-noarch-1_SBo: package is already installed
WARNING: asbt-1.1-noarch-2_SBo: package is already installed
WARNING: atkmm-2.22.7-x86_64-1_SBo: package is already installed
WARNING: cairomm-1.10.0-x86_64-1_SBo: package is already installed
WARNING: catfish-1.2.1-x86_64-1_SBo: package is already installed
WARNING: clearlooks-phenix-theme-20131228-noarch-1_SBo: package is already installed
WARNING: compton-0.1_beta2-x86_64-1_SBo: package is already installed
WARNING: conky-1.9.0-x86_64-1_SBo: package is already installed
WARNING: dkms-2.2.0.3-x86_64-1_SBo: package is already installed
WARNING: dmenu-4.5-x86_64-1_SBo: package is already installed
WARNING: dosbox-0.74-x86_64-2_SBo: package is already installed
WARNING: driconf-0.9.1-x86_64-1_SBo: package is already installed
WARNING: fakeroot-1.12.4-x86_64-1_SBo: package is already installed
WARNING: ffms2-2.20-x86_64-1_SBo: package is already installed
WARNING: freexl-1.0.0e-x86_64-1_SBo: package is already installed
WARNING: fuseiso-20070708-x86_64-1_SBo: package is already installed
WARNING: galculator-2.1.3-x86_64-1_SBo: package is already installed
WARNING: gcolor2-0.4-x86_64-3_SBo: package is already installed
WARNING: gdal-1.11.1-x86_64-1_SBo: package is already installed
WARNING: geos-3.4.2-x86_64-1_SBo: package is already installed
WARNING: gksu-2.0.2-x86_64-1_SBo: package is already installed
WARNING: glibmm-2.36.2-x86_64-1_SBo: package is already installed
WARNING: gpaint-0.3.3-x86_64-1_SBo: package is already installed
WARNING: gparted-0.19.0-x86_64-1_SBo: package is already installed
WARNING: gst1-plugins-base-1.4.1-x86_64-1_SBo: package is already installed
WARNING: gstreamer1-1.4.1-x86_64-1_SBo: package is already installed
WARNING: gtk-engines-2.20.2-x86_64-2_SBo: package is already installed
WARNING: gtk-engines-unico-1.0.2-x86_64-1_SBo: package is already installed
WARNING: gtkhash-0.7.0-x86_64-1_SBo: package is already installed
WARNING: gtkmm-2.24.4-x86_64-1_SBo: package is already installed
WARNING: gtksourceview-2.10.5-x86_64-1_SBo: package is already installed
WARNING: gtypist-2.9.5-x86_64-2_SBo: package is already installed
WARNING: inxi-2.2.16-noarch-1_SBo: package is already installed
WARNING: lame-3.99.5-x86_64-1_SBo: package is already installed
WARNING: libass-0.10.2-x86_64-1_SBo: package is already installed
WARNING: libburn-1.3.8-x86_64-1_SBo: package is already installed
WARNING: libconfig-1.4.9-x86_64-1_SBo: package is already installed
WARNING: libev-4.15-x86_64-2_SBo: package is already installed
WARNING: libgksu-2.0.12-x86_64-2_SBo: package is already installed
WARNING: libgnomecanvas-2.30.3-x86_64-1_SBo: package is already installed
WARNING: libgtop-2.28.5-x86_64-1_SBo: package is already installed
WARNING: libisofs-1.3.8-x86_64-1_SBo: package is already installed
WARNING: libmp4v2-2.0.0-x86_64-1_SBo: package is already installed
WARNING: libreoffice-4.2.8-x86_64-2_SBo: package is already installed
WARNING: libsigc++-2.2.11-x86_64-1_SBo: package is already installed
WARNING: libunique-1.1.6-x86_64-4_SBo: package is already installed
WARNING: libvpx-1.3.0-x86_64-1_SBo: package is already installed
WARNING: lua-5.1.5-x86_64-1_SBo: package is already installed
WARNING: lxappearance-0.6.1-x86_64-1_SBo: package is already installed
WARNING: lxdm-0.5.0-x86_64-1_SBo: package is already installed
WARNING: lxmed-20120515-noarch-1_SBo: package is already installed
WARNING: mm-common-0.9.7-noarch-1_SBo: package is already installed
WARNING: mousepad-0.3.0-x86_64-1_SBo: package is already installed
WARNING: murrine-0.98.2-x86_64-1_SBo: package is already installed
WARNING: nitrogen-20120806_692fdf7-x86_64-2_SBo: package is already installed
WARNING: opencore-amr-0.1.3-x86_64-1_SBo: package is already installed
WARNING: orc-0.4.22-x86_64-1_SBo: package is already installed
WARNING: pangomm-2.34.0-x86_64-1_SBo: package is already installed
WARNING: pdf2png-0.5-noarch-2_SBo: package is already installed
WARNING: pexpect-3.2-x86_64-1_SBo: package is already installed
WARNING: portaudio-V19-x86_64-2_SBo: package is already installed
WARNING: postgresql-9.3.4-x86_64-1_SBo: package is already installed
WARNING: proj-4.8.0-x86_64-2_SBo: package is already installed
WARNING: pycrypto-2.6.1-x86_64-1_SBo: package is already installed
WARNING: pygobject3-3.10.2-x86_64-1_SBo: package is already installed
WARNING: pyxdg-0.25-x86_64-1_SBo: package is already installed
WARNING: qpdfview-0.4.13-x86_64-1_SBo: package is already installed
WARNING: screenfetch-3.6.5-noarch-1_SBo: package is already installed
WARNING: ssr-0.3.1-x86_64-1_SBo: package is already installed
WARNING: testdisk-6.14-x86_64-1_SBo: package is already installed
WARNING: thermal_daemon-1.3-x86_64-1_SBo: package is already installed
WARNING: thunar-archive-plugin-0.3.1-x86_64-1_SBo: package is already installed
WARNING: uget-1.10.4-x86_64-1_SBo: package is already installed
WARNING: unrar-5.0.14-x86_64-1_SBo: package is already installed
WARNING: viewnior-1.3-x86_64-1_SBo: package is already installed
WARNING: virtualbox-kernel-4.3.20_3.14.24-x86_64-1_SBo: package is already installed
WARNING: volumeicon-0.5.0-x86_64-2_SBo: package is already installed
WARNING: w3m-0.5.3-x86_64-3_SBo: package is already installed
WARNING: wgetpaste-2.25-noarch-1_SBo: package is already installed
WARNING: wol-0.7.1-x86_64-1_SBo: package is already installed
WARNING: wxGTK3-3.0.2-x86_64-1_SBo: package is already installed
WARNING: x264-20131101-x86_64-1_SBo: package is already installed
WARNING: xarchiver-0.5.4-x86_64-1_SBo: package is already installed
WARNING: xclip-0.12-x86_64-1_SBo: package is already installed
WARNING: xfburn-0.5.2-x86_64-1_SBo: package is already installed
WARNING: xfce4-dict-0.7.0-x86_64-1_SBo: package is already installed
WARNING: xfce4-netload-plugin-1.2.4-x86_64-1_SBo: package is already installed
WARNING: xfce4-whiskermenu-plugin-1.4.0-x86_64-1_SBo: package is already installed
WARNING: xfce4-xkb-plugin-0.5.6-x86_64-1_SBo: package is already installed
WARNING: xfsudo-0.5-x86_64-1_SBo: package is already installed
WARNING: xvkbd-3.5-x86_64-1_SBo: package is already installed
WARNING: yajl-2.1.0-x86_64-1_SBo: package is already installed
WARNING: youtube-dl-2014.08.23-noarch-1_SBo: package is already installed
WARNING: zenity-3.6.0-x86_64-1_SBo: package is already installed

===============================================================================
! desktop/screenfetch                                                17:00:06 !
===============================================================================


Starting desktop/screenfetch (add version 3.6.5) [dry run] --------------------
Verifying source files ...
Uninstalling screenfetch-3.6.5-noarch-1_SBo ...
Error: unable to open database "/var/lib/slackrepo/SBo/database_SBo.sqlite3": unable to open database file
Running screenfetch.SlackBuild ...
env MAKEFLAGS='-j3'  unbuffer sh ./screenfetch.SlackBuild

---->8-------->8-------->8-------->8-------->8-------->8-------->8-------->8---

tar: /tmp/slackrepo.gszVKS/slackbuild_screenfetch/screenfetch-3.6.5.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now
screenFetch-3.6.5/
screenFetch-3.6.5/CHANGELOG
screenFetch-3.6.5/COPYING
screenFetch-3.6.5/README.mkdn
screenFetch-3.6.5/TODO
screenFetch-3.6.5/screenfetch-dev
screenFetch-3.6.5/screenfetch.1

Slackware package maker, version 3.14159.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/slackrepo.gszVKS/packages_screenfetch/screenfetch-3.6.5-noarch-1_SBo.tgz

./
install/
install/slack-desc
usr/
usr/doc/
usr/doc/screenfetch-3.6.5/
usr/doc/screenfetch-3.6.5/TODO
usr/doc/screenfetch-3.6.5/README.mkdn
usr/doc/screenfetch-3.6.5/COPYING
usr/doc/screenfetch-3.6.5/CHANGELOG
usr/bin/
usr/bin/screenfetch

Slackware package /tmp/slackrepo.gszVKS/packages_screenfetch/screenfetch-3.6.5-noarch-1_SBo.tgz created.

----8<--------8<--------8<--------8<--------8<--------8<--------8<--------8<---

Built ok:  screenfetch-3.6.5-noarch-1_SBo.tgz
Error: unable to open database "/var/lib/slackrepo/SBo/database_SBo.sqlite3": unable to open database file
:-) desktop/screenfetch: Added version 3.6.5 (screenfetch: The Bash Screenshot Information Tool) [dry run] (-:

===============================================================================
! SUMMARY                                                            17:00:07 !
===============================================================================

Logfile:    /home/aaditya/slackrepo/logs/slackrepo_2015-01-08_17:00:06.log
Runtime:    0h 0m 2s
Dry run OK: 1
  desktop/screenfetch
Skipped:    0
Failed:     0
Aborted:    0
Warnings:   100
  OpenAL-1.16.0-x86_64-1_SBo: package is already installed
  TLP-0.6-x86_64-1_SBo: package is already installed
  acpi-1.7-x86_64-1_SBo: package is already installed
  acpica-20141107-x86_64-1_SBo: package is already installed
  aegisub-3.2.2-x86_64-1_SBo: package is already installed
  apache-ant-1.9.4-noarch-1_SBo: package is already installed
  apache-maven-3.1.1-noarch-1_SBo: package is already installed
  asbt-1.1-noarch-2_SBo: package is already installed
  atkmm-2.22.7-x86_64-1_SBo: package is already installed
  cairomm-1.10.0-x86_64-1_SBo: package is already installed
  catfish-1.2.1-x86_64-1_SBo: package is already installed
  clearlooks-phenix-theme-20131228-noarch-1_SBo: package is already installed
  compton-0.1_beta2-x86_64-1_SBo: package is already installed
  conky-1.9.0-x86_64-1_SBo: package is already installed
  dkms-2.2.0.3-x86_64-1_SBo: package is already installed
  dmenu-4.5-x86_64-1_SBo: package is already installed
  dosbox-0.74-x86_64-2_SBo: package is already installed
  driconf-0.9.1-x86_64-1_SBo: package is already installed
  fakeroot-1.12.4-x86_64-1_SBo: package is already installed
  ffms2-2.20-x86_64-1_SBo: package is already installed
  freexl-1.0.0e-x86_64-1_SBo: package is already installed
  fuseiso-20070708-x86_64-1_SBo: package is already installed
  galculator-2.1.3-x86_64-1_SBo: package is already installed
  gcolor2-0.4-x86_64-3_SBo: package is already installed
  gdal-1.11.1-x86_64-1_SBo: package is already installed
  geos-3.4.2-x86_64-1_SBo: package is already installed
  gksu-2.0.2-x86_64-1_SBo: package is already installed
  glibmm-2.36.2-x86_64-1_SBo: package is already installed
  gpaint-0.3.3-x86_64-1_SBo: package is already installed
  gparted-0.19.0-x86_64-1_SBo: package is already installed
  gst1-plugins-base-1.4.1-x86_64-1_SBo: package is already installed
  gstreamer1-1.4.1-x86_64-1_SBo: package is already installed
  gtk-engines-2.20.2-x86_64-2_SBo: package is already installed
  gtk-engines-unico-1.0.2-x86_64-1_SBo: package is already installed
  gtkhash-0.7.0-x86_64-1_SBo: package is already installed
  gtkmm-2.24.4-x86_64-1_SBo: package is already installed
  gtksourceview-2.10.5-x86_64-1_SBo: package is already installed
  gtypist-2.9.5-x86_64-2_SBo: package is already installed
  inxi-2.2.16-noarch-1_SBo: package is already installed
  lame-3.99.5-x86_64-1_SBo: package is already installed
  libass-0.10.2-x86_64-1_SBo: package is already installed
  libburn-1.3.8-x86_64-1_SBo: package is already installed
  libconfig-1.4.9-x86_64-1_SBo: package is already installed
  libev-4.15-x86_64-2_SBo: package is already installed
  libgksu-2.0.12-x86_64-2_SBo: package is already installed
  libgnomecanvas-2.30.3-x86_64-1_SBo: package is already installed
  libgtop-2.28.5-x86_64-1_SBo: package is already installed
  libisofs-1.3.8-x86_64-1_SBo: package is already installed
  libmp4v2-2.0.0-x86_64-1_SBo: package is already installed
  libreoffice-4.2.8-x86_64-2_SBo: package is already installed
  libsigc++-2.2.11-x86_64-1_SBo: package is already installed
  libunique-1.1.6-x86_64-4_SBo: package is already installed
  libvpx-1.3.0-x86_64-1_SBo: package is already installed
  lua-5.1.5-x86_64-1_SBo: package is already installed
  lxappearance-0.6.1-x86_64-1_SBo: package is already installed
  lxdm-0.5.0-x86_64-1_SBo: package is already installed
  lxmed-20120515-noarch-1_SBo: package is already installed
  mm-common-0.9.7-noarch-1_SBo: package is already installed
  mousepad-0.3.0-x86_64-1_SBo: package is already installed
  murrine-0.98.2-x86_64-1_SBo: package is already installed
  nitrogen-20120806_692fdf7-x86_64-2_SBo: package is already installed
  opencore-amr-0.1.3-x86_64-1_SBo: package is already installed
  orc-0.4.22-x86_64-1_SBo: package is already installed
  pangomm-2.34.0-x86_64-1_SBo: package is already installed
  pdf2png-0.5-noarch-2_SBo: package is already installed
  pexpect-3.2-x86_64-1_SBo: package is already installed
  portaudio-V19-x86_64-2_SBo: package is already installed
  postgresql-9.3.4-x86_64-1_SBo: package is already installed
  proj-4.8.0-x86_64-2_SBo: package is already installed
  pycrypto-2.6.1-x86_64-1_SBo: package is already installed
  pygobject3-3.10.2-x86_64-1_SBo: package is already installed
  pyxdg-0.25-x86_64-1_SBo: package is already installed
  qpdfview-0.4.13-x86_64-1_SBo: package is already installed
  screenfetch-3.6.5-noarch-1_SBo: package is already installed
  ssr-0.3.1-x86_64-1_SBo: package is already installed
  testdisk-6.14-x86_64-1_SBo: package is already installed
  thermal_daemon-1.3-x86_64-1_SBo: package is already installed
  thunar-archive-plugin-0.3.1-x86_64-1_SBo: package is already installed
  uget-1.10.4-x86_64-1_SBo: package is already installed
  unrar-5.0.14-x86_64-1_SBo: package is already installed
  viewnior-1.3-x86_64-1_SBo: package is already installed
  virtualbox-kernel-4.3.20_3.14.24-x86_64-1_SBo: package is already installed
  volumeicon-0.5.0-x86_64-2_SBo: package is already installed
  w3m-0.5.3-x86_64-3_SBo: package is already installed
  wgetpaste-2.25-noarch-1_SBo: package is already installed
  wol-0.7.1-x86_64-1_SBo: package is already installed
  wxGTK3-3.0.2-x86_64-1_SBo: package is already installed
  x264-20131101-x86_64-1_SBo: package is already installed
  xarchiver-0.5.4-x86_64-1_SBo: package is already installed
  xclip-0.12-x86_64-1_SBo: package is already installed
  xfburn-0.5.2-x86_64-1_SBo: package is already installed
  xfce4-dict-0.7.0-x86_64-1_SBo: package is already installed
  xfce4-netload-plugin-1.2.4-x86_64-1_SBo: package is already installed
  xfce4-whiskermenu-plugin-1.4.0-x86_64-1_SBo: package is already installed
  xfce4-xkb-plugin-0.5.6-x86_64-1_SBo: package is already installed
  xfsudo-0.5-x86_64-1_SBo: package is already installed
  xvkbd-3.5-x86_64-1_SBo: package is already installed
  yajl-2.1.0-x86_64-1_SBo: package is already installed
  youtube-dl-2014.08.23-noarch-1_SBo: package is already installed
  zenity-3.6.0-x86_64-1_SBo: package is already installed

After-

# whereis screenfetch
screenfetch:

So the package gets removed..

I dont know if thats the intended behaviour or not :)

ERROR: install_packages cannot find item

I am trying to build, install and test on the same machine. In function install_packages there seems to be a problem locating packages in /tmp. I reproduced this with three slackbuilds: pyperclip, xfce4-wavelan-plugin, and pyPdf.

Let me know if you need more information. Thanks!

Example

root@darkstar[~]# slackrepo rebuild --install pyperclip
Cleaning /tmp/SBo ... done.
Checking whether git is clean ... yes.
git repo: /var/lib/slackrepo/SBo/slackbuilds
branch: 14.2
date: Sat Jul 2 08:28:09 MDT 2016
revision: 2c2c27d6bcc6c83a0a7f493d2bb0511d23134810
title: Public www update: Sat Jul 2 14:27:42 UTC 2016.

python/pyperclip 00:59:46

Calculating dependencies ... none.

Starting python/pyperclip (rebuild) [install] ------------------------- 00:59:46
Verifying source files ... done.
Running pyperclip.SlackBuild ... ETA 01:00:??
env MAKEFLAGS='-j5' nice -n 5 sh ./pyperclip.SlackBuild
Built ok: pyperclip-1.5.25-i486-2_SBo.tgz 00:59:47
Unmounting chroot ... done.
ERROR: install_packages cannot find item /tmp/slackrepo.xrplYI/chroot//tmp/slackrepo.xrplYI/packages_pyperclip/pyperclip-1.5.25-i486-2_SBo.tgz
See /var/log/slackrepo/SBo/python/pyperclip/rebuild.log
:-( python/pyperclip FAILED )-:

=============================================================================
SUMMARY 00:59:47

====================================================================

Logfile: /var/log/slackrepo/SBo/slackrepo_2016-07-06_00:59:46.log
Runtime: 0h 0m 1s
Failed: 1
python/pyperclip
`

Possible regression in dependency tracking when update is run

Hi,

There is something bad (TM) happening ;-) [i.e. I don't think that's the behavior we expect]

I run:
slackrepo --preview update

and I get (among the others):

================================================================================
academic/pulseview                                                      12:57:25
================================================================================

Calculating dependencies ... 
Hints for libraries/libsigrok:
  ADDREQUIRES="libftdi1 librevisa libserialport"
Hints for libraries/qt5:
  OPTIONS="DOCS=yes EXAMPLES=yes PROPRIETARY_CODECS=yes"
  ADDREQUIRES="freetds OpenAL libwebp opus snappy"
Dependency tree:
academic/pulseview (ok)
  libraries/qt5 (rebuild for updated deps)
    libraries/libxkbcommon (ok)
    libraries/libwebp (updated)
    libraries/libinput (ok)
      libraries/libwacom (ok)
    libraries/OpenAL (ok)
    development/snappy (ok)
    development/freetds (ok)
    audio/opus (ok)
  libraries/libsigrokdecode (ok)
    python/python3 (ok)
  libraries/libsigrok (ok)
    libraries/libserialport (ok)
    libraries/librevisa (ok)
    libraries/libftdi1 (ok)
      libraries/confuse (ok)

academic/pulseview is up-to-date (version 0.4.0).

That is, academic/pulseview won't be rebuild, although its dependency libraries/qt5 is going to be rebuilt.

And there's yet another problem:

I run:
slackrepo update PaleMoon qt-creator

and although libraries/qt5 failed to build, slackrepo continues and rebuilds qt-creator (which depends on qt5).

I'm testing against 65b100d.

I hope I keep you busy coding ;-)

--
Best regards,
Andrzej Telszewski

Possible regression with DELREQUIRES

Hi,

My scilab.hint reads like this:
DELREQUIRES="jdk"
ADDREQUIRES="openjdk"

Now, when I run slackrepo --preview update scilab, I get this:
academic/scilab (rebuild for added/removed deps)
development/jdk (add version 8u144)

i.e. jdk is about to be added, which it shouldn't ;-)

I'm using slackrepo git 65b100d.

--
Best regards,
Andrzej Telszewski

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.