Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 75942 - gtkpod-0.85.0 failed during build
Summary: gtkpod-0.85.0 failed during build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Olivier Crete (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-28 13:11 UTC by Tony Bibbs
Modified: 2004-12-31 00:33 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tony Bibbs 2004-12-28 13:11:04 UTC
doing emerge from 0.80.2 to 0.85.0 gives me the following error:

if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DMOUNT_BIN=\""/bin/mount\"" -DUMOUNT_BIN=\""/bin/umount\"" -DPACKAGE_DATA_DIR=\""/usr/share"\" -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\"   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -pipe -O2 -mcpu=pentium3 -fomit-frame-pointer -Wall -MT playlist.o -MD -MP -MF ".deps/playlist.Tpo" \
  -c -o playlist.o `test -f 'playlist.c' || echo './'`playlist.c; \
then mv -f ".deps/playlist.Tpo" ".deps/playlist.Po"; \
else rm -f ".deps/playlist.Tpo"; exit 1; \
fi
mp4file.c: In function `mp4_get_file_info':
mp4file.c:230: error: `PACKAGE' undeclared (first use in this function)
mp4file.c:230: error: (Each undeclared identifier is reported only once
mp4file.c:230: error: for each function it appears in.)
mp4file.c: In function `mp4_write_file_info':
mp4file.c:349: error: `PACKAGE' undeclared (first use in this function)
make[2]: *** [mp4file.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gtkpod-0.85.0/work/gtkpod-0.85.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gtkpod-0.85.0/work/gtkpod-0.85.0'
make: *** [all] Error 2

!!! ERROR: app-pda/gtkpod-0.85.0 failed.
!!! Function src_compile, Line 510, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. emerge -u gtkpod
2.
3.



Expected Results:  
The compilation should have worked.
Comment 1 Olivier Crete (RETIRED) gentoo-dev 2004-12-28 20:19:54 UTC
do you have mpeg4ip or faad2 installed and which version?
Comment 2 Tony Bibbs 2004-12-29 06:25:11 UTC
Here is what emerge gives:

superfly root # emerge -p mpeg4ip
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] media-video/mpeg4ip-1.1

superfly root # emerge -p faad2
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[blocks B     ] media-video/mpeg4ip (from pkg media-libs/faad2-2.0-r3)
[ebuild  N    ] media-libs/faad2-2.0-r3
Comment 3 Olivier Crete (RETIRED) gentoo-dev 2004-12-31 00:33:07 UTC
The problem was not in gtkpod, but in mpeg4ip. You can either install faad2 or try the masked mpeg4ip 1.2. Or build gtkpod with USE=-aac