You are not logged in.

#1 2007-10-12 02:13:05

wounded
Member
Registered: 2007-01-08
Posts: 26

AUR TWIN package spitting out errors when installing

I'm trying to build Twin from the AUR (via Yaort) but it is giving me trouble. The only listed dependencies are ncurses but I also had to install patch (And later autoconf to get past another error).  So, is there another package I need to compile for Twin to work? The error appears to come after the ./configure portion.

Console output:

twin is now (hopefully) configured.

As next step, you probably want to run 'make'.
gcc -shared -o long_long.conf
gcc: no input files
make: *** [.long_long.conf.mod] Error 1
==> ERROR: Build Failed.  Aborting...
Error: Makepkg was unable to build twin package.

Twin PKGBUILD from AUR:

# Contributor: G_Syme <demichan(at)mail(dot)upb(dot)de>
pkgname=twin
pkgver=0.4.6
pkgrel=2
pkgdesc="A text-mode window environment"
arch=('i686' 'x86_64')
url="http://twin.sourceforge.net"
license=('GPL' 'LGPL')
depends=('ncurses')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz \
        http://kambing.ui.edu/gentoo-portage/app-misc/$pkgname/files/$pkgname-$pkgver-autotools.patch \
        http://kambing.ui.edu/gentoo-portage/app-misc/$pkgname/files/$pkgname-$pkgver-build.patch \
        http://kambing.ui.edu/gentoo-portage/app-misc/$pkgname/files/$pkgname-$pkgver-gcc.patch)
md5sums=('92429bb5550a4c231085585a3473bf4d'
         'f170881843dd34e43adcd5cbab719927'
         '69d8db50dc2b762e924ec4da1eb39a6b'
         '1049b05d7201a82da49d161c1b35a735')
sha512sums=('ea7d278ec85103f9da5729dd3b706cfac4ba5e758941fa997e5cd0c8af919dcb1e6cebdc4bd64e009467425e2198ee548a21f05741a138429191f92968f035ed'
            '38447990d4f5a17e7647755db46ab24ea5c1ccd4c5ca049606cdbb8ee1d84ddc4921f5ddd81ffe7152c86df24799c55d208af255239b21a1cfeaefe3102e074a'
            'df974f6c67c02aee035282e971881cce8b0165e13a214d84f425d807eb973d89b822937ac8211b13ab7dafcfea051bbe4cdcf8f27445984f4dce4b254022f684'
            '41953346430ac32b4a62da442b6a0d9b58d3215b559ec7bb14b2211aadd96c90fb77fa14151e611ab92f2b0bdc4501268442a2a5fbbe0921ae00a619468e23f1')

build() {
  cd $startdir/src/$pkgname-$pkgver

  # apply the patches of the Gentoo ebuild
  patch -Np0 -i $startdir/src/$pkgname-$pkgver-autotools.patch || return 1
  patch -Np0 -i $startdir/src/$pkgname-$pkgver-build.patch || return 1
  patch -Np0 -i $startdir/src/$pkgname-$pkgver-gcc.patch || return 1
  ./configure --prefix=/usr || return 1
  make || return 1
  make DESTDIR=$startdir/pkg install || return 1
}

Thoughts? :o

Offline

#2 2007-10-13 11:24:09

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: AUR TWIN package spitting out errors when installing

Makepkg gives lots of warning, but builds fine.

This is the output of namcap twin-0.4.6-2-i686.pkg.tar.gz

twin       E: Dependency detected and not included (gpm) from files ['usr/lib/twin/modules/HW/hw_tty.so.0.4.6']
twin       E: Dependency detected and not included (gtk) from files ['usr/lib/TT/HW/hw_gtk.so.0.0.9']
twin       E: Dependency detected and not included (zlib) from files ['usr/lib/libTw.so.3', 'usr/lib/libTw.so.3.0.9', 'usr/lib/libTw.so', 'usr/lib/twin/modules/socket.so.0.4.6']
twin       E: Dependency detected and not included (libxpm) from files ['usr/lib/twin/modules/HW/hw_gfx.so.0.4.6']
twin       W: Dependency included and not needed (ncurses)

Check the presence of gpm, gtl, zlib and libxpm and install them if necessary.

If it works then for you, add a comment in AUR the maintainer needs to check the dependencies.

Last edited by Lone_Wolf (2007-10-13 11:27:18)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2007-10-13 18:29:12

wounded
Member
Registered: 2007-01-08
Posts: 26

Re: AUR TWIN package spitting out errors when installing

Thanks, I didn't have gtk installed, however now I do....

[wounded@archie ~]$ pacman -S gpm zlib gtk libxpm ncurses
Password:
:: gpm-1.20.1-6: local version is up to date. Upgrade anyway? [Y/n] n
warning: gpm-1.20.1-6 is up to date -- skipping
:: zlib-1.2.3-3: local version is up to date. Upgrade anyway? [Y/n] n
warning: zlib-1.2.3-3 is up to date -- skipping
:: gtk-1.2.10-7: local version is up to date. Upgrade anyway? [Y/n] n
warning: gtk-1.2.10-7 is up to date -- skipping
:: libxpm-3.5.7-1: local version is up to date. Upgrade anyway? [Y/n] n
warning: libxpm-3.5.7-1 is up to date -- skipping
:: ncurses-5.6-3: local version is up to date. Upgrade anyway? [Y/n] n
warning: ncurses-5.6-3 is up to date -- skipping
 local database is up to date

and then it still fails to compile. x.x

Offline

#4 2007-10-15 21:04:12

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: AUR TWIN package spitting out errors when installing

Can you post the exact error or is it still giving the same error ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#5 2007-10-15 23:42:06

wounded
Member
Registered: 2007-01-08
Posts: 26

Re: AUR TWIN package spitting out errors when installing

Yes, it is the same error.

to show/change other configuration settings, you can run one of:
'./configure <options>', 'scripts/Configure.sh <options>',
'make config' or 'make menuconfig'

twin is now (hopefully) configured.

As next step, you probably want to run 'make'.
gcc -shared -o long_long.conf
gcc: no input files
make: *** [.long_long.conf.mod] Error 1
==> ERROR: Build Failed.  Aborting...
Error: Makepkg was unable to build twin package.

Offline

#6 2007-10-16 21:23:32

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: AUR TWIN package spitting out errors when installing

As next step, you probably want to run 'make'.
gcc -shared -o long_long.conf
gcc: no input files
make: *** [.long_long.conf.mod] Error 1
==> ERROR: Build Failed.  Aborting...

Those lines shouldn't be there at all.

Try downloading a fresh tarball from AUR, extract it in a new empty folder in your ~home and run makepkg as user in that folder.

If you still get this or other errors, post the entire output of makepkg upto the error message.
Often the cause of the error is many lines above the error message.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#7 2007-10-17 02:59:22

wounded
Member
Registered: 2007-01-08
Posts: 26

Re: AUR TWIN package spitting out errors when installing

I had to pastebin it due to its length: http://pastebin.archlinux.org/16018

That is the output between ==> Starting build()... and ==> ERROR: Build Failed.  Aborting...

Looks like a different error, or at least it runs past the part it was previously. Ran with the tarball from AUR.

Offline

#8 2007-10-17 21:41:25

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: AUR TWIN package spitting out errors when installing

I've compared the output with those of makepkg on my own system and found a difference early in the output :

checking for ggiOpen in -lggi... no
checking for tgetent in -lgpm... yes
checking for tgetent in -ltermcap... yes
checking for X... libraries , headers
checking for X11/xpm.h... yes
checking for XpmReadFileToPixmap in -lXpm... yes
checking for gtk-config... yes
checking for gtk/gtk.h... yes
checking for gtk_init in -lgtk... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makeautoconf
creating conf/conf.auto
creating include/autoconf.h

Configuration:

  Items in parenthesis (...) will be built as shared libraries/modules

  Compiler:                   gcc
  Compiler flags:             -march=i686 -mtune=generic -O2 -pipe
  Shared libraries support:   native
  Server features:            (socket) (wm) (wm_rc) (term) term_devpts
  Server HW drivers:          (gfx) (x11) (twin) (display) (tty)
  Server hw_tty driver flags: linux twterm termcap
  Libraries:                  (libTutf) (libTw) (libTT)
  TT library HW targets:      (twin) (gtk) (x11) (xml)
  Install path:               /usr/bin, /usr/lib/twin, /usr/share/twin




Try pacman -S termcap-compat   and run makepkg again.

(termcap-compat 1.2.3-4 Description:      Compatibility package for old termcap-based programs) .

If that also doesn't help , paste the output but this time remove the lines with  warning: pointer targets in initialization differ in signedness , they don't break the build.

Last edited by Lone_Wolf (2007-10-17 21:41:43)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#9 2007-10-17 21:59:47

wounded
Member
Registered: 2007-01-08
Posts: 26

Re: AUR TWIN package spitting out errors when installing

Apparently that was it x.x


twin2cs5.th.png

Thank you very much for the help!

Offline

Board footer

Powered by FluxBB