[Gambas-bugtracker] Bug #1682: Can't create Arch Linux packages with Gambas.

bugtracker at gambaswiki.org bugtracker at gambaswiki.org
Sun Nov 17 06:36:34 CET 2019


http://gambaswiki.org/bugtracker/edit?object=BUG.1682&from=L21haW4-

Joey CAGLE reported a new bug.

Summary
-------

Can't create Arch Linux packages with Gambas.

Type             : Bug
Priority         : High
Gambas version   : 3.14
Product          : Development Environment


Description
-----------

I can't seem to create a working arch linux package. I get a lot of "command not found" results. It says it's successfully created, but I'm pretty sure it's not.

Saving CHANGELOG file.

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

CREATING PACKAGE FOR ARCHLINUX.


Making build directory.
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -g >> PKGBUILD
Creating package...

cd '/tmp/gambas.1000/10782/archlinux'
makepkg --allsource
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 17: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 18: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 19: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 20: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 21: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 22: ==: command not found
==> Making package: myapp2 0.0.3-1 (Sun 17 Nov 2019 12:33:22 AM EST)
==> Retrieving sources...
  -> Found MyApp2-0.0.3.tar.bz2
  -> Found license.txt
  -> Found myapp2.desktop
  -> Found MyApp2.png
==> Validating source files with md5sums...
    MyApp2-0.0.3.tar.bz2 ... Passed
    license.txt ... Passed
    myapp2.desktop ... Passed
    MyApp2.png ... Passed
==> Entering fakeroot environment...
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 17: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 18: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 19: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 20: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 21: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 22: ==: command not found
==> Creating source package...
  -> Adding PKGBUILD...
  -> Generating .SRCINFO file...
  -> Adding MyApp2-0.0.3.tar.bz2...
  -> Adding license.txt...
  -> Adding myapp2.desktop...
  -> Adding MyApp2.png...
  -> Adding changelog file (ChangeLog)...
  -> Compressing source package...
==> Leaving fakeroot environment.
==> Source package created: myapp2 (Sun 17 Nov 2019 12:33:24 AM EST)
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -d
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 17: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 18: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 19: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 20: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 21: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 22: ==: command not found
==> Making package: myapp2 0.0.3-1 (Sun 17 Nov 2019 12:33:25 AM EST)
==> WARNING: Skipping dependency checks.
==> Retrieving sources...
  -> Found MyApp2-0.0.3.tar.bz2
  -> Found license.txt
  -> Found myapp2.desktop
  -> Found MyApp2.png
==> Validating source files with md5sums...
    MyApp2-0.0.3.tar.bz2 ... Passed
    license.txt ... Passed
    myapp2.desktop ... Passed
    MyApp2.png ... Passed
==> Extracting sources...
  -> Extracting MyApp2-0.0.3.tar.bz2 with bsdtar
==> Starting build()...
OK
==> Entering fakeroot environment...
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 17: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 18: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 19: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 20: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 21: -: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 22: ==: command not found
==> Starting package()...
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 39: pkgdir: command not found
ln: failed to create symbolic link '/usr/bin/myapp2': Permission denied
==> ERROR: A failure occurred in package().
    Aborting...
cd '/tmp/gambas.1000/10782/archlinux'
cp myapp2-0.0.3-1*.tar.* '/home/joey'

============ Making GTK+ support package...
Making build directory.
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -g >> PKGBUILD
Creating package...

cd '/tmp/gambas.1000/10782/archlinux'
makepkg --allsource
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -d
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
cp myapp2-gtk-0.0.3-1*.tar.* '/home/joey'
cp: cannot stat 'myapp2-gtk-0.0.3-1*.tar.*': No such file or directory

============ Making GTK+3 support package...
Making build directory.
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -g >> PKGBUILD
Creating package...

cd '/tmp/gambas.1000/10782/archlinux'
makepkg --allsource
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -d
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
cp myapp2-gtk3-0.0.3-1*.tar.* '/home/joey'
cp: cannot stat 'myapp2-gtk3-0.0.3-1*.tar.*': No such file or directory

============ Making QT4 support package...
Making build directory.
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -g >> PKGBUILD
Creating package...

cd '/tmp/gambas.1000/10782/archlinux'
makepkg --allsource
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -d
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
cp myapp2-qt4-0.0.3-1*.tar.* '/home/joey'
cp: cannot stat 'myapp2-qt4-0.0.3-1*.tar.*': No such file or directory

============ Making QT5 support package...
Making build directory.
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -g >> PKGBUILD
Creating package...

cd '/tmp/gambas.1000/10782/archlinux'
makepkg --allsource
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
makepkg -d
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 14: ==: command not found
/tmp/gambas.1000/10782/archlinux/PKGBUILD: line 15: ==: command not found
==> ERROR: Failed to source /tmp/gambas.1000/10782/archlinux/PKGBUILD
cd '/tmp/gambas.1000/10782/archlinux'
cp myapp2-qt5-0.0.3-1*.tar.* '/home/joey'
cp: cannot stat 'myapp2-qt5-0.0.3-1*.tar.*': No such file or directory

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

The packages have been successfully created.


System information
------------------

Manjaro 18.1.3
16 GB of RAM
Xeon X3430 CPU




More information about the Bugtracker mailing list