bugGNUstep - Bugs: bug #12144, Couldn't build...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #12144: Couldn't build gnustep-base-1.10.1-1.src.rpm

Submitted by:  None
Submitted on:  Sat 26 Feb 2005 10:17:47 AM UTC  
 
Category: Base/FoundationSeverity: 3 - Normal
Item Group: InstallationStatus: Wont Fix
Privacy: PublicAssigned to: None
Open/Closed: Closed

Sat 02 Apr 2005 08:57:24 AM UTC, comment #4:

I think the problem was just lack of an up to date make package.
I'm not intending to fix this old srpm ... but perhaps a dependency on the correct make package should be in the next one?

Richard Frith-Macdonald <CaS>
Project Member
Mon 14 Mar 2005 07:55:02 AM UTC, comment #3:

I think you probably need to have an up to date gnustep-make installed. I guess the base rpm should have a dependency on the make rpm and doesn't, so you are trying to build a new base using an old make.

Richard Frith-Macdonald <CaS>
Project Member
Sat 26 Feb 2005 11:28:50 AM UTC, comment #2:

Ah, I needed to delete every occurrence of $(END_ECHO) from
gnustep-base-1.10.1/Makefile.postamble too.

Hmm, good, but now I get a similar error elsewhere. I'll try removing all END_ECHOs from every Makefile.

Ah, it was Tools/Makefile.postamble. Yep, that fixed it. I bow have base installed.

luke

Anonymous
Sat 26 Feb 2005 11:21:38 AM UTC, comment #1:

I grabbed the .tar.gz file and tried that with the same result.
The problem seems to be the line in Source/Makefile.postamble that uses the (undefined) macro END_ECHO. Deleting the $(END_ECHO) from the line to turn it into:
echo "}") > $@
instead of
echo "}") > $@$(END_ECHO)
helped a lot. Now if I can just track down this error when I try to install:
make[1]: Leaving directory `/home/luke/linux/GNUstep/gnustep-base-1.10.1/Resources'
/usr/bin/install -c -m 644 base.make \
/usr/GNUstep/System/Makefiles/Additional/base.make)
/bin/sh: -c: line 1: syntax error near unexpected token `/usr/GNUstep/System/Makefiles/Additional/base.make)'
/bin/sh: -c: line 1: `/usr/bin/install -c -m 644 base.make /usr/GNUstep/System/Makefiles/Additional/base.make)'

(sounds similar, if I can find which makefile it's coming from).

Anonymous
Sat 26 Feb 2005 10:17:47 AM UTC, original submission:

I built and installed gnustep-make-1.10.0-1.src.rpm
When I tried to build gnustep-base-1.10.1-1.src.rpm I got this error:

/usr/src/redhat/BUILD/gnustep-base-1.10.1
+ '[' -z /usr/GNUstep/System ']'
+ '[' YES = YES ']'
+ CFLAGS=-O2 -march=i386 -mcpu=i686
+ ./configure --prefix=/usr/GNUstep/System
configure: loading site script /usr/GNUstep/System/share/config.site
Processing GNUstep site configuration
./configure: /usr/GNUstep/System/Makefiles/clean_os.sh: No such file or directory
./configure: /usr/GNUstep/System/Makefiles/clean_vendor.sh: No such file or directory
./configure: /usr/GNUstep/System/Makefiles/clean_cpu.sh: No such file or directory
configure: error: cannot find install-sh or install.sh in /usr/GNUstep/System/Makefiles .//usr/GNUstep/System/Makefiles
error: Bad exit status from /var/tmp/rpm-tmp.48103 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.48103 (%build)

Looking at the Makefiles directory I see only these files:

# ls /usr/GNUstep/System/Makefiles
Instance native-library.make tar-exclude-list which_lib
config.make strip_makefiles.sh user_home

A much older GNUstep had these files:

# ls /usr/GNUstep/System/Makefiles.old
Additional documentation.make objc.make
Auxiliary executable.template os.sh
GNUstep-reset.sh fixpath.sh palette.make
GNUstep.csh framework.make relative_path.sh
GNUstep.sh gswapp.make resource-set.make
Instance gswbundle.make rules.make
Master install-sh service.make
aggregate.make ix86 spec-debug-alone-rules.template
application.make java-executable.template spec-debug-rules.template
bundle.make java-tool.make spec-rules.template
clean_cpu.sh java.make subproject.make
clean_os.sh jni.make target.make
clean_vendor.sh ld_lib_path.csh test-application.make
clibrary.make ld_lib_path.sh test-library.make
common.make library-combo.make test-tool.make
config.guess library.make tool.make
config.sub messages.make transform_paths.sh
cpu.sh mkinstalldirs vendor.sh
ctool.make names.make

I copied the old files/dirs over the newer ones to try to fill all the missing gaps, and got a lot further, but still no success:

Compiling file NSNumber12.m ...
Linking library libgnustep-base ...
/home/src/redhat/BUILD/gnustep-base-1.10.1/Source/shared_obj/ix86/linux-gnu/gnu-gnu-gnu
(echo "{"; \
echo " NSExecutable = \"gnustep-base\";"; \
echo " NSPrincipalClass = \"NSObject\";"; \
echo " GSBundleShortVersionString = \"1.10.1\";"; \
echo " GSBundleVersion = 110.1;"; \
echo " CFBundleShortVersionString = \"1.10.1\";"; \
echo " CFBundleVersion = 110.1;"; \
echo "}") > Info-gnustep.plist)
/bin/sh: -c: line 1: syntax error near unexpected token `Info-gnustep.plist)'
/bin/sh: -c: line 1: `(echo "{"; echo " NSExecutable = \"gnustep-base\";"; echo " NSPrincipalClass = \"NSObject\";"; echo " GSBundleShortVersionString = \"1.10.1\";"; echo " GSBundleVersion = 110.1;"; echo " CFBundleShortVersionString = \"1.10.1\";"; echo " CFBundleVersion = 110.1;"; echo "}") > Info-gnustep.plist)'
make[1]: *** [Info-gnustep.plist] Error 2
make[1]: Leaving directory `/home/src/redhat/BUILD/gnustep-base-1.10.1/Source'
make: *** [internal-all] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.93979 (%build)

RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.93979 (%build)

Is there a simple recipe for installing GNUstep? I seem to recall, from my last install, that there were many packages, but you had to install just a subset, and in a specific order.

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 02 Apr 2005 08:57:24 AM UTCCaSStatusNone=>Wont Fix
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1