Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87451 - version bump for media-libs/libpano12-2.7.0.9
Summary: version bump for media-libs/libpano12-2.7.0.9
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High enhancement (vote)
Assignee: Luca Barbato
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-03-31 11:44 UTC by Bernard Cafarelli
Modified: 2005-04-28 13:41 UTC (History)
1 user (show)

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


Attachments
ebuild for libpano-2.7.0.9 (libpano12-2.7.0.9.ebuild,1008 bytes, text/plain)
2005-04-01 14:57 UTC, Hal Engel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bernard Cafarelli gentoo-dev 2005-03-31 11:44:48 UTC
Please add "~amd64" to the KEYWORDS for media-libs/libpano12-2.7.0.8

Program tested with hugin stitcher

Reproducible: Always
Steps to Reproduce:
1.
2.
3.



Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110,
glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r3 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3700+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar  5 2005, 12:00:38)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="fr_FR@euro"
LC_ALL="fr_FR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aalib acpi aim alsa apache2 avi bash-completion berkdb bitmap-fonts
bonobo bzlib cdb cdr crypt cups curl curlwrappers dga dio dvb dvd dvdr encode
esd exif fam fastcgi fftw flac font-server foomaticdb fortran ftb gb gd gdbm gif
gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile ick imagemagick imap imlib
ipv6 jabber java joystick jp2 jpeg junit kde libwww lzw lzw-tiff mad mbox mikmod
mime mng motif mozilla mp3 mpeg msn nas ncurses nls nptl oggvorbis openal opengl
oscar oss pam pcmcia pcre pda pdflib perl php png posix python qt quicktime
readline recode samba scanner sdl shared sharedmem simplexml slang snmp sockets
socks5 speex spell ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts
type1-fonts unicode usb userlocales xface xine xinerama xml xml2 xmlrpc xmms
xosd xpm xrandr xv xvid yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS
Comment 1 Hal Engel 2005-04-01 14:55:56 UTC
Gentoo amd64 users on the Hugin list are reporting that they are getting segmentation faults in PTOptimizer when libpano12 is emerged with -O2 or higher optimization.  With no compiler optimization it runs fine.

Also there is a new version of libpano12 - 2.7.0.9 and the change log on sourceforge says that there where some unspecified amd64 specific changes.  So this may be a better version for those runing amd64 machines.  The optimization problem also applies to this newer version. 

I will attach a 2.7.0.9 ebuild.
Comment 2 Hal Engel 2005-04-01 14:57:27 UTC
Created attachment 55065 [details]
ebuild for libpano-2.7.0.9
Comment 3 Bernard Cafarelli gentoo-dev 2005-04-04 05:36:47 UTC
Confirmed I re-emerged libpano12 and got segfaults when trying to give PTOptimizer a script. In the ebuild, appending -O0 to the CFLAGS when using amd64 got it back under control.

Still a mystery why it worked on the first time...
Comment 4 Simon Stelling (RETIRED) gentoo-dev 2005-04-20 08:44:38 UTC
i think it's better if we mark a version testing that really works. reassigning to lu_zero since it seems like he sticked that package into portage
Comment 5 Luca Barbato gentoo-dev 2005-04-20 09:40:33 UTC
updated version committed, please mark it ~amd64
Comment 6 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-20 11:37:17 UTC
PTOptimizer still segfaults with the new version - 2.7.0.9.
Comment 7 Luca Barbato gentoo-dev 2005-04-20 12:55:42 UTC
emerge info from the people that has it working and emerge info from the people that has it segfaulting please
Comment 8 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-20 14:04:45 UTC
One emerge info as requested. Although looking at the comments here I'm not sure that anyone here has it working, not without stepping down in optimizations anyway. As has already been stated, "replace-flags -O? -O0" elimimates the segfault.

Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3-20050110, glibc-2.3.5-r0, 2.6.11-gentoo-r6 x86_64)
=================================================================
System uname: 2.6.11-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 29 2005, 21:24:34)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r8
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.11
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer"
DISTDIR="/mnt/nfs/home/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache cvs distlocks multilib-strict sandbox sign"
GENTOO_MIRRORS="ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/main /usr/local/overlays/mplayer32-bin"
SYNC="rsync://trantor/gentoo-portage"
USE="amd64 S3TC X a52 aac aalib acpi alsa avi berkdb bitmap-fonts cdr crypt cups curl dga dvd dvdr dvdread eds encode escreen etwin evo faad fam fbcon ffmpeg flac flash fortran gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal imagemagick imap imlib ipv6 java javascript jp2 jpeg ldap libwww lzw lzw-tiff mad maildir mikmod mjpeg motif mozaccess-builtin mozilla mozirc mozxmlterm mp3 mpeg mysql ncurses nls nptl nptlonly nvidia offensive ogg oggvorbis opengl oss pam perl plotutils png python quicktime readline ruby samba sdl slang sox speex spell ssl svg tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis xface xine xinerama xml2 xmms xpm xrandr xv xvid xvmc zlib video_cards_nvidia"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 9 Luca Barbato gentoo-dev 2005-04-20 14:57:48 UTC
-O0 often translates in buggy code, could you please try to use -O1 or -O2 -fno-strict-aliasing (wild guess)
Comment 10 Herbie Hopkins (RETIRED) gentoo-dev 2005-04-20 15:20:31 UTC
Both result in the same segfault.
Comment 11 Bernard Cafarelli gentoo-dev 2005-04-20 15:45:19 UTC
Same here, segfault for both settings (my emerge info is up there).

Strange bug in the parser... Stepping down to -O0 optimisation does make it run however
Comment 12 Luca Barbato gentoo-dev 2005-04-28 08:18:41 UTC
I'd like to keep bugs separated, ebuild issue closed.
Please open another bug about the build issue on amd64
Comment 13 Bernard Cafarelli gentoo-dev 2005-04-28 13:41:52 UTC
OK new bug for amd64 problems is entered in bugzilla, it has id #90763